]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove unused label
[thirdparty/glibc.git] / ChangeLog
CommitLineData
7a81cbcc
AS
12014-06-23 Andreas Schwab <schwab@suse.de>
2
3 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
4 Remove unused errout label.
5
db224009
AZ
62014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7
8 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9 macro: hardware supports Vector Crypto instructions.
10
f393b4aa
WN
112014-06-23 Will Newton <will.newton@linaro.org>
12
cc7d0447
WN
13 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
14 rather than __builtin_expect.
15
d6d06225
WN
16 * elf/dl-lookup.c (undefined_msg): Remove variable.
17 (_dl_lookup_symbol_x): Replace undefined_msg with string
18 literal.
19
f393b4aa
WN
20 * elf/dl-lookup.c (do_lookup_unique): New function.
21 (do_lookup_x): Move STB_GNU_UNIQUE handling code
22 to a separate function.
23
ac60763e
AS
242014-06-23 Andreas Schwab <schwab@suse.de>
25
26 [BZ #17079]
27 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
28 before reading the next line.
29
c5c13355
WN
302014-06-23 Will Newton <will.newton@linaro.org>
31
32 * test-skeleton.c (signal_handler): Use printf and %m
33 rather than perror. Use printf rather than fprintf to
34 stderr. Use puts rather than fputs to stderr.
35 (main): Likewise.
36
bd3675f9
LC
372014-06-22 Ludovic Courtès <ludo@gnu.org>
38
39 * nscd/nscd.c (thread_info_t): Remove typedef.
40 (thread_info): Remove variable.
41
d03efb2f
AM
422014-06-21 Allan McRae <allan@archlinux.org>
43
44 * NEWS: Mention CVE-2014-4043.
45
bc4a86fa
RM
462014-06-20 Roland McGrath <roland@hack.frob.com>
47
dc9a54f8
RM
48 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
49 * nptl/smp.h: ... here.
50
bd7022c4
RM
51 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
52
26ffd5e6
RM
53 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
54 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
55 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
56 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
57
93a6d082
RM
58 * nptl/allocatestack.c: Include <stack-aliasing.h>.
59 * nptl/stack-aliasing.h: New file.
60 * sysdeps/i386/i686/stack-aliasing.h: New file.
61 * sysdeps/i386/i686/nptl/Makefile: File removed.
62 * sysdeps/x86_64/stack-aliasing.h: New file.
63 * sysdeps/x86_64/nptl/Makefile
64 (CFLAGS-pthread_create.c): Variable removed.
65
bc4a86fa
RM
66 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
67 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
68 old file.
69 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
70 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
71 old file.
72
2272ffc1
JM
732014-06-21 Joseph Myers <joseph@codesourcery.com>
74
75 * sysdeps/unix/sysv/linux/arm/kernel-features.h
76 (__ASSUME_SIGFRAME_V2): Remove macro.
77 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
78 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
79 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
80 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
81 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
82 Declare as function. Remove conditional macro definitions.
83 (__default_rt_sa_restorer): Likewise.
84 (__default_sa_restorer_v1): Remove declaration.
85 (__default_sa_restorer_v2): Likewise.
86 (__default_rt_sa_restorer_v1): Likewise.
87 (__default_rt_sa_restorer_v2): Likewise.
88 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
89 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
90 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
91
4b88139b
RM
922014-06-20 Roland McGrath <roland@hack.frob.com>
93
94 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
95 (libpthread-routines): Add sysdep.
96 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
97 * sysdeps/unix/sysv/linux/sparc/Versions
98 (libpthread: GLIBC_2.3.3): New version set.
99 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
100 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
101 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
102 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
103 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
104 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
105 Moved ...
106 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
107 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
108 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
109 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
110 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
111 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
112 * sysdeps/sparc/nptl/sem_init.c: ... here.
113 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
114 * sysdeps/sparc/nptl/sem_post.c: ... here.
115 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
116 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
117 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
118 * sysdeps/sparc/nptl/sem_wait.c: ... here.
119 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
120 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
121 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
122 (libpthread-routines): Add cpu_relax.
123 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
124 File removed.
125 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
126 (librt: GLIBC_2.3.3): New version set.
127 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
128 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
129 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
130 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
131 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
132 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
133 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
134 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
135 Moved ...
136 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
137 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
138 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
139 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
140 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
141 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
142 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
143 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
144 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
145 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
146 Moved ...
147 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
148 Update #include.
149 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
150 Moved ...
151 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
152 Update #include.
153 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
154 Moved ...
155 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
156 Update #include.
157 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
158 Moved ...
159 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
160 Update #include.
161 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
162 Moved ...
163 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
164 Update #include.
165 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
166 Moved ...
167 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
168 Update #include.
169 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
170 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
171 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
172 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
173 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
174 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
175 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
176 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
177 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
178 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
179 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
180 Moved ...
181 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
182 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
183 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
184 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
185 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
186
d7109027
JM
1872014-06-20 Joseph Myers <joseph@codesourcery.com>
188
9bc6103d
JM
189 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
190 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
191 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
192 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
193 * nscd/nscd.c: Likewise.
194 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
195 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
196 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
197 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
198
d7109027
JM
199 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
200 <kernel-features.h>.
201 (init_mq_netlink): Remove conditional have_sock_cloexec
202 definitions. Remove code conditional on have_sock_cloexec < 0.
203 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
204 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
205 * sysdeps/unix/sysv/linux/opensock.c: Do not include
206 <kernel-features.h>.
207 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
208 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
209
d92d8f8a
L
2102014-06-20 H.J. Lu <hongjiu.lu@intel.com>
211
212 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
213 Add tests for memset_chk and memset.
214
215 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
216 with AVX2_Usable.
217
4e6d2347
MR
2182014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
219
257ce712
MR
220 [BZ #16046]
221 * elf/tst-dl-iter-static.c: New file.
222 * elf/Makefile (tests-static): Add tst-dl-iter-static.
223
4e6d2347
MR
224 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
225 error.
226
a2a76afe
JM
2272014-06-20 Joseph Myers <joseph@codesourcery.com>
228
7fd00f99
JM
229 * sysdeps/unix/sysv/linux/kernel-features.h
230 (__ASSUME_F_GETOWN_EX): Remove macro.
231 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
232 <kernel-features.h>.
233 (miss_F_GETOWN_EX): Remove variable or macro.
234 (do_fcntl): Do not check miss_F_GETOWN_EX.
235 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
236
4a103975
JM
237 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
238 Remove macro.
239 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
240 [!__ASSUME_AT_RANDOM]: Remove conditional code.
241 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
242
a2a76afe
JM
243 * sysdeps/unix/sysv/linux/kernel-features.h
244 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
245 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
246 [ADJ_OFFSET_SS_READ]: Make code unconditional.
247 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
248
90e5dd48
MR
2492014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
250
251 [BZ #17075]
252 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
253 Fix calculation of the symbol's value.
254 * sysdeps/arm/tst-armtlsdescloc.c: New file.
255 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
256 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
257 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
258 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
259 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
260 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
261 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
262 (modules-names): Add `tst-armtlsdescmod',
263 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
264 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
265 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
266 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
267 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
268 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
269 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
270 ($(objpfx)tst-armtlsdescloc): New dependency.
271 ($(objpfx)tst-armtlsdescextnow): Likewise.
272 ($(objpfx)tst-armtlsdescextlazy): Likewise.
273 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
274 TLS scheme support.
275 * sysdeps/arm/configure: Regenerate.
276
809fdf0d
JM
2772014-06-20 Joseph Myers <joseph@codesourcery.com>
278
279 * include/fcntl.h (__atfct_seterrno): Remove prototype.
280 (__atfct_seterrno_2): Likewise.
281 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
282 <kernel-features.h>.
283 (__ASSUME_ATFCTS): Do not undefine and redefine.
284 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
285 (__have_atfcts): Remove conditional definition.
286 (__fxstatat([__NR_fstatat64]: Make code unconditional.
287 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
288 unreachable if [__ASSUME_ATFCTS].
289 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
290 not undefine and redefine.
291 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
292 <kernel-features.h>.
293 (faccessat) [__NR_faccessat]: Make code unconditional.
294 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
295 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
296 <kernel-features.h>.
297 (fchmodat) [__NR_fchmodat]: Make code unconditional.
298 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
299 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
300 <kernel-features.h>.
301 (fchownat) [__NR_fchownat]: Make code unconditional.
302 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
303 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
304 <kernel-features.h>.
305 (futimesat) [__NR_futimesat]: Make code unconditional.
306 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
307 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
308 <kernel-features.h>.
309 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
310 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
311 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
312 <kernel-features.h>.
313 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
314 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
315 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
316 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
317 <kernel-features.h>.
318 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
319 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
320 * sysdeps/unix/sysv/linux/linkat.c: Do not include
321 <kernel-features.h>.
322 (linkat) [__NR_linkat]: Make code unconditional.
323 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
324 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
325 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
326 <kernel-features.h>.
327 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
328 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
329 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
330 <kernel-features.h>.
331 (mkdirat) [__NR_mkdirat]: Make code unconditional.
332 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
333 * sysdeps/unix/sysv/linux/openat.c: Do not include
334 <kernel-features.h>.
335 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
336 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
337 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
338 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
339 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
340 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
341 <kernel-features.h>.
342 (readlinkat) [__NR_readlinkat]: Make code unconditional.
343 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
344 result of INLINE_SYSCALL directly, not via int variable.
345 * sysdeps/unix/sysv/linux/renameat.c: Do not include
346 <kernel-features.h>.
347 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
348 (renameat) [__NR_renameat]: Make code unconditional.
349 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
350 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
351 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
352 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
353 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
354 (__ASSUME_ATFCTS): Do not undefine and redefine.
355 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
356 <kernel-features.h>.
357 (symlinkat) [__NR_symlinkat]: Make code unconditional.
358 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
359 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
360 <kernel-features.h>.
361 (unlinkat) [__NR_unlinkat]: Make code unconditional.
362 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
363 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
364 (__ASSUME_ATFCTS): Do not undefine and redefine.
365 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
366 <kernel-features.h>.
367 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
368 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
369 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
370 <kernel-features.h>.
371 (__xmknodat) [__NR_mknodat]: Make code unconditional.
372 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
373
224c6c51
L
3742014-06-20 H.J. Lu <hongjiu.lu@intel.com>
375
376 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
377
aa6ec754
AS
3782014-06-20 Andreas Schwab <schwab@linux-m68k.org>
379
380 [BZ #17069]
381 * posix/regcomp.c (parse_reg_exp): Deallocate partially
382 constructed tree before returning error.
383 * posix/bug-regexp36.c: Expand test case.
384
d8c2869d
SL
3852014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
386
3ef6b850
SL
387 [BZ #6803]
388 * math/libm-test.inc (scalbln_test_date):
389 Add errno expectations.
390 * math/w_scalblnf.c: New File.
391 Add wrapper which checks for setting errno to ERANGE.
392 Add weak_alias for corresponding scalbln function.
393 * math/w_scalbln.c: Likewise.
394 * math/w_scalblnl.c: Likewise.
395 * math/Makefile (libm-calls): Add w_scalbln.
396 * sysdeps/ieee754/flt-32/s_scalblnf.c:
397 Remove weak_alias for corresponding scalbln function.
398 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
399 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
400 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
401 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
402 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
403 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
404 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
405 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
406 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
407 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
408 Remove long_double_symbol for scalblnl function in libm, libc.
409 * sysdeps/ieee754/ldbl-64-128/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, libc.
412 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
413 Remove long_double_symbol for scalblnl in libm.
414 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
415 Add wrapper which checks for setting errno to ERANGE.
416 Add long_double_symbol for scalblnl function in libm.
417 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
418 Do not use wrapper because of own implementation.
419
c8daec5c
L
4202014-06-19 H.J. Lu <hongjiu.lu@intel.com>
421
422 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
423 3 bytes for __pad1 for x32.
424 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
425
5c74e47c
LM
4262014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
427 H.J. Lu <hongjiu.lu@intel.com>
428
429 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
430 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
431 * sysdeps/x86_64/multiarch/memset.S: Likewise.
432 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
433 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
434
4d43ef1e
AS
4352014-06-19 Andreas Schwab <schwab@linux-m68k.org>
436
437 [BZ #17069]
438 * posix/regcomp.c (parse_expression): Deallocate partially
439 constructed tree before returning error.
440 * posix/Makefile.c (tests): Add bug-regex36.
441 (generated): Add bug-regex36.mtrace.
442 (tests-special): Add $(objpfx)bug-regex36-mem.out
443 (bug-regex36-ENV): New variable.
444 ($(objpfx)bug-regex36-mem.out): New rule.
445 * posix/bug-regex36.c: New file.
446
51a7380b
WN
4472014-06-19 Will Newton <will.newton@linaro.org>
448
449 * malloc/malloc.c (systrim): If extra is zero then return
450 early.
451
91b84fe5
SP
4522014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
453
454 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
455
f940b965
RE
4562014-06-19 Richard Earnshaw <rearnsha@arm.com>
457
458 * sysdeps/aarch64/strchr.S: New file.
459
4ba7a00f
JM
4602014-06-18 Joseph Myers <joseph@codesourcery.com>
461
462 [BZ #17022]
463 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
464 from arguments -2 or below.
465 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
466 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
467
b3a9f56b
AS
4682014-06-18 Andreas Schwab <schwab@suse.de>
469
470 [BZ #17062]
471 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
472 of a bracket expr not to run off the end of the string.
473 * posix/Makefile (tests): Add tst-fnmatch3.
474 * posix/tst-fnmatch3.c: New file.
475
85d89278
JM
4762014-06-18 Joseph Myers <joseph@codesourcery.com>
477
478 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
479 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
480 [$(cross-compiling) = no]: Likewise.
481 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
482 [$(cross-compiling) = no]: Likewise.
483
754c5a08
RS
4842014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
485
486 [BZ #17031]
487 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
488 double, adjusted for any remainder from the high double.
489 * math/libm-test.inc (nearbyint): Add tests.
490 (rint): Likewise.
491
556f529d
AZ
4922014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
493
494 * nptl/sysdeps/powerpc/Makefile: Moved ...
495 * sysdeps/powerpc/nptl/Makefile: ... here.
496 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
497 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
498 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
499 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
500 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
501 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
502 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
503 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
504 * nptl/sysdeps/powerpc/tls.h: Moved ...
505 * sysdeps/powerpc/nptl/tls.h: ... here.
506
91c03c53
JM
5072014-06-16 Joseph Myers <joseph@codesourcery.com>
508
509 [BZ #16681]
510 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
511 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
512 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
513 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
514 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
515 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
516 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
517 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
518 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
519
a76e63c5
AS
5202014-06-17 Andreas Schwab <schwab@linux-m68k.org>
521
522 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
523
f2f6d82f
AS
5242014-06-16 Andreas Schwab <schwab@linux-m68k.org>
525
ea8a15f6
AS
526 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
527 defined operator.
528
f2f6d82f
AS
529 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
530 $TIMEOUTFACTOR.
531
a7291117
FW
5322014-06-16 Florian Weimer <fweimer@redhat.com>
533
534 [BZ #17058]
535 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
536 non-executed part of the test.
537
3d7c00e3
AS
5382014-06-16 Andreas Schwab <schwab@suse.de>
539
540 * string/bits/string2.h (strdup, strndup): Update feature guard.
541
6957fb31
DM
5422014-06-14 David S. Miller <davem@davemloft.net>
543
544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
545
11b9e55b
AS
5462014-06-14 Andreas Schwab <schwab@linux-m68k.org>
547
1d2a0492
AS
548 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
549 that was previously under [RESET_PID].
550 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
551
11b9e55b
AS
552 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
553 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
554 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
555 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
556 (__libc_vfork): New strong alias.
557 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
558
0f6901d0
AK
5592014-06-14 Andi Kleen <ak@linux.intel.com>
560
561 * sysdeps/generic/elide.h: New file.
562
38bbbb9f
SL
5632014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
564
565 * Makefile (installed-headers): Adjust path of pthread.h header.
566
45193bb8
RM
5672014-06-13 Roland McGrath <roland@hack.frob.com>
568
9a25fd1e
RM
569 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
570 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
571 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
572 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
573
4004f7e4
RM
574 * nptl/sysdeps/s390/Makefile: Moved ...
575 * sysdeps/s390/nptl/Makefile: ... here.
576 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
577 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
578 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
579 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
580 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
581 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
582 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
583 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
584 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
585 * sysdeps/s390/nptl/pthreaddef.h: ... here.
586 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
587 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
588 * nptl/sysdeps/s390/tls.h: Moved ...
589 * sysdeps/s390/nptl/tls.h: ... here.
590
45193bb8
RM
591 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
592 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
593
f6fdf533
DM
5942014-06-13 David S. Miller <davem@davemloft.net>
595
596 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
597 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
598 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
599 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
600 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
601 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
602 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
603 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
604 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
605 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
606 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
607 Remove RESET_PID cpp guards.
608 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
609 Remove RESET_PID cpp guards.
610 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
611
f5d71e14
AS
6122014-06-13 Andreas Schwab <schwab@linux-m68k.org>
613
614 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
615 __sp to uintptr_t.
616
b7aa8caa
AK
6172014-06-13 Andi Kleen <ak@linux.intel.com>
618
4b266200
AZ
619 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
620 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
621 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
622 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
623 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
624 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
625 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
626 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
627 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
628 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
629 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
630 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
631 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
632 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
633 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
634 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
635 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
636 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
637 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
638 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
639
640 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
641 (pthread_rwlock_rdlock): Add elision.
642 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
643 (pthread_rwlock_wrlock): Add elision.
644 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
645 (pthread_rwlock_trywrlock): Add elision.
646 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
647 (pthread_rwlock_tryrdlock): Add elision.
648 * nptl/pthread_rwlock_unlock.c: Include elide.h.
649 (pthread_rwlock_tryrdlock): Add elision unlock.
650 * nptl/sysdeps/pthread/pthread.h:
651 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
652 (PTHREAD_RWLOCK_INITIALIZER,
653 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
654 Handle new elision field.
655 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
656 * sysdeps/arm/nptl/bits/pthreadtypes.h
657 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
658 * sysdeps/sh/nptl/bits/pthreadtypes.h
659 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
660 * sysdeps/tile/nptl/bits/pthreadtypes.h
661 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
662 * sysdeps/a/nptl/bits/pthreadtypes.h
663 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
664 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
665 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
666 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
667 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
668 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
669 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
670 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
671 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
672 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
673 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
674 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
675 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
676 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
677 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
678 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
679 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
680 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
681 (elision_init): Set try_xbegin to zero when no RTM.
682 * sysdeps/x86/nptl/bits/pthreadtypes.h
683 (pthread_rwlock_t): Change __pad1 to __rwelision.
684 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 685
a832bdd3
AK
6862014-06-13 Andi Kleen <ak@linux.intel.com>
687
688 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
689 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
690 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
691 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
692
995a46bb
MI
6932014-06-13 Meador Inge <meadori@codesourcery.com>
694
695 [BZ #16996]
03ed7738 696 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
697 that the cached result has been set before returning it.
698
45262aee
RM
6992014-06-12 Roland McGrath <roland@hack.frob.com>
700
febf6cc5
RM
701 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
702 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
703 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
704 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
705 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
706 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
707
e2682246
RM
708 * nptl/sysdeps/sparc/Makefile: Moved ...
709 * sysdeps/sparc/nptl/Makefile: ... here.
710 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
711 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
712 * nptl/sysdeps/sparc/tls.h: Moved ...
713 * sysdeps/sparc/nptl/tls.h: ... here.
714 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
715 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
716 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
717 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
718 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
719 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
720 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
721 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
722 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
723 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
724 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
725 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
726 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
727 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
728 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
729 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
730 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
731 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
732 Update #include.
733 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
734 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
735 Update #include.
736 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
737 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
738 Update #include.
739 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
740 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
741 Update #include.
742
b0725f43
RM
743 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
744
b14368b8
RM
745 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
746 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
747
c5620eb3
RM
748 * sysdeps/pthread/posix-timer.h: Include <list.h>.
749 (struct list_links): Type removed.
750 (struct thread_node, struct timer_node): Replace struct list_links
751 with struct list_head.
752 (list_unlink_ip): Likewise.
753 * sysdeps/pthread/timer_routines.c
754 (timer_free_list, thread_free_list, thread_active_list): Likewise.
755 (list_append, list_insbefore): Likewise.
756 (list_init): Function removed.
757 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
758 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
759 * sysdeps/pthread/Makefile: ... here, new file.
760
761 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
762 * sysdeps/nptl/Implies: ... here.
763 * sysdeps/unix/sysv/linux/Implies: Add nptl.
764 * nptl/sysdeps/pthread/list.h: Moved ...
765 * include/list.h: ... here.
766 * nptl/sysdeps/pthread/createthread.c: Moved ...
767 * nptl/createthread.c: ... here.
768 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
769 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
770 * nptl/pt-longjmp.c: ... here.
771 * nptl/sysdeps/pthread/Makefile: Moved ...
772 * sysdeps/nptl/Makefile: ... here.
773 * nptl/sysdeps/pthread/Subdirs: Moved ...
774 * sysdeps/nptl/Subdirs: ... here.
775 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
776 * sysdeps/nptl/aio_misc.h: ... here.
777 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
778 * sysdeps/nptl/bits/libc-lock.h: ... here.
779 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
780 * sysdeps/nptl/bits/libc-lockP.h: ... here.
781 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
782 * sysdeps/nptl/bits/stdio-lock.h: ... here.
783 * nptl/sysdeps/pthread/configure: Moved ...
784 * sysdeps/nptl/configure: ... here.
785 * nptl/sysdeps/pthread/configure.ac: Moved ...
786 * sysdeps/nptl/configure.ac: ... here.
787 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
788 * sysdeps/nptl/gai_misc.h: ... here.
789 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
790 * sysdeps/nptl/librt-cancellation.c: ... here.
791 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
792 * sysdeps/nptl/malloc-machine.h: ... here.
793 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
794 * sysdeps/nptl/pthread-functions.h: ... here.
795 * nptl/sysdeps/pthread/pthread.h: Moved ...
796 * sysdeps/nptl/pthread.h: ... here.
797 * nptl/sysdeps/pthread/setxid.h: Moved ...
798 * sysdeps/nptl/setxid.h: ... here.
799 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
800 * sysdeps/nptl/sigfillset.c: ... here.
801 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
802 * sysdeps/nptl/tcb-offsets.h: ... here.
803 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
804 * sysdeps/nptl/tst-mqueue8x.c: ... here.
805 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
806 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
807 * nptl/sysdeps/pthread/allocalim.h: Moved ...
808 * sysdeps/pthread/allocalim.h: ... here.
809 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
810 * sysdeps/pthread/bits/sigthread.h: ... here.
811 * nptl/sysdeps/pthread/flockfile.c: Moved ...
812 * sysdeps/pthread/flockfile.c: ... here.
813 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
814 * sysdeps/pthread/ftrylockfile.c: ... here.
815 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
816 * sysdeps/pthread/funlockfile.c: ... here.
817 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
818 * sysdeps/pthread/posix-timer.h: ... here.
819 * nptl/sysdeps/pthread/timer_create.c: Moved ...
820 * sysdeps/pthread/timer_create.c: ... here.
821 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
822 * sysdeps/pthread/timer_delete.c: ... here.
823 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
824 * sysdeps/pthread/timer_getoverr.c: ... here.
825 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
826 * sysdeps/pthread/timer_gettime.c: ... here.
827 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
828 * sysdeps/pthread/timer_routines.c: ... here.
829 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
830 * sysdeps/pthread/timer_settime.c: ... here.
831 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
832 * sysdeps/pthread/tst-timer.c: ... here.
833 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
834 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
835
e876b090
RM
836 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
837 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
838
f6b07b3d
RM
839 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
840 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
841 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
842 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
843 Update #include target.
844 * nptl/sysdeps/i386/i686/Makefile: Moved ...
845 * sysdeps/i386/i686/nptl/Makefile: ... here.
846 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
847 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
848 Update #include target.
849 * nptl/sysdeps/i386/i686/tls.h: Moved ...
850 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
851 * nptl/sysdeps/i386/Makefile: Moved ...
852 * sysdeps/i386/nptl/Makefile: ... here.
853 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
854 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
855 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
856 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
857 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
858 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
859 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
860 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
861 * sysdeps/i386/nptl/pthreaddef.h: ... here.
862 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
863 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
864 * nptl/sysdeps/i386/tls.h: Moved ...
865 * sysdeps/i386/nptl/tls.h: ... here.
866
45262aee
RM
867 * sysdeps/sh/Makefile [$(subdir) = csu]
868 (gen-as-const-headers): Add tcb-offsets.sym.
869 * nptl/sysdeps/sh/Makefile: File removed.
870 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
871 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
872 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
873 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
874 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
875 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
876 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
877 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
878 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
879 * sysdeps/sh/nptl/pthreaddef.h: ... here.
880 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
881 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
882 * nptl/sysdeps/sh/tls.h: Moved ...
883 * sysdeps/sh/nptl/tls.h: ... here.
884 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
885 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
886 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
887 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
888 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
889 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
890 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
891 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
892 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
893 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
894 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
895 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
896 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
897 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
898 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
899 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
900 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
901 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
902 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
903 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
904 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
905 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
906 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
907 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
908 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
909 Moved ...
910 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
911 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
912 Moved ...
913 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
914 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
915 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
916 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
917 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
918 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
919 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
920 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
921 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
922 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
923 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
924 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
925 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
926 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
927 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
928 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
929 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
930 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
931 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
932
35a5e3e3
SL
9332014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
934
935 * posix/spawn_faction_addopen.c: Include string.h.
936
14642b85
RM
9372014-06-11 Roland McGrath <roland@hack.frob.com>
938
939 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
940 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
941 * nptl/sysdeps/x86_64/Makefile: Moved ...
942 * sysdeps/x86_64/nptl/Makefile: ... here.
943 * nptl/sysdeps/x86_64/configure: Moved ...
944 * sysdeps/x86_64/nptl/configure: ... here.
945 * nptl/sysdeps/x86_64/configure.ac: Moved ...
946 * sysdeps/x86_64/nptl/configure.ac: ... here.
947 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
948 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
949 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
950 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
951 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
952 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
953 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
954 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
955 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
956 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
957 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
958 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
959 * nptl/sysdeps/x86_64/tls.h: Moved ...
960 * sysdeps/x86_64/nptl/tls.h: ... here.
961 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
962 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
963 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
964 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
965
966 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
967
31c44fea
AZ
9682014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
969
970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
971
e81a4f9a
JM
9722014-06-11 Joseph Myers <joseph@codesourcery.com>
973
974 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
975 type.
976 [POSIX] (off_t): Likewise.
977 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
978 [POSIX] (S_ISBLK): Require macro.
979 [POSIX] (S_ISCHR): Likewise.
980 [POSIX] (S_ISDIR): Likewise.
981 [POSIX] (S_ISFIFO): Likewise.
982 [POSIX] (S_ISREG): Likewise.
983 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
984 optional-macro.
985 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
986 type.
987 [POSIX] (time_t): Likewise.
988 [POSIX] (timer_t): Likewise.
989
89e435f3
FW
9902014-06-11 Florian Weimer <fweimer@redhat.com>
991
992 [BZ #17048]
993 * posix/spawn_int.h (struct __spawn_action): Make the path string
994 non-const to support deallocation.
995 * posix/spawn_faction_addopen.c
996 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
997 * posix/spawn_faction_destroy.c
998 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
999 path in all spawn_do_open actions.
1000 * posix/tst-spawn.c (do_test): Exercise the copy operation in
1001 posix_spawn_file_actions_addopen.
1002
c3a2ebe1
CM
10032014-06-11 Chris Metcalf <cmetcalf@tilera.com>
1004
1005 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
1006 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
1007 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
1008 conditional code always true.
1009 (__libc_vfork): New alias.
1010
9503784a
RM
10112014-06-11 Roland McGrath <roland@hack.frob.com>
1012
c9cab3d2
RM
1013 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1014 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1015
d3996c79
RM
1016 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1017
ba5ec611
RM
1018 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1019 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1020
f12b4814
RM
1021 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1022 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1023
9503784a
RM
1024 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1025 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1026
e23d3d26
VR
10272014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1028
1029 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1030 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1031 multiarch strcmp for PPC64.
1032 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1033 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1034 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1035 multiarch optimizations.
1036 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1037 (__libc_ifunc_impl_list): Likewise.
1038
42b1161e
SP
10392014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1040
1041 * benchtests/scripts/validate_benchout.py: New script.
1042 * benchtests/Makefile (bench-func): Call it.
1043 * benchtests/scripts/benchout.schema.json: New file.
1044
2d0fc4dc
CM
10452014-06-10 Chris Metcalf <cmetcalf@tilera.com>
1046
4a594c34
AZ
1047 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1048 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1049 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1050 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1051 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1052 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1053 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1054 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1055 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1056 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1057 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1058 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1059 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1060 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1061 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1062 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1063 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 1064 Moved ...
4a594c34 1065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 1066 ... here.
4a594c34 1067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 1068 Moved ...
4a594c34
AZ
1069 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1070 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 1071 Moved ...
4a594c34 1072 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 1073 ... here.
4a594c34 1074 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 1075 Moved ...
4a594c34 1076 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 1077 ... here.
4a594c34 1078 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 1079 Moved ...
4a594c34
AZ
1080 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1081 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 1082 Moved ...
4a594c34 1083 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 1084 ... here.
4a594c34 1085 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 1086 Moved ...
4a594c34 1087 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 1088 ... here.
4a594c34 1089 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 1090 Moved ...
4a594c34
AZ
1091 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1092 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 1093 Moved ...
4a594c34 1094 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 1095 ... here.
4a594c34 1096 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 1097 Moved ...
4a594c34 1098 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 1099 ... here.
4a594c34 1100 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 1101 Moved ...
4a594c34 1102 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 1103 ... here.
4a594c34 1104 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 1105 Moved ...
4a594c34
AZ
1106 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1107 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 1108 Moved ...
4a594c34 1109 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 1110 ... here.
4a594c34 1111 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 1112 Moved ...
4a594c34 1113 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 1114 ... here.
4a594c34 1115 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 1116 Moved ...
4a594c34 1117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 1118 ... here.
4a594c34 1119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 1120 Moved ...
4a594c34
AZ
1121 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1122 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 1123 Moved ...
4a594c34 1124 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 1125 ... here.
4a594c34 1126 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 1127 Moved ...
4a594c34 1128 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 1129 ... here.
4a594c34 1130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 1131 Moved ...
4a594c34
AZ
1132 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1133 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 1134 Moved ...
4a594c34 1135 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 1136 ... here.
4a594c34 1137 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 1138 Moved ...
4a594c34
AZ
1139 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1140 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 1141 Moved ...
4a594c34
AZ
1142 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1143 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 1144 Moved ...
4a594c34 1145 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 1146 ... here.
4a594c34 1147 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 1148 Moved ...
4a594c34 1149 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 1150 ... here.
4a594c34 1151 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 1152 Moved ...
4a594c34 1153 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 1154 ... here.
4a594c34 1155 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 1156 Moved ...
4a594c34
AZ
1157 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1158 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 1159 Moved ...
4a594c34 1160 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 1161 ... here.
4a594c34 1162 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 1163 Moved ...
4a594c34 1164 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 1165 ... here.
4a594c34
AZ
1166 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1167 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1168 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1169 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1170 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 1171 Moved ...
4a594c34 1172 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 1173 ... here.
4a594c34
AZ
1174 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1175 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1176 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1177 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1178 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1179 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1180 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1181 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1182 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1183 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1184 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1185 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1186 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 1187 Moved ...
4a594c34
AZ
1188 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1189 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 1190 Moved ...
4a594c34
AZ
1191 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1192 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1193 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1194 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 1195 Moved ...
4a594c34
AZ
1196 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1197 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1198 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1199 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1200 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1201 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1202 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 1203
0570cfed
W
12042014-06-10 Wilco <wdijkstr@arm.com>
1205
1206 * math/test-fenv-return.c: New file.
1207 * math/Makefile: Add new test test-fenv-return.
1208
f8ba1b56
JM
12092014-06-10 Joseph Myers <joseph@codesourcery.com>
1210
1211 [BZ #17042]
1212 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1213 when x - 1 is zero.
1214 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1215 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1216 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1217 0.0L for an argument of 1.0L.
1218 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1219 Likewise.
1220 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1221 value when x - 1 is zero.
1222 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1223 * sysdeps/i386/fpu/libm-test-ulps: Update.
1224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1225
2c3520d9
BO
12262014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
1227
1228 [BZ #15119]
1229 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1230
acaa4d24
RM
12312014-06-09 Roland McGrath <roland@hack.frob.com>
1232
1233 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1234 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1235
962b744d
RM
12362014-06-09 Roland McGrath <roland@hack.frob.com>
1237
d752f0cc
RM
1238 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1239 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1240
34eda6d1
RM
1241 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1242 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1243
50f0a637
RM
1244 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1245 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1246
08f41f04
RM
1247 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1248 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1249
962b744d
RM
1250 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1251 if not already defined.
1252 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1253 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1254 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1255 (TLS_INIT_TP): Use it.
1256 (TLS_DEFINE_INIT_TP): New macro.
1257 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1258
09f19b05
JM
12592014-06-09 Joseph Myers <joseph@codesourcery.com>
1260
1261 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1262 constant.
1263 [POSIX] (IXANY): Likewise.
1264 [POSIX] (OLCUC): Likewise.
1265 [POSIX || POSIX2008] (CBAUD): Do not allow.
1266 [POSIX || POSIX2008] (DEFECHO): Likewise.
1267 [POSIX || POSIX2008] (ECHOCTL): Likewise.
1268 [POSIX || POSIX2008] (ECHOKE): Likewise.
1269 [POSIX || POSIX2008] (ECHOPRT): Likewise.
1270 [POSIX || POSIX2008] (EXTA): Likewise.
1271 [POSIX || POSIX2008] (EXTB): Likewise.
1272 [POSIX || POSIX2008] (FLUSHO): Likewise.
1273 [POSIX || POSIX2008] (LOBLK): Likewise.
1274 [POSIX || POSIX2008] (PENDIN): Likewise.
1275 [POSIX || POSIX2008] (SWTCH): Likewise.
1276 [POSIX || POSIX2008] (VDISCARD): Likewise.
1277 [POSIX || POSIX2008] (VDSUSP): Likewise.
1278 [POSIX || POSIX2008] (VLNEXT): Likewise.
1279 [POSIX || POSIX2008] (VREPRINT): Likewise.
1280 [POSIX || POSIX2008] (VSTATUS): Likewise.
1281 [POSIX || POSIX2008] (VWERASE): Likewise.
1282 (B*): Change to B[0123456789]*.
1283 * conform/data/time.h-data [POSIX || UNIX98]
1284 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1285 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1286 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1287 [POSIX] (tm_*): Do not allow.
1288
686554bf
JM
12892014-06-07 Joseph Myers <joseph@codesourcery.com>
1290
1291 * Makefile (install): Don't set LANGUAGE.
1292 * Makefile.in (install): Likewise.
1293 * assert/Makefile (test-assert-ENV): Remove variable.
1294 (test-assert-perr-ENV): Likewise.
1295 * elf/Makefile (neededtest4-ENV): Likewise.
1296 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1297 [$(cross-compiling) = no]: Don't set LANGUAGE.
1298 * io/ftwtest-sh (LANG): Remove variable.
1299 * libio/Makefile (tst-widetext-ENV): Likewise.
1300 * manual/install.texi (Running make install): Don't refer to
1301 environment settings for make install.
1302 * INSTALL: Regenerated.
1303 * nptl/tst-tls6.sh: Don't set LANG.
1304 * posix/globtest.sh (LANG): Remove variable.
1305 * string/Makefile (tester-ENV): Likewise.
1306 (inl-tester-ENV): Likewise.
1307 (noinl-tester-ENV): Likewise.
1308 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1309 [$(cross-compiling) = no]: Don't set LANGUAGE.
1310 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1311 without explicit environment settings.
1312
68e6b6b1
RM
13132014-06-06 Roland McGrath <roland@hack.frob.com>
1314
1315 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1316 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1317 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1318 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1319
4d3ae034
CM
13202014-06-06 Chris Metcalf <cmetcalf@tilera.com>
1321
1322 * crypt/crypt-private.h [DOS]: Add some includes taken from the
1323 other files in the crypt directory.
1324 * crypt/crypt.c: Remove duplicate includes.
1325 * crypt/crypt-entry.c: Likewise.
1326 * crypt/crypt_util.c: Likewise.
1327
8540f6d2
JM
13282014-06-06 Joseph Myers <joseph@codesourcery.com>
1329
1330 * Makeconfig (run-program-env): New variable.
1331 (run-program-prefix-before-env): Likewise.
1332 (run-program-prefix-after-env): Likewise.
1333 (run-program-prefix): Define in terms of new variables.
1334 (built-program-cmd-before-env): New variable.
1335 (built-program-cmd-after-env): Likewise.
1336 (built-program-cmd): Define in terms of new variables.
1337 (test-program-prefix-before-env): New variable.
1338 (test-program-prefix-after-env): Likewise.
1339 (test-program-prefix): Define in terms of new variables.
1340 (test-program-cmd-before-env): New variable.
1341 (test-program-cmd-after-env): Likewise.
1342 (test-program-cmd): Define in terms of new variables.
1343 * Rules (make-test-out): Use $(run-program-env).
1344 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1345 (help): Do not mention environment variables. Mention
1346 --timeoutfactor option.
1347 (timeoutfactor): New variable.
1348 (blacklist_exports): Remove function.
1349 (exports): Remove variable.
1350 (command): Do not include ${exports}.
1351 * manual/install.texi (Configuring and compiling): Do not mention
1352 test wrappers preserving environment variables. Mention that last
1353 assignment to a variable must take precedence.
1354 * INSTALL: Regenerated.
1355 * benchtests/Makefile (run-bench): Use $(run-program-env).
1356 * catgets/Makefile ($(objpfx)test1.cat): Use
1357 $(built-program-cmd-before-env), $(run-program-env) and
1358 $(built-program-cmd-after-env).
1359 ($(objpfx)test2.cat): Do not specify environment variables
1360 explicitly.
1361 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1362 $(run-program-env) and $(built-program-cmd-after-env).
1363 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1364 $(run-program-env) and $(test-program-cmd-after-env).
1365 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1366 explicitly.
1367 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1368 run_program_env and test_program_cmd_after_env arguments.
1369 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1370 * elf/tst-pathopt.sh: Use run_program_env argument.
1371 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1372 $(test-wrapper-env) and $(run-program-env).
1373 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1374 run_program_env arguments.
1375 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1376 * intl/Makefile ($(objpfx)tst-gettext.out): Use
1377 $(test-program-prefix-before-env), $(run-program-env) and
1378 $(test-program-prefix-after-env).
1379 ($(objpfx)tst-gettext2.out): Likewise.
1380 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1381 run_program_env and test_program_prefix_after_env arguments.
1382 * intl/tst-gettext2.sh: Likewise.
1383 * intl/tst-gettext4.sh: Do not set environment variables
1384 explicitly.
1385 * intl/tst-gettext6.sh: Likewise.
1386 * intl/tst-translit.sh: Likewise.
1387 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1388 $(test-program-prefix-before-env), $(run-program-env) and
1389 $(test-program-prefix-after-env).
1390 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1391 run_program_env and test_program_prefix_after_env arguments.
1392 * math/Makefile (run-regen-ulps): Use $(run-program-env).
1393 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1394 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
1395 explicitly with each use of ${test_wrapper_env}.
1396 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1397 $(test-program-prefix-before-env), $(run-program-env) and
1398 $(test-program-prefix-after-env).
1399 * posix/tst-getconf.sh: Do not set environment variables
1400 explicitly.
1401 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1402 run_program_env and test_program_prefix_after_env arguments.
1403 * stdio-common/tst-printf.sh: Do not set environment variables
1404 explicitly.
1405 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1406 $(test-program-prefix-before-env), $(run-program-env) and
1407 $(test-program-prefix-after-env).
1408 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1409 run_program_env and test_program_prefix_after_env arguments.
1410 Split $test calls into $test_pre and $test.
1411 * timezone/Makefile (build-testdata): Use
1412 $(built-program-cmd-before-env), $(run-program-env) and
1413 $(built-program-cmd-after-env).
1414
ed36bfa1
AZ
14152014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1416
1417 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1418 strlen for non SHARED builds.
1419
fc75bf46
SP
14202014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1421
1422 * nptl/allocatestack.c (check_list): Inlined function...
1423 (__reclaim_stacks): ... here.
1424
d89b3d80
OB
14252014-06-05 Ondřej Bílka <neleai@seznam.cz>
1426
1427 [BZ #15698]
1428 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1429 memory overrun.
1430
2bf18041
JM
14312014-06-05 Joseph Myers <joseph@codesourcery.com>
1432
1433 * Rules (make-test-out): Include
1434 LOCPATH=$(common-objpfx)localedata in default environment.
1435 * debug/Makefile (tst-chk1-ENV): Remove variable.
1436 (tst-chk2-ENV): Likewise.
1437 (tst-chk3-ENV): Likewise.
1438 (tst-chk4-ENV): Likewise.
1439 (tst-chk5-ENV): Likewise.
1440 (tst-chk6-ENV): Likewise.
1441 (tst-lfschk1-ENV): Likewise.
1442 (tst-lfschk2-ENV): Likewise.
1443 (tst-lfschk3-ENV): Likewise.
1444 (tst-lfschk4-ENV): Likewise.
1445 (tst-lfschk5-ENV): Likewise.
1446 (tst-lfschk6-ENV): Likewise.
1447 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1448 (tst-iconv7-ENV): Likewise.
1449 * intl/Makefile (LOCPATH-ENV): Likewise.
1450 (tst-codeset-ENV): Likewise.
1451 (tst-gettext3-ENV): Likewise.
1452 (tst-gettext5-ENV): Likewise.
1453 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1454 (tst-fopenloc-ENV): Likewise.
1455 (tst-fgetws-ENV): Remove variable.
1456 (tst-ungetwc1-ENV): Likewise.
1457 (tst-ungetwc2-ENV): Likewise.
1458 (bug-ungetwc2-ENV): Likewise.
1459 (tst-swscanf-ENV): Likewise.
1460 (bug-ftell-ENV): Likewise.
1461 (tst-fgetwc-ENV): Likewise.
1462 (tst-fseek-ENV): Likewise.
1463 (tst-ftell-partial-wide-ENV): Likewise.
1464 (tst-ftell-active-handler-ENV): Likewise.
1465 (tst-ftell-append-ENV): Likewise.
1466 * posix/Makefile (tst-fnmatch-ENV): Likewise.
1467 (tst-regexloc-ENV): Likewise.
1468 (bug-regex1-ENV): Likewise.
1469 (tst-regex-ENV): Likewise.
1470 (tst-regex2-ENV): Likewise.
1471 (bug-regex5-ENV): Likewise.
1472 (bug-regex6-ENV): Likewise.
1473 (bug-regex17-ENV): Likewise.
1474 (bug-regex18-ENV): Likewise.
1475 (bug-regex19-ENV): Likewise.
1476 (bug-regex20-ENV): Likewise.
1477 (bug-regex22-ENV): Likewise.
1478 (bug-regex23-ENV): Likewise.
1479 (bug-regex25-ENV): Likewise.
1480 (bug-regex26-ENV): Likewise.
1481 (bug-regex30-ENV): Likewise.
1482 (bug-regex32-ENV): Likewise.
1483 (bug-regex33-ENV): Likewise.
1484 (bug-regex34-ENV): Likewise.
1485 (bug-regex35-ENV): Likewise.
1486 (tst-rxspencer-ENV): Likewise.
1487 (tst-rxspencer-no-utf8-ENV): Likewise.
1488 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1489 (tst-sscanf-ENV): Likewise.
1490 (tst-swprintf-ENV): Likewise.
1491 (tst-swscanf-ENV): Likewise.
1492 (test-vfprintf-ENV): Likewise.
1493 (scanf13-ENV): Likewise.
1494 (bug14-ENV): Likewise.
1495 (tst-grouping-ENV): Likewise.
1496 * stdlib/Makefile (tst-strtod-ENV): Likewise.
1497 (tst-strtod3-ENV): Likewise.
1498 (tst-strtod4-ENV): Likewise.
1499 (tst-strtod5-ENV): Likewise.
1500 (testmb2-ENV): Likewise./
1501 * string/Makefile (tst-strxfrm-ENV): Likewise.
1502 (tst-strxfrm2-ENV): Likewise.
1503 (bug-strcoll1-ENV): Likewise.
1504 (test-strcasecmp-ENV): Likewise.
1505 (test-strncasecmp-ENV): Likewise.
1506 * time/Makefile (tst-strptime-ENV): Likewise.
1507 (tst-ftime_l-ENV): Likewise.
1508 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1509 (tst-mbrtowc-ENV): Likewise.
1510 (tst-wcrtomb-ENV): Likewise.
1511 (tst-mbrtowc2-ENV): Likewise.
1512 (tst-c16c32-1-ENV): Likewise.
1513 (tst-mbsnrtowcs-ENV): Likewise.
1514
cd1fb604
OB
15152014-06-05 Ondřej Bílka <neleai@seznam.cz>
1516
1517 * manual/resource.texi (How to get information about the memory
1518 subsystem?): Fix typo.
1519 Reported by Peon de la Parra Ivan <peon@keba.com>
1520
b42eca7d
GY
15212014-06-03 Guo Yixuan <culu.gyx@gmail.com>
1522
1523 [BZ #16882]
1524 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1525 (pthread_spin_lock): Branch out of spin loop to proper location.
1526 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1527 (pthread_spin_lock): Likewise.
1528
902b71f9
DM
1529 * nptl/tst-spin4.c: New test.
1530 * nptl/Makefile (tests): Add tst-spin4.
1531
f9d2d032
AS
15322014-06-03 Andreas Schwab <schwab@suse.de>
1533
1534 [BZ #15946]
1535 * resolv/res_send.c (send_dg): Reload file descriptor after
1536 calling reopen.
1537
cf7bfd28
SL
15382014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
1539
1540 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1541
111cc714
RH
15422014-06-03 Richard Henderson <rth@redhat.com>
1543
89b4bd6b
RH
1544 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1545 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1546 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1547 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
1548 in the SAVE_PID block.
1549 (__libc_vfork): New alias.
71840409 1550 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 1551
111cc714
RH
1552 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1553 child in registers, not on the stack. Remove RESET_PID conditionals.
1554 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1555
ccc39911
MS
15562014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
1557
1558 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1559
693096cc
W
15602014-06-03 Wilco <wdijkstr@arm.com>
1561
1562 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1563 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1564 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1565 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1566 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1567 Likewise.
1568
0b4366bc
W
15692014-06-03 Wilco <wdijkstr@arm.com>
1570
1571 * sysdeps/aarch64/fpu/math_private.h
1572 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1573 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1574 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1575 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1576 Fix declarations.
1577
8747cd03
KS
15782014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1579
1580 * crypt/crypt-private.h: Include ufc-crypt.h.
1581 (__b64_from_24bit): Declare extern.
1582 * crypt/crypt_util.c(__b64_from_24bit): New function.
1583 (b64t): New static const variable.
1584 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1585 (b64t): Remove variable.
1586 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1587 * crypt/sha256-crypt.c: Include crypt-private.h.
1588 (b64t): Remove variable.
1589 (__sha256_crypt_r): Remove b64_from_24bit and replace
1590 with __b64_from_24bit.
1591 * crypt/sha512-crypt.c: Likewise.
1592
d936d379
RM
15932014-06-02 Roland McGrath <roland@hack.frob.com>
1594
1595 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1596 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1597 Label the code __libc_vfork rather than __vfork.
1598 [!NOT_IN_libc] (vfork): Define as weak alias.
1599 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1600 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1601 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1602
9fa76613
SP
16032014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1604
1605 * malloc/malloc.c (malloc_info): Fix format specifier for
1606 n_mmaps.
1607
a88dadbe
W
16082014-06-02 Wilco <wdijkstr@arm.com>
1609
1610 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1611 FPCR write.
1612
c95b3011
W
16132014-06-02 Wilco <wdijkstr@arm.com>
1614
1615 [BZ #17009]
1616 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1617 Rewrite to reduce FPCR/FPSR accesses.
1618
6b4d7a90
DM
16192014-06-01 David S. Miller <davem@davemloft.net>
1620
1621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1622
30f3d07c
DM
16232014-05-31 David S. Miller <davem@davemloft.net>
1624
1625 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1626 to occur in round to nearest mode when |x| >= 2.0
1627
74f31c18
RH
16282014-05-30 Richard Henderson <rth@twiddle.net>
1629
f0712b54
RH
1630 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1631 (PSEUDO_RET_NOERRNO): Remove.
1632 (ret): Don't redefine.
1633 (ret_NOERRNO): Define in terms of ret.
1634 (ret_ERRVAL): Likewise.
1635
74f31c18
RH
1636 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1637 use of PSEUDO_RET; perform the error check directly.
1638
30477995
MM
16392014-05-30 Marko Myllynen <myllynen@redhat.com>
1640
1641 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1642 with __int128_t.
1643
62a58816
SP
16442014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1645
1646 * malloc/malloc (malloc_info): Fix formatting.
1647
4d653a59
SP
16482014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1649 Roland McGrath <roland@hack.frob.com>
1650
1651 * malloc/malloc (malloc_info): Also print mmapped statistics.
1652
5190c17f
RM
16532014-05-30 Roland McGrath <roland@hack.frob.com>
1654
1655 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1656 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1657
987c0269
OB
16582014-05-30 Ondřej Bílka <neleai@seznam.cz>
1659
1660 * malloc/malloc.c (malloc_info): Inline mi_arena.
1661
af4e8ef9
RH
16622014-05-29 Richard Henderson <rth@twiddle.net>
1663
1670e207
RH
1664 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1665 Remove comma before expanding ASM_ARGS_##nr.
1666 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1667 Make _x0 a strict output; make _x8 a strict input; adjust expansion
1668 of ASM_ARGS_##nr.
1669 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1670 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1671 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1672 (ASM_ARGS_1): Add leading comma.
1673
11a28aee
RH
1674 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1675 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1676 to __errno_location.
1677 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1678 Remove the expected plt for __errno_location.
1679
a17e5ffb 1680 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 1681 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
1682 call to __read_tp.
1683
b5be4597
RH
1684 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1685 Always allocate 64 bytes of stack frame. Use ldp/stp to create
1686 it and break it down.
1687 (DOCARGS_0, DOCARGS_1): Do nothing.
1688 (DOCARGS_2): Update to store into the new stack frame.
1689 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1690 (UNDOCARGS_1): Update to restore from the new stack frame.
1691 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1692 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1693
645d44ab
RH
1694 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1695 (SINGLE_THREAD_P): New parameter for result regno.
1696 (PSEUDO): Update to match; use cbz instead of beq.
1697
a8b4f04a
RH
1698 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1699 Use ENTRY to define the _nocancel entry point. Share the syscall
1700 and syscall error check paths with the cancel path.
1701 (PSEUDO_END): New.
1702
af4e8ef9
RH
1703 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1704 whitespace; tabs before and after asm mnemonics.
1705
26b0d2e1
EW
17062014-05-29 Eric Wong <normalperson@yhbt.net>
1707
1708 [BZ #15132]
1709 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1710 Call fstat64 or stat64 internally, depending on arguments passed.
1711 Replace stat buffer argument with file descriptor argument.
1712 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1713 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1714 Pass fd to __internal_statvfs instead of calling fstat64.
1715 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1716 Pass fd to __internal_statvfs64 instead of calling fstat64.
1717 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1718 Pass -1 to __internal_statvfs instead of calling stat64.
1719 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1720 Pass -1 to __internal_statvfs64 instead of calling stat64.
1721
1efe2bd9
RM
17222014-05-28 Roland McGrath <roland@hack.frob.com>
1723
0d3b7a19
RM
1724 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1725 that was previously under [RESET_PID].
1726 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1727
1efe2bd9
RM
1728 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1729 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1730
a6bea3ca
RM
17312014-05-27 Roland McGrath <roland@hack.frob.com>
1732
30b6629e
RM
1733 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1734
a6bea3ca
RM
1735 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1736 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1737
3dfb9a5c
OB
17382014-05-27 Ondřej Bílka <neleai@seznam.cz>
1739
1740 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1741
774f9285
AS
17422014-05-27 Andreas Schwab <schwab@suse.de>
1743
1744 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1745 TLS_INIT_TP macro.
1746 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1747 * elf/rtld.c (init_tls, dl_main): Likewise.
1748 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1749 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1750 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1751 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1752 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1753 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1754 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1755 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1756 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1757 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1758 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1759 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1760 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1761 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1762 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1763 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1764 * sysdeps/generic/tls.h: Update description.
1765
36ffe739
WN
17662014-05-27 Will Newton <will.newton@linaro.org>
1767
1768 [BZ #16990]
1769 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1770 and restore r2 rather than just restoring.
1771
2482ae43
SP
17722014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1773
1774 [BZ #16724]
1775 * libio/tst-ftell-append.c: New test case.
1776 * libio/Makefile (tests): Add test case.
1777 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1778 append mode.
1779 * libio/wfileops.c (do_ftell_wide): Likewise.
1780
3d1024e8
AZ
17812014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1782
bab90016
AZ
1783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1784
c7a8d667
AZ
1785 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1786 ...
1787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1789 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1790 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1791 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1792 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1793 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1794 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1795 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1796 Moved ...
1797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1798 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1799 Moved ...
1800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1801 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1802 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1803 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1804 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1805 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1806 ...
1807 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1808 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1809 Moved ...
1810 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1811 here.
1812 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1813 ...
1814 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1815 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1816 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1817
daee7851
AZ
1818 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1819 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1820 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1821 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1822
50a40819
AZ
1823 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1824 merge into ...
1825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1826 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1827 ...
1828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1829 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1830 ...
1831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1832 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1833 Moved ...
1834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1835 here.
1836 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1837 Moved ...
1838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1839 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1840 Moved ...
1841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1842
8464c2a1
AZ
1843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1844 conditional [RESET_PID].
1845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1846 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1847 removed.
1848 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1849 removed.
1850
3d1024e8
AZ
1851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1852 <tcb-offsets.h>.
1853 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1854 (__libc_vfork): New strong alias.
1855 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1856 removed.
1857 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1858 Removed.
1859
1860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1861 <tcb-offsets.h>.
1862 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1863 (__libc_vfork): New strong alias.
1864 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1865 removed.
1866 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1867 removed.
1868
fdfd175d
CD
18692014-05-26 Carlos O'Donell <carlos@redhat.com>
1870
1871 * malloc/malloc.c (mi_arena): New function.
1872 (malloc_info): Remove nested function mi_arena. Call non-nosted
1873 function mi_arena.
1874
d298c416
AZ
18752014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1876
1877 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1878 by insrwi.
1879 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1880 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1881 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1882 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1883 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1884 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1885 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1886
b60ea6ff
AS
18872014-05-26 Andreas Schwab <schwab@suse.de>
1888
1889 [BZ #16984]
1890 * locale/programs/repertoire.c (repertoire_read): Add slash
1891 between I18NPATH element and file name.
1892 * locale/programs/locfile.c (locfile_read): Likewise.
1893
67365926
SL
18942014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1895
1896 * nptl/pthread_mutexattr_settype.c
1897 (__pthread_mutexattr_settype):
1898 Disable lock elision for PTHREAD_MUTEX_NORMAL.
1899
f8bdf1f0
SL
19002014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1901
1902 * nptl/tst-mutex5 (do_test):
1903 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1904
15eaf6ff
SP
19052014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1906
1907 * benchtests/README: Document 'init' directive.
1908 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1909 BENCH_INIT.
1910 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1911 (parse_file): Recognize 'init' directive.
1912
75f11331
KM
19132014-05-26 Kyle McMartin <kyle@redhat.com>
1914
1915 [BZ #16796]
1916 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1917 alignment of struct pthread.
1918
c3ec475c
SP
19192014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1920
1921 [BZ #16878]
1922 * nscd/netgroupcache.c (addgetnetgrentX): Look for
1923 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1924 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1925 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1926
82aab97c
RH
19272014-05-25 Richard Henderson <rth@twiddle.net>
1928
aa2f176d
RH
1929 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1930 (SINGLE_THREAD_P_PIC): Remove.
1931 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1932 (SINGLE_THREAD_P_PIC): Remove.
1933
ca3cfa40
RH
1934 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1935 branch to syscall error ...
1936 (PSEUDO): ... here.
1937 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1938 from __local_syscall_error to .Lsyscall_error.
1939 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1940 (SYSCALL_ERROR): Update label name.
1941
6e6c2d01
RH
1942 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1943 Do not use DOARGS/UNDOARGS.
1944 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1945 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1946 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1947 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1948 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1949
c69abcee
RH
1950 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1951 block comment.
1952
82aab97c
RH
1953 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1954 define if !NOT_IN_libc.
1955 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1956 define with non-default symbol versions.
1957
8820e3ac
RH
19582014-05-23 Richard Henderson <rth@twiddle.net>
1959
900e445f
RH
1960 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1961 (vfork, __vfork): Define via compat_symbol.
1962
8820e3ac
RH
1963 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1964 [!HAVE_IFUNC] (vfork_compat): Remove.
1965 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1966
e59252a5
JM
19672014-05-23 Joseph Myers <joseph@codesourcery.com>
1968
1969 [BZ #16978]
1970 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1971 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1972 variable.
1973
132c7f5f
RH
19742014-05-23 Richard Henderson <rth@twiddle.net>
1975
bc89e962
RH
1976 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1977 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1978 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1979 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1980
1981 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1982 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1983 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1984 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1985 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1986 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1987 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1988 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1989 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1990 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1991 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1992 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1993 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1994 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1995 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1996 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1997 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1998 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1999 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
2000 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
2001 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
2002 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
2003 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
2004 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
2005 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
2006 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
2007 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
2008 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
2009 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
2010 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
2011 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
2012 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2013 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2014 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2015 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2016 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2017 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2018 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2019 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2020 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2021 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2022 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2023 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2024 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2025 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2026 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2027 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2028 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2029 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2030 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2031 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2032 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2033 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2034 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2035 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2036 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2037
e2fa4bc2
RH
2038 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2039 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2040 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
2041 before exiting on error.
2042 (__libc_vfork): New strong alias.
2043 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2044 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2045
279b24e2
RH
2046 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2047 that was previously under [RESET_PID].
2048 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2049
132c7f5f
RH
2050 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2051
b72592e7
JM
20522014-05-23 Joseph Myers <joseph@codesourcery.com>
2053
2054 [BZ #16977]
2055 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2056 value when x - 1 is zero.
2057 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2058 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2059 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2060 0.0L for an argument of 1.0L.
2061 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2062 Likewise.
2063 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2064 value when x - 1 is zero.
2065 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2066 * sysdeps/i386/fpu/libm-test-ulps: Update.
2067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2068
2302d679
RV
20692014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2070
2071 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2072 alphasort and versionsort.
2073
32999d63
AZ
20742014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2075
2076 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2077 macro.
2078 [copysignf]: Likewise.
2079
019324d0
SP
20802014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2081
2082 * crypt/md5-crypt.c: Fix formatting.
2083
34fff5c2
KS
20842014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2085
2086 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2087 (b64_from_24bit): New function.
2088
3d2badac
AZ
20892014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2090
2091 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2092 libc_hidden_builtin_def to ifunc.
2093 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2094 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2095
f7bb179f 20962014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
2097
2098 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2099 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2100
4134b50d
JM
21012014-05-21 Joseph Myers <joseph@codesourcery.com>
2102
bb7d0337
JM
2103 * nscd/Depend (linuxthreads): Remove.
2104 (nptl): Add.
2105 * resolv/Depend (linuxthreads): Remove.
2106 * rt/Depend (linuxthreads): Remove.
2107
4134b50d
JM
2108 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2109 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2110 $(common-objpfx)elf/.
2111 (link-libc-before-gnulib): Likewise.
2112 (elfobjdir): Remove variable.
2113 * Makefile (install): Use $(elf-objpfx) instead of
2114 $(common-objpfx)elf/.
2115 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2116 $(elfobjdir)/.
2117 (link-libc-deps): Likewise.
2118 ($(common-objpfx)libc.so): Likewise.
2119 ($(common-objpfx)linkobj/libc.so): Likewise.
2120 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2121 instead of $(common-objpfx)elf/.
2122 (symbolic-link-list): Likewise.
2123 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2124 [$(cross-compiling) = no]: Likewise.
2125 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2126 $(elfobjdir)/.
2127 (static-gnulib-arch): Likewise.
2128 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2129 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2130 $(common-objpfx)elf/.
2131
3612eb8f
RH
21322014-05-21 Richard Henderson <rth@redhat.com>
2133
a6b3657b
RH
2134 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2135 (SINGLE_THREAD_P): Use the correct width load. Fold
2136 into the ldr offset.
2137
3612eb8f
RH
2138 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2139 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2140
175cef41
JM
21412014-05-20 Joseph Myers <joseph@codesourcery.com>
2142
2143 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2144 (libgcc_s_resume): Use __attribute_used__.
2145 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2146 Likewise.
2147
e13bccd3
AZ
21482014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2149
2150 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2151 optimization when used with float constants.
2152
7c112a38
AZ
2153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2154
ae75a883
AJ
21552014-05-20 Aurelien Jarno <aurelien@aurel32.net>
2156
2157 [BZ #16915]
2158 * locale/nl_langinfo_l.c: Make direct reference to every
2159 _nl_current_CATEGORY symbol.
2160 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2161 (tests-static): Add tst-langinfo-static.
2162 (tests-special): Add tst-langinfo-static.out.
2163 ($(objpfx)tst-langinfo.out): Redirect output.
2164 ($(objpfx)tst-langinfo-static.out): New.
2165 * localedata/tst-langinfo.sh: Send output to stdout.
2166 * localedata/tst-langinfo-static.c: New file.
2167
4406c41c
AJ
2168 [BZ #16965]
2169 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2170 when the shift amount is modulo the limb size.
2171
4c0a1e63
RH
21722014-05-20 Richard Henderson <rth@redhat.com>
2173
de9d8f20
RH
2174 [BZ #16967]
2175 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2176 Change type of sa_flags from unsigned int to int.
2177
4c0a1e63
RH
2178 [BZ #16966]
2179 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
2180
2181 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2182
a60339aa
WN
21832014-05-20 Will Newton <will.newton@linaro.org>
2184
2185 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2186 Test the return value of the system call in the nocancel case.
2187
7d05a816
YR
21882014-05-20 Will Newton <will.newton@linaro.org>
2189 Yvan Roux <yvan.roux@linaro.org>
2190
2191 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2192 #include of asm/ptrace.h.
2193 (PTRACE_GET_THREAD_AREA): Remove #undef.
2194 (PTRACE_GETHBPREGS): Likewise.
2195 (PTRACE_SETHBPREGS): Likewise.
2196 (struct user_regs_struct): New structure.
2197 (struct user_fpsimd_struct): New structure.
2198 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2199 #include of asm/ptrace.h and second #include of sys/user.h.
2200 (PTRACE_GET_THREAD_AREA): Remove #undef.
2201 (PTRACE_GETHBPREGS): Likewise.
2202 (PTRACE_SETHBPREGS): Likewise.
2203 (ELF_NGREG): Use new struct user_regs_struct.
2204 (elf_fpregset_t): Use new struct user_fpsimd_struct.
2205
af121e37
AZ
22062014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2207
2208 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2209 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2210
834caf06
JM
22112014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2212
2213 [BZ #16958]
2214 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2215 membar to avoid block loads/stores to overlap previous stores.
2216
e184a918
RH
22172014-05-17 Richard Henderson <rth@redhat.com>
2218
2219 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2220 Create the __##syscall_name##_nocancel entry point.
2221 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2222 Remove; let the sysdep-cancel.h code create it.
2223
f56c7a6a
DM
22242014-05-17 David S. Miller <davem@davemloft.net>
2225
2226 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2227 Protect with __USE_GNU.
2228 (TIOCSET_TEMPT): Likewise.
2229 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2230 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2231 these are already provided in bits/ioctl-types.h
2232
f75616b2
RM
22332014-05-16 Roland McGrath <roland@hack.frob.com>
2234
3edeca86
RM
2235 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2236 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2237
f75616b2
RM
2238 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2239 Use wait4 regardless of [__NR_waitpid].
2240
deb0f7f6
MR
22412014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2242
2243 PR libgcc/60166
2244 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2245 (_FP_NANSIGN_Q): Set the quiet bit.
2246
79520f4b
JM
22472014-05-16 Joseph Myers <joseph@codesourcery.com>
2248
2249 * benchtests/Makefile
2250 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2251 not $(common-objpfx)math/libm.so.
2252 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2253 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2254 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2255 $(common-objpfx)dlfcn/libdl.so.
2256 ($(objpfx)tst-audit8): Depend on $(libm), not
2257 $(common-objpfx)math/libm.so.
2258 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2259 not $(common-objpfx)dlfcn/libdl.so.
2260 * math/Makefile
2261 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2262 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
2263 [$(build-shared) = yes].
2264 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2265 $(common-objpfx)nptl/libpthread.so.
2266 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2267 $(common-objpfx)math/libm.so$(libm.so-version) or
2268 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2269 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2270 $(common-objpfx)dlfcn/libdl.so.
2271 * setjmp/Makefile (link-libm): Remove variable.
2272 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2273 * stdio-common/Makefile (link-libm): Remove variable.
2274 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2275 * stdlib/Makefile (link-libm): Remove variable.
2276 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2277 ($(objpfx)tst-strtod-round): Likewise.
2278 ($(objpfx)tst-tininess): Likewise.
2279 ($(objpfx)tst-strtod-underflow): Likewise.
2280 ($(objpfx)tst-strtod6): Likewise.
2281 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2282 $(libdl), not $(common-objpfx)nptl/libpthread.so and
2283 $(common-objpfx)dlfcn/libdl.so.
2284
026b0fe4
AZ
22852014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2286
2287 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2288 BSD terminal modes definitions.
2289
def4bcb2
RM
22902014-05-16 Roland McGrath <roland@hack.frob.com>
2291
fe39b021
RM
2292 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2293 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2294
1d1fc46e 2295 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
2296 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2297 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2298 Don't do #include_next.
2299 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2300 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2301 Don't do #include_next.
2302 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2303 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2304 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2305 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2306
c72399fb
AM
23072014-05-16 Allan McRae <allan@archlinux.org>
2308
d51d659d
AM
2309 * po/sv.po: Update Swedish translation from translation project.
2310
c72399fb
AM
2311 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2312 in sed expression.
2313
d0583c40
AJ
23142014-05-16 Aurelien Jarno <aurelien@aurel32.net>
2315
2316 [BZ #16917]
2317 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2318 errno if the TIOCGPTN ioctl fails with an error different than
2319 EINVAL.
2320 * login/tst-ptsname.c: New file.
2321 * login/Makefile (tests): Add tst-ptsname.
2322
d16e6ec7
AJ
2323 [BZ #16943]
2324 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2325 and prlimit64.
2326
cf26a0cb
SP
23272014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2328
2329 [BZ #16849]
2330 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2331 herrno to return EAI_AGAIN.
2332
5675da1e
RM
23332014-05-14 Roland McGrath <roland@hack.frob.com>
2334
a5d87b3d
RM
2335 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2336 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2337 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2338 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2339 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2340 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2341 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2342 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2343 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2344 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2345 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2346 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2347 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2348 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2349 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2350 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2351 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2352 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2353 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2354 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2355 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2356 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2357 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2358 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2359 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2360 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2361 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2362 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2363 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2364 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2365 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2366 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2367 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2368 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2370 Moved ...
2371 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2372 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2373 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2374 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2375 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2377 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2379 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2380 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2381 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2382 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2383 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2384 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2385 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2387 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2388 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2389 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2390 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2391 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2392 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2393 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2395 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2397 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2399 Moved ...
2400 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2402 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2403 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2404 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2405 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2406 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2407 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2408 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2409 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2410 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2411 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2412 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2413 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2414 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2416 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2418 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2420 Moved ...
2421 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2423 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2424
039890a6
RM
2425 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2426 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2427 (libpthread-sysdep_routines): Add elision-related stuff here instead.
2428 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2429 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2430 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2431 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2432 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2433 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2434 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2435 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2436 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2437 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2438 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2439 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2440 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2441 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2442 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2443 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2444 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2445 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2446 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2447 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2448 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2449 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2450 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2451 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2452 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2453 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2454 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2455 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2456
65c89320
RM
2457 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2458 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2459
348f8e8c
RM
2460 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2461 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2462 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2463 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2464 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2465 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2466 Moved ...
2467 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2468 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2469 Moved ...
2470 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2471 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2472 Moved ...
2473 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2474 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2475 Moved ...
2476 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2477 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2478 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2479 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2480 Moved ...
2481 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2482 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2483 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2484 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2485 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2486 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2487 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2488 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2489 Moved ...
2490 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2491 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2492 Moved ...
2493 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2494 ... here.
2495 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2496 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2497 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2498 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2499 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2500 Moved ...
2501 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2502 ... here.
2503 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2504 Moved ...
2505 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2506 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2507 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2508 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2509 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2510 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2511 Moved ...
2512 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2513 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2514 Moved ...
2515 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2516 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2517 Moved ...
2518 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2519 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2520 Moved ...
2521 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2522 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2523 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2524 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2525 Moved ...
2526 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2527 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2528 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2529 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2530 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2531 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2532 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2533 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2534 Moved ...
2535 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2536 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2537 Moved ...
2538 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2539 ... here.
2540 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2541 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2542 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2543 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2544 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2545 Moved ...
2546 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2547 ... here.
2548 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2549 Moved ...
2550 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2551 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2552 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2553 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2554 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2555 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2556 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2557 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2558 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2559 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2560 Moved ...
2561 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2562 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2563 Moved ...
2564 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2565 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2566 Moved ...
2567 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2568 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2569 Moved ...
2570 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2571 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2572 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2573 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2574 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2575 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2576 Moved ...
2577 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2578 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2579 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2580 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2581 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2582 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2583 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2584 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2585 Moved ...
2586 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2587 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2588 Moved ...
2589 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2590 ... here.
2591 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2592 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2593 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2594 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2595 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2596 Moved ...
2597 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2598 ... here.
2599 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2600 Moved ...
2601 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2602 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2603 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2604 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2605 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2606 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2607 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2608 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2609 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2610 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2611 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2612
5085af05
RM
2613 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2614 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2615
708f0813
RM
2616 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2617 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2618
c96067bc
RM
2619 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2620 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2621 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2622 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2623 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2624 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2625 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2626 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2627 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2628 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2629 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2630 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2631 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2632 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2633 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2634 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2635 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2636 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2637 Moved ...
2638 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2639 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2640 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2641 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2642 Moved ...
2643 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2644 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2645 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2646 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2647 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2648 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2649 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2650 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2651 Moved ...
2652 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2653 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2654 Moved ...
2655 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2656 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2657 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2658 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2659 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2660 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2661 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2662 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2663 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2664 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2665 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2666 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2667 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2668 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2669 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2670 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2671 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2672
ec136444
RM
2673 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2674 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2675 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2676 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2677 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2678
2fbdf533
RM
2679 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2680 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2681 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2682 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2683 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2684 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2685 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2686 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2687 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2688 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2689
4c68138b
RM
2690 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2691 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2692
4eaae765
RM
2693 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2694 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
2695 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2696 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2697 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2698 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2699 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2700 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2701 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2702 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2703 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2704 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2705 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2706 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2707 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2708 Update #include.
2709 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2710 Likewise.
2711 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2712 Likewise.
2713 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2714 Likewise.
2715 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2716 Likewise.
2717 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2718 Likewise.
2719 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2720 Likewise.
2721 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2722 Likewise.
2723 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2724 Likewise.
2725 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2726 Likewise.
4ef6befa
RM
2727 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2728 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2729 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2730 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2731 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
2732 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2733 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2734 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2735 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2736 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2737 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2738 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2739 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2740 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
2741 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 2742
941d7dfd
RM
2743 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2744 that was previously under [RESET_PID].
2745 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2746 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2747 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2748
1b731c35
RM
2749 * sysdeps/i386/nptl/Implies: New file.
2750 * sysdeps/x86_64/nptl/Implies: New file.
2751 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2752 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2753 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2754 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2755
e2787137
RM
2756 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2757 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2758 (__libc_vfork): New strong alias.
2759 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2760 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2761
2762 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2763 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2764 (__libc_vfork): New strong alias.
2765 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2766 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2767
5675da1e
RM
2768 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2769 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2770 (__libc_vfork): New strong alias.
2771 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2772 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2773 * nptl/pt-vfork.c: New file.
2774 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2775 (libpthread: GLIBC_2.20): New version set (empty).
2776
4f02e2b8
WN
27772014-05-14 Will Newton <will.newton@linaro.org>
2778
2779 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2780 rather than #if.
2781
0bf061d3
JM
27822014-05-14 Joseph Myers <joseph@codesourcery.com>
2783
1a84c3d6
JM
2784 [BZ #16564]
2785 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2786 arguments with exponent 65 or above.
2787 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2788 arguments 0x1p113L or above.
2789 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2790 to arguments 0x1p107L or above.
2791 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2792 positive arguments with exponent 65 or above.
2793 * math/auto-libm-test-in: Add more tests of log1p.
2794 * math/auto-libm-test-out: Regenerated.
2795
01dbacd2
JM
2796 [BZ #16928]
2797 * math/s_cacos.c (__cacos): Ensure zero real part of result from
2798 non-finite arguments is +0.
2799 * math/s_cacosf.c (__cacosf): Likewise.
2800 * math/s_cacosl.c (__cacosl): Likewise.
2801 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2802 * sysdeps/i386/fpu/libm-test-ulps: Update.
2803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2804
913d03c8
JM
2805 [BZ #16927]
2806 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2807 value.
2808 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2809 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2810 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2811 for explicit high bit of mantissa when testing for argument equal
2812 to 1.
2813 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2814 * sysdeps/i386/fpu/libm-test-ulps: Update.
2815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2816
0bf061d3
JM
2817 [BZ #16516]
2818 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2819 (__erf): Scale by 16 instead of 8 in potentially underflowing
2820 case. Ensure exception if result actually underflows.
2821 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2822 (__erff): Scale by 16 instead of 8 in potentially underflowing
2823 case. Ensure exception if result actually underflows.
2824 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2825 (efx8): Remove variable.
2826 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2827 case. Ensure exception if result actually underflows.
2828 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2829 (efx8): Remove variable.
2830 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2831 case. Ensure exception if result actually underflows.
2832 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2833 (efx8): Remove variable.
2834 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2835 case. Ensure exception if result actually underflows.
2836 * math/auto-libm-test-in: Add more tests of erf.
2837 * math/auto-libm-test-out: Regenerated.
2838
73ba67cb
AS
28392014-05-14 Andreas Schwab <schwab@suse.de>
2840
3d8c8bff
AS
2841 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2842 Remove code conditionalized on USE___THREAD.
2843
73ba67cb
AS
2844 * config.h.in (HAVE_PT_CHOWN): Define as 0.
2845 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2846 not definedness.
2847
5c521ecd
JM
28482014-05-14 Joseph Myers <joseph@codesourcery.com>
2849
5e7698c6
JM
2850 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2851 Define unconditionally.
2852 (__ASSUME_O_CLOEXEC): Likewise.
2853 (__ASSUME_SOCK_CLOEXEC): Likewise.
2854 (__ASSUME_IN_NONBLOCK): Likewise.
2855 (__ASSUME_PIPE2): Likewise.
2856 (__ASSUME_EVENTFD2): Likewise.
2857 (__ASSUME_SIGNALFD4): Likewise.
2858 (__ASSUME_DUP3): Likewise.
2859 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2860 (__ASSUME_DUP3): Do not define.
2861 (__ASSUME_EVENTFD2): Likewise.
2862 (__ASSUME_IN_NONBLOCK): Likewise.
2863 (__ASSUME_O_CLOEXEC): Likewise.
2864 (__ASSUME_PIPE2): Likewise.
2865 (__ASSUME_SIGNALFD4): Likewise.
2866 (__ASSUME_SOCK_CLOEXEC): Likewise.
2867 (__ASSUME_UTIMES): Undefine.
2868 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2869 (__ASSUME_UTIMES): Do not define.
2870 (__ASSUME_O_CLOEXEC): Likewise.
2871 (__ASSUME_SOCK_CLOEXEC): Likewise.
2872 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2873 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2874 0x020621].
2875 (__ASSUME_PIPE2): Likewise.
2876 (__ASSUME_EVENTFD2): Likewise.
2877 (__ASSUME_SIGNALFD4): Likewise.
2878 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2879 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2880 Do not define.
2881 (__ASSUME_EVENTFD2): Likewise.
2882 (__ASSUME_SIGNALFD4): Likewise.
2883 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2884 (__ASSUME_32BITUIDS): Likewise.
2885 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2886 (__ASSUME_IPC64): Likewise.
2887 (__ASSUME_ST_INO_64_BIT): Likewise.
2888 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2889 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2890 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2891 (__ASSUME_UTIMES): Do not define.
2892 (__ASSUME_PSELECT): Likewise.
2893 (__ASSUME_PPOLL): Likewise.
2894 (__ASSUME_O_CLOEXEC): Likewise.
2895 (__ASSUME_SOCK_CLOEXEC): Likewise.
2896 (__ASSUME_IN_NONBLOCK): Likewise.
2897 (__ASSUME_PIPE2): Likewise.
2898 (__ASSUME_EVENTFD2): Likewise.
2899 (__ASSUME_SIGNALFD4): Likewise.
2900 (__ASSUME_DUP3): Likewise.
2901 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2902 (__ASSUME_UTIMES): Likewise.
2903 (__ASSUME_O_CLOEXEC): Likewise.
2904 (__ASSUME_SOCK_CLOEXEC): Likewise.
2905 (__ASSUME_IN_NONBLOCK): Likewise.
2906 (__ASSUME_PIPE2): Likewise.
2907 (__ASSUME_EVENTFD2): Likewise.
2908 (__ASSUME_SIGNALFD4): Likewise.
2909 (__ASSUME_DUP3): Likewise.
2910 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2911 (__ASSUME_UTIMES): Likewise.
2912 (__ASSUME_O_CLOEXEC): Likewise.
2913 (__ASSUME_SOCK_CLOEXEC): Likewise.
2914 (__ASSUME_IN_NONBLOCK): Likewise.
2915 (__ASSUME_PIPE2): Likewise.
2916 (__ASSUME_EVENTFD2): Likewise.
2917 (__ASSUME_SIGNALFD4): Likewise.
2918 (__ASSUME_DUP3): Likewise.
2919 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2920 Likewise.
2921 (__ASSUME_UTIMES): Likewise.
2922 (__ASSUME_EVENTFD2): Likewise.
2923 (__ASSUME_SIGNALFD4): Likewise.
2924 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2925 (__ASSUME_O_CLOEXEC): Likewise.
2926 (__ASSUME_SOCK_CLOEXEC): Likewise.
2927 (__ASSUME_IN_NONBLOCK): Likewise.
2928 (__ASSUME_PIPE2): Likewise.
2929 (__ASSUME_EVENTFD2): Likewise.
2930 (__ASSUME_SIGNALFD4): Likewise.
2931 (__ASSUME_DUP3): Likewise.
2932 (__ASSUME_UTIMES): Undefine.
2933
5c521ecd
JM
2934 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2935 feclearexcept. Remove symbol versioning code.
2936 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
2937 symbol versioning code.
2938 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
2939 symbol versioning code.
2940 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2941 feupdateenv. Remove symbol versioning code.
2942 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2943 fegetexceptflag. Remove symbol versioning code.
2944 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2945 fesetexceptflag. Remove symbol versioning code.
2946 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2947 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
2948 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2949 (__posix_fadvise64_l32): Remove prototype.
2950 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2951 code.
2952
5da9dfad
RM
29532014-05-13 Roland McGrath <roland@hack.frob.com>
2954
2955 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2956 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2957 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2958 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2959
893b4f37
SK
29602014-05-13 Sami Kerola <kerolasa@iki.fi>
2961
2962 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2963 current working directory
2964
e0db6517
RM
29652014-05-13 Roland McGrath <roland@hack.frob.com>
2966
58aa195d
RM
2967 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2968 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2969 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2970 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2971 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2972 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2973 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2974 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2975 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2976 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2977 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2978 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2979 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2980 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2981 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2982 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2983 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2984 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2985 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2986 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2987 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2988 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2989 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2990 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2991 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2992 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2993 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2994 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2995 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2996 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2997 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2998 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2999 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
3000 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
3001 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
3002 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
3003 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
3004 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
3005 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
3006 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
3007 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
3008 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
3009
8c6d01f0
RM
3010 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
3011 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3012
3013 * sysdeps/unix/sysv/linux/arm/Makefile
3014 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3015 Add rt-aeabi_unwind_cpp_pr1.
3016 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3017 Add nptl-aeabi_unwind_cpp_pr1.
3018 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3019 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3020 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3021 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3022 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3023 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3024
3025 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3026 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3027 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3028 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3029
bba6da4e
RM
3030 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3031 Deconditionalize the code that was previously under [RESET_PID].
3032 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3033
e0db6517
RM
3034 * sysdeps/generic/exit-thread.h: New file.
3035 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3036 * include/unistd.h (__exit_thread): Remove declaration.
3037 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3038 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3039 * csu/libc-start.c: Include <exit-thread.h>.
3040 (LIBC_START_MAIN): Pass no argument to __exit_thread.
3041 * nptl/pthread_create.c: Include <exit-thread.h>.
3042 (start_thread): Call __exit_thread in place of __exit_thread_inline.
3043 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3044 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3045 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3046 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3047 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3048 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3049 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3050 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3051 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3052 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3053 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3054 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3055 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3056 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3057 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3058 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3059
01eb16fd
AS
30602014-05-13 Andreas Schwab <schwab@suse.de>
3061
3062 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3063
637461d9
JM
30642014-05-12 Joseph Myers <joseph@codesourcery.com>
3065
3066 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3067 (__ASSUME_UTIMES): Do not condition on kernel version.
3068 (__ASSUME_PSELECT): Define unconditionally.
3069 (__ASSUME_PPOLL): Likewise.
3070 (__ASSUME_ATFCTS): Likewise.
3071 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3072 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3073 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3074 (__ASSUME_UTIMENSAT): Define unconditionally.
3075 (__ASSUME_PRIVATE_FUTEX): Likewise.
3076 (__ASSUME_FALLOCATE): Likewise.
3077 (__ASSUME_O_CLOEXEC): Likewise.
3078 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3079 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3080 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3081 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3082 (__ASSUME_IN_NONBLOCK): Likewise.
3083 (__ASSUME_PIPE2): Likewise.
3084 (__ASSUME_EVENTFD2): Likewise.
3085 (__ASSUME_SIGNALFD4): Likewise.
3086 (__ASSUME_DUP3): Likewise.
3087 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3088 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3089 (__ASSUME_AT_RANDOM): Likewise.
3090 (__ASSUME_PREADV): Likewise.
3091 (__ASSUME_PWRITEV): Likewise.
3092 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3093 (__ASSUME_F_GETOWN_EX): Define unconditionally.
3094 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3095 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3096 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3097 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3098 (__ASSUME_O_CLOEXEC): Define unconditionally.
3099 (__ASSUME_PSELECT): Do not undefine conditionally.
3100 (__ASSUME_PPOLL): Likewise.
3101 (__ASSUME_ATFCTS): Likewise.
3102 (__ASSUME_SET_ROBUST_LIST): Likewise.
3103 (__ASSUME_UTIMENSAT): Likewise.
3104 (__ASSUME_FDATASYNC): Define unconditionally.
3105 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3106 (__ASSUME_SIGFRAME_V2): Likewise.
3107 )__ASSUME_EVENTFD2): Likewise.
3108 (__ASSUME_SIGNALFD4): Likewise.
3109 (__ASSUME_PSELECT): Do not undefine conditionally.
3110 (__ASSUME_PPOLL): Likewise.
3111 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3112 (__ASSUME_PSELECT): Define unconditionally.
3113 (__ASSUME_PPOLL): Likewise.
3114 (__ASSUME_O_CLOEXEC): Likewise.
3115 (__ASSUME_SOCK_CLOEXEC): Likewise.
3116 (__ASSUME_IN_NONBLOCK): Likewise.
3117 (__ASSUME_PIPE2): Likewise.
3118 (__ASSUME_EVENTFD2): Likewise.
3119 (__ASSUME_SIGNALFD4): Likewise.
3120 (__ASSUME_DUP3): Likewise.
3121 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3122 (__ASSUME_O_CLOEXEC): Likewise.
3123 (__ASSUME_SOCK_CLOEXEC): Likewise.
3124 (__ASSUME_IN_NONBLOCK): Likewise.
3125 (__ASSUME_PIPE2): Likewise.
3126 (__ASSUME_EVENTFD2): Likewise.
3127 (__ASSUME_SIGNALFD4): Likewise.
3128 (__ASSUME_DUP3): Likewise.
3129 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3130 (__ASSUME_EVENTFD2): Likewise.
3131 (__ASSUME_SIGNALFD4): Likewise.
3132 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3133
315eb1d8
AS
31342014-05-12 Andreas Schwab <schwab@suse.de>
3135
3136 [BZ #16932]
3137 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3138 (_nss_nis_gethostbyname4_r): Return error if item length is larger
3139 than maximum RPC packet size.
3140 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3141 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3142 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3143 (_nss_nis_getservbyport_r): Likewise.
3144
91df99f7
WN
31452014-05-12 Will Newton <will.newton@linaro.org>
3146
3147 * malloc/Makefile (tests): Add tst-mallopt.
3148 * malloc/tst-mallopt.c: New file.
3149
0a982a29
RM
31502014-05-09 Roland McGrath <roland@hack.frob.com>
3151
3152 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3153 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3154
0ded08a5
AZ
31552014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3156
3157 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3158 (tst-tlsmod6.so): Likewise.
3159
55d4d550
RM
31602014-05-09 Roland McGrath <roland@hack.frob.com>
3161
3162 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3163
77d08aca
JM
31642014-05-09 Joseph Myers <joseph@codesourcery.com>
3165
3166 [BZ #16064]
3167 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3168 and <dl-procinfo.h>.
3169 (__fegetenv): Save SSE state in envp->__eip if supported.
3170 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3171 envp->__eip if supported.
3172 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3173 and <dl-procinfo.h>.
3174 (__fesetenv): Always set __eip, __cs_selector, __opcode,
3175 __data_offset and __data_selector in environment to 0. Set SSE
3176 state if supported.
3177 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3178 test-fenv-sse.
3179 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3180 -mfpmath=sse.
3181 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3182
28162f4d
WN
31832014-05-09 Will Newton <will.newton@linaro.org>
3184
3185 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3186 and libc_relro_required for ARM.
3187 * sysdeps/arm/preconfigure: Regenerate.
3188
5a414ff7
DV
31892014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
3190 Stefan Liebler <stli@linux.vnet.ibm.com>
3191
3192 * config.make.in (enable-lock-elision): New Makefile variable.
3193 * configure.ac: Likewise.
3194 * configure: Regenerate.
3195 * sysdeps/s390/configure.ac:
3196 Add check for gcc transactions support.
3197 * sysdeps/s390/configure: Regenerate.
3198 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3199 Build elision files if enabled.
3200 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3201 Add lock elision support for s390.
3202 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3203 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3204 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3205 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3206 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3207 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3208 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3209 Likewise.
3210 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3211 Likewise.
3212 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3213 Likewise.
3214 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3215 Likewise.
3216 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3217 (__lll_timedlock_elision, __lll_lock_elision)
3218 (__lll_unlock_elision, __lll_trylock_elision)
3219 (lll_timedlock_elision, lll_lock_elision)
3220 (lll_unlock_elision, lll_trylock_elision): Add.
3221 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3222 (pthread_mutex_t): Add lock elision support for s390.
3223
1a2f40e5
W
32242014-05-14 Wilco <wdijkstr@arm.com>
3225
3226 * sysdeps/arm/fclrexcpt.c: Cleanup.
3227 * sysdeps/arm/fedisblxcpt.c: Cleanup.
3228 * sysdeps/arm/feenablxcpt.c: Cleanup.
3229 * sysdeps/arm/fegetenv.c: Cleanup.
3230 * sysdeps/arm/fegetexcept.c: Cleanup.
3231 * sysdeps/arm/fegetround.c: Cleanup.
3232 * sysdeps/arm/feholdexcpt.c: Cleanup.
3233 * sysdeps/arm/fesetenv.c: Cleanup.
3234 * sysdeps/arm/fesetround.c: Cleanup.
3235 * sysdeps/arm/feupdateenv.c: Cleanup.
3236 * sysdeps/arm/fgetexcptflg.c: Cleanup.
3237 * sysdeps/arm/fraiseexcpt.c: Cleanup.
3238 * sysdeps/arm/fsetexcptflg.c: Cleanup.
3239 * sysdeps/arm/ftestexcept.c: Cleanup.
3240 * sysdeps/arm/get-rounding-mode.h: Cleanup.
3241 * sysdeps/arm/setfpucw.c: Cleanup.
3242
f63c86fe
WN
32432014-05-09 Will Newton <will.newton@linaro.org>
3244
3245 * sysdeps/arm/armv7/strcmp.S: New file.
3246 * NEWS: Mention addition of ARMv7 optimized strcmp.
3247
7a1a51b5
RM
32482014-05-08 Roland McGrath <roland@hack.frob.com>
3249
95afbbe5
RM
3250 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3251 look for %.ac rather than %.in.
3252
3253 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3254 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3255 * sysdeps/mach/hurd/configure: Regenerated.
3256 * sysdeps/unix/sysv/linux/configure: Regenerated.
3257
7a1a51b5
RM
3258 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3259
5057ad3b
SE
32602014-05-07 Steve Ellcey <sellcey@mips.com>
3261
3262 [BZ# 16922]
3263 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3264 (LONG_SUB): Ditto.
3265 (PTR_SUB): Ditto.
3266
8dc97517
AS
32672014-05-07 Andreas Schwab <schwab@suse.de>
3268
3269 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3270 when skipping over non-matching result from nscd.
3271
ce0c5b8f
OB
32722014-05-07 Ondřej Bílka <neleai@seznam.cz>
3273
3274 [BZ #16876]
3275 * nptl/sockperf.c (client): Check socket return value.
8dc97517 3276
a1189263
OB
3277 [BZ #16877]
3278 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3279 nscd security class.
ce0c5b8f 3280
0f58d252
RM
32812014-05-06 Roland McGrath <roland@hack.frob.com>
3282
3283 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3284 * sysdeps/arm/unwind.h: ... here.
3285
83df9ad0
AJ
32862014-05-06 Aurelien Jarno <aurelien@aurel32.net>
3287
ce0c5b8f
OB
3288 [BZ# 16916]
3289 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3290 Define.
83df9ad0 3291
f360f94a
VR
32922014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3293
3294 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3295 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3296 multiarch strncpy for PPC64.
3297 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3298 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3299 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3300 multiarch optimizations.
3301 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3302 (__libc_ifunc_impl_list): Likewise.
3303 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3304 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3305 multiarch stpncpy for PPC64.
3306 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3307 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3308
978a41c3
AS
33092014-05-06 Andreas Schwab <schwab@suse.de>
3310
3311 [BZ #16912]
3312 * gmon/mcount.c (_MCOUNT_DECL): Use
3313 atomic_compare_and_exchange_bool_acq instead of
3314 catomic_compare_and_exchange_bool_acq.
3315
eb1ed03d
RM
33162014-05-05 Roland McGrath <roland@hack.frob.com>
3317
fe658845
RM
3318 * elf/Makefile (others, install-bin): Remove pldd.
3319 (pldd-modules): Variable removed.
3320 ($(objpfx)pldd): Target removed.
3321 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3322 (others, install-bin): Append pldd here.
3323 ($(objpfx)pldd): New target.
3324
eb1ed03d
RM
3325 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3326 to 0, so the first #if test emitted later doesn't see it undefined.
3327 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3328 * sysdeps/gnu/errlist.c: Regenerated.
3329
19c4bec0
AZ
33302014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3331
3332 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3333 [libc_hidden_builtin_def]: Define to empty value.
3334 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3335 [libc_hidden_builtin_def]: Likewise.
3336 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3337 [libc_hidden_builtin_def]: Likewise.
3338 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3339 [libc_hidden_builtin_def]: Likewise.
3340 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3341 __redirect_memcpy and define ifunc as default hidden symbol.
3342 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3343 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3344
7776e669
AC
33452014-05-04 Adam Conrad <adconrad@0c3.net>
3346
3347 * locale/iso-4217.def: Reintroduce XDR currency.
3348
d69aeb12
AM
33492014-05-04 Allan McRae <allan@archlinux.org>
3350
3351 * po/eo.po: Update Esperanto translation from translation project.
3352
8f1df5cf
CD
33532014-05-02 Carlos O'Donell <carlos@redhat.com>
3354
3355 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3356 and FEATURE_INDEX_MAX to 1.
3357 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3358
13e402e7
SE
33592014-05-01 Steve Ellcey <sellcey@mips.com>
3360
3361 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3362 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3363 * iconvdata/big5.c (ONE_DIRECTION): Define.
3364 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3365 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3366 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3367 * iconvdata/cp932.c (ONE_DIRECTION): Define.
3368 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3369 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3370 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3371 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3372 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3373 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3374 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3375 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3376 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3377 * iconvdata/gbk.c (ONE_DIRECTION): Define.
3378 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3379 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3380 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3381 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3382 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3383 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3384 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3385 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3386 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3387 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3388 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3389 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3390 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3391 * iconvdata/iso646.c (ONE_DIRECTION): Define.
3392 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3393 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3394 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3395 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3396 * iconvdata/johab.c (ONE_DIRECTION): Define.
3397 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3398 * iconvdata/sjis.c (ONE_DIRECTION): Define.
3399 * iconvdata/t.61.c (ONE_DIRECTION): Define.
3400 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3401 * iconvdata/tscii.c (ONE_DIRECTION): Define.
3402 * iconvdata/uhc.c (ONE_DIRECTION): Define.
3403 * iconvdata/unicode.c (ONE_DIRECTION): Define.
3404 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3405 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3406 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3407
c727f032
RM
34082014-05-01 Roland McGrath <roland@hack.frob.com>
3409
8f2f08d0
RM
3410 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3411 (_IO_JUMPS_OFFSET): Define to 0.
3412
c727f032
RM
3413 * nptl/sysdeps/pthread/bits/libc-lock.h
3414 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3415 (__libc_lock_define_initialized_recursive): Always define using
3416 initializer. Modern compilers treat uninitialized (implicit zero) and
3417 explicit zero initializers the same (i.e. put the datum in bss).
3418
a849e800
AS
34192014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3420
3421 * nscd/nscd-client.h: Include <string.h>.
3422
5331255b
DM
34232014-05-01 David S. Miller <davem@davemloft.net>
3424
3425 [BZ #16885]
3426 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3427 multiple zero bytes exist at the end of a string.
3428 Reported by Aurelien Jarno <aurelien@aurel32.net>
3429
3430 * string/test-strcmp.c (check): Add explicit test for situations where
3431 there are multiple zero bytes after the first.
3432
4fdfe821
AS
34332014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3434
3435 [BZ #16890]
3436 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3437 when compiling wprintf.
3438 * stdio-common/tstdiomisc.c (t3): New function.
3439 (main): Call it.
3440
0cdddc25
SE
34412014-05-01 Steve Ellcey <sellcey@mips.com>
3442
3443 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3444 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3445 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3446 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3447
6426d77e
SE
34482014-05-01 Steve Ellcey <sellcey@mips.com>
3449
3450 * stdlib/longlong.h: Updated from GCC.
3451
6d96f5e4
WN
34522014-05-01 Will Newton <will.newton@linaro.org>
3453 Bernard Ogden <bernie.ogden@linaro.org>
3454
7470db0c
WN
3455 * NEWS: Update fixed bug list.
3456
6d96f5e4
WN
3457 [BZ #15119]
3458 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3459
211d653c
DM
34602014-04-30 David S. Miller <davem@davemloft.net>
3461
4fa262fa
DM
3462 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3463 (libc_feholdexcept_setround_sparc_ctx): New function.
3464 (libc_fesetenv_sparc_ctx): Likewise.
3465 (libc_feupdateenv_sparc_ctx): Likewise.
3466 (libc_feholdsetround_sparc_ctx): Likewise.
3467 (libc_feholdexcept_setround_ctx): Define.
3468 (libc_feholdexcept_setroundf_ctx): Likewise.
3469 (libc_feholdexcept_setroundl_ctx): Likewise.
3470 (libc_fesetenv_ctx): Likewise.
3471 (libc_fesetenvf_ctx): Likewise.
3472 (libc_fesetenvl_ctx): Likewise.
3473 (libc_feupdateenv_ctx): Likewise.
3474 (libc_feupdateenvf_ctx): Likewise.
3475 (libc_feupdateenvl_ctx): Likewise.
3476 (libc_feresetround_ctx): Likewise.
3477 (libc_feresetroundf_ctx): Likewise.
3478 (libc_feresetroundl_ctx): Likewise.
3479 (libc_feholdsetround_ctx): Likewise.
3480 (libc_feholdsetroundf_ctx): Likewise.
3481 (libc_feholdsetroundl_ctx): Likewise.
3482
1d3d93ef
DM
3483 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3484 with __USE_GNU instead of XOPEN cpp guards.
3485
8aa583c3
DM
3486 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3487 0.
3488
211d653c
DM
3489 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3490 with XOPEN cpp guards.
3491
60c8f1f6
JB
34922014-04-30 Julian Brown <julian@codesourcery.com>
3493
3494 [BZ #16888]
3495 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3496 handling.
3497
9a461d46
JM
34982014-04-30 Joseph Myers <joseph@codesourcery.com>
3499
d0f5b3f8
JM
3500 [BZ #9894]
3501 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3502 Change to 2.6.32.
3503 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3504 * sysdeps/unix/sysv/linux/configure: Regenerated.
3505 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3506 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3507 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3508 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3509 * README: Update reference to required Linux kernel version.
3510 * manual/install.texi (Linux): Update reference to required Linux
3511 kernel headers version.
3512 * INSTALL: Regenerated.
3513
9a461d46
JM
3514 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3515 header inclusion.
3516 [POSIX] (limits.h): Likewise.
3517 [POSIX] (math.h): Likewise.
3518 [POSIX] (sys/wait.h): Likewise.
3519 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3520 function.
3521 [POSIX] (stddef.h): Do not allow header inclusion.
3522
1775babf
AZ
35232014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3524
57f41c40 3525 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 3526
8f630cca
YY
35272014-04-30 Yang Yingliang <yangyingliang@huawei.com>
3528
3529 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3530 Return immediately after lll_futex_wake.
3531
1cdeb237
SP
35322014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3533
bc8f194c
SP
3534 [BZ #16791]
3535 * nscd/nscd-client.h (datahead_init_common): Initialize entire
3536 structure.
3537 (datahead_init_pos): Call datahead_init_common early.
3538 (datahead_init_neg): Likewise.
3539
1cdeb237
SP
3540 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3541 datahead_init_neg): New functions.
3542 * nscd/aicache.c (addhstaiX): Use them.
3543 * nscd/grpcache.c (cache_addgr): Likewise.
3544 * nscd/hstcache.c (cache_addhst): Likewise.
3545 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3546 * nscd/netgroupcache.c (do_notfound): Likewise.
3547 (addgetnetgrentX): Likewise.
3548 (addinnetgrX): Likewise.
3549 * nscd/pwdcache.c (cache_addpw): Likewise.
3550 * nscd/servicescache.c (cache_addserv): Likewise.
3551
16b293a7
SP
35522014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3553 Atsushi Onoe <atsushi@onoe.org>
3554
3555 [BZ #14308]
3556 [BZ #12994]
3557 [BZ #13651]
3558 * resolv/res_query.c (__libc_res_nsearch): Return if at least
3559 one response is valid.
3560 * resolv/res_send.c (send_dg): Check for validity of other
3561 response if the current response is a referral.
3562
a28a9b94
SE
35632014-04-29 Steve Ellcey <sellcey@mips.com>
3564
3565 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3566
2ca180e9
SL
35672014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
3568
3569 [BZ #16823]
3570 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3571 Always divide by positive zero when computing -Inf result.
3572 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3573 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3574
18f2945a
AZ
35752014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3576
3577 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3578 FPSCR if value do not change.
3579 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3580 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3581 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3582 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3583 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3584 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3585 function.
3586
5abebba4
CD
35872014-05-29 Carlos O'Donell <carlos@systemhalted.org>
3588
3589 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3590 * sysdeps/unix/sysv/linux/hppa: Move directory from
3591 ports/systeps/unix/sysv/linux/hppa.
3592 * README: Update listing for hppa-*-linux-gnu.
3593
f7ed60c2
OB
35942014-04-28 Ondřej Bílka <neleai@seznam.cz>
3595
fff763a5
OB
3596 [BZ #16754]
3597 * manual/stdio.texi (Hook functions): Fix types of stream hook
3598 functions.
f7ed60c2
OB
3599 [BZ #16854]
3600 * socket/sys/socket.h: Fix typo in comment.
3601
df639d73
WD
36022014-04-28 Wilco <wdijkstr@arm.com>
3603
f7ed60c2 3604 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
3605 * sysdeps/arm/math_private.h: New file.
3606 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3607
48332d82
L
36082014-04-25 H.J. Lu <hongjiu.lu@intel.com>
3609
3610 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3611 with __int128_t.
3612 (La_x86_64_retval): Likewise.
3613
e5e0d9a4
IB
36142014-04-24 Ian Bolton <ian.bolton@arm.com>
3615
3616 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3617 fpsr if value didn't change.
3618 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3619 to fpcr if value didn't change.
3620 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3621 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3622 fpsr or fpcr if value didn't change.
3623 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3624 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3625 fpcr if value didn't change.
3626 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3627 to fpsr if value didn't change.
3628
bacc75f7
SP
36292014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3630
3631 * nptl/tst-sem3.c: Use test-skeleton.c
3632 (main): Rename to do_test. Use return instead of
3633 exit.
3634 * nptl/tst-sem4.c: Use test-skeleton.c
3635 (main): Rename to do_test.
3636
a059d359
DM
36372014-04-22 David S. Miller <davem@davemloft.net>
3638
3639 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3640 (struct sigaction): New struct member __glibc_reserved0, change
3641 type of sa_flags to int.
3642
ea6c92f3
YZ
36432014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
3644
3645 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3646 (COUNT_LEADING_ZEROS_0): Define for AArch64.
3647
766c4a36
SP
36482014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3649
3650 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3651 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3652
140cc7ab
VK
36532014-04-22 Will Newton <will.newton@linaro.org>
3654 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
3655
3656 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3657 (__longjmp): Add longjmp and longjmp_target SystemTap
3658 probes.
3659 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3660 (__sigsetjmp): Add setjmp SystemTap probe.
3661
c54e5cf7
CD
36622014-04-17 Carlos O'Donell <carlos@redhat.com>
3663
3664 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3665 match manual order.
3666
75ffb047
AZ
36672014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3668
3669 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3670
2cd925f7
AZ
3671 * sysdeps/powerpc/fpu/fenv_private.h
3672 (libc_feholdexcept_setroundl_ctx): Define to
3673 libc_feholdexcept_setround_ppc_ctx.
3674 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3675 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3676 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3677 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3678
39e6cd8d
IB
36792014-04-17 Ian Bolton <ian.bolton@arm.com>
3680
3681 * sysdeps/aarch64/math-tests.h: New file.
3682
f9281df9
SY
36832014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
3684
3685 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3686 New.
3687 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3688 Check and set bit_AVX2_Usable.
3689 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3690 macro.
3691 (bit_AVX2): Likewise.
3692 (index_AVX2_Usable): Likewise.
3693 (CPUID_AVX2): Likewise.
3694 (HAS_AVX2): Likewise.
3695
37d35007
WN
36962014-04-17 Will Newton <will.newton@linaro.org>
3697
7c677662
WN
3698 * manual/setjmp.texi (System V contexts): Add note that
3699 calling setcontext on a context created by a call to a
3700 signal handler is undefined. Update text to note that
3701 setcontext from a signal handler is possible but not
3702 recommended.
3703
37d35007 3704 [BZ #16629]
e04a4e9d
WN
3705 * stdlib/tst-setcontext.c: Include signal.h.
3706 (main): Check that the signal stack before and
3707 after swapcontext is the same.
3708
37d35007
WN
3709 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3710 Re-implement to restore registers in user code and avoid
3711 rt_sigreturn system call.
3712
423a7160
W
37132014-04-17 Wilco <wdijkstr@arm.com>
3714
3715 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3716 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3717 * math/test-fenv.c: Skip exception trap tests on targets which only
3718 support non-stop mode.
3719
bc93ab29
IB
37202014-04-17 Ian Bolton <ian.bolton@arm.com>
3721 Wilco Dijkstra <wilco.dijkstra@arm.com>
3722
3723 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3724 (libc_feholdsetround_aarch64_ctx)
3725 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3726 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3727 (libc_feresetround_ctx, libc_feresetroundf_ctx)
3728 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3729 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3730 (libc_feresetround_noexl_ctx): Define.
3731
95fc5fa3
RH
37322014-04-16 Richard Henderson <rth@redhat.com>
3733
ddb04724
RH
3734 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3735
d77c0899
RH
3736 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3737 unwind tables.
3738
a3df56fc
RH
3739 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3740 const from the non-libc, non-ldso copy.
3741
95fc5fa3
RH
3742 * sysdeps/alpha/libm-test-ulps: Regenerate.
3743
7e0b6763
IB
37442014-04-16 Ian Bolton <ian.bolton@arm.com>
3745 Wilco Dijkstra <wilco.dijkstra@arm.com>
3746
3747 * sysdeps/aarch64/fpu/math_private.h: New file.
3748
a9ea2e0c
MS
37492014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
3750
3751 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3752
ea8ba7cd
IZ
37532014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
3754
3755 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3756 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3757 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3758 Intel MPX bound registers before _dl_profile_fixup.
3759 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3760 registers after _dl_profile_fixup. Save and restore bound
3761 registers bnd0/bnd1 when calling _dl_call_pltexit.
3762 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3763 (LR_BND_OFFSET): Likewise.
3764 (LRV_BND0_OFFSET): Likewise.
3765 (LRV_BND1_OFFSET): Likewise.
3766
9f2a4fbc
ST
37672014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3768
3769 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3770 to...
3771 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
3772 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3773 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3774 fields.
9f2a4fbc 3775
fd15a59b
ST
37762014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3777
3778 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3779
f19dfa0a
SL
37802014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3781
3782 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3783
4fa8bc3b
SL
37842014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3785
3786 [BZ #14770]
3787 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3788 * sysdeps/s390/configure: Regenerate.
3789
8ea587db
SL
3790 [BZ #16824]
3791 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3792 Set round-to-nearest internally to reduce error accumulation.
3793
aa5f0ff1
AM
37942014-04-16 Alan Modra <amodra@gmail.com>
3795
3796 [BZ #16740]
3797 [BZ #16619]
3798 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3799 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 3800 * NEWS: Update fixed bug list.
aa5f0ff1 3801
bb9c256f
SP
38022014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3803
3804 * benchtests/Makefile: Depend on libraries in build directory.
3805 (bench-math): Separate out math tests.
3806 (bench-pthread): Separate out pthread tests.
3807 (bench): Include math and pthread tests.
3808
f737dfd0
CD
38092014-04-14 Carlos O'Donell <carlos@redhat.com>
3810
3811 [BZ #16831]
3812 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3813 _dl_debug_initialize.
3814
0699f766
CD
3815 * configure.ac: Remove SELinux header check.
3816 * configure: Regenerate.
3817 * nscd/selinux.c (perms): Array of const char* to permission names.
3818 (nscd_request_avc_has_perm): Call security_deny_unknown to find
3819 default policy. Call string_to_security_class and string_to_av_perm to
3820 translate strings. Enforce default policy and call avs_has_perm with
3821 results of translated strings.
3822
809bd45f
DM
38232014-04-13 David S. Miller <davem@davemloft.net>
3824
3825 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3826
89e691f2
AM
38272014-04-12 Allan McRae <allan@archlinux.org>
3828
3829 [BZ #16838]
3830 * manual/string.texi (Collation Functions): Fix qsort argument
3831 order in example.
3832 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3833
9c9daaeb
CM
38342014-04-11 Chris Metcalf <cmetcalf@tilera.com>
3835
3836 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3837 Make the test a no-op if there are no exceptions defined.
3838
95561fb9
PP
38392014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3840
fe8d072c 3841 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
3842 enable-hardcoded-path-in-tests
3843
970c602a
WN
38442014-04-11 Will Newton <will.newton@linaro.org>
3845
3846 * benchtests/Makefile (extra-objs): Add json-lib.o.
3847 (bench-func): Tidy up JSON output.
3848 * benchtests/bench-skeleton.c: Include json-lib.h.
3849 (main): Use JSON library functions to do output of
3850 benchmark results.
3851 * benchtests/bench-timing-type.c (main): Output the
3852 timing type simply, leaving formatting to the user.
3853 * benchtests/json-lib.c: New file.
3854 * benchtests/json-lib.h: Likewise.
3855
36875b06
TR
38562014-04-11 Torvald Riegel <triegel@redhat.com>
3857
3858 [BZ #15215]
3859 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3860 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
3861 memory barriers. Add comments.
3862 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3863 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3864 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3865 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3866 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3867 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3868
579db35a
SL
38692014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3870
3871 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3872 * sysdeps/s390/s390-64/configure.ac: ... this ...
3873 * sysdeps/s390/configure.ac: ... to here.
3874 * sysdeps/s390/s390-32/configure: Delete file.
3875 * sysdeps/s390/s390-64/configure: Delete file.
3876 * sysdeps/s390/configure: Regenerate.
3877
c12e9f37
JAPH
38782014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
3879
3880 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3881
439bda32
WN
38822014-04-11 Will Newton <will.newton@linaro.org>
3883
3884 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3885 to zero if it is not defined elsewhere. (mtrim): Test
3886 the value of MALLOC_DEBUG with #if rather than #ifdef.
3887
6a5d6ea1
TR
38882014-04-10 Torvald Riegel <triegel@redhat.com>
3889
3890 * benchtests/pthread_once-inputs: New file.
3891 * benchtests/pthread_once-source.c: New file.
3892 * benchtests/README: Update documentation.
3893
a4c75cfd
IZ
38942014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
3895 H.J. Lu <hongjiu.lu@intel.com>
3896
3897 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3898 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3899 * sysdeps/x86_64/configure: Regenerated.
3900 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3901 macro.
3902 (REGISTER_SAVE_RAX): Likewise.
3903 (REGISTER_SAVE_RCX): Likewise.
3904 (REGISTER_SAVE_RDX): Likewise.
3905 (REGISTER_SAVE_RSI): Likewise.
3906 (REGISTER_SAVE_RDI): Likewise.
3907 (REGISTER_SAVE_R8): Likewise.
3908 (REGISTER_SAVE_R9): Likewise.
3909 (REGISTER_SAVE_BND0): Likewise.
3910 (REGISTER_SAVE_BND1): Likewise.
3911 (REGISTER_SAVE_BND2): Likewise.
3912 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
3913 bound registers when calling _dl_fixup.
3914
27822ce6
AZ
39152014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3916
3917 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
3918 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3919 of its definition.
27822ce6
AZ
3920 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3921 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3922 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3923 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3924 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3925 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3926 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3927
a88ddc90
PTB
39282014-04-09 Peter Brett <peter@peter-b.co.uk>
3929
3930 [BZ #15514]
3931 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3932 pathconf(_PC_NAME_MAX).
3933
01f8eac2
AZ
39342014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3935
3936 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3937 Remove macro usage.
3938 (__PTHREAD_SPINS): Move definition to ...
3939 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3940 (__PTHREAD_SPINS): ... here.
3941 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3942 (__PTHREAD_SPIN): Likewise.
3943 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3944 (__PTHREAD_SPIN): Likewise.
3945 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3946 (__PTHREAD_SPIN): Likewise.
3947 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3948 (__PTHREAD_SPIN): Likewise.
3949 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3950 (__PTHREAD_SPIN): Likewise.
3951 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3952 (__PTHREAD_SPIN): Likewise.
3953 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3954 (__PTHREAD_SPIN): Likewise.
3955 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3956 (__PTHREAD_SPIN): Likewise.
3957 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3958 (__PTHREAD_SPIN): Likewise.
3959 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3960 (__PTHREAD_SPIN): Likewise.
3961 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3962 (__PTHREAD_SPIN): Likewise.
3963 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3964 (__PTHREAD_SPIN): Likewise.
3965
de21c33c
AZ
3966 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3967 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3968 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3969 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3970 imply folder.
3971 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3972 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3973 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3974 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3975 correct imply path.
3976 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3977 strlen symbol for non multi-arch builds.
3978 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3979 missing hidden_def and weak_alias.
3980
862c472e
CD
39812014-04-08 Carlos O'Donell <carlos@redhat.com>
3982
3983 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3984
8667f90e
WN
39852014-04-07 Will Newton <will.newton@linaro.org>
3986
3987 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3988 and contents. [!_LIBC] Remove #ifndef and contents.
3989 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
3990 * string/memccpy.c (__memccpy): Use ANSI prototype.
3991 * string/memfrob.c (memfrob): Likewise.
3992 * string/strcoll.c (STRCOLL): Likewise.
3993 * string/strlen.c (strlen): Likewise.
3994 * string/strtok.c (STRTOK): Likewise.
3995 * string/strcat.c: Remove unused #include of memcopy.h.
3996 (strcat): Use ANSI prototype.
3997 * string/strchr.c: Remove unused #include of memcopy.h.
3998 (strchr): Use ANSI prototype.
3999 * string/strcmp.c: Remove unused #include of memcopy.h.
4000 (strcmp): Use ANSI prototype.
4001 * string/strcpy.c: Remove unused #include of memcopy.h.
4002 (strcpy): Use ANSI prototype.
4003
7ffa9423
AZ
40042014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4005
4006 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
4007 * config.make.in (config-extra-cppflags): Set it from
4008 libc_extra_cppflags.
4009 * configure.ac (libc_extra_cflags): Make it accumulate over
4010 configure fragments.
4011 (libc_extra_cppflags): New flag.
4012 * configure. Regenerate.
4013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
4014 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4015 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
4016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4017
8bd70862
AZ
4018 [BZ #16815]
4019 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4020 result for FE_DOWNWARD rounding mode.
4021 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4022 Likewise.
4023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4024
d42f3448
CM
40252014-04-04 Chris Metcalf <cmetcalf@tilera.com>
4026
4027 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4028 in function argument name.
4029
1c21d115
DS
40302014-04-03 David Svoboda <svoboda@cert.org>
4031
4032 [BZ #5666]
4033 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4034 explicitly.
4035
fcccd512
RM
40362014-04-03 Roland McGrath <roland@hack.frob.com>
4037
4038 * elf/dl-unmap-segments.h: New file.
4039 * sysdeps/generic/ldsodefs.h
4040 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4041 * elf/dl-close.c: Include <dl-unmap-segments.h>.
4042 * elf/dl-fptr.c: Likewise.
4043 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4044 * sysdeps/aarch64/tlsdesc.c: Likewise.
4045 * sysdeps/arm/tlsdesc.c: Likewise.
4046 * sysdeps/i386/tlsdesc.c: Likewise.
4047 * sysdeps/tile/dl-runtime.c: Likewise.
4048 * sysdeps/x86_64/tlsdesc.c: Likewise.
4049 * elf/dl-load.h: New file.
4050 * elf/dl-load.c: Include it.
4051 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4052 Macros moved to dl-load.h.
4053 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4054 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4055 Use _dl_unmap_segments in place of __munmap.
4056 Break out segment-mapping loop into ...
4057 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4058
f6488e2b
WN
40592014-04-03 Will Newton <will.newton@linaro.org>
4060
4061 * elf/dl-lookup.c (do_lookup_x): Remove comment
4062 referring to nested function and move variable
4063 declarations down to before first use.
4064
6f05bafe
JM
40652014-04-02 Joseph Myers <joseph@codesourcery.com>
4066
a84e78c8
JM
4067 [BZ #16799]
4068 [BZ #16800]
4069 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4070 with 0 numerator.
4071 * math/s_catanf.c (__catanf): Likewise.
4072 * math/s_catanh.c (__catanh): Likewise.
4073 * math/s_catanhf.c (__catanhf): Likewise.
4074 * math/s_catanhl.c (__catanhl): Likewise.
4075 * math/s_catanl.c (__catanl): Likewise.
4076 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4077 by positive zero when computing -Inf result.
4078 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4079 (catanh_test): Likewise.
4080 * sysdeps/i386/fpu/libm-test-ulps: Update.
4081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4082
6f05bafe
JM
4083 [BZ #16789]
4084 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4085 instead of using underflowing value in computing result.
4086 * math/s_clog10.c (__clog10): Likewise.
4087 * math/s_clog10f.c (__clog10f): Likewise.
4088 * math/s_clog10l.c (__clog10l): Likewise.
4089 * math/s_clogf.c (__clogf): Likewise.
4090 * math/s_clogl.c (__clogl): Likewise.
4091 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4092 (clog10_test): Likewise.
4093 * sysdeps/i386/fpu/libm-test-ulps: Update.
4094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4095
b0abbc21
AM
40962014-04-02 Alan Modra <amodra@gmail.com>
4097
4098 [BZ #16739]
4099 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4100 output when value is near a power of two. Use int64_t for lx and
4101 remove casts. Use decimal rather than hex exponent constants.
4102 Don't use long double multiplication when double will suffice.
4103 * math/libm-test.inc (nextafter_test_data): Add tests.
4104 * NEWS: Add 16739 and 16786 to bug list.
4105
af6b1797
AM
4106 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4107
483818d7
AM
4108 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4109
f6c55796
WN
41102014-04-01 Will Newton <will.newton@linaro.org>
4111
4112 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4113 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
4114
13f7fe35
FW
41152014-04-01 Florian Weimer <fweimer@redhat.com>
4116
4117 [BZ #13347]
4118 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4119 * nptl/tst-setuid2.c: New file.
4120 * nptl/Makefile (xtests): Add tst-setuid2.
4121
c859b32e
AM
41222014-04-01 Alan Modra <amodra@gmail.com>
4123
4124 [BZ #16786]
4125 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4126
54fa2475
JM
41272014-03-31 Joseph Myers <joseph@codesourcery.com>
4128
8795b4a4
JM
4129 [BZ #6803]
4130 [BZ #6804]
4131 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4132 set errno as appropriate.
4133 * math/w_scalbf.c (__scalbf): Likewise.
4134 * math/w_scalbl.c (__scalbl): Likewise.
4135 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4136 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4137 * math/libm-test.inc (scalb_test_data): Add errno expectations.
4138 Add more NaN tests.
4139
54fa2475
JM
4140 [BZ #16349]
4141 * math/w_atan2.c: Include <errno.h>.
4142 (__atan2): Set errno for result underflowing to zero.
4143 * math/w_atan2f.c: Include <errno.h>.
4144 (__atan2f): Set errno for result underflowing to zero.
4145 * math/w_atan2l.c: Include <errno.h>.
4146 (__atan2l): Set errno for result underflowing to zero.
4147 * math/auto-libm-test-in: Don't allow missing errno for some atan2
4148 tests.
4149 * math/auto-libm-test-out: Regenerated.
4150
757d9dd5
AZ
41512014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4152
4153 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4154 Encode instruction correctly in little endian.
4155 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4156 Likewise.
4157 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4158 Likewise.
4159 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4160 Likewise.
4161 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4162 Likewise.
4163
d7a68734
JM
41642014-03-31 Joseph Myers <joseph@codesourcery.com>
4165
47c5adeb
JM
4166 [BZ #9894]
4167 * sysdeps/unix/sysv/linux/kernel-features.h
4168 [__sparc__ && !__arch64__ && !__sparc_v9__]
4169 (__ASSUME_SET_ROBUST_LIST): Do not define.
4170 [__sparc__ && !__arch64__ && !__sparc_v9__]
4171 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4172 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4173 Likewise.
4174 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4175 (__ASSUME_FUTEX_LOCK_PI): Undefine.
4176 (__ASSUME_REQUEUE_PI): Likewise.
4177 (__ASSUME_SET_ROBUST_LIST): Likewise.
4178 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4179 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4180 Undefine.
4181 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4182 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4183 Likewise.
4184 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4185 Likewise.
4186 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4187 Likewise.
4188 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4189 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4190 Undefine.
4191 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4192 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4193 Likewise.
4194
d7a68734
JM
4195 [BZ #16648]
4196 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4197 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4198 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4199
c760f5c2
WN
42002014-03-31 Will Newton <will.newton@linaro.org>
4201
4202 * benchtests/Makefile (bench): Add ffs and ffsll to list
4203 of tests.
4204 * benchtests/ffs-inputs: New file.
4205 * benchtests/ffsll-inputs: Likewise.
4206
ea6029b1
JM
42072014-03-29 Joseph Myers <joseph@codesourcery.com>
4208
4209 [BZ #16770]
4210 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4211 too large before casting to int.
4212 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4213 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4214 * math/libm-test.inc (scalb_test_data): Add more tests.
4215
cf806aff
SP
42162014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4217
56737508
SP
4218 * benchtests/Makefile (DETAILED_OPT): New make option.
4219 (bench-func): Run benchmark program with -d if DETAILED_OPT is
4220 set.
4221 * benchtests/bench-skeleton.c: Include stdbool.h.
4222 (main): Store and print timings per input.
4223 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4224 member to each argument value.
4225 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4226 (_print_arg_data): Initialize per-input timing to 0.
4227
cb5e4aad
SP
4228 * benchtests/Makefile (timing-type): New binary.
4229 (bench-clean): Also remove bench-timing-type.
4230 (bench): New target for timing-type.
4231 (bench-func): Print output in JSON format.
4232 * benchtests/bench-skeleton.c (main): Print output in JSON
4233 format.
4234 * benchtests/bench-timing-type.c: New file.
4235 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4236 (TIMING_PRINT_STATS): Remove.
4237 * benchtests/scripts/bench.py (_print_arg_data): Store variant
4238 name separately.
4239
cf806aff
SP
4240 * benchtests/bench-modf.c: Remove.
4241 * benchtests/modf-inputs: New inputs file.
4242
289e0779
JM
42432014-03-28 Joseph Myers <joseph@codesourcery.com>
4244
4245 [BZ #16362]
4246 * math/s_clog10.c (M_PI_LOG10E): New macro.
4247 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4248 imaginary parts are 0.
4249 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4250 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4251 imaginary parts are 0.
4252 * math/s_clog10l.c (M_PI_LOG10El): New macro.
4253 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4254 imaginary parts are 0.
4255 * math/libm-test.inc (clog10_test_data): Update expected results
4256 for when real and imaginary parts are 0.
4257
277ae3f1
PP
42582014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
4259
4260 * elf/dl-load.c: Finish conversion of __builtin_expect into
4261 __glibc_{un}likely.
4262
03a7091f
JM
42632014-03-27 Joseph Myers <joseph@codesourcery.com>
4264
4265 [BZ #16348]
4266 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4267 1+x for argument with exponent below -67.
4268 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4269 Likewise.
4270 * math/auto-libm-test-in: Add more tests of exp.
4271 * math/auto-libm-test-out: Regenerated.
4272
ea7d8b95
SP
42732014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4274
dd3022d7
SP
4275 [BZ #16759]
4276 * inet/getnetgrent_r.c (get_nonempty_val): New function.
4277 (nscd_getnetgrent): Use it.
4278
ea7d8b95
SP
4279 [BZ #16760]
4280 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4281 of stpcpy.
4282
df5b85da
AK
42832014-03-27 Andi Kleen <ak@linux.intel.com>
4284
57f41c40
AS
4285 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4286 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4287 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4288 (lll_robust_unlock): Remove out of line section. Use cfi
4289 intrinsics.
df5b85da 4290 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
4291 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4292 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4293 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4294 (lll_robust_unlock): Remove out of line section. Use cfi
4295 intrinsics.
df5b85da
AK
4296 (LLL_STUB_UNWIND_INFO*): Remove.
4297
fbd6b5a4
SP
42982014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4299
4300 [BZ #16758]
4301 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4302 blank values.
4303
1b26b855
PP
43042014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
4305
4306 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4307
9be36fb8
JM
43082014-03-26 Joseph Myers <joseph@codesourcery.com>
4309
4310 [BZ #16198]
4311 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4312 fnstenv.
4313 * math/test-fenv-preserve.c: New file.
4314 * math/Makefile (tests): Add test-fenv-preserve.
4315
60a2f3c1
WN
43162014-03-26 Will Newton <will.newton@linaro.org>
4317
4318 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4319
a5e5f1e2
RM
43202014-03-25 Roland McGrath <roland@hack.frob.com>
4321
4322 * scripts/versionlist.awk: Partition the version sets and emit all
4323 GLIBC_* (sorted) before all others (sorted).
4324
00f4012a
JM
43252014-03-25 Joseph Myers <joseph@codesourcery.com>
4326
4327 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4328 GLIBC_2.2.5 version.
4329
7bc5a741
AZ
43302014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4331
4332 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4333 calls.
4334
7578473b
AZ
4335 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4336 previous change.
4337
f3f1dab3
AZ
4338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4339
6da36183
AS
43402014-03-25 Andreas Schwab <schwab@suse.de>
4341
4342 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4343 label to be used after in6ailist is initialized.
4344
f3f1dab3 43452014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 4346
7578473b 4347 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
4348 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4349
046651c1
JM
43502014-03-25 Joseph Myers <joseph@codesourcery.com>
4351
4352 [BZ #16357]
4353 [BZ #16599]
4354 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4355 min_plus_half.
4356 (fp_formats): Update initializers.
4357 (init_fp_formats): Initialize new field.
4358 (output_for_one_input_case): Allow underflow for results up to
4359 min_plus_half.
4360 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4361 * math/auto-libm-test-in: Don't mark some underflows from asin and
4362 atanh as spurious.
4363 * math/auto-libm-test-out: Regenerated.
4364 * sysdeps/i386/fpu/libm-test-ulps: Update.
4365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4366
003e49ed
AS
43672014-03-25 Andreas Schwab <schwab@suse.de>
4368
4369 * libio/Makefile (tst-ftell-partial-wide-ENV)
4370 (tst-ftell-active-handler-ENV): Define.
4371
de031874
SL
43722014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4373
4374 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4375
55a81e3b
PP
43762014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4377
4378 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4379
f3426898
JM
43802014-03-24 Joseph Myers <joseph@codesourcery.com>
4381
4382 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4383 * sysdeps/x86_64/fpu/multiarch/e_exp.c
4384 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4385
a42faf59
PP
43862014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4387
4388 [BZ #16634]
a42faf59 4389 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
4390 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4391 (open_path): Change from boolean 'secure' to complete flag 'mode'
4392 (_dl_map_object): Adjust.
a42faf59
PP
4393 * elf/Makefile (tests): Add tst-dlopen-aout.
4394 * elf/tst-dlopen-aout.c: New test.
4395
50936127
SL
43962014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4397
4398 [BZ #16714]
4399 * sysdeps/unix/sysv/linux/s390/bits/stat.h
4400 (struct stat): Rename member pad0 to __glibc_reserved0.
4401
26011b5c
SL
4402 [BZ #16712]
4403 * sysdeps/s390/s390-32/bits/wordsize.h
4404 (__WORDSIZE32_SIZE_ULONG): New define.
4405 * sysdeps/s390/s390-64/bits/wordsize.h
4406 (__WORDSIZE32_SIZE_ULONG): Likewise.
4407 * sysdeps/generic/stdint.h (SIZE_MAX):
4408 Define as UL if __WORDSIZE32_SIZE_ULONG.
4409
a2d86bf1
SL
4410 [BZ #16713]
4411 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4412 (__glibc_reserved0): New variable.
4413 (sa_flags): Change type to int.
4414
78b6eebc
SL
4415 * posix/Makefile (before-compile): Use += before-compile instead
4416 of a :=.
4417
f1399b5a
SL
4418 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4419 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4420
a071766e
AS
44212014-03-20 Andreas Schwab <schwab@suse.de>
4422
4423 [BZ #16743]
4424 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4425 non-matching result from nscd.
4426
27c673b8
SP
44272014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4428
4429 * scripts/bench.py: Moved to ...
4430 * benchtests/scripts/bench.py: ... here.
4431 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4432
44152e4b
AS
44332014-03-24 Andreas Schwab <schwab@suse.de>
4434
4435 [BZ #16002]
4436 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4437 alloca_account and account alloca use for struct in6ailist.
4438
b376a11a
JM
44392014-03-24 Joseph Myers <joseph@codesourcery.com>
4440
4441 [BZ #16284]
4442 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4443 rounding mode to recompute results that overflow to infinity or
4444 underflow to zero.
4445 * math/auto-libm-test-in: Don't mark tests as expected to fail for
4446 bug 16284.
4447 * math/auto-libm-test-out: Regenerated.
4448 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4449 (ccosh_test): Likewise.
4450 (csin_test_data): Use plus_oflow.
4451 (csin_test): Use ALL_RM_TEST.
4452 (csinh_test_data): Use plus_oflow.
4453 (csinh_test): Use ALL_RM_TEST.
4454 * sysdeps/i386/fpu/libm-test-ulps: Update.
4455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4456
f7be7376
JM
44572014-03-21 Joseph Myers <joseph@codesourcery.com>
4458
1ca2d03e
JM
4459 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4460 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4461 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4462
f7be7376
JM
4463 [BZ #16731]
4464 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4465 when x - 1 is zero.
4466 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4467 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4468 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4469 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4470 argument is 1.
4471 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4472 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4473 zero.
4474 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4475 * sysdeps/i386/fpu/libm-test-ulps: Update.
4476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4477
fdf4534d
SP
44782014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4479
df26ea53
SP
4480 * scripts/bench.pl: Remove file.
4481 * scripts/bench.py: New benchmark script.
4482 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4483 * benchtests/README: Mention python dependency.
4484 * scripts/pylintrc: New file.
4485 * scripts/pylint: New file.
4486
fdf4534d
SP
4487 * bits/mathdef.h: Use #ifdef instead of #if.
4488 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4489 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4490 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4491 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4492 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4493 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4494
6f23d093
AZ
44952014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4496 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4497
4498 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4499 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4500 and strpbrk-ppc64 objects.
4501 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4502 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4503 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4504 multiarch strpbrk for POWER7.
4505 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4506 multiarch strpbrk for PPC64.
4507 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4508 ifunc selector.
4509 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4510 strpbrk for POWER7.
4511
8c92dfff
JM
45122014-03-20 Joseph Myers <joseph@codesourcery.com>
4513
4514 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4515 (atan_test): Likewise.
4516 (atanh_test_data): Use NO_TEST_INLINE for two tests.
4517 (atanh_test): Use ALL_RM_TEST.
4518 (atan2_test_data): Likewise.
4519 (cabs_test): Likewise.
4520 (cacosh_test): Likewise.
4521 (carg_test): Likewise.
4522 (casin_test): Likewise.
4523 (casinh_test): Likewise.
4524 (cbrt_test): Likewise.
4525 (csqrt_test): Likewise.
4526 (erf_test): Likewise.
4527 (erfc_test): Likewise.
4528 (pow10_test): Likewise.
4529 (exp2_test): Likewise.
4530 (hypot_test): Likewise.
4531 (j0_test): Likewise.
4532 (j1_test): Likewise.
4533 (lgamma_test): Likewise.
4534 (gamma_test): Likewise.
4535 (sincos_test): Likewise.
4536 (tanh_test): Likewise.
4537 (y0_test): Likewise.
4538 (y1_test): Likewise.
4539 * sysdeps/i386/fpu/libm-test-ulps: Update.
4540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4541
6eaf95cb
AZ
45422014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4543
a387428c
SP
4544 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4545 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
4546 and strcspn-ppc64 objects.
4547 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4548 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4549 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4550 multiarch strcspn for POWER7.
4551 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4552 multiarch strcspn for PPC64.
4553 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4554 ifunc selector.
4555 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4556 strcspn for POWER7.
4557
ae3a5dff
JM
45582014-03-20 Joseph Myers <joseph@codesourcery.com>
4559
4560 * math/gen-libm-test.pl (generate_testfile): Expect only function
4561 name as argument to AUTO_TESTS_* and pass results for all rounding
4562 modes to parse_args.
4563 (parse_auto_input): Separate inputs of automatic tests from
4564 outputs before storing in %auto_tests.
4565 * math/libm-test.inc (acos_test_data): Update call to
4566 AUTO_TESTS_f_f.
4567 (acos_test): Use ALL_RM_TEST.
4568 (acos_tonearest_test_data): Remove.
4569 (acos_test_tonearest): Likewise.
4570 (acos_towardzero_test_data): Likewise.
4571 (acos_test_towardzero): Likewise.
4572 (acos_downward_test_data): Likewise.
4573 (acos_test_downward): Likewise.
4574 (acos_upward_test_data): Likewise.
4575 (acos_test_upward): Likewise.
4576 (acosh_test_data): Update call to AUTO_TESTS_f_f.
4577 (asin_test_data): Likewise.
4578 (asin_test): Use ALL_RM_TEST.
4579 (asin_tonearest_test_data): Remove.
4580 (asin_test_tonearest): Likewise.
4581 (asin_towardzero_test_data): Likewise.
4582 (asin_test_towardzero): Likewise.
4583 (asin_downward_test_data): Likewise.
4584 (asin_test_downward): Likewise.
4585 (asin_upward_test_data): Likewise.
4586 (asin_test_upward): Likewise.
4587 (asinh_test_data): Update call to AUTO_TESTS_f_f.
4588 (atan_test_data): Likewise.
4589 (atanh_test_data): Likewise.
4590 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4591 (cabs_test_data): Update call to AUTO_TESTS_c_f.
4592 (carg_test_data): Likewise.
4593 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4594 (ccos_test_data): Update call to AUTO_TESTS_c_c.
4595 (ccosh_test_data): Likewise.
4596 (cexp_test_data): Likewise.
4597 (clog_test_data): Likewise.
4598 (clog10_test_data): Likewise.
4599 (cos_test_data): Update call to AUTO_TESTS_f_f.
4600 (cos_test): Use ALL_RM_TEST.
4601 (cos_tonearest_test_data): Remove.
4602 (cos_test_tonearest): Likewise.
4603 (cos_towardzero_test_data): Likewise.
4604 (cos_test_towardzero): Likewise.
4605 (cos_downward_test_data): Likewise.
4606 (cos_test_downward): Likewise.
4607 (cos_upward_test_data): Likewise.
4608 (cos_test_upward): Likewise.
4609 (cosh_test_data): Update call to AUTO_TESTS_f_f.
4610 (cosh_test): Use ALL_RM_TEST.
4611 (cosh_tonearest_test_data): Remove.
4612 (cosh_test_tonearest): Likewise.
4613 (cosh_towardzero_test_data): Likewise.
4614 (cosh_test_towardzero): Likewise.
4615 (cosh_downward_test_data): Likewise.
4616 (cosh_test_downward): Likewise.
4617 (cosh_upward_test_data): Likewise.
4618 (cosh_test_upward): Likewise.
4619 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4620 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4621 (ctan_test_data): Likewise.
4622 (ctan_test): Use ALL_RM_TEST.
4623 (ctan_tonearest_test_data): Remove.
4624 (ctan_test_tonearest): Likewise.
4625 (ctan_towardzero_test_data): Likewise.
4626 (ctan_test_towardzero): Likewise.
4627 (ctan_downward_test_data): Likewise.
4628 (ctan_test_downward): Likewise.
4629 (ctan_upward_test_data): Likewise.
4630 (ctan_test_upward): Likewise.
4631 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4632 (ctanh_test): Use ALL_RM_TEST.
4633 (ctanh_tonearest_test_data): Remove.
4634 (ctanh_test_tonearest): Likewise.
4635 (ctanh_towardzero_test_data): Likewise.
4636 (ctanh_test_towardzero): Likewise.
4637 (ctanh_downward_test_data): Likewise.
4638 (ctanh_test_downward): Likewise.
4639 (ctanh_upward_test_data): Likewise.
4640 (ctanh_test_upward): Likewise.
4641 (erf_test_data): Update call to AUTO_TESTS_f_f.
4642 (erfc_test_data): Likewise.
4643 (exp_test_data): Likewise.
4644 (exp_test): Use ALL_RM_TEST.
4645 (exp_tonearest_test_data): Remove.
4646 (exp_test_tonearest): Likewise.
4647 (exp_towardzero_test_data): Likewise.
4648 (exp_test_towardzero): Likewise.
4649 (exp_downward_test_data): Likewise.
4650 (exp_test_downward): Likewise.
4651 (exp_upward_test_data): Likewise.
4652 (exp_test_upward): Likewise.
4653 (exp10_test_data): Update call to AUTO_TESTS_f_f.
4654 (exp10_test): Use ALL_RM_TEST.
4655 (exp10_tonearest_test_data): Remove.
4656 (exp10_test_tonearest): Likewise.
4657 (exp10_towardzero_test_data): Likewise.
4658 (exp10_test_towardzero): Likewise.
4659 (exp10_downward_test_data): Likewise.
4660 (exp10_test_downward): Likewise.
4661 (exp10_upward_test_data): Likewise.
4662 (exp10_test_upward): Likewise.
4663 (exp2_test_data): Update call to AUTO_TESTS_f_f.
4664 (expm1_test_data): Likewise.
4665 (expm1_test): Use ALL_RM_TEST.
4666 (expm1_tonearest_test_data): Remove.
4667 (expm1_test_tonearest): Likewise.
4668 (expm1_towardzero_test_data): Likewise.
4669 (expm1_test_towardzero): Likewise.
4670 (expm1_downward_test_data): Likewise.
4671 (expm1_test_downward): Likewise.
4672 (expm1_upward_test_data): Likewise.
4673 (expm1_test_upward): Likewise.
4674 (fma_test_data): Update call to AUTO_TESTS_fff_f.
4675 (fma_test): Use ALL_RM_TEST.
4676 (fma_towardzero_test_data): Remove.
4677 (fma_test_towardzero): Likewise.
4678 (fma_downward_test_data): Likewise.
4679 (fma_test_downward): Likewise.
4680 (fma_upward_test_data): Likewise.
4681 (fma_test_upward): Likewise.
4682 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4683 (j0_test_data): Update call to AUTO_TESTS_f_f.
4684 (j1_test_data): Likewise.
4685 (jn_test_data): Update call to AUTO_TESTS_if_f.
4686 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4687 (log_test_data): Update call to AUTO_TESTS_f_f.
4688 (log10_test_data): Likewise.
4689 (log1p_test_data): Likewise.
4690 (log2_test_data): Likewise.
4691 (pow_test_data): Update call to AUTO_TESTS_ff_f.
4692 (pow_tonearest_test_data): Likewise.
4693 (sin_test_data): Update call to AUTO_TESTS_f_f.
4694 (sin_test): Use ALL_RM_TEST.
4695 (sin_tonearest_test_data): Remove.
4696 (sin_test_tonearest): Likewise.
4697 (sin_towardzero_test_data): Likewise.
4698 (sin_test_towardzero): Likewise.
4699 (sin_downward_test_data): Likewise.
4700 (sin_test_downward): Likewise.
4701 (sin_upward_test_data): Likewise.
4702 (sin_test_upward): Likewise.
4703 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4704 (sinh_test_data): Update call to AUTO_TESTS_f_f.
4705 (sinh_test): Use ALL_RM_TEST.
4706 (sinh_tonearest_test_data): Remove.
4707 (sinh_test_tonearest): Likewise.
4708 (sinh_towardzero_test_data): Likewise.
4709 (sinh_test_towardzero): Likewise.
4710 (sinh_downward_test_data): Likewise.
4711 (sinh_test_downward): Likewise.
4712 (sinh_upward_test_data): Likewise.
4713 (sinh_test_upward): Likewise.
4714 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4715 (sqrt_test): Use ALL_RM_TEST.
4716 (sqrt_tonearest_test_data): Remove.
4717 (sqrt_test_tonearest): Likewise.
4718 (sqrt_towardzero_test_data): Likewise.
4719 (sqrt_test_towardzero): Likewise.
4720 (sqrt_downward_test_data): Likewise.
4721 (sqrt_test_downward): Likewise.
4722 (sqrt_upward_test_data): Likewise.
4723 (sqrt_test_upward): Likewise.
4724 (tan_test_data): Update call to AUTO_TESTS_f_f.
4725 (tan_test): Use ALL_RM_TEST.
4726 (tan_tonearest_test_data): Remove.
4727 (tan_test_tonearest): Likewise.
4728 (tan_towardzero_test_data): Likewise.
4729 (tan_test_towardzero): Likewise.
4730 (tan_downward_test_data): Likewise.
4731 (tan_test_downward): Likewise.
4732 (tan_upward_test_data): Likewise.
4733 (tan_test_upward): Likewise.
4734 (tanh_test_data): Update call to AUTO_TESTS_f_f.
4735 (tgamma_test_data): Likewise.
4736 (y0_test_data): Likewise.
4737 (y1_test_data): Likewise.
4738 (yn_test_data): Update call to AUTO_TESTS_if_f.
4739 (main): Do not call removed functions.
4740
d71aeee8
JM
47412014-03-19 Joseph Myers <joseph@codesourcery.com>
4742
4743 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4744 (ldexp_test_data): Remove.
4745 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
4746 scalbn_test_data.
4747 (scalb_test): Use ALL_RM_TEST.
4748
baaf1ded
AS
47492014-03-19 Andreas Schwab <schwab@suse.de>
4750
4751 * nscd/nscd.service: Also invalidate netgroup cache on reload.
4752
b1115e91
JM
47532014-03-19 Joseph Myers <joseph@codesourcery.com>
4754
4755 [BZ #16649]
4756 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4757 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4758 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4759 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4760 (__ASSUME_PREADV): Undefine.
4761 (__ASSUME_PWRITEV): Likewise.
4762
0283ecca
RM
47632014-03-18 Roland McGrath <roland@hack.frob.com>
4764
7d375303
RM
4765 * bits/mman-linux.h: Add comment about non-Linux use.
4766 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4767 bits/mman-linux.h resting place.
4768
0283ecca
RM
4769 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4770 * bits/mman-linux.h: ... here.
4771
aebe1003
AZ
47722014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4773
4774 * conform/conformtest.pl: Add standard definition when calling C
4775 preprocessor on data files.
4776 (checknamespace): Remove unused variable.
4777
b29b6bb8
JM
47782014-03-18 Joseph Myers <joseph@codesourcery.com>
4779
4780 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4781 minus_oflow, plus_uflow and minus_uflow in expected results.
4782 * math/libm-test.inc (scalbn_test_data): Add more tests of
4783 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
4784 minus_uflow.
4785 (scalbn_test): Use ALL_RM_TEST.
4786 (scalbln_test_data): Add more tests of negative arguments. Use
4787 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4788 (scalbln_test): Use ALL_RM_TEST.
4789
c8f8fa15
RM
47902014-03-18 Roland McGrath <roland@hack.frob.com>
4791
4792 * scripts/abilist.awk: Ignore symbols marked with .hidden.
4793
fede7a5f
WN
47942014-03-18 Will Newton <will.newton@linaro.org>
4795
4796 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4797 inaccurate comment.
4798
80cf0a58
JM
47992014-03-18 Joseph Myers <joseph@codesourcery.com>
4800
4801 * Makerules [!subdir] (check-abi): Exit with error status if a
4802 test failed.
4803
b3620862
JM
48042014-03-17 Joseph Myers <joseph@codesourcery.com>
4805
4806 * math/libm-test.inc (nearbyint_test_data): Include all tests used
4807 for rint. Include results for all rounding modes.
4808 (nearbyint_test): Use ALL_RM_TEST.
4809 (rint_test_data): Include all tests used for nearbyint.
4810
788bba36
WN
48112014-03-17 Will Newton <will.newton@linaro.org>
4812
04ec140a
WN
4813 * nptl/sysdeps/pthread/pthread.h: Revert previous
4814 change.
4815
7579d8d5
WN
4816 * sysdeps/generic/ldsodefs.h: Revert previous
4817 change.
4818
c15cf13a
WN
4819 * libio/genops.c: Revert previous change.
4820 * libio/libioP.h: Likewise.
4821 * stdio-common/vfprintf.c: Likewise.
4822
d0ac1324
WN
4823 * sysdeps/generic/math_private.h: Revert previous
4824 change.
4825
9290130a
WN
4826 * sysdeps/generic/math_private.h: Check whether
4827 HAVE_RM_CTX is defined with #ifdef rather
4828 than #if.
4829
afb466fc
WN
4830 * argp/argp-fmtstream.h: Check whether
4831 __STRICT_ANSI__ is defined with #ifdef rather
4832 than #if.
4833 * argp/argp.h: Likewise.
4834
f7efd7c3
WN
4835 * libio/genops.c: Check whether
4836 _IO_JUMPS_OFFSET is defined with #ifdef rather
4837 than #if.
4838 * libio/libioP.h: Likewise.
4839 * stdio-common/vfprintf.c: Likewise.
4840
53f1bed3
WN
4841 * sysdeps/generic/ldsodefs.h: Check whether
4842 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4843 than #if.
4844
788bba36
WN
4845 * nptl/sysdeps/pthread/pthread.h: Check
4846 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4847 its value.
4848
fcd89ebe
SP
48492014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4850
ae42bbc5
SP
4851 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4852 setting O_APPEND.
4853 * libio/tst-ftell-active-handler.c (do_append_test): Add a
4854 test case.
4855
ea33158c
SP
4856 [BZ #16680]
4857 * libio/fileops.c (_IO_file_open): Seek to end of file but
4858 don't cache the offset.
4859 (get_file_offset): Remove function.
4860 (do_ftell): Use cached offset when available.
4861 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4862 don't cache the offset.
4863 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4864 case.
4865 (do_one_test): Call it.
4866 (do_ftell_test): Fix up expected old offset for a+ mode.
4867 * libio/wfileops.c (do_ftell_wide): Used cached offset when
4868 available.
4869
b1dbb426
SP
4870 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4871 up test status with function return status.
4872 (do_write_test): Likewise.
4873 (do_append_test): Likewise.
4874
fcd89ebe
SP
4875 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4876 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4877 Remove.
4878
9962a2d3
JM
48792014-03-17 Joseph Myers <joseph@codesourcery.com>
4880
4881 * math/gen-libm-test.pl (parse_args): Handle results specified for
4882 each rounding mode separately.
4883 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4884 tests and results from lrint_tonearest_test_data,
4885 lrint_towardzero_test_data, lrint_downward_test_data and
4886 lrint_upward_test_data.
4887 (lrint_test): Use ALL_RM_TEST.
4888 (lrint_tonearest_test_data): Remove.
4889 (lrint_test_tonearest): Likewise.
4890 (lrint_towardzero_test_data): Likewise.
4891 (lrint_test_towardzero): Likewise.
4892 (lrint_downward_test_data): Likewise.
4893 (lrint_test_downward): Likewise.
4894 (lrint_upward_test_data): Likewise.
4895 (lrint_test_upward): Likewise.
4896 (llrint_test_data): Merge in per-rounding-mode tests and results
4897 from llrint_tonearest_test_data, llrint_towardzero_test_data,
4898 llrint_downward_test_data and llrint_upward_test_data.
4899 (llrint_test): Use ALL_RM_TEST.
4900 (llrint_tonearest_test_data): Remove.
4901 (llrint_test_tonearest): Likewise.
4902 (llrint_towardzero_test_data): Likewise.
4903 (llrint_test_towardzero): Likewise.
4904 (llrint_downward_test_data): Likewise.
4905 (llrint_test_downward): Likewise.
4906 (llrint_upward_test_data): Likewise.
4907 (llrint_test_upward): Likewise.
4908 (rint_test_data): Merge in per-rounding-mode tests and results
4909 from rint_tonearest_test_data, rint_towardzero_test_data,
4910 rint_downward_test_data and rint_upward_test_data. Add
4911 per-rounding-mode results for tests not in those arrays.
4912 (rint_test): Use ALL_RM_TEST.
4913 (rint_tonearest_test_data): Remove.
4914 (rint_test_tonearest): Likewise.
4915 (rint_towardzero_test_data): Likewise.
4916 (rint_test_towardzero): Likewise.
4917 (rint_downward_test_data): Likewise.
4918 (rint_test_downward): Likewise.
4919 (rint_upward_test_data): Likewise.
4920 (rint_test_upward): Likewise.
4921 (main): Don't call removed functions.
4922
5006148e
RM
49232014-03-14 Roland McGrath <roland@hack.frob.com>
4924
4925 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4926 "Compiled on ..." crapola. It is anti-useful.
4927
d6fe5e58
JM
49282014-03-14 Joseph Myers <joseph@codesourcery.com>
4929
4930 * scripts/evaluate-test.sh: Handle fourth argument to determine
4931 whether test run should stop on failure.
4932 * Makeconfig (stop-on-test-failure): New variable.
4933 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4934 $(stop-on-test-failure).
4935 * Makefile (tests): Give a summary of results from testing and
4936 exit with failure status if they include an ERROR or FAIL.
4937 (xtests): Likewise.
4938 * manual/install.texi (Configuring and compiling): Mention
4939 stop-on-test-failure=y.
4940 * INSTALL: Regenerated.
4941
498a2233
RM
49422014-03-14 Roland McGrath <roland@hack.frob.com>
4943
22dbc19d
RM
4944 * scripts/versionlist.awk: New file.
4945 * Makerules [$(build-shared) = yes]
4946 (postclean-generated): Add Versions.def, not Versions.def.v and
4947 Versions.def.v.i.
4948 ($(common-objpfx)Versions.def.v.i): Target removed.
4949 ($(common-objpfx)Versions.def): New target.
4950 ($(common-objpfx)Versions.all): Depend on that rather that
4951 $(common-objpfx)Versions.def.v.
4952 * Versions.def: File removed.
4953
498a2233
RM
4954 * Makeconfig (+gccwarn): Add -Wundef.
4955 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4956 a dl-sysdep.h breaking its contract.
4957 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4958 * include/stackinfo.h: New file.
4959 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4960 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4961 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4962 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4963 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4964 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4965 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4966 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4967 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4968 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4969 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4970 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4971 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4972 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4973 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4974
c7de5025
AZ
49752014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4976
4977 [BZ #16707]
4978 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4979 implementation.
4980 * math/libm-test.inc (round_test_data): Add more tests.
4981
98fb27a3
AZ
4982 [BZ #16706]
4983 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4984 implementation.
4985 * math/libm-test.inc (nearbyint_test_data): Add more tests.
4986
374f7f61
AZ
4987 [BZ #16701]
4988 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4989 implementation.
4990 * math/libm-test.inc (ceil_test_data): Add more tests.
4991
4655c291
AZ
4992 * math/libm-test.inc (trunc_test_data): Add more tests related to
4993 BZ#16414.
4994
d7329d4b
RM
49952014-03-14 Roland McGrath <roland@hack.frob.com>
4996
4997 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4998 with #if rather than #ifdef.
4999 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
5000
aa4de9ce
L
50012014-03-14 H.J. Lu <hongjiu.lu@intel.com>
5002
5003 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
5004 first. Disable AVX-512 GCC support if assembler doesn't support
5005 it.
5006 * sysdeps/x86_64/configure: Regenerated.
5007
2e03fae7
CD
50082014-03-13 Carlos O'Donell <carlos@redhat.com>
5009
5010 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
5011 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
5012 (__old_pthread_attr_setstack): Likewise.
5013 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5014 [!_STACK_GROWS_DOWN]: Likewise.
5015
43ca83ec
MF
50162014-03-13 Mike Frysinger <vapier@gentoo.org>
5017
5018 * config.make.in (have-bash2): Delete.
5019 * configure.ac (libc_cv_have_bash2): Delete.
5020 * configure: Regenerate.
5021 * elf/Makefile (common-ldd-rewrite): Rename to ...
5022 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
5023 (sh-ldd-rewrite): Delete.
5024 (bash-ldd-rewrite): Delete.
5025 (have-bash2): Delete checks.
57f41c40
AS
5026 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5027 ldd-rewrite.
c66e48b4
MF
5028
5029 * config.make.in (have-ksh): Delete.
5030 (KSH): Delete.
5031 * configure.ac (libc_cv_have_ksh): Delete.
5032 * configure: Regenerate.
5033
b93834ef
MF
5034 * elf/Makefile: Delete $(have-ksh) check.
5035 ($(objpfx)sotruss): Change KSH to BASH.
5036 * elf/sotruss.ksh: Rename to ...
5037 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
5038 function style to match POSIX. Drop ksh vim mode setting.
5039
f3a4632a
MF
5040 * manual/time.texi (Specifying the Time Zone with TZ): Change
5041 Tuesday to Thursday.
5042
5896c8bd
MF
5043 * debug/tst-longjmp_chk2.c: Update header comment.
5044 (stackoverflow_handler): Add comment. Call assert on pass value.
5045
2d63a517
IZ
50462014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
5047
5048 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5049 (HAVE_AVX512_ASM_SUPPORT): Likewise.
5050 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5051 (La_x86_64_vector): Add zmm.
5052 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5053 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5054 ($(objpfx)tst-audit10): New target.
5055 ($(objpfx)tst-audit10.out): Likewise.
5056 (tst-audit10-ENV): New.
5057 (AVX512-CFLAGS): Likewise.
5058 (CFLAGS-tst-audit10.c): Likewise.
5059 (CFLAGS-tst-auditmod10a.c): Likewise.
5060 (CFLAGS-tst-auditmod10b.c): Likewise.
5061 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5062 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5063 * sysdeps/x86_64/configure: Regenerated.
5064 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5065 AVX-512 zmm register support.
5066 (_dl_x86_64_save_sse): Likewise.
5067 (_dl_x86_64_restore_sse): Likewise.
5068 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5069 size vector registers.
5070 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5071 (ZMM_SIZE): Likewise.
5072 * sysdeps/x86_64/tst-audit10.c: New file.
5073 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5074 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5075
44c4e5d5
RM
50762014-03-13 Roland McGrath <roland@hack.frob.com>
5077
5078 * configure.ac (HAVE_EHDR_START): New check.
5079 * configure: Regenerated.
5080 * config.h.in (HAVE_EHDR_START): New #undef.
5081 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5082 assuming the lowest-addressed segment maps the start of the file.
5083
acd6e389
JM
50842014-03-13 Joseph Myers <joseph@codesourcery.com>
5085
5086 * INSTALL: Regenerated.
5087
6f918f36
WN
50882014-03-13 Will Newton <will.newton@linaro.org>
5089
5090 * manual/setjmp.texi (System V contexts): Improve
5091 clarity and grammar of documentation.
5092
798212a0
PP
50932014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
5094
5095 [BZ #16381]
798212a0 5096 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 5097 (tests-pie): Add tst-pie2.
798212a0
PP
5098 * elf/tst-pie2.c: New file.
5099 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5100 for ET_EXEC.
5101 * elf/rtld.c (map_doit): Load executable as lt_executable.
5102 (dl_main): Likewise.
5103
abe6d90c
JM
51042014-03-12 Joseph Myers <joseph@codesourcery.com>
5105
5106 [BZ #16642]
5107 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5108 (__ASSUME_PSELECT): Undefine.
5109
dd3946c6
AZ
51102014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5111
5112 [BZ #16689]
5113 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5114 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5115 static build.
5116 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5117 selector for static builds.
5118
c44496df
SP
51192014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5120
5121 [BZ #16695]
5122 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5123 key in the buffer.
5124
27c7220a
AZ
51252014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5126
57f41c40
AS
5127 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5128 IFUNC selector for static builds.
27c7220a 5129
600fa361
JM
51302014-03-11 Joseph Myers <joseph@codesourcery.com>
5131
76c96cf7
JM
5132 * sysdeps/mips/math_private.h [__mips_hard_float]
5133 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5134 libc_feresetround_mips_ctx.
5135 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5136 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5137 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5138
600fa361
JM
5139 [BZ #16677]
5140 * math/s_nextafter.c (__nextafter): Do not return value from
5141 overflowing computation.
5142 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5143 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5144 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5145 Likewise.
5146 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5147 Likewise.
5148 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5149 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5150
d7706c32
RM
51512014-03-11 Roland McGrath <roland@hack.frob.com>
5152
5153 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5154 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5155 Move sfi_sp use from the load-multiple (that no longer sets sp) to
5156 the new mov targetting sp.
5157
4facea47
AZ
51582014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5159
5160 [BZ #16683]
5161 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5162 Define it for static builds as well.
5163 (NO_BZERO_IMPL): Likewise.
5164
e65caf1f
VR
51652014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5166
5167 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5168 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5169 multiarch strspn for PPC64.
5170 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5171 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5172 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5173 (__libc_ifunc_impl_list): Likewise.
5174 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5175 multiarch optimizations
5176 * string/strspn.c (strspn): Using macro to redefine symbol name.
5177
ba9cc071
AZ
51782014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5179 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5180
5181 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5182 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5183 multiarch strncat for PPC64.
5184 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5185 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5186 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5187 (__libc_ifunc_impl_list): Likewise.
5188 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5189 multiarch optimizations
5190
8b4ff974
SP
51912014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5192
5193 [BZ #16639]
5194 * nscd/nscd.service: Make service type forking.
5195
54b46a4b
AZ
51962014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5197
5198 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5199 sign in non default rounding modes.
5200 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5201
e9996ef7
JM
52022014-03-08 Joseph Myers <joseph@codesourcery.com>
5203
5204 * math/libm-test.inc (ALL_RM_TEST): New macro.
5205 (ceil_test): Use ALL_RM_TEST.
5206 (cimag_test): Likewise.
5207 (conj_test): Likewise.
5208 (copysign_test): Likewise.
5209 (cproj_test): Likewise.
5210 (creal_test): Likewise.
5211 (fabs_test): Likewise.
5212 (floor_test): Likewise.
5213 (fmax_test): Likewise.
5214 (fmin_test): Likewise.
5215 (fmod_test): Likewise.
5216 (fpclassify_test): Likewise.
5217 (frexp_test): Likewise.
5218 (ilogb_test): Likewise.
5219 (isfinite_test): Likewise.
5220 (finite_test): Likewise.
5221 (isgreater_test): Likewise.
5222 (isgreaterequal_test): Likewise.
5223 (isinf_test): Likewise.
5224 (isless_test): Likewise.
5225 (islessequal_test): Likewise.
5226 (islessgreater_test): Likewise.
5227 (isnan_test): Likewise.
5228 (isnormal_test): Likewise.
5229 (issignaling_test): Likewise.
5230 (isunordered_test): Likewise.
5231 (logb_test): Likewise.
5232 (logb_downward_test_data): Remove.
5233 (logb_test_downward): Likewise.
5234 (lround_test): Use ALL_RM_TEST.
5235 (llround_test): Likewise.
5236 (modf_test): Likewise.
5237 (nexttoward_test): Likewise.
5238 (remainder_test): Likewise.
5239 (drem_test): Likewise.
5240 (remainder_tonearest_test_data): Likewise.
5241 (remainder_test_tonearest): Likewise.
5242 (drem_test_tonearest): Likewise.
5243 (remainder_towardzero_test_data): Likewise.
5244 (remainder_test_towardzero): Likewise.
5245 (drem_test_towardzero): Likewise.
5246 (remainder_downward_test_data): Likewise.
5247 (remainder_test_downward): Likewise.
5248 (drem_test_downward): Likewise.
5249 (remainder_upward_test_data): Likewise.
5250 (remainder_test_upward): Likewise.
5251 (drem_test_upward): Likewise.
5252 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
5253 (round_test): Use ALL_RM_TEST.
5254 (signbit_test): Likewise.
5255 (trunc_test): Likewise.
5256 (significand_test): Likewise.
5257 (main): Don't call removed functions.
5258
bc61d27c
JM
52592014-03-07 Joseph Myers <joseph@codesourcery.com>
5260
5c780849
JM
5261 [BZ #16674]
5262 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5263 || __USE_XOPEN2K8].
5264 (ILL_ILLOPN): Likewise.
5265 (ILL_ILLADR): Likewise.
5266 (ILL_ILLTRP): Likewise.
5267 (ILL_PRVOPC): Likewise.
5268 (ILL_PRVREG): Likewise.
5269 (ILL_COPROC): Likewise.
5270 (ILL_BADSTK): Likewise.
5271 (FPE_INTDIV): Likewise.
5272 (FPE_INTOVF): Likewise.
5273 (FPE_FLTDIV): Likewise.
5274 (FPE_FLTOVF): Likewise.
5275 (FPE_FLTUND): Likewise.
5276 (FPE_FLTRES): Likewise.
5277 (FPE_FLTINV): Likewise.
5278 (FPE_FLTSUB): Likewise.
5279 (SEGV_MAPERR): Likewise.
5280 (SEGV_ACCERR): Likewise.
5281 (BUS_ADRALN): Likewise.
5282 (BUS_ADRERR): Likewise.
5283 (BUS_OBJERR): Likewise.
5284 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5285 (TRAP_TRACE): Likewise.
5286 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5287 __USE_XOPEN2K8].
5288 (CLD_KILLED): Likewise.
5289 (CLD_DUMPED): Likewise.
5290 (CLD_TRAPPED): Likewise.
5291 (CLD_STOPPED): Likewise.
5292 (CLD_CONTINUED): Likewise.
5293 (POLL_IN): Likewise.
5294 (POLL_OUT): Likewise.
5295 (POLL_MSG): Likewise.
5296 (POLL_ERR): Likewise.
5297 (POLL_PRI): Likewise.
5298 (POLL_HUP): Likewise.
5299 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5300 Likewise.
5301 (ILL_ILLOPN): Likewise.
5302 (ILL_ILLADR): Likewise.
5303 (ILL_ILLTRP): Likewise.
5304 (ILL_PRVOPC): Likewise.
5305 (ILL_PRVREG): Likewise.
5306 (ILL_COPROC): Likewise.
5307 (ILL_BADSTK): Likewise.
5308 (FPE_INTDIV): Likewise.
5309 (FPE_INTOVF): Likewise.
5310 (FPE_FLTDIV): Likewise.
5311 (FPE_FLTOVF): Likewise.
5312 (FPE_FLTUND): Likewise.
5313 (FPE_FLTRES): Likewise.
5314 (FPE_FLTINV): Likewise.
5315 (FPE_FLTSUB): Likewise.
5316 (SEGV_MAPERR): Likewise.
5317 (SEGV_ACCERR): Likewise.
5318 (BUS_ADRALN): Likewise.
5319 (BUS_ADRERR): Likewise.
5320 (BUS_OBJERR): Likewise.
5321 (BUS_MCEERR_AR): Likewise.
5322 (BUS_MCEERR_AO): Likewise.
5323 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5324 (TRAP_TRACE): Likewise.
5325 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5326 __USE_XOPEN2K8].
5327 (CLD_KILLED): Likewise.
5328 (CLD_DUMPED): Likewise.
5329 (CLD_TRAPPED): Likewise.
5330 (CLD_STOPPED): Likewise.
5331 (CLD_CONTINUED): Likewise.
5332 (POLL_IN): Likewise.
5333 (POLL_OUT): Likewise.
5334 (POLL_MSG): Likewise.
5335 (POLL_ERR): Likewise.
5336 (POLL_PRI): Likewise.
5337 (POLL_HUP): Likewise.
5338 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5339 (ILL_ILLOPN): Likewise.
5340 (ILL_ILLADR): Likewise.
5341 (ILL_ILLTRP): Likewise.
5342 (ILL_PRVOPC): Likewise.
5343 (ILL_PRVREG): Likewise.
5344 (ILL_COPROC): Likewise.
5345 (ILL_BADSTK): Likewise.
5346 (FPE_INTDIV): Likewise.
5347 (FPE_INTOVF): Likewise.
5348 (FPE_FLTDIV): Likewise.
5349 (FPE_FLTOVF): Likewise.
5350 (FPE_FLTUND): Likewise.
5351 (FPE_FLTRES): Likewise.
5352 (FPE_FLTINV): Likewise.
5353 (FPE_FLTSUB): Likewise.
5354 (SEGV_MAPERR): Likewise.
5355 (SEGV_ACCERR): Likewise.
5356 (BUS_ADRALN): Likewise.
5357 (BUS_ADRERR): Likewise.
5358 (BUS_OBJERR): Likewise.
5359 (BUS_MCEERR_AR): Likewise.
5360 (BUS_MCEERR_AO): Likewise.
5361 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5362 (TRAP_TRACE): Likewise.
5363 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5364 __USE_XOPEN2K8].
5365 (CLD_KILLED): Likewise.
5366 (CLD_DUMPED): Likewise.
5367 (CLD_TRAPPED): Likewise.
5368 (CLD_STOPPED): Likewise.
5369 (CLD_CONTINUED): Likewise.
5370 (POLL_IN): Likewise.
5371 (POLL_OUT): Likewise.
5372 (POLL_MSG): Likewise.
5373 (POLL_ERR): Likewise.
5374 (POLL_PRI): Likewise.
5375 (POLL_HUP): Likewise.
5376 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5377 Likewise.
5378 (ILL_ILLOPN): Likewise.
5379 (ILL_ILLADR): Likewise.
5380 (ILL_ILLTRP): Likewise.
5381 (ILL_PRVOPC): Likewise.
5382 (ILL_PRVREG): Likewise.
5383 (ILL_COPROC): Likewise.
5384 (ILL_BADSTK): Likewise.
5385 (ILL_BADIADDR): Likewise.
5386 (ILL_BREAK): Likewise.
5387 (FPE_INTDIV): Likewise.
5388 (FPE_INTOVF): Likewise.
5389 (FPE_FLTDIV): Likewise.
5390 (FPE_FLTOVF): Likewise.
5391 (FPE_FLTUND): Likewise.
5392 (FPE_FLTRES): Likewise.
5393 (FPE_FLTINV): Likewise.
5394 (FPE_FLTSUB): Likewise.
5395 (FPE_DECOVF): Likewise.
5396 (FPE_DECDIV): Likewise.
5397 (FPE_DECERR): Likewise.
5398 (FPE_INVASC): Likewise.
5399 (FPE_INVDEC): Likewise.
5400 (SEGV_MAPERR): Likewise.
5401 (SEGV_ACCERR): Likewise.
5402 (SEGV_PSTKOVF): Likewise.
5403 (BUS_ADRALN): Likewise.
5404 (BUS_ADRERR): Likewise.
5405 (BUS_OBJERR): Likewise.
5406 (BUS_MCEERR_AR): Likewise.
5407 (BUS_MCEERR_AO): Likewise.
5408 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5409 (TRAP_TRACE): Likewise.
5410 (TRAP_BRANCH): Likewise.
5411 (TRAP_HWBKPT): Likewise.
5412 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5413 __USE_XOPEN2K8].
5414 (CLD_KILLED): Likewise.
5415 (CLD_DUMPED): Likewise.
5416 (CLD_TRAPPED): Likewise.
5417 (CLD_STOPPED): Likewise.
5418 (CLD_CONTINUED): Likewise.
5419 (POLL_IN): Likewise.
5420 (POLL_OUT): Likewise.
5421 (POLL_MSG): Likewise.
5422 (POLL_ERR): Likewise.
5423 (POLL_PRI): Likewise.
5424 (POLL_HUP): Likewise.
5425 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5426 (ILL_ILLOPN): Likewise.
5427 (ILL_ILLADR): Likewise.
5428 (ILL_ILLTRP): Likewise.
5429 (ILL_PRVOPC): Likewise.
5430 (ILL_PRVREG): Likewise.
5431 (ILL_COPROC): Likewise.
5432 (ILL_BADSTK): Likewise.
5433 (FPE_INTDIV): Likewise.
5434 (FPE_INTOVF): Likewise.
5435 (FPE_FLTDIV): Likewise.
5436 (FPE_FLTOVF): Likewise.
5437 (FPE_FLTUND): Likewise.
5438 (FPE_FLTRES): Likewise.
5439 (FPE_FLTINV): Likewise.
5440 (FPE_FLTSUB): Likewise.
5441 (SEGV_MAPERR): Likewise.
5442 (SEGV_ACCERR): Likewise.
5443 (BUS_ADRALN): Likewise.
5444 (BUS_ADRERR): Likewise.
5445 (BUS_OBJERR): Likewise.
5446 (BUS_MCEERR_AR): Likewise.
5447 (BUS_MCEERR_AO): Likewise.
5448 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5449 (TRAP_TRACE): Likewise.
5450 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5451 __USE_XOPEN2K8].
5452 (CLD_KILLED): Likewise.
5453 (CLD_DUMPED): Likewise.
5454 (CLD_TRAPPED): Likewise.
5455 (CLD_STOPPED): Likewise.
5456 (CLD_CONTINUED): Likewise.
5457 (POLL_IN): Likewise.
5458 (POLL_OUT): Likewise.
5459 (POLL_MSG): Likewise.
5460 (POLL_ERR): Likewise.
5461 (POLL_PRI): Likewise.
5462 (POLL_HUP): Likewise.
5463 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5464 (ILL_ILLOPN): Likewise.
5465 (ILL_ILLADR): Likewise.
5466 (ILL_ILLTRP): Likewise.
5467 (ILL_PRVOPC): Likewise.
5468 (ILL_PRVREG): Likewise.
5469 (ILL_COPROC): Likewise.
5470 (ILL_BADSTK): Likewise.
5471 (FPE_INTDIV): Likewise.
5472 (FPE_INTOVF): Likewise.
5473 (FPE_FLTDIV): Likewise.
5474 (FPE_FLTOVF): Likewise.
5475 (FPE_FLTUND): Likewise.
5476 (FPE_FLTRES): Likewise.
5477 (FPE_FLTINV): Likewise.
5478 (FPE_FLTSUB): Likewise.
5479 (SEGV_MAPERR): Likewise.
5480 (SEGV_ACCERR): Likewise.
5481 (BUS_ADRALN): Likewise.
5482 (BUS_ADRERR): Likewise.
5483 (BUS_OBJERR): Likewise.
5484 (BUS_MCEERR_AR): Likewise.
5485 (BUS_MCEERR_AO): Likewise.
5486 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5487 (TRAP_TRACE): Likewise.
5488 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5489 __USE_XOPEN2K8].
5490 (CLD_KILLED): Likewise.
5491 (CLD_DUMPED): Likewise.
5492 (CLD_TRAPPED): Likewise.
5493 (CLD_STOPPED): Likewise.
5494 (CLD_CONTINUED): Likewise.
5495 (POLL_IN): Likewise.
5496 (POLL_OUT): Likewise.
5497 (POLL_MSG): Likewise.
5498 (POLL_ERR): Likewise.
5499 (POLL_PRI): Likewise.
5500 (POLL_HUP): Likewise.
5501 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5502 (ILL_ILLOPN): Likewise.
5503 (ILL_ILLADR): Likewise.
5504 (ILL_ILLTRP): Likewise.
5505 (ILL_PRVOPC): Likewise.
5506 (ILL_PRVREG): Likewise.
5507 (ILL_COPROC): Likewise.
5508 (ILL_BADSTK): Likewise.
5509 (FPE_INTDIV): Likewise.
5510 (FPE_INTOVF): Likewise.
5511 (FPE_FLTDIV): Likewise.
5512 (FPE_FLTOVF): Likewise.
5513 (FPE_FLTUND): Likewise.
5514 (FPE_FLTRES): Likewise.
5515 (FPE_FLTINV): Likewise.
5516 (FPE_FLTSUB): Likewise.
5517 (SEGV_MAPERR): Likewise.
5518 (SEGV_ACCERR): Likewise.
5519 (BUS_ADRALN): Likewise.
5520 (BUS_ADRERR): Likewise.
5521 (BUS_OBJERR): Likewise.
5522 (BUS_MCEERR_AR): Likewise.
5523 (BUS_MCEERR_AO): Likewise.
5524 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5525 (TRAP_TRACE): Likewise.
5526 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5527 __USE_XOPEN2K8].
5528 (CLD_KILLED): Likewise.
5529 (CLD_DUMPED): Likewise.
5530 (CLD_TRAPPED): Likewise.
5531 (CLD_STOPPED): Likewise.
5532 (CLD_CONTINUED): Likewise.
5533 (POLL_IN): Likewise.
5534 (POLL_OUT): Likewise.
5535 (POLL_MSG): Likewise.
5536 (POLL_ERR): Likewise.
5537 (POLL_PRI): Likewise.
5538 (POLL_HUP): Likewise.
5539 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5540 (ILL_ILLOPN): Likewise.
5541 (ILL_ILLADR): Likewise.
5542 (ILL_ILLTRP): Likewise.
5543 (ILL_PRVOPC): Likewise.
5544 (ILL_PRVREG): Likewise.
5545 (ILL_COPROC): Likewise.
5546 (ILL_BADSTK): Likewise.
5547 (ILL_DBLFLT): Likewise.
5548 (ILL_HARDWALL): Likewise.
5549 (FPE_INTDIV): Likewise.
5550 (FPE_INTOVF): Likewise.
5551 (FPE_FLTDIV): Likewise.
5552 (FPE_FLTOVF): Likewise.
5553 (FPE_FLTUND): Likewise.
5554 (FPE_FLTRES): Likewise.
5555 (FPE_FLTINV): Likewise.
5556 (FPE_FLTSUB): Likewise.
5557 (SEGV_MAPERR): Likewise.
5558 (SEGV_ACCERR): Likewise.
5559 (BUS_ADRALN): Likewise.
5560 (BUS_ADRERR): Likewise.
5561 (BUS_OBJERR): Likewise.
5562 (BUS_MCEERR_AR): Likewise.
5563 (BUS_MCEERR_AO): Likewise.
5564 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5565 (TRAP_TRACE): Likewise.
5566 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5567 __USE_XOPEN2K8].
5568 (CLD_KILLED): Likewise.
5569 (CLD_DUMPED): Likewise.
5570 (CLD_TRAPPED): Likewise.
5571 (CLD_STOPPED): Likewise.
5572 (CLD_CONTINUED): Likewise.
5573 (POLL_IN): Likewise.
5574 (POLL_OUT): Likewise.
5575 (POLL_MSG): Likewise.
5576 (POLL_ERR): Likewise.
5577 (POLL_PRI): Likewise.
5578 (POLL_HUP): Likewise.
5579 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5580 (ILL_ILLOPN): Likewise.
5581 (ILL_ILLADR): Likewise.
5582 (ILL_ILLTRP): Likewise.
5583 (ILL_PRVOPC): Likewise.
5584 (ILL_PRVREG): Likewise.
5585 (ILL_COPROC): Likewise.
5586 (ILL_BADSTK): Likewise.
5587 (FPE_INTDIV): Likewise.
5588 (FPE_INTOVF): Likewise.
5589 (FPE_FLTDIV): Likewise.
5590 (FPE_FLTOVF): Likewise.
5591 (FPE_FLTUND): Likewise.
5592 (FPE_FLTRES): Likewise.
5593 (FPE_FLTINV): Likewise.
5594 (FPE_FLTSUB): Likewise.
5595 (SEGV_MAPERR): Likewise.
5596 (SEGV_ACCERR): Likewise.
5597 (BUS_ADRALN): Likewise.
5598 (BUS_ADRERR): Likewise.
5599 (BUS_OBJERR): Likewise.
5600 (BUS_MCEERR_AR): Likewise.
5601 (BUS_MCEERR_AO): Likewise.
5602 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5603 (TRAP_TRACE): Likewise.
5604 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5605 __USE_XOPEN2K8].
5606 (CLD_KILLED): Likewise.
5607 (CLD_DUMPED): Likewise.
5608 (CLD_TRAPPED): Likewise.
5609 (CLD_STOPPED): Likewise.
5610 (CLD_CONTINUED): Likewise.
5611 (POLL_IN): Likewise.
5612 (POLL_OUT): Likewise.
5613 (POLL_MSG): Likewise.
5614 (POLL_ERR): Likewise.
5615 (POLL_PRI): Likewise.
5616 (POLL_HUP): Likewise.
5617 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5618 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5619
bc61d27c
JM
5620 [BZ #16670]
5621 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5622 before #include of <time.h>.
5623 [!__USE_XOPEN2K] (__need_timespec): Likewise.
5624 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5625 (test-xfail-UNIX98/sched.h/conform): Likewise.
5626
302949e2
MS
56272014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
5628
5629 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5630 error absence of trapping exception support.
5631 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5632
a00f522a
JM
56332014-03-07 Joseph Myers <joseph@codesourcery.com>
5634
6f99f280
JM
5635 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5636 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5637 * timezone/Makefile (testdata): Move definition above include of
5638 Rules.
5639 (test-zones): New variable.
5640 (tests-special): Add zone files.
5641 (build-testdata): Use $(evaluate-test).
5642
0b20a9e8
JM
5643 * elf/Makefile (tests-special): Rename tests to end with .out.
5644 ($(objpfx)noload-mem): Likewise.
5645 ($(objpfx)tst-leaks1-mem): Likewise.
5646 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5647 * iconv/Makefile (xtests-special): Change test-iconvconfig to
5648 $(objpfx)test-iconvconfig.out.
5649 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
5650 set -e inside subshell and redirect output to file.
5651 * iconvdata/Makefile (generated): Rename tests to end with .out.
5652 Correct type.
5653 (tests-special): Rename tests to end with .out.
5654 ($(objpfx)mtrace-tst-loading): Likewise.
5655 * intl/Makefile (generated): Likewise.
5656 (tests-special): Likewise.
5657 ($(objpfx)mtrace-tst-gettext): Likewise.
5658 * misc/Makefile (generated): Likewise.
5659 (tests-special): Likewise.
5660 ($(objpfx)tst-error1-mem): Likewise.
5661 * nptl/Makefile (tests-special): Likewise.
5662 ($(objpfx)tst-stack3-mem): Likewise.
5663 (generated): Likewise.
5664 * posix/Makefile (generated): Likewise.
5665 (tests-special): Likewise.
5666 (xtests-special): Likewise.
5667 ($(objpfx)tst-fnmatch-mem): Likewise.
5668 ($(objpfx)bug-regex2-mem): Likewise.
5669 ($(objpfx)bug-regex14-mem): Likewise.
5670 ($(objpfx)bug-regex21-mem): Likewise.
5671 ($(objpfx)bug-regex31-mem): Likewise.
5672 ($(objpfx)tst-vfork3-mem): Likewise.
5673 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5674 ($(objpfx)tst-pcre-mem): Likewise.
5675 ($(objpfx)tst-boost-mem): Likewise.
5676 ($(objpfx)bug-ga2-mem): Likewise.
5677 ($(objpfx)bug-glob2-mem): Likewise.
5678 * resolv/Makefile (generate): Likewise.
5679 (tests-special): Likewise.
5680 (xtests-special): Likewise.
5681 (generated): Likewise.
5682 ($(objpfx)mtrace-tst-leaks): Likewise.
5683 ($(objpfx)mtrace-tst-leaks2): Likewise.
5684
265d52ab
JM
5685 * scripts/merge-test-results.sh: New file.
5686 * Makefile (tests-special-notdir): New variable.
5687 (tests): Run merge-test-results.sh.
5688 (xtests): Likewise.
5689 * Rules (tests-special-notdir): New variable.
5690 (xtests-special-notdir): Likewise.
5691 (tests): Run merge-test-results.sh
5692 (xtests): Likewise.
5693
54ee292d
JM
5694 * Makeconfig (test-xfail-name): New variable.
5695 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5696 compute variable name for expected failures.
5697 * conform/Makefile (conformtest-headers-data): New variable.
5698 (conformtest-standards): Likewise.
5699 (conformtest-headers-ISO): Likewise.
5700 (conformtest-headers-ISO99): Likewise.
5701 (conformtest-headers-ISO11): Likewise.
5702 (conformtest-headers-POSIX): Likewise.
5703 (conformtest-headers-XPG3): Likewise.
5704 (conformtest-headers-XPG4): Likewise.
5705 (conformtest-headers-UNIX98): Likewise.
5706 (conformtest-headers-XOPEN2K): Likewise.
5707 (conformtest-headers-POSIX2008): Likewise.
5708 (conformtest-headers-XOPEN2K8): Likewise.
5709 (conformtest-header-list-base): Likewise.
5710 (conformtest-header-list-tests): Likewise.
5711 (conformtest-header-base): Likewise.
5712 (conformtest-header-tests): Likewise.
5713 (tests-special): Add $(conformtest-header-list-tests). If
5714 [$(fast-check) && !$(cross-compiling)], add
5715 $(conformtest-header-tests) instead of
5716 $(objpfx)run-conformtest.out.
5717 (generated): Add $(conformtest-header-list-base). If
5718 [$(fast-check) && !$(cross-compiling)], add
5719 $(conformtest-header-base). Remove previous setting.
5720 ($(conformtest-header-list-tests)): New target.
5721 (test-xfail-run-conformtest): Remove variable.
5722 ($(objpfx)run-conformtest.out): Remove target.
5723 (test-xfail-ISO11/complex.h/conform): New variable.
5724 (test-xfail-ISO11/stdalign.h/conform): Likewise.
5725 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5726 (test-xfail-XPG3/varargs.h/conform): Likewise.
5727 (test-xfail-XPG4/varargs.h/conform): Likewise.
5728 (test-xfail-UNIX98/varargs.h/conform): Likewise.
5729 (test-xfail-XPG4/ndbm.h/conform): Likewise.
5730 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5731 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5732 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5733 (test-xfail-XPG3/fcntl.h/conform): Likewise.
5734 (test-xfail-XPG3/ftw.h/conform): Likewise.
5735 (test-xfail-XPG3/grp.h/conform): Likewise.
5736 (test-xfail-XPG3/langinfo.h/conform): Likewise.
5737 (test-xfail-XPG3/limits.h/conform): Likewise.
5738 (test-xfail-XPG3/pwd.h/conform): Likewise.
5739 (test-xfail-XPG3/search.h/conform): Likewise.
5740 (test-xfail-XPG3/signal.h/conform): Likewise.
5741 (test-xfail-XPG3/stdio.h/conform): Likewise.
5742 (test-xfail-XPG3/stdlib.h/conform): Likewise.
5743 (test-xfail-XPG3/string.h/conform): Likewise.
5744 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5745 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5746 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5747 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5748 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5749 (test-xfail-XPG3/sys/types.h/conform): Likewise.
5750 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5751 (test-xfail-XPG3/termios.h/conform): Likewise.
5752 (test-xfail-XPG3/time.h/conform): Likewise.
5753 (test-xfail-XPG3/unistd.h/conform): Likewise.
5754 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5755 (test-xfail-XPG4/fcntl.h/conform): Likewise.
5756 (test-xfail-XPG4/langinfo.h/conform): Likewise.
5757 (test-xfail-XPG4/netdb.h/conform): Likewise.
5758 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5759 (test-xfail-XPG4/signal.h/conform): Likewise.
5760 (test-xfail-XPG4/stdio.h/conform): Likewise.
5761 (test-xfail-XPG4/stdlib.h/conform): Likewise.
5762 (test-xfail-XPG4/stropts.h/conform): Likewise.
5763 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5764 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5765 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5766 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5767 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5768 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5769 (test-xfail-XPG4/sys/time.h/conform): Likewise.
5770 (test-xfail-XPG4/sys/types.h/conform): Likewise.
5771 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5772 (test-xfail-XPG4/termios.h/conform): Likewise.
5773 (test-xfail-XPG4/ucontext.h/conform): Likewise.
5774 (test-xfail-XPG4/unistd.h/conform): Likewise.
5775 (test-xfail-XPG4/utmpx.h/conform): Likewise.
5776 (test-xfail-POSIX/sched.h/conform): Likewise.
5777 (test-xfail-POSIX/signal.h/conform): Likewise.
5778 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5779 (test-xfail-POSIX/tar.h/conform): Likewise.
5780 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5781 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5782 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5783 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5784 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5785 (test-xfail-UNIX98/sched.h/conform): Likewise.
5786 (test-xfail-UNIX98/signal.h/conform): Likewise.
5787 (test-xfail-UNIX98/stdio.h/conform): Likewise.
5788 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5789 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5790 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5791 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5792 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5793 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5794 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5795 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5796 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5797 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5798 (test-xfail-UNIX98/unistd.h/conform): Likewise.
5799 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5800 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5801 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5802 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5803 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5804 (test-xfail-XOPEN2K/math.h/conform): Likewise.
5805 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5806 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5807 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5808 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5809 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5810 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5811 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5812 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5813 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5814 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5815 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5816 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5817 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5818 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5819 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5820 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5821 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5822 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5823 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5824 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5825 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5826 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5827 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5828 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5829 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5830 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5831 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5832 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5833 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5834 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5835 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5836 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5837 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5838 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5839 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5840 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5841 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5842 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5843 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5844 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5845 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5846 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5847 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5848 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5849 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5850 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5851 (conformtest-cc-flags): Likewise.
5852 ($(conformtest-header-tests): New target.
5853 * conform/check-header-lists.sh: New file.
5854 * conform/run-conformtest.sh: Remove.
5855
a00f522a
JM
5856 * conform/conformtest.pl: Allow ' and \ in values given for
5857 constants.
5858 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5859 inclusion.
5860 [POSIX] (sys/types.h): Likewise.
5861 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5862 inclusion.
5863 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5864 inclusion.
5865 * conform/data/signal.h-data (SIGIO): Remove expectation.
5866 [XPG3] (SIGBUS): Do not expect.
5867 [POSIX || XPG3] (SIGPOLL): Likewise.
5868 [POSIX || XPG3] (SIGPROF): Likewise.
5869 [POSIX || XPG3] (SIGSYS): Likewise.
5870 [XPG3] (SIGTRAP): Likewise.
5871 [POSIX || XPG3] (SIGURG): Likewise.
5872 [POSIX || XPG3] (SIGVTALRM): Likewise.
5873 [POSIX || XPG3] (SIGXCPU): Likewise.
5874 [POSIX || XPG3] (SIGXFSZ): Likewise.
5875 [POSIX] (SA_SIGINFO): Expect.
5876 [XPG3] (siginfo_t): Do not expect type or contents.
5877 [POSIX] (si_pid): Do not expect element.
5878 [POSIX] (si_uid): Likewise.
5879 [POSIX] (si_addr): Likewise.
5880 [POSIX] (si_status): Likewise.
5881 [POSIX] (si_band): Likewise.
5882 [XPG4] (si_value): Likewise.
5883 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5884 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5885 [POSIX || XPG3] (ILL_ILLADR): Likewise.
5886 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5887 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5888 [POSIX || XPG3] (ILL_PRVREG): Likewise.
5889 [POSIX || XPG3] (ILL_COPROC): Likewise.
5890 [POSIX || XPG3] (ILL_BADSTK): Likewise.
5891 [POSIX || XPG3] (FPE_INTDIV): Likewise.
5892 [POSIX || XPG3] (FPE_INTOVF): Likewise.
5893 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5894 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5895 [POSIX || XPG3] (FPE_FLTUND): Likewise.
5896 [POSIX || XPG3] (FPE_FLTRES): Likewise.
5897 [POSIX || XPG3] (FPE_FLTINV): Likewise.
5898 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5899 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5900 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5901 [POSIX || XPG3] (BUS_ADRALN): Likewise.
5902 [POSIX || XPG3] (BUS_ADRERR): Likewise.
5903 [POSIX || XPG3] (BUS_OBJERR): Likewise.
5904 [POSIX || XPG3] (CLD_EXITED): Likewise.
5905 [POSIX || XPG3] (CLD_KILLED): Likewise.
5906 [POSIX || XPG3] (CLD_DUMPED): Likewise.
5907 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5908 [POSIX || XPG3] (CLD_STOPPED): Likewise.
5909 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5910 [POSIX || XPG3] (POLL_IN): Likewise.
5911 [POSIX || XPG3] (POLL_OUT): Likewise.
5912 [POSIX || XPG3] (POLL_MSG): Likewise.
5913 [POSIX || XPG3] (POLL_ERR): Likewise.
5914 [POSIX || XPG3] (POLL_PRI): Likewise.
5915 [POSIX || XPG3] (POLL_HUP): Likewise.
5916 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5917 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5918 (SIG*): Do not allow.
5919 [XPG3] (si_*): Likewise.
5920 [XPG3] (SI_*): Likewise.
5921 [XPG3 || XPG4] (sigev_*): Likewise.
5922 [XPG3 || XPG4] (SIGEV_*): Likewise.
5923 [XPG3 || XPG4] (sival_*): Likewise.
5924 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5925 [POSIX || XPG3] (BUS_*): Likewise.
5926 [POSIX || XPG3] (CLD_*): Likewise.
5927 [POSIX || XPG3] (FPE_*): Likewise.
5928 [POSIX || XPG3] (ILL_*): Likewise.
5929 [POSIX || XPG3] (POLL_*): Likewise.
5930 [POSIX || XPG3] (SEGV_*): Likewise.
5931 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5932 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5933 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5934 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5935 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5936 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5937 Specify type and value.
5938 (TVERSLEN): Likewise.
5939 (REGTYPE): Likewise.
5940 (AREGTYPE): Likewise.
5941 (LNKTYPE): Likewise.
5942 (SYMTYPE): Likewise.
5943 (CHRTYPE): Likewise.
5944 (BLKTYPE): Likewise.
5945 (DIRTYPE): Likewise.
5946 (FIFOTYPE): Likewise.
5947 (CONTTYPE): Likewise.
5948 (TSUID): Likewise.
5949 (TSGID): Likewise.
5950 (TSVTX): Likewise.
5951 (TUREAD): Likewise.
5952 (TUWRITE): Likewise.
5953 (TUEXEC): Likewise.
5954 (TGREAD): Likewise.
5955 (TGWRITE): Likewise.
5956 (TGEXEC): Likewise.
5957 (TOREAD): Likewise.
5958 (TOWRITE): Likewise.
5959 (TOEXEC): Likewise.
5960 [POSIX] (TSVTX): Expect constant.
5961
aa97dee1
JM
59622014-03-06 Joseph Myers <joseph@codesourcery.com>
5963
f214606a
JM
5964 * Makefile (tests): Change dependencies to ....
5965 (tests-special): ... additions to this variable.
5966 (tests): Depend on $(tests-special).
5967 * Makerules (check-abi-list): New variable.
5968 (check-abi): Depend on $(check-abi-list).
5969 [$(subdir) = elf] (tests-special): Add
5970 $(objpfx)check-abi-libc.out.
5971 [$(build-shared) = yes && subdir] (tests-special): Add
5972 $(check-abi-list).
5973 [$(build-shared) = yes && subdir] (tests): Do not depend on
5974 check-abi.
5975 * Rules (tests): Depend on $(tests-special).
5976 (xtests): Depend on $(xtests-special).
5977 * catgets/Makefile (tests): Change dependencies to ....
5978 (tests-special): ... additions to this variable.
5979 * conform/Makefile (tests): Change dependencies to ....
5980 (tests-special): ... additions to this variable.
5981 * elf/Makefile (tests): Change dependencies to ....
5982 (tests-special): ... additions to this variable.
5983 * grp/Makefile (tests): Change dependencies to ....
5984 (tests-special): ... additions to this variable.
5985 * iconv/Makefile (xtests): Change dependencies to ....
5986 (xtests-special): ... additions to this variable.
5987 * iconvdata/Makefile (tests): Change dependencies to ....
5988 (tests-special): ... additions to this variable.
5989 * intl/Makefile (tests): Change dependencies to ....
5990 (tests-special): ... additions to this variable. Also add
5991 $(objpfx)tst-gettext.out.
5992 * io/Makefile (tests): Change dependencies to ....
5993 (tests-special): ... additions to this variable.
5994 * libio/Makefile (tests): Change dependencies to ....
5995 (tests-special): ... additions to this variable.
5996 * malloc/Makefile (tests): Change dependencies to ....
5997 (tests-special): ... additions to this variable.
5998 * misc/Makefile (tests): Change dependencies to ....
5999 (tests-special): ... additions to this variable.
6000 * nptl/Makefile (tests): Change dependencies to ....
6001 (tests-special): ... additions to this variable.
6002 * nptl_db/Makefile (tests): Change dependencies to ....
6003 (tests-special): ... additions to this variable.
6004 * posix/Makefile (tests): Change dependencies to ....
6005 (tests-special): ... additions to this variable.
6006 (xtests): Change dependencies to ....
6007 (xtests-special): ... additions to this variable.
6008 * resolv/Makefile (tests): Change dependencies to ....
6009 (tests-special): ... additions to this variable.
6010 (xtests): Change dependencies to ....
6011 (xtests-special): ... additions to this variable.
6012 * stdio-common/Makefile (tests): Change dependencies to ....
6013 (tests-special): ... additions to this variable.
6014 (do-tst-unbputc): Remove target.
6015 (do-tst-printf): Likewise.
6016 * stdlib/Makefile (tests): Change dependencies to ....
6017 (tests-special): ... additions to this variable.
6018 * string/Makefile (tests): Change dependencies to ....
6019 (tests-special): ... additions to this variable.
6020 * sysdeps/x86/Makefile (tests): Change dependencies to ....
6021 (tests-special): ... additions to this variable.
6022
81700b53
JM
6023 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6024 whole file.
6025 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6026 whole file.
6027 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6028 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6029
2ea18461
JM
6030 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6031 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6032 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6033 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6034 * conform/data/libgen.h-data [XPG3]: Likewise.
6035 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6036 * conform/data/ndbm.h-data [XPG3]: Likewise.
6037 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6038 * conform/data/netdb.h-data [XPG3]: Likewise.
6039 * conform/data/netinet/in.h-data [XPG3]: Likewise.
6040 * conform/data/poll.h-data [XPG3]: Likewise.
6041 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6042 * conform/data/strings.h-data [XPG3]: Likewise.
6043 * conform/data/stropts.h-data [XPG3]: Likewise.
6044 * conform/data/sys/mman.h-data [XPG3]: Likewise.
6045 * conform/data/sys/resource.h-data [XPG3]: Likewise.
6046 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6047 Likewise.
6048 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6049 * conform/data/sys/time.h-data [XPG3]: Likewise.
6050 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6051 * conform/data/sys/uio.h-data [XPG3]: Likewise.
6052 * conform/data/sys/un.h-data [XPG3]: Likewise.
6053 * conform/data/syslog.h-data [XPG3]: Likewise.
6054 * conform/data/ucontext.h-data [XPG3]: Likewise.
6055 * conform/data/utmpx.h-data [XPG3]: Likewise.
6056 * conform/data/varargs.h-data [UNIX98]: Enable file.
6057
355bc986
JM
6058 * manual/Makefile (INSTALL_INFO): Remove variable setting.
6059
215db402
JM
6060 * math/libm-test.inc (struct test_f_f_data): Move expected results
6061 into structure for each rounding mode.
6062 (struct test_ff_f_data): Likewise.
6063 (struct test_ff_f_data_nexttoward): Likewise.
6064 (struct test_fi_f_data): Likewise.
6065 (struct test_fl_f_data): Likewise.
6066 (struct test_if_f_data): Likewise.
6067 (struct test_fff_f_data): Likewise.
6068 (struct test_c_f_data): Likewise.
6069 (struct test_f_f1_data): Likewise.
6070 (struct test_fF_f1_data): Likewise.
6071 (struct test_ffI_f1_data): Likewise.
6072 (struct test_c_c_data): Likewise.
6073 (struct test_cc_c_data): Likewise.
6074 (struct test_f_i_data): Likewise.
6075 (struct test_ff_i_data): Likewise.
6076 (struct test_f_l_data): Likewise.
6077 (struct test_f_L_data): Likewise.
6078 (struct test_fFF_11_data): Likewise.
6079 (RM_): New macro.
6080 (RM_FE_DOWNWARD): Likewise.
6081 (RM_FE_TONEAREST): Likewise.
6082 (RM_FE_TOWARDZERO): Likewise.
6083 (RM_FE_UPWARD): Likewise.
6084 (RUN_TEST_LOOP_f_f): Update references to expected results.
6085 (RUN_TEST_LOOP_2_f): Likewise.
6086 (RUN_TEST_LOOP_fff_f): Likewise.
6087 (RUN_TEST_LOOP_c_f): Likewise.
6088 (RUN_TEST_LOOP_f_f1): Likewise.
6089 (RUN_TEST_LOOP_fF_f1): Likewise.
6090 (RUN_TEST_LOOP_fI_f1): Likewise.
6091 (RUN_TEST_LOOP_ffI_f1): Likewise.
6092 (RUN_TEST_LOOP_c_c): Likewise.
6093 (RUN_TEST_LOOP_cc_c): Likewise.
6094 (RUN_TEST_LOOP_f_i): Likewise.
6095 (RUN_TEST_LOOP_f_i_tg): Likewise.
6096 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6097 (RUN_TEST_LOOP_f_b): Likewise.
6098 (RUN_TEST_LOOP_f_b_tg): Likewise.
6099 (RUN_TEST_LOOP_f_l): Likewise.
6100 (RUN_TEST_LOOP_f_L): Likewise.
6101 (RUN_TEST_LOOP_fFF_11): Likewise.
6102 * math/gen-libm-test.pl (parse_args): Output four copies of
6103 expected results for each test.
6104
67737b8f
JM
6105 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6106 (__ASSUME_UTIMES): Remove.
6107 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6108 (__ASSUME_UTIMES): Likewise.
6109
aa97dee1
JM
6110 * math/gen-auto-libm-tests.c: Update comment on output format.
6111 (output_for_one_input_case): Generate before-rounding and
6112 after-rounding information as conditions on output flags not
6113 floating-point format.
6114 * math/auto-libm-test-out: Regenerated.
6115 * math/gen-libm-test.pl (cond_value): New function.
6116 (or_cond_value): Use cond_value.
6117 (generate_testfile): Handle conditional exceptions.
6118
e6b6a857
JM
61192014-03-05 Joseph Myers <joseph@codesourcery.com>
6120
2f0a0f44
JM
6121 * math/libm-test.inc (max_valid_error): New variable.
6122 (init_max_error): Take new argument specifying whether function
6123 results are exactly determined. Set max_valid_error and bound
6124 other variables for errors based on this argument.
6125 (set_max_error): Do not record results above max_valid_error.
6126 (check_float_internal): Only accept errors of up to 0.5ulps if
6127 also at most max_valid_error.
6128 (START): Take new argument EXACT and pass it to init_max_error.
6129 (acos_test): Update call to START.
6130 (acos_test_tonearest): Likewise.
6131 (acos_test_towardzero): Likewise.
6132 (acos_test_downward): Likewise.
6133 (acos_test_upward): Likewise.
6134 (acosh_test): Likewise.
6135 (asin_test): Likewise.
6136 (asin_test_tonearest): Likewise.
6137 (asin_test_towardzero): Likewise.
6138 (asin_test_downward): Likewise.
6139 (asin_test_upward): Likewise.
6140 (asinh_test): Likewise.
6141 (atan_test): Likewise.
6142 (atanh_test): Likewise.
6143 (atan2_test): Likewise.
6144 (cabs_test): Likewise.
6145 (cacos_test): Likewise.
6146 (cacosh_test): Likewise.
6147 (carg_test): Likewise.
6148 (casin_test): Likewise.
6149 (casinh_test): Likewise.
6150 (catan_test): Likewise.
6151 (catanh_test): Likewise.
6152 (cbrt_test): Likewise.
6153 (ccos_test): Likewise.
6154 (ccosh_test): Likewise.
6155 (ceil_test): Likewise.
6156 (cexp_test): Likewise.
6157 (cimag_test): Likewise.
6158 (clog_test): Likewise.
6159 (clog10_test): Likewise.
6160 (conj_test): Likewise.
6161 (copysign_test): Likewise.
6162 (cos_test): Likewise.
6163 (cos_test_tonearest): Likewise.
6164 (cos_test_towardzero): Likewise.
6165 (cos_test_downward): Likewise.
6166 (cos_test_upward): Likewise.
6167 (cosh_test): Likewise.
6168 (cosh_test_tonearest): Likewise.
6169 (cosh_test_towardzero): Likewise.
6170 (cosh_test_downward): Likewise.
6171 (cosh_test_upward): Likewise.
6172 (cpow_test): Likewise.
6173 (cproj_test): Likewise.
6174 (creal_test): Likewise.
6175 (csin_test): Likewise.
6176 (csinh_test): Likewise.
6177 (csqrt_test): Likewise.
6178 (ctan_test): Likewise.
6179 (ctan_test_tonearest): Likewise.
6180 (ctan_test_towardzero): Likewise.
6181 (ctan_test_downward): Likewise.
6182 (ctan_test_upward): Likewise.
6183 (ctanh_test): Likewise.
6184 (ctanh_test_tonearest): Likewise.
6185 (ctanh_test_towardzero): Likewise.
6186 (ctanh_test_downward): Likewise.
6187 (ctanh_test_upward): Likewise.
6188 (erf_test): Likewise.
6189 (erfc_test): Likewise.
6190 (exp_test): Likewise.
6191 (exp_test_tonearest): Likewise.
6192 (exp_test_towardzero): Likewise.
6193 (exp_test_downward): Likewise.
6194 (exp_test_upward): Likewise.
6195 (exp10_test): Likewise.
6196 (exp10_test_tonearest): Likewise.
6197 (exp10_test_towardzero): Likewise.
6198 (exp10_test_downward): Likewise.
6199 (exp10_test_upward): Likewise.
6200 (pow10_test): Likewise.
6201 (exp2_test): Likewise.
6202 (expm1_test): Likewise.
6203 (expm1_test_tonearest): Likewise.
6204 (expm1_test_towardzero): Likewise.
6205 (expm1_test_downward): Likewise.
6206 (expm1_test_upward): Likewise.
6207 (fabs_test): Likewise.
6208 (fdim_test): Likewise.
6209 (floor_test): Likewise.
6210 (fma_test): Likewise.
6211 (fma_test_towardzero): Likewise.
6212 (fma_test_downward): Likewise.
6213 (fma_test_upward): Likewise.
6214 (fmax_test): Likewise.
6215 (fmin_test): Likewise.
6216 (fmod_test): Likewise.
6217 (fpclassify_test): Likewise.
6218 (frexp_test): Likewise.
6219 (hypot_test): Likewise.
6220 (ilogb_test): Likewise.
6221 (isfinite_test): Likewise.
6222 (finite_test): Likewise.
6223 (isgreater_test): Likewise.
6224 (isgreaterequal_test): Likewise.
6225 (isinf_test): Likewise.
6226 (isless_test): Likewise.
6227 (islessequal_test): Likewise.
6228 (islessgreater_test): Likewise.
6229 (isnan_test): Likewise.
6230 (isnormal_test): Likewise.
6231 (issignaling_test): Likewise.
6232 (isunordered_test): Likewise.
6233 (j0_test): Likewise.
6234 (j1_test): Likewise.
6235 (jn_test): Likewise.
6236 (ldexp_test): Likewise.
6237 (lgamma_test): Likewise.
6238 (gamma_test): Likewise.
6239 (lrint_test): Likewise.
6240 (lrint_test_tonearest): Likewise.
6241 (lrint_test_towardzero): Likewise.
6242 (lrint_test_downward): Likewise.
6243 (lrint_test_upward): Likewise.
6244 (llrint_test): Likewise.
6245 (llrint_test_tonearest): Likewise.
6246 (llrint_test_towardzero): Likewise.
6247 (llrint_test_downward): Likewise.
6248 (llrint_test_upward): Likewise.
6249 (log_test): Likewise.
6250 (log10_test): Likewise.
6251 (log1p_test): Likewise.
6252 (log2_test): Likewise.
6253 (logb_test): Likewise.
6254 (logb_test_downward): Likewise.
6255 (lround_test): Likewise.
6256 (llround_test): Likewise.
6257 (modf_test): Likewise.
6258 (nearbyint_test): Likewise.
6259 (nextafter_test): Likewise.
6260 (nexttoward_test): Likewise.
6261 (pow_test): Likewise.
6262 (pow_test_tonearest): Likewise.
6263 (pow_test_towardzero): Likewise.
6264 (pow_test_downward): Likewise.
6265 (pow_test_upward): Likewise.
6266 (remainder_test): Likewise.
6267 (drem_test): Likewise.
6268 (remainder_test_tonearest): Likewise.
6269 (drem_test_tonearest): Likewise.
6270 (remainder_test_towardzero): Likewise.
6271 (drem_test_towardzero): Likewise.
6272 (remainder_test_downward): Likewise.
6273 (drem_test_downward): Likewise.
6274 (remainder_test_upward): Likewise.
6275 (drem_test_upward): Likewise.
6276 (remquo_test): Likewise.
6277 (rint_test): Likewise.
6278 (rint_test_tonearest): Likewise.
6279 (rint_test_towardzero): Likewise.
6280 (rint_test_downward): Likewise.
6281 (rint_test_upward): Likewise.
6282 (round_test): Likewise.
6283 (scalb_test): Likewise.
6284 (scalbn_test): Likewise.
6285 (scalbln_test): Likewise.
6286 (signbit_test): Likewise.
6287 (sin_test): Likewise.
6288 (sin_test_tonearest): Likewise.
6289 (sin_test_towardzero): Likewise.
6290 (sin_test_downward): Likewise.
6291 (sin_test_upward): Likewise.
6292 (sincos_test): Likewise.
6293 (sinh_test): Likewise.
6294 (sinh_test_tonearest): Likewise.
6295 (sinh_test_towardzero): Likewise.
6296 (sinh_test_downward): Likewise.
6297 (sinh_test_upward): Likewise.
6298 (sqrt_test): Likewise.
6299 (sqrt_test_tonearest): Likewise.
6300 (sqrt_test_towardzero): Likewise.
6301 (sqrt_test_downward): Likewise.
6302 (sqrt_test_upward): Likewise.
6303 (tan_test): Likewise.
6304 (tan_test_tonearest): Likewise.
6305 (tan_test_towardzero): Likewise.
6306 (tan_test_downward): Likewise.
6307 (tan_test_upward): Likewise.
6308 (tanh_test): Likewise.
6309 (tgamma_test): Likewise.
6310 (trunc_test): Likewise.
6311 (y0_test): Likewise.
6312 (y1_test): Likewise.
6313 (yn_test): Likewise.
6314 (significand_test): Likewise.
6315
e6b6a857
JM
6316 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6317 individual tests in comment.
6318 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6319 (prev_max_error): New variable.
6320 (prev_real_max_error): Likewise.
6321 (prev_imag_max_error): Likewise.
6322 (compare_ulp_data): Don't refer to test names in comment.
6323 (find_test_ulps): Remove function.
6324 (find_function_ulps): Likewise.
6325 (find_complex_function_ulps): Likewise.
6326 (init_max_error): Take function name as argument. Look up ulps
6327 for that function.
6328 (print_ulps): Remove function.
6329 (print_max_error): Use prev_max_error instead of calling
6330 find_function_ulps.
6331 (print_complex_max_error): Use prev_real_max_error and
6332 prev_imag_max_error instead of calling find_complex_function_ulps.
6333 (check_float_internal): Take max_ulp parameter instead of calling
6334 find_test_ulps. Don't call print_ulps.
6335 (check_float): Update call to check_float_internal.
6336 (check_complex): Update calls to check_float_internal.
6337 (START): Pass argument to init_max_error.
6338 * math/gen-libm-test.pl (%results): Don't include "kind"
6339 information.
6340 (parse_ulps): Don't handle ulps of individual tests.
6341 (print_ulps_file): Likewise.
6342 (output_ulps): Likewise.
6343 * math/README.libm-test: Update.
6344 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6345 individual tests.
6346 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6347 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6348 * sysdeps/arm/libm-test-ulps: Likewise.
6349 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6350 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6351 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6352 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6353 * sysdeps/microblaze/libm-test-ulps: Likewise.
6354 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6355 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6356 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6357 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6358 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6359 * sysdeps/sh/libm-test-ulps: Likewise.
6360 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6361 * sysdeps/tile/libm-test-ulps: Likewise.
6362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6363
45adef3c
JM
63642014-03-04 Joseph Myers <joseph@codesourcery.com>
6365
6366 * math/libm-test.inc (print_complex_max_error): Check separately
6367 whether real and imaginary errors are within allowed range and
6368 pass 0 to print_complex_function_ulps instead of value within
6369 allowed range.
6370
000232b9
SP
63712014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6372
d4b17258
SP
6373 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6374 formatting.
6375 (get_handles_fopen): Likewise.
6376 (do_write_test): Likewise.
6377
091eff71
SP
6378 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6379
fa3cd248
SP
6380 * libio/fileops.c (do_ftell): Use cached offset when
6381 available.
6382 * libio/iofwide.c (do_ftell_wide): Likewise.
6383 * libio/iofdopen.c (_IO_new_fdopen): Don't use
6384 _IO_file_attach.
6385 * libio/wfileops.c (_IO_fwide): Don't cache offset.
6386
000232b9
SP
6387 [BZ #16532]
6388 * libio/libioP.h (get_file_offset): New function.
6389 * libio/fileops.c (get_file_offset): Likewise.
6390 (do_ftell): Likewise.
6391 (_IO_new_file_seekoff): Split out ftell logic.
6392 * libio/wfileops.c (do_ftell_wide): Likewise.
6393 (_IO_wfile_seekoff): Split out ftell logic.
6394 * libio/tst-ftell-active-handler.c: New test case.
6395 * libio/Makefile (tests): Add it.
6396
116f4d1a
RM
63972014-03-03 Roland McGrath <roland@hack.frob.com>
6398
6399 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6400 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6401
532a6035
SP
64022014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6403
6404 [BZ #16639]
6405 * nscd/connections.c (nscd_init): Call do_exit.
6406 (start_threads): Call do_exit and notify_parent.
6407 (begin_drop_privileges): Call do_exit.
6408 (finish_drop_privileges): Likewise.
6409 * nscd/selinux.c (preserve_capabilities): Likewise.
6410 (install_real_capabilities): Likewise.
6411 (nscd_selinux_enabled): Likewise.
6412 (avc_create_thread): Likewise.
6413 (avc_alloc_lock): Likewise.
6414 (nscd_avc_init): Likewise.
6415 * nscd/nscd.c (parent_fd): New static variable.
6416 (main): Create a pipe between parent and child processes.
6417 Skip closing parent_fd.
6418 (monitor_child): New function.
6419 (do_exit): Likewise.
6420 (notify_parent): Likewise.
6421 * nscd/nscd.h (notify_parent): Likewise.
6422 (do_exit): Likewise.
6423
d6285c9f
CD
64242014-03-03 Carlos O'Donell <carlos@redhat.com>
6425
6426 * malloc/malloc.c (__libc_calloc): Revert last change.
6427
2b85d2a0
AZ
64282014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6429
6430 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6431
c7debbdf
RS
64322014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6433
6434 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6435 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6436 implementation.
6437 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6438 (__libc_ifunc_impl_list): Likewise.
6439 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6440 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6441 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6442 * string/strrchr.c: Define STRRCHR.
6443
235eed86
OB
64442014-02-28 Ondřej Bílka <neleai@seznam.cz>
6445
6446 * benchtest/bench-strtok.c (simple_strtok): Delete.
6447 (strtok_string): Use as benchmark.
6448 * string/strtok (STRTOK): New macro.
6449
8e25d1e7
CD
64502014-02-28 Carlos O'Donell <carlos@redhat.com>
6451
ef563f92
CD
6452 * manual/threads.texi: Add header and standard comments to all
6453 functions.
6454
8e25d1e7
CD
6455 * elf/dl-lookup.c (check_match): New function.
6456 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6457 (do_lookup_x): Remove nested function check_match. Use non-nested
6458 function check_match.
6459
ff71cc37
RM
64602014-02-28 Roland McGrath <roland@hack.frob.com>
6461
f08e9a26
RM
6462 * csu/Makefile (generated, before-compile): Use += rather than =.
6463 * catgets/Makefile (generated, generated-dirs): Likewise.
6464 * debug/Makefile (generated): Likewise.
6465 * dlfcn/Makefile (generated): Likewise.
6466 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6467 * iconvdata/Makefile (before-compile, generated): Likewise.
6468 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6469 * libio/Makefile (generated): Likewise.
6470 * malloc/Makefile (generated): Likewise.
6471 * manual/Makefile (generated, generated-dirs): Likewise.
6472 * misc/Makefile (generated): Likewise.
6473 * posix/Makefile (generated): Likewise.
6474 * resolv/Makefile (generated): Likewise.
6475 * sunrpc/Makefile (generated, generated-dirs): Likewise.
6476 * timezone/Makefile (generated, generated-dirs): Likewise.
6477
ff71cc37
RM
6478 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6479
fe13a20c
AZ
64802014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6481
57f41c40
AS
6482 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6483 power8 implementation.
6484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6485 file: POWER8 llround ifunc implementation.
6486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6487 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
6488 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6489 POWER8 llround implementation.
6490
57f41c40
AS
6491 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6492 power8 implementation.
6493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6494 file: POWER8 llrint ifunc implementation.
6495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6496 Add POWER8 implementation.
1ad8950a
AZ
6497 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6498 POWER8 llrint implementation.
6499
57f41c40
AS
6500 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6501 power8 implementation.
6502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6503 file: POWER8 finite ifunc implementation.
6504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6505 Add POWER8 implementation.
cac626d6
AZ
6506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6507 Likewise.
6508 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6509 POWER8 finite implementation.
6510 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6511
57f41c40
AS
6512 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6513 power8 implementation.
6514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6515 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
6516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6517 POWER8 implementation.
6518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6519 Likewise.
57f41c40
AS
6520 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6521 isinf implementation.
4393fc11
AZ
6522 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6523
57f41c40
AS
6524 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6525 (INIT_ARCH): Add hwcap2 initialization.
6526 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6527 power8 implementation.
6528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6529 file: POWER8 isnan ifunc implementation.
487972ae
AZ
6530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6531 POWER8 implementation.
6532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6533 Likewise.
57f41c40
AS
6534 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6535 isnan implementation.
487972ae
AZ
6536 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6537
7d92b787
JY
65382014-02-27 Joey Ye <joey.ye@arm.com>
6539
6540 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6541 (_FP_NANFRAC_Q): Set to zero.
6542
1cadc858
SP
65432014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6544
6545 [BZ #16623]
6546 * math/auto-libm-test-in: New test inputs.
6547 * math/auto-libm-test-out: Regenerate.
6548 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6549 and DA.
6550 (__cos): Likewise.
6551 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6552
f8c17e79
JM
65532014-02-27 Joseph Myers <joseph@codesourcery.com>
6554
6555 * scripts/evaluate-test.sh: Take new argument indicating whether
6556 failure is expected.
6557 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6558 indicating whether failure is expected.
6559 * conform/Makefile (test-xfail-run-conformtest): New variable.
6560 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6561 level.
6562 * posix/Makefile (test-xfail-annexc): New variable.
6563 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6564
a5f891ac
JM
65652014-02-26 Joseph Myers <joseph@codesourcery.com>
6566
6567 * argp/Makefile: Include Makeconfig immediately after defining
6568 subdir.
6569 * assert/Makefile: Likewise.
6570 * benchtests/Makefile: Likewise.
6571 * catgets/Makefile: Likewise.
6572 * conform/Makefile: Likewise.
6573 * crypt/Makefile: Likewise.
6574 * csu/Makefile: Likewise.
6575 (all): Remove target.
6576 * ctype/Makefile: Include Makeconfig immediately after defining
6577 subdir.
6578 * debug/Makefile: Likewise.
6579 * dirent/Makefile: Likewise.
6580 * dlfcn/Makefile: Likewise.
6581 * gmon/Makefile: Likewise.
6582 * gnulib/Makefile: Likewise.
6583 * grp/Makefile: Likewise.
6584 * gshadow/Makefile: Likewise.
6585 * hesiod/Makefile: Likewise.
6586 * hurd/Makefile: Likewise.
6587 (all): Remove target.
6588 * iconvdata/Makefile: Include Makeconfig immediately after
6589 defining subdir.
6590 * inet/Makefile: Likewise.
6591 * intl/Makefile: Likewise.
6592 * io/Makefile: Likewise.
6593 * libio/Makefile: Likewise.
6594 (all): Remove target.
6595 * locale/Makefile: Include Makeconfig immediately after defining
6596 subdir.
6597 * login/Makefile: Likewise.
6598 * mach/Makefile: Likewise.
6599 (all): Remove target.
6600 * malloc/Makefile: Include Makeconfig immediately after defining
6601 subdir.
6602 (all): Remove target.
6603 * manual/Makefile: Include Makeconfig immediately after defining
6604 subdir.
6605 * math/Makefile: Likewise.
6606 * misc/Makefile: Likewise.
6607 * nis/Makefile: Likewise.
6608 * nss/Makefile: Likewise.
6609 * po/Makefile: Likewise.
6610 (all): Remove target.
6611 * posix/Makefile: Include Makeconfig immediately after defining
6612 subdir.
6613 * pwd/Makefile: Likewise.
6614 * resolv/Makefile: Likewise.
6615 * resource/Makefile: Likewise.
6616 * rt/Makefile: Likewise.
6617 * setjmp/Makefile: Likewise.
6618 * shadow/Makefile: Likewise.
6619 * signal/Makefile: Likewise.
6620 * socket/Makefile: Likewise.
6621 * soft-fp/Makefile: Likewise.
6622 * stdio-common/Makefile: Likewise.
6623 * stdlib/Makefile: Likewise.
6624 * streams/Makefile: Likewise.
6625 * string/Makefile: Likewise.
6626 * sunrpc/Makefile: Likewise.
6627 (all): Remove target.
6628 * sysvipc/Makefile: Include Makeconfig immediately after defining
6629 subdir.
6630 * termios/Makefile: Likewise.
6631 * time/Makefile: Likewise.
6632 * timezone/Makefile: Likewise.
6633 (all): Remove target.
6634 * wcsmbs/Makefile: Include Makeconfig immediately after defining
6635 subdir.
6636 * wctype/Makefile: Likewise.
6637
5b456e9d
SE
66382014-02-26 Steve Ellcey <sellcey@mips.com>
6639
6640 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6641 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6642 (libc_feholdexcept_setround_mips): Ditto.
6643 (libc_feholdsetround): New.
6644 (libc_feholdsetroundf): New.
6645 (libc_feholdsetroundl): New.
6646 (libc_feupdateenv_test_mips): New.
6647 (libc_feupdateenv_test): New.
6648 (libc_feupdateenv_testf): New.
6649 (libc_feupdateenv_testl): New.
6650 (libc_feresetround): New.
6651 (libc_feresetroundf): New.
6652 (libc_feresetroundl): New.
6653 (libc_fetestexcept_mips): New.
6654 (libc_fetestexcept): New.
6655 (libc_fetestexceptf): New.
6656 (libc_fetestexceptl): New.
6657 (HAVE_RM_CTX): New.
6658 (libc_feholdexcept_setround_mips_ctx): New.
6659 (libc_feholdexcept_setround_ctx): New.
6660 (libc_feholdexcept_setroundf_ctx): New.
6661 (libc_feholdexcept_setroundl_ctx): New.
6662 (libc_fesetenv_mips_ctx): New.
6663 (libc_fesetenv_ctx): New.
6664 (libc_fesetenv_ctxf): New.
6665 (libc_fesetenv_ctxl): New.
6666 (libc_feupdateenv_mips_ctx): New.
6667 (libc_feupdateenv_ctx): New.
6668 (libc_feupdateenvf_ctx): New.
6669 (libc_feupdateenvl_ctx): New.
6670 (libc_feholdsetround_mips_ctx): New.
6671 (libc_feholdsetround_ctx): New.
6672 (libc_feholdsetroundf_ctx): New.
6673 (libc_feholdsetroundl_ctx): New.
6674 (libc_feresetround_mips_ctx): New.
6675 (libc_feresetround_ctx): New.
6676 (libc_feresetroundf_ctx): New.
6677 (libc_feresetroundl_ctx): New.
6678
085d0e35
CD
66792014-02-26 Carlos O'Donell <carlos@redhat.com>
6680
f067bf1f
CD
6681 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6682
085d0e35
CD
6683 * manual/ipc.texi: New file.
6684 * manual/Makefile (chapters): Add ipc.
6685 * manual/job.texi: Add "Inter-Process Communication" to next.
6686 * manual/process.texi: Add "Inter-Process Communication" to prev.
6687
86e58c08
AZ
66882014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6689
6690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6691
4248f0da
OB
66922014-02-26 Ondřej Bílka <neleai@seznam.cz>
6693
6694 * malloc/malloc.c (__libc_calloc): Simplify implementation.
6695
cf822e3c
OB
6696 * manual/arith.texi: Fix spaces after sentences.
6697 * manual/charset.texi: Likewise.
6698 * manual/errno.texi: Likewise.
6699 * manual/install.texi: Likewise.
6700 * manual/llio.texi: Likewise.
6701 * manual/locale.texi: Likewise.
6702 * manual/maint.texi: Likewise.
6703 * manual/math.texi: Likewise.
6704 * manual/memory.texi: Likewise.
6705 * manual/message.texi: Likewise.
6706 * manual/probes.texi: Likewise.
6707 * manual/resource.texi: Likewise.
6708 * manual/signal.texi: Likewise.
6709 * manual/socket.texi: Likewise.
6710 * manual/stdio.texi: Likewise.
6711 * manual/string.texi: Likewise.
6712 * manual/time.texi: Likewise.
6713 * manual/users.texi: Likewise.
6714
ade40b10
CD
67152014-02-25 Carlos O'Donell <carlos@redhat.com>
6716
6717 [BZ #16632]
6718 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6719 _DEFAULT_SOURCE is defined.
6720
d0503676
CD
67212014-02-25 Ulrich Drepper <drepper@gmail.com>
6722 Carlos O'Donell <carlos@redhat.com>
6723
6724 [BZ #16613]
6725 * elf/dl-tls.c (_dl_count_modids): New function.
6726 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6727 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6728 audit library and increment generation counter.
6729 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6730 * elf/tst-audit9.c: New file.
6731 * elf/tst-auditmod9a.c: New file.
6732 * elf/tst-auditmod9b.c: New file.
6733 * elf/Makefile: Add rules to build and run tst-audit9.
6734
4cbf380c
FW
67352014-02-25 Florian Weimer <fweimer@redhat.com>
6736
6737 [BZ #15347]
6738 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6739
80a56cc3
WN
67402014-02-25 Will Newton <will.newton@linaro.org>
6741
6742 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6743 (__longjmp): Restore sp and lr before restoring callee
6744 saved registers. Add longjmp and longjmp_target
6745 SystemTap probe point.
6746 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6747 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6748 Define to zero to match jmpbuf layout.
6749 * sysdeps/arm/setjmp.S: Include stap-probe.h.
6750 (__sigsetjmp): Save sp and lr before saving callee
6751 saved registers. Add setjmp SystemTap probe point.
6752
3ea0f74e
SL
67532014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6754
6755 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6756
b04acb26
AS
67572014-02-24 Andreas Schwab <schwab@suse.de>
6758
6759 [BZ #15804]
6760 * elf/pldd.c (wait_for_ptrace_stop): New function.
6761 (main): Call it after attaching.
6762
098ad55c
RM
67632014-02-22 Roland McGrath <roland@hack.frob.com>
6764
d4ec6ae1
RM
6765 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6766 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6767 Versions files is now verboten.
6768 * hurd/Versions (libc: GLIBC_2.0):
6769 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6770 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6771 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6772 * mach/Versions: Likewise.
6773
098ad55c
RM
6774 * csu/Versions: Remove unused %include.
6775 * resolv/Versions: Likewise.
6776
acd7f096
JM
67772014-02-21 Joseph Myers <joseph@codesourcery.com>
6778
f0881698
JM
6779 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6780 ($(objpfx)check-local-headers.out): Likewise.
6781 ($(objpfx)begin-end-check.out): Likewise.
6782 * Makerules (check-abi-%.out): Likewise.
6783 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6784 ($(objpfx)test2.cat): Likewise.
6785 ($(objpfx)de/libc.cat): Likewise.
6786 ($(objpfx)test-gencat.out): Likewise.
6787 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6788 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6789 ($(objpfx)noload-mem): Likewise.
6790 ($(objpfx)tst-pathopt.out): Likewise.
6791 ($(objpfx)tst-rtld-load-self.out): Likewise.
6792 ($(objpfx)tst-array1-cmp.out): Likewise.
6793 ($(objpfx)tst-array1-static-cmp.out): Likewise.
6794 ($(objpfx)tst-array2-cmp.out): Likewise.
6795 ($(objpfx)tst-array3-cmp.out): Likewise.
6796 ($(objpfx)tst-array4-cmp.out): Likewise.
6797 ($(objpfx)tst-array5-cmp.out): Likewise.
6798 ($(objpfx)tst-array5-static-cmp.out): Likewise.
6799 ($(objpfx)check-textrel.out): Likewise.
6800 ($(objpfx)check-execstack.out): Likewise.
6801 ($(objpfx)check-localplt.out): Likewise.
6802 ($(objpfx)order2-cmp.out): Likewise.
6803 ($(objpfx)tst-leaks1-mem): Likewise.
6804 ($(objpfx)tst-leaks1-static-mem): Likewise.
6805 ($(objpfx)tst-initorder-cmp.out): Likewise.
6806 ($(objpfx)tst-initorder2-cmp.out): Likewise.
6807 ($(objpfx)tst-unused-dep.out): Likewise.
6808 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6809 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6810 * iconv/Makefile (test-iconvconfig): Likewise.
6811 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6812 ($(objpfx)iconv-test.out): Likewise.
6813 ($(objpfx)tst-tables.out): Likewise.
6814 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6815 ($(objpfx)tst-gettext.out): Likewise.
6816 ($(objpfx)tst-translit.out): Likewise.
6817 ($(objpfx)tst-gettext2.out): Likewise.
6818 ($(objpfx)tst-gettext4.out): Likewise.
6819 ($(objpfx)tst-gettext6.out): Likewise.
6820 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6821 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6822 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6823 ($(objpfx)tst-fopenloc-mem.out): Likewise.
6824 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6825 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6826 * posix/Makefile ($(objpfx)globtest.out): Likewise.
6827 ($(objpfx)wordexp-tst.out): Likewise.
6828 ($(objpfx)annexc.out): Likewise.
6829 ($(objpfx)tst-fnmatch-mem): Likewise.
6830 ($(objpfx)bug-regex2-mem): Likewise.
6831 ($(objpfx)bug-regex14-mem): Likewise.
6832 ($(objpfx)bug-regex21-mem): Likewise.
6833 ($(objpfx)bug-regex31-mem): Likewise.
6834 ($(objpfx)tst-vfork3-mem): Likewise.
6835 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6836 ($(objpfx)tst-pcre-mem): Likewise.
6837 ($(objpfx)tst-boost-mem): Likewise.
6838 ($(objpfx)tst-getconf.out): Likewise.
6839 ($(objpfx)bug-ga2-mem): Likewise.
6840 ($(objpfx)bug-glob2-mem): Likewise.
6841 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6842 ($(objpfx)mtrace-tst-leaks2): Likewise.
6843 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6844 ($(objpfx)tst-printf.out): Likewise.
6845 ($(objpfx)tst-setvbuf1.out): Likewise.
6846 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6847 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6848 ($(objpfx)tst-fmtmsg.out): Likewise.
6849 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6850 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6851
acd7f096
JM
6852 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6853 * bits/sigaction.h [__USE_MISC]: Likewise.
6854 * bits/waitstatus.h: Update #endif comments.
6855 * ctype/ctype.h: Likewise.
6856 * dirent/dirent.h: Likewise.
6857 [__USE_MISC]: Remove redundant conditionals.
6858 * grp/grp.h: Update #endif comments.
6859 [__USE_GNU]: Remove redundant conditionals.
6860 [__USE_MISC]: Likewise.
6861 * inet/netinet/in.h [__USE_GNU]: Likewise.
6862 * io/sys/stat.h [__USE_MISC]: Likewise.
6863 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6864 * libio/bits/stdio.h: Update #endif comments.
6865 [__USE_MISC]: Remove redundant conditionals.
6866 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6867 * libio/stdio.h: Update #endif comments.
6868 [__USE_MISC]: Remove redundant conditionals.
6869 * math/bits/math-finite.h [__USE_MISC]: Likewise.
6870 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6871 * math/math.h: Update #else and #endif comments.
6872 [__USE_MISC]: Remove redundant conditionals.
6873 * misc/sys/uio.h: Update #endif comments.
6874 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6875 * posix/glob.h [__USE_MISC]: Likewise.
6876 * posix/sys/types.h: Update #endif comments.
6877 [__USE_MISC]: Remove redundant conditionals.
6878 * posix/sys/wait.h: Update #endif comments.
6879 [__USE_MISC]: Remove redundant conditionals.
6880 * posix/unistd.h: Update #endif comments.
6881 [__USE_MISC]: Remove redundant conditionals.
6882 * pwd/pwd.h [__USE_GNU]: Likewise.
6883 [__USE_MISC]: Likewise.
6884 * resolv/netdb.h [__USE_GNU]: Likewise.
6885 * signal/signal.h: Update #endif comments.
6886 [__USE_MISC]: Remove redundant conditionals.
6887 * stdlib/stdlib.h: Update #else and #endif comments.
6888 [__USE_MISC]: Remove redundant conditionals.
6889 [__USE_GNU]: Likewise.
6890 * string/bits/string2.h [__USE_MISC]: Likewise.
6891 * string/string.h: Update #endif comments.
6892 [__USE_MISC]: Remove redundant conditionals.
6893 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6894 Likewise.
6895 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6896 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6897 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6898 Likewise.
6899 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6900 Likewise.
6901 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6902 comments.
6903 [__USE_MISC]: Remove redundant conditionals.
6904 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6905 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6906 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6907 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6908 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6909 Likewise.
6910 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6911 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6912 Likewise.
6913 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6914 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6915 Likewise.
6916 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6917 Likewise.
6918 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6919 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6920 Likewise.
6921 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6922 Likewise.
6923 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6924 * sysdeps/x86/bits/string.h: Update #endif comments.
6925 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6926 conditionals.
6927 * time/sys/time.h: Update #endif comments.
6928 * time/time.h: Likewise.
6929 [__USE_MISC]: Remove redundant conditionals.
6930
a5d82e4e
YG
69312014-02-21 Yury Gribov <y.gribov@samsung.com>
6932
6933 [BZ #16600]
6934 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6935
9a80491d
AS
69362014-02-21 Andreas Schwab <schwab@linux-m68k.org>
6937
6938 * Versions.def (librt): Add GLIBC_2.17.
6939
105fa381
AC
69402014-02-21 Adam Conrad <adconrad@0c3.net>
6941
6942 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6943 synonym for _SYS_AUXV_H to allow direct inclusion.
6944 * sysdeps/sparc/bits/hwcap.h: Likewise.
6945 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6946 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6947 * sysdeps/sparc/sysdep.h: Likewise.
6948
b8cd1c4e
SP
69492014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6950
6951 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6952
bd939d23
RS
69532014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6954
6955 * benchtests/bench-strrchr.c: Print length instead of position.
6956
5d7b57ca
JM
69572014-02-20 Joseph Myers <joseph@codesourcery.com>
6958
bc688c10
JM
6959 [BZ #16611]
6960 * sysdeps/unix/sysv/linux/kernel-features.h
6961 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6962 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6963 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6964 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6965 Likewise.
6966 [__i386__ || __powerpc__ || __sh__ || __sparc__]
6967 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6968 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6969 (__ASSUME_SENDMMSG): Define instead of using previous
6970 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6971 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6972 (__ASSUME_SENDMMSG_SYSCALL): Define.
6973 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6974 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6975 Likewise.
6976 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6977 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6978 Likewise.
6979 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6980 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6981 Likewise.
6982 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6983 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6984 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6985 [__ASSUME_SENDMMSG]: Change conditionals to
6986 [__ASSUME_SENDMMSG_SOCKETCALL].
6987 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6988 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6989 Define.
6990 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6991 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6992 Likewise.
6993 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6994 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6995 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6996 [!__ASSUME_SENDMMSG]: Change conditional to
6997 [!__ASSUME_SENDMMSG_SOCKETCALL].
6998 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6999 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7000 Define.
7001
0e31b18c
JM
7002 [BZ #16610]
7003 * sysdeps/unix/sysv/linux/kernel-features.h
7004 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
7005 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
7006 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
7007 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
7008 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7009 [__i386__ || __sparc__]
7010 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7011 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
7012 (__ASSUME_RECVMMSG): Define instead of using previous
7013 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7014 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7015 (__ASSUME_RECVMMSG_SYSCALL): Define.
7016 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7017 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7018 Likewise.
7019 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7020 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7021 Likewise.
7022 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7023 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7024 Likewise.
7025 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7026 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7027 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7028 [__ASSUME_RECVMMSG]: Change condition to
7029 [__ASSUME_RECVMMSG_SOCKETCALL].
7030 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7031 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7032 Define.
7033 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7034 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7035 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7036 Likewise.
7037 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7038 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7039 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7040 [!__ASSUME_RECVMMSG]: Change condition to
7041 [!__ASSUME_RECVMMSG_SOCKETCALL].
7042 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7043 (__ASSUME_RECVMMSG_SYSCALL): Define.
7044
dd481ccf
JM
7045 [BZ #16609]
7046 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7047 __powerpc__ || __s390__ || __sh__ || __sparc__]
7048 (__ASSUME_SOCKETCALL): Define.
7049 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7050 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7051 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7052 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7053 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7054 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7055 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7056 (__ASSUME_ACCEPT4): Define instead of using previous
7057 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7058 __powerpc__ || __sparc__ || __s390__)] condition.
7059 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7060 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7061 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7062 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7063 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7064 [!__ASSUME_ACCEPT4]: Change condition to
7065 [!__ASSUME_ACCEPT4_SOCKETCALL].
7066 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7067 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
7068 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7069 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7070 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7071 __ASSUME_ACCEPT4_SYSCALL.
7072 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7073 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7074 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7075 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7076 __ASSUME_ACCEPT4_SYSCALL.
7077 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7078 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7079 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7080 [__ASSUME_ACCEPT4]: Change condition to
7081 [__ASSUME_ACCEPT4_SOCKETCALL].
7082 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7083 (__ASSUME_SOCKETCALL): Define.
7084 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7085 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7086 (__ASSUME_SOCKETCALL): Define.
7087 (__ASSUME_ACCEPT4): Remove.
7088 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7089 Define.
7090 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7091 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7092 Likewise.
7093 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7094 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7095
5d7b57ca
JM
7096 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7097 macro.
7098 (HWCAP_ARM_LPAE): Likewise.
7099 (HWCAP_ARM_EVTSTRM): Likewise.
7100 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7101 Add vpfd32, lpae and evtstrm.
7102 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7103 Increase to 22.
7104
63689d61
JM
71052014-02-19 Joseph Myers <joseph@codesourcery.com>
7106
7107 * math/auto-libm-test-in: Add tests of clog10.
7108 * math/auto-libm-test-out: Regenerated.
7109 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7110 * sysdeps/i386/fpu/libm-test-ulps: Update.
7111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7112
ab09bf61
AS
71132014-02-18 Andreas Schwab <schwab@suse.de>
7114
7115 [BZ #16574]
7116 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7117 Store non-zero if the second buffer was newly allocated.
7118 (send_dg): Likewise.
7119 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7120 to send_vc and send_dg.
7121 (res_nsend): Pass NULL for ansp2_malloced.
7122 * resolv/res_query.c (__libc_res_nquery): Add parameter
7123 answerp2_malloced and pass it down to __libc_res_nsend.
7124 (res_nquery): Pass additional NULL to __libc_res_nquery.
7125 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7126 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
7127 second answer buffer if answerp2_malloced was set.
7128 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7129 (__libc_res_nquerydomain): Add parameter
7130 answerp2_malloced and pass it down to __libc_res_nquery.
7131 (res_nquerydomain): Pass additional NULL to
7132 __libc_res_nquerydomain.
7133 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7134 additional NULL to __libc_res_nsend and __libc_res_nquery.
7135 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7136 additional NULL to __libc_res_nsearch.
7137 (_nss_dns_gethostbyname4_r): Revert last change. Use new
7138 parameter of __libc_res_nsearch to check for separately allocated
7139 second buffer.
7140 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7141 __libc_res_nquery.
7142 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7143 additional NULL to __libc_res_nquery.
7144 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7145 __libc_res_nsearch.
7146 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7147 * include/resolv.h: Update prototypes of __libc_res_nquery,
7148 __libc_res_nsearch, __libc_res_nsend.
7149
a4fb7861
JM
71502014-02-18 Joseph Myers <joseph@codesourcery.com>
7151
c6af2d89
JM
7152 * math/auto-libm-test-in: Add tests of fma.
7153 * math/auto-libm-test-out: Regenerated.
7154 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7155 (fma_towardzero_test_data): Likewise.
7156 (fma_downward_test_data): Likewise.
7157 (fma_upward_test_data): Likewise.
7158 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7159 mpc_mode.
7160 (rounding_modes): Add values for new field.
7161 (func_calc_method): Add value mpfr_fff_f.
7162 (func_calc_desc): Add mpfr_fff_f union field.
7163 (test_function): Add field exact_args.
7164 (FUNC): Add macro argument EXACT_ARGS.
7165 (FUNC_mpfr_f_f): Update call to FUNC.
7166 (FUNC_mpfr_f_f): Likewise.
7167 (FUNC_mpfr_ff_f): Likewise.
7168 (FUNC_mpfr_if_f): Likewise.
7169 (FUNC_mpc_c_f): Likewise.
7170 (FUNC_mpc_c_c): Likewise.
7171 (test_functions): Add fma. Update calls to FUNC.
7172 (handle_input_arg): Add argument exact_args.
7173 (add_test): Update call to handle_input_arg.
7174 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
7175 (output_for_one_input_case): Update call to calc_generic_results.
7176 Recalculate exact zero results in each rounding mode.
7177
a4fb7861
JM
7178 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7179 non-negative before setting low bit.
7180 * math/auto-libm-test-in: Mark one asin test possibly having
7181 spurious underflow.
7182 * math/auto-libm-test-out: Regenerated.
7183 * sysdeps/i386/fpu/libm-test-ulps: Update.
7184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7185
ef114eaf
DH
71862014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
7187
2b7f4f2c
SP
7188 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7189 * sysdeps/unix/sysv/linux/microblaze: Move directory from
7190 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
7191 * README: Add missing listing for microblaze*-*-linux-gnu.
7192
c70a4b1d
MF
71932014-02-16 Mike Frysinger <vapier@gentoo.org>
7194
7195 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7196 * sysdeps/unix/sysv/linux/ia64: Move directory from
7197 ports/sysdeps/unix/sysv/linux/ia64.
7198 * README: Update listing for ia64-*-linux-gnu.
7199
591aeaf7
TD
72002014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
7201 Joseph Myers <joseph@codesourcery.com>
7202
7203 * Makeconfig (test-name): New variable.
7204 (evaluate-test): Likewise.
7205 * Makerules (do-test-clean): Remove .test-result files.
7206 (common-mostlyclean): Likewise.
7207 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7208 * scripts/evaluate-test.sh: New file.
7209
6e89caf1
JM
72102014-02-14 Joseph Myers <joseph@codesourcery.com>
7211
7f98f180
JM
7212 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7213 separate $(objpfx)tst-fopenloc-cmp.out and
7214 $(objpfx)tst-fopenloc-mem.out targets.
7215 (tests): Update dependencies.
7216 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7217 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7218 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7219 (tst-rxspencer-no-utf8-ARGS): New variable.
7220 (tst-rxspencer-no-utf8-ENV): Likewise.
7221 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7222 instead of $(objpfx)tst-rxspencer-mem.
7223 ($(objpfx)tst-rxspencer-mem): Change target to
7224 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
7225 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7226 * posix/tst-rxspencer-no-utf8.c: New file.
7227
6e89caf1
JM
7228 * elf/Makefile ($(objpfx)order.out): Remove rule.
7229 [$(run-built-tests) = yes] (tests): Depend on
7230 $(objpfx)order-cmp.out.
7231 ($(objpfx)order-cmp.out): New rule.
7232 [$(run-built-tests) = yes] (tests): Depend on
7233 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7234 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7235 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7236 $(objpfx)tst-array5-static-cmp.out.
7237 ($(objpfx)tst-array1.out): Remove rule.
7238 ($(objpfx)tst-array1-cmp.out): New rule.
7239 ($(objpfx)tst-array1-static.out): Remove rule.
7240 ($(objpfx)tst-array1-static-cmp.out): New rule.
7241 ($(objpfx)tst-array2.out): Remove rule.
7242 ($(objpfx)tst-array2-cmp.out): New rule.
7243 ($(objpfx)tst-array3.out): Remove rule.
7244 ($(objpfx)tst-array3-cmp.out): New rule.
7245 ($(objpfx)tst-array4.out): Remove rule.
7246 ($(objpfx)tst-array4-cmp.out): New rule.
7247 ($(objpfx)tst-array5.out): Remove rule.
7248 ($(objpfx)tst-array5-cmp.out): New rule.
7249 ($(objpfx)tst-array5-static.out): Remove rule.
7250 ($(objpfx)tst-array5-static-cmp.out): New rule.
7251 [$(run-built-tests) = yes] (tests): Depend on
7252 $(objpfx)order2-cmp.out.
7253 ($(objpfx)order2.out): Remove rule.
7254 ($(objpfx)order2-cmp.out): New rule.
7255 ($(objpfx)tst-initorder.out): Remove rule.
7256 [$(run-built-tests) = yes] (tests): Depend on
7257 $(objpfx)tst-initorder-cmp.out.
7258 ($(objpfx)tst-initorder-cmp.out): New rule.
7259 ($(objpfx)tst-initorder2.out): Remove rule.
7260 [$(run-built-tests) = yes] (tests): Depend on
7261 $(objpfx)tst-initorder2-cmp.out.
7262 ($(objpfx)tst-initorder2-cmp.out): New rule.
7263 [$(run-built-tests) = yes] (tests): Depend on
7264 $(objpfx)tst-unused-dep-cmp.out.
7265 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7266 ($(objpfx)tst-unused-dep-cmp.out): New rule.
7267 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7268 on $(objpfx)tst-setvbuf1-cmp.out.
7269 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7270 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7271 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7272 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7273 ($(objpfx)tst-svc.out): Remove rule.
7274 ($(objpfx)tst-svc-cmp.out): New rule.
7275
ed9a38e2
JM
72762014-02-13 Joseph Myers <joseph@codesourcery.com>
7277
7278 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7279 * ctype/ctype.h [__USE_MISC]: Likewise.
7280 * dirent/dirent.h [__USE_MISC]: Likewise.
7281 * grp/grp.h [__USE_MISC]: Likewise.
7282 * io/fcntl.h [__USE_MISC]: Likewise.
7283 * io/sys/stat.h [__USE_MISC]: Likewise.
7284 * libio/stdio.h [__USE_MISC]: Likewise.
7285 * posix/unistd.h [__USE_MISC]: Likewise.
7286 * pwd/pwd.h [__USE_MISC]: Likewise.
7287 * stdlib.h [__USE_MISC]: Likewise.
7288 * string/bits/string2.h [__USE_MISC]: Likewise.
7289 * string/string.h [__USE_MISC]: Likewise.
7290 * time/time.h [__USE_MISC]: Likewise.
7291
d6680619
AS
72922014-02-13 Andreas Schwab <schwab@suse.de>
7293
7294 [BZ #16574]
7295 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7296 second answer buffer if it was separately allocated.
7297
ace614b8
JM
72982014-02-12 Joseph Myers <joseph@codesourcery.com>
7299
743151ae
JM
7300 * sysdeps/mips/math-tests.h: Include <features.h>.
7301 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7302 (ROUNDING_TESTS_long_double): Do not define.
7303 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7304 (EXCEPTION_TESTS_long_double): Likewise.
7305 * sysdeps/mips/mips64/libm-test-ulps: Update.
7306
498afc54
JM
7307 * include/features.h (__USE_BSD): Remove macro definitions.
7308 (__USE_SVID): Likewise.
7309 (_BSD_SOURCE): Likewise.
7310 (_SVID_SOURCE): Likewise.
7311 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7312 from definition of _DEFAULT_SOURCE.
7313 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7314 [_DEFAULT_SOURCE].
7315 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7316 * bits/mman.h [__USE_BSD]: Likewise.
7317 * bits/termios.h [__USE_BSD]: Likewise.
7318 * bits/waitstatus.h [__USE_BSD]: Likewise.
7319 * ctype/ctype.h [__USE_SVID]: Likewise.
7320 * dirent/dirent.h [__USE_BSD]: Likewise.
7321 * grp/grp.h [__USE_SVID]: Likewise.
7322 [__USE_BSD]: Likewise.
7323 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7324 * io/fcntl.h [__USE_BSD]: Likewise.
7325 * io/ftw.h [__USE_BSD]: Likewise.
7326 * io/sys/stat.h [__USE_BSD]: Likewise.
7327 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7328 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7329 * libio/stdio.h [__USE_SVID]: Likewise.
7330 [__USE_BSD]: Likewise.
7331 * math/math.h [__USE_SVID]: Likewise.
7332 [__USE_BSD]: Likewise.
7333 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7334 * misc/bits/syslog.h [__USE_BSD]: Likewise.
7335 * misc/search.h [__USE_SVID]: Likewise.
7336 * misc/sys/mman.h [__USE_BSD]: Likewise.
7337 * misc/sys/syslog.h [__USE_BSD]: Likewise.
7338 * misc/sys/uio.h [__USE_BSD]: Likewise.
7339 * posix/bits/unistd.h [__USE_BSD]: Likewise.
7340 * posix/glob.h [__USE_BSD]: Likewise.
7341 * posix/regex.h [__USE_BSD]: Likewise.
7342 * posix/sys/types.h [__USE_BSD]: Likewise.
7343 [__USE_SVID]: Likewise.
7344 * posix/sys/utsname.h [__USE_SVID]: Likewise.
7345 * posix/sys/wait.h [__USE_BSD]: Likewise.
7346 [__USE_SVID]: Likewise.
7347 * posix/unistd.h [__USE_BSD]: Likewise.
7348 [__USE_SVID]: Likewise.
7349 * pwd/pwd.h [__USE_SVID]: Likewise.
7350 * resolv/netdb.h [__USE_BSD]: Likewise.
7351 * setjmp/setjmp.h [__USE_BSD]: Likewise.
7352 * signal/signal.h [__USE_BSD]: Likewise.
7353 [__USE_SVID]: Likewise.
7354 * socket/sys/socket.h [__USE_BSD]: Likewise.
7355 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7356 * stdlib/stdlib.h [__USE_BSD]: Likewise.
7357 [__USE_SVID]: Likewise.
7358 * string/bits/string2.h [__USE_BSD]: Likewise.
7359 [__USE_SVID]: Likewise.
7360 * string/bits/string3.h [__USE_BSD]: Likewise.
7361 * string/endian.h [__USE_BSD]: Likewise.
7362 * string/string.h [__USE_SVID]: Likewise.
7363 [__USE_BSD]: Likewise.
7364 * string/strings.h [__USE_BSD]: Likewise.
7365 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7366 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7367 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7368 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7369 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7370 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7371 Likewise.
7372 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7373 Likewise.
7374 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7375 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7376 Likewise.
7377 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7378 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7379 Likewise.
7380 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7381 Likewise.
7382 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7383 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7384 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7385 Likewise.
7386 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7387 Likewise.
7388 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7389 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7390 * termios/termios.h [__USE_BSD]: Likewise.
7391 * time/sys/time.h [__USE_BSD]: Likewise.
7392 * time/time.h [__USE_BSD]: Likewise.
7393 [__USE_SVID]: Likewise.
7394
dd7b064c
JM
7395 * Makefile (subdir_targets): Remove subdir_lint.out.
7396
a2c4c199
JM
7397 * stdio-common/Makefile (do-tst-unbputc): Remove target.
7398 (do-tst-printf): Likewise.
7399 (tests): Depend directly on $(objpfx)tst-unbputc.out and
7400 $(objpfx)tst-printf.out.
7401
8756f740
JM
7402 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7403
1b6dd3f1
JM
7404 * Makerules (check-abi-%): Change target to
7405 $(objpfx)check-abi-%.out.
7406 (check-abi target): Update dependencies.
7407 (check-abi-pattern variable): Redirect output of diff to $@.
7408 (check-abi variable): Likewise.
7409 * elf/Makefile (check-abi): Update dependencies.
7410
ace614b8
JM
7411 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7412 unused.
7413 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7414 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7415 subnormal range.
7416 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7417 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7418 value has largest subnormal exponent.
7419 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7420 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7421 * sysdeps/aarch64/soft-fp/sfp-machine.h
7422 (_FP_TININESS_AFTER_ROUNDING): New macro.
7423 * sysdeps/alpha/soft-fp/sfp-machine.h
7424 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7425 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7426 Likewise.
7427 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7428 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7429 * sysdeps/mips/soft-fp/sfp-machine.h
7430 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7431 * sysdeps/powerpc/soft-fp/sfp-machine.h
7432 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7433 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7434 Likewise.
7435 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7436 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7437 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7438 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7439 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7440 Likewise.
7441
fbfdf9cb
DAS
74422014-02-12 Dylan Alex Simon <dylan@dylex.net>
7443
7444 [BZ #16545]
7445 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7446 model 1.
7447
68b7efaa
RH
74482014-02-12 Richard Henderson <rth@redhat.com>
7449
c70a4b1d 7450 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
7451 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7452 * sysdeps/unix/sysv/linux/alpha: Move directory from
7453 ports/sysdeps/unix/sysv/linux/alpha.
7454 * README: Update listing for alpha-*-linux-gnu.
7455
cb4a2928
JM
74562014-02-11 Joseph Myers <joseph@codesourcery.com>
7457
c941736c
JM
7458 * include/features.h: Update comment documenting feature test
7459 macros.
7460 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
7461 _DEFAULT_SOURCE.
7462 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7463 (_SVID_SOURCE): Likewise.
7464 (_DEFAULT_SOURCE): Update description of default features.
7465 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7466 with _GNU_SOURCE.
7467 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7468 (S_ISVTX): Likewise.
7469 * manual/math.texi (Mathematical Constants): Likewise.
7470 * manual/signal.texi (Interrupted Primitives): Likewise.
7471 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7472 * math/test-matherr.c (_SVID_SOURCE): Do not define.
7473 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7474 Don't refer to _SVID_SOURCE in warning text.
7475
e8d8d7ec
JM
7476 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7477
cb4a2928
JM
7478 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7479 already defined.
7480 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7481 * sysdeps/mips/dl-lookup.c: Remove.
7482 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7483
7e6424e3
AK
74842014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7485
7486 [BZ #16447]
7487 * math/auto-libm-test-in: Add testcase for expl.
7488 * math/auto-libm-test-out: Regenerate.
7489 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7490 calculation of unsafe.
7491 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7492
75eff3fe
MS
74932014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
7494
7495 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7496 * sysdeps/unix/sysv/linux/aarch64: Move directory from
7497 ports/sysdeps/unix/sysv/linux/aarch64.
7498 * README: Update listing for aarch64*-*-linux-gnu.
7499
d35f1e80
WN
75002014-02-11 Will Newton <will.newton@linaro.org>
7501
7502 * manual/probes.texi (Mathematical Function Probes): Use
7503 "triggered" instead of "hit".
7504
7b3436d4
WN
7505 * manual/probes.texi (Internal Probes): Add documentation
7506 of setjmp, longjmp and longjmp_target probes.
7507
b4f12ca3
WN
7508 * include/stap-probe.h: Add comment about probe argument
7509 format.
7510
c13a72b7
WN
7511 * malloc/mtrace.c (attribute_hidden): Remove unused macro
7512 definition. (tr_where, tr_freehook, tr_mallochook,
7513 tr_reallochook, tr_memalignhook): Use ANSI protoype.
7514
195b8165
DM
75152014-02-11 David S. Miller <davem@davemloft.net>
7516
7517 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7518 processing int_tests.
7519
2ad7600b
JM
75202014-02-10 Joseph Myers <joseph@codesourcery.com>
7521
7522 * sysdeps/mips: Move directory from ports/sysdeps/mips.
7523 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7524 * sysdeps/unix/sysv/linux/mips: Move directory from
7525 ports/sysdeps/unix/sysv/linux/mips.
7526 * README: Update listing for mips-*-linux-gnu and
7527 mips64-*-linux-gnu.
7528
73588a72
AS
75292014-02-10 Andreas Schwab <schwab@linux-m68k.org>
7530
7531 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7532 * sysdeps/unix/sysv/linux/m68k: Move directory from
7533 ports/sysdeps/unix/sysv/linux/m68k.
7534 * README: Update listing for m68k-*-linux-gnu.
7535
4372980f
CM
75362014-02-10 Chris Metcalf <cmetcalf@tilera.com>
7537
7538 * sysdeps/tile: Move directory from ports/sysdeps/tile.
7539 * sysdeps/unix/sysv/linux/generic: Move directory from
7540 ports/sysdeps/unix/sysv/linux/generic.
7541 * sysdeps/unix/sysv/linux/tile: Move directory from
7542 ports/sysdeps/unix/sysv/linux/tile.
7543 * README: Update listing for tile*-*-linux-gnu.
7544
a1ffb40e
OB
75452014-02-10 Ondřej Bílka <neleai@seznam.cz>
7546
57f41c40
AS
7547 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7548 __builtin_expect.
a1ffb40e
OB
7549 * benchtests/bench-memmem.c (simple_memmem): Likewise.
7550 * catgets/open_catalog.c (__open_catalog): Likewise.
7551 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7552 * debug/confstr_chk.c: Likewise.
7553 * debug/fread_chk.c (__fread_chk): Likewise.
7554 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7555 * debug/getgroups_chk.c: Likewise.
7556 * debug/mbsnrtowcs_chk.c: Likewise.
7557 * debug/mbsrtowcs_chk.c: Likewise.
7558 * debug/mbstowcs_chk.c: Likewise.
7559 * debug/memcpy_chk.c: Likewise.
7560 * debug/memmove_chk.c: Likewise.
7561 * debug/mempcpy_chk.c: Likewise.
7562 * debug/memset_chk.c: Likewise.
7563 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7564 * debug/strcat_chk.c (__strcat_chk): Likewise.
7565 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7566 * debug/strncat_chk.c (__strncat_chk): Likewise.
7567 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7568 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7569 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7570 * debug/wcpncpy_chk.c: Likewise.
7571 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7572 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7573 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7574 * debug/wcsncpy_chk.c: Likewise.
7575 * debug/wcsnrtombs_chk.c: Likewise.
7576 * debug/wcsrtombs_chk.c: Likewise.
7577 * debug/wcstombs_chk.c: Likewise.
7578 * debug/wmemcpy_chk.c: Likewise.
7579 * debug/wmemmove_chk.c: Likewise.
7580 * debug/wmempcpy_chk.c: Likewise.
7581 * debug/wmemset_chk.c: Likewise.
7582 * dirent/scandirat.c (SCANDIRAT): Likewise.
7583 * dlfcn/dladdr1.c (dladdr1): Likewise.
7584 * dlfcn/dladdr.c (dladdr): Likewise.
7585 * dlfcn/dlclose.c (dlclose_doit): Likewise.
7586 * dlfcn/dlerror.c (__dlerror): Likewise.
7587 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7588 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7589 * dlfcn/dlopen.c (dlopen_doit): Likewise.
7590 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7591 * dlfcn/dlsym.c (dlsym_doit): Likewise.
7592 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7593 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7594 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7595 Likewise.
7596 * elf/dl-conflict.c: Likewise.
7597 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7598 * elf/dl-dst.h: Likewise.
7599 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7600 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7601 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7602 * elf/dl-init.c (call_init, _dl_init): Likewise.
7603 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
7604 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7605 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7606 Likewise.
a1ffb40e
OB
7607 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7608 Likewise.
7609 * elf/dl-minimal.c (__libc_memalign): Likewise.
7610 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7611 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7612 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7613 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
7614 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7615 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
7616 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7617 * elf/dl-writev.h (_dl_writev): Likewise.
7618 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
7619 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7620 (dl_main): Likewise.
a1ffb40e
OB
7621 * elf/setup-vdso.h (setup_vdso): Likewise.
7622 * grp/compat-initgroups.c (compat_call): Likewise.
7623 * grp/fgetgrent.c (fgetgrent): Likewise.
7624 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7625 * grp/putgrent.c (putgrent): Likewise.
7626 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7627 Likewise.
7628 * hurd/hurdinit.c: Likewise.
7629 * iconvdata/8bit-gap.c (struct): Likewise.
7630 * iconvdata/ansi_x3.110.c : Likewise.
7631 * iconvdata/big5.c : Likewise.
7632 * iconvdata/big5hkscs.c : Likewise.
7633 * iconvdata/cp1255.c: Likewise.
7634 * iconvdata/cp1258.c : Likewise.
7635 * iconvdata/cp932.c : Likewise.
7636 * iconvdata/euc-cn.c: Likewise.
7637 * iconvdata/euc-jisx0213.c : Likewise.
7638 * iconvdata/euc-jp.c: Likewise.
7639 * iconvdata/euc-jp-ms.c : Likewise.
7640 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7641 * iconvdata/gb18030.c : Likewise.
7642 * iconvdata/gbbig5.c (const): Likewise.
7643 * iconvdata/gbgbk.c: Likewise.
7644 * iconvdata/gbk.c : Likewise.
7645 * iconvdata/ibm1364.c : Likewise.
7646 * iconvdata/ibm930.c : Likewise.
7647 * iconvdata/ibm932.c: Likewise.
7648 * iconvdata/ibm933.c : Likewise.
7649 * iconvdata/ibm935.c : Likewise.
7650 * iconvdata/ibm937.c : Likewise.
7651 * iconvdata/ibm939.c : Likewise.
7652 * iconvdata/ibm943.c: Likewise.
7653 * iconvdata/iso_11548-1.c: Likewise.
7654 * iconvdata/iso-2022-cn.c : Likewise.
7655 * iconvdata/iso-2022-cn-ext.c : Likewise.
7656 * iconvdata/iso-2022-jp-3.c: Likewise.
7657 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7658 * iconvdata/iso-2022-kr.c : Likewise.
7659 * iconvdata/iso646.c (gconv_end): Likewise.
7660 * iconvdata/iso_6937-2.c : Likewise.
7661 * iconvdata/iso_6937.c : Likewise.
7662 * iconvdata/iso8859-1.c: Likewise.
7663 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7664 * iconvdata/shift_jisx0213.c : Likewise.
7665 * iconvdata/sjis.c : Likewise.
7666 * iconvdata/t.61.c : Likewise.
7667 * iconvdata/tcvn5712-1.c : Likewise.
7668 * iconvdata/tscii.c: Likewise.
7669 * iconvdata/uhc.c : Likewise.
7670 * iconvdata/unicode.c (gconv_end): Likewise.
7671 * iconvdata/utf-16.c (gconv_end): Likewise.
7672 * iconvdata/utf-32.c (gconv_end): Likewise.
7673 * iconvdata/utf-7.c (base64): Likewise.
7674 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7675 * iconv/gconv_close.c (__gconv_close): Likewise.
7676 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
7677 * iconv/gconv_simple.c (internal_ucs4_loop_single)
7678 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7679 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7680 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7681 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
7682 * iconv/iconv.c (iconv): Likewise.
7683 * iconv/iconv_close.c: Likewise.
7684 * iconv/loop.c (SINGLE): Likewise.
7685 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7686 * include/atomic.h: Likewise.
7687 * inet/inet6_option.c (option_alloc): Likewise.
7688 * intl/bindtextdom.c (set_binding_values): Likewise.
7689 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7690 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7691 * intl/localealias.c (read_alias_file): Likewise.
7692 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
7693 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7694 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
7695 * libio/fmemopen.c (fmemopen): Likewise.
7696 * libio/iofgets.c (_IO_fgets): Likewise.
7697 * libio/iofgets_u.c (fgets_unlocked): Likewise.
7698 * libio/iofgetws.c (fgetws): Likewise.
7699 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7700 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
7701 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7702 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
7703 * locale/findlocale.c (_nl_find_locale): Likewise.
7704 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7705 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7706 Likewise.
7707 * locale/setlocale.c (setlocale): Likewise.
7708 * login/programs/pt_chown.c (main): Likewise.
7709 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7710 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
7711 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7712 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
7713 * math/e_exp2l.c: Likewise.
7714 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7715 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7716 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7717 * math/s_catan.c (__catan): Likewise.
7718 * math/s_catanf.c (__catanf): Likewise.
7719 * math/s_catanh.c (__catanh): Likewise.
7720 * math/s_catanhf.c (__catanhf): Likewise.
7721 * math/s_catanhl.c (__catanhl): Likewise.
7722 * math/s_catanl.c (__catanl): Likewise.
7723 * math/s_ccosh.c (__ccosh): Likewise.
7724 * math/s_ccoshf.c (__ccoshf): Likewise.
7725 * math/s_ccoshl.c (__ccoshl): Likewise.
7726 * math/s_cexp.c (__cexp): Likewise.
7727 * math/s_cexpf.c (__cexpf): Likewise.
7728 * math/s_cexpl.c (__cexpl): Likewise.
7729 * math/s_clog10.c (__clog10): Likewise.
7730 * math/s_clog10f.c (__clog10f): Likewise.
7731 * math/s_clog10l.c (__clog10l): Likewise.
7732 * math/s_clog.c (__clog): Likewise.
7733 * math/s_clogf.c (__clogf): Likewise.
7734 * math/s_clogl.c (__clogl): Likewise.
7735 * math/s_csin.c (__csin): Likewise.
7736 * math/s_csinf.c (__csinf): Likewise.
7737 * math/s_csinh.c (__csinh): Likewise.
7738 * math/s_csinhf.c (__csinhf): Likewise.
7739 * math/s_csinhl.c (__csinhl): Likewise.
7740 * math/s_csinl.c (__csinl): Likewise.
7741 * math/s_csqrt.c (__csqrt): Likewise.
7742 * math/s_csqrtf.c (__csqrtf): Likewise.
7743 * math/s_csqrtl.c (__csqrtl): Likewise.
7744 * math/s_ctan.c (__ctan): Likewise.
7745 * math/s_ctanf.c (__ctanf): Likewise.
7746 * math/s_ctanh.c (__ctanh): Likewise.
7747 * math/s_ctanhf.c (__ctanhf): Likewise.
7748 * math/s_ctanhl.c (__ctanhl): Likewise.
7749 * math/s_ctanl.c (__ctanl): Likewise.
7750 * math/w_pow.c: Likewise.
7751 * math/w_powf.c: Likewise.
7752 * math/w_powl.c: Likewise.
7753 * math/w_scalb.c (sysv_scalb): Likewise.
7754 * math/w_scalbf.c (sysv_scalbf): Likewise.
7755 * math/w_scalbl.c (sysv_scalbl): Likewise.
7756 * misc/error.c (error_tail): Likewise.
7757 * misc/pselect.c (__pselect): Likewise.
7758 * nis/nis_callback.c (__nis_create_callback): Likewise.
7759 * nis/nis_call.c (__nisfind_server): Likewise.
7760 * nis/nis_creategroup.c (nis_creategroup): Likewise.
7761 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7762 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7763 * nis/nis_getservlist.c (nis_getservlist): Likewise.
7764 * nis/nis_lookup.c (nis_lookup): Likewise.
7765 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
7766 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7767 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 7768 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
7769 * nis/nss_compat/compat-grp.c (getgrent_next_file)
7770 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7771 * nis/nss_compat/compat-initgroups.c (add_group)
7772 (internal_getgrent_r): Likewise.
7773 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7774 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7775 * nis/nss_compat/compat-spwd.c (getspent_next_file)
7776 (internal_getspnam_r): Likewise.
7777 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7778 (_nss_nis_getaliasbyname_r): Likewise.
7779 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7780 (_nss_nis_getntohost_r): Likewise.
7781 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7782 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7783 (_nss_nis_getgrgid_r): Likewise.
7784 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7785 (internal_nis_gethostent_r, internal_gethostbyname2_r)
7786 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7787 (_nss_nis_gethostbyname4_r): Likewise.
7788 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7789 (initgroups_netid): Likewise.
a1ffb40e 7790 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
7791 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7792 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7793 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7794 (_nss_nis_getprotobynumber_r): Likewise.
7795 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7796 (_nss_nis_getsecretkey): Likewise.
7797 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7798 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7799 (_nss_nis_getpwuid_r): Likewise.
7800 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7801 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7802 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7803 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7804 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7805 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
7806 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7807 Likewise.
57f41c40
AS
7808 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7809 (_nss_nisplus_getntohost_r): Likewise.
7810 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7811 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7812 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7813 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 7814 Likewise.
57f41c40
AS
7815 * nis/nss_nisplus/nisplus-initgroups.c
7816 (_nss_nisplus_initgroups_dyn): Likewise.
7817 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7818 (_nss_nisplus_getnetbyaddr_r): Likewise.
7819 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7820 (_nss_nisplus_getprotobynumber_r): Likewise.
7821 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7822 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
7823 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7824 Likewise.
57f41c40
AS
7825 * nis/nss_nisplus/nisplus-service.c
7826 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7827 (_nss_nisplus_getservbyport_r): Likewise.
7828 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7829 (_nss_nisplus_getspnam_r): Likewise.
7830 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7831 Likewise.
a1ffb40e
OB
7832 * nscd/aicache.c (addhstaiX): Likewise.
7833 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
7834 * nscd/connections.c (register_traced_file, send_ro_fd)
7835 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7836 (main_loop_epoll): Likewise.
a1ffb40e
OB
7837 * nscd/grpcache.c (addgrbyX): Likewise.
7838 * nscd/hstcache.c (addhstbyX): Likewise.
7839 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7840 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
7841 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7842 (addinnetgrX): Likewise.
7843 * nscd/nscd-client.h (__nscd_acquire_maplock)
7844 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
7845 * nscd/nscd_getai.c (__nscd_getai): Likewise.
7846 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7847 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7848 Likewise.
7849 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7850 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
7851 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7852 (__nscd_get_map_ref): Likewise.
a1ffb40e 7853 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
7854 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7855 Likewise.
a1ffb40e
OB
7856 * nscd/pwdcache.c (addpwbyX): Likewise.
7857 * nscd/selinux.c (preserve_capabilities): Likewise.
7858 * nscd/servicescache.c (addservbyX): Likewise.
7859 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7860 * posix/fnmatch.c (fnmatch): Likewise.
7861 * posix/getopt.c (_getopt_internal_r): Likewise.
7862 * posix/glob.c (glob, glob_in_dir): Likewise.
7863 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
7864 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7865 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
7866 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7867 * resolv/res_init.c: Likewise.
7868 * resolv/res_mkquery.c (res_nmkquery): Likewise.
7869 * resolv/res_query.c (__libc_res_nquery): Likewise.
7870 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7871 Likewise.
7872 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7873 * stdio-common/perror.c (perror): Likewise.
7874 * stdio-common/printf_fp.c (___printf_fp): Likewise.
7875 * stdio-common/tmpnam.c (tmpnam): Likewise.
7876 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7877 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
7878 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7879 Likewise.
a1ffb40e
OB
7880 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7881 * stdlib/putenv.c (putenv): Likewise.
7882 * stdlib/setenv.c (__add_to_environ): Likewise.
7883 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7884 * stdlib/strtol_l.c (INTERNAL): Likewise.
7885 * string/memmem.c (memmem): Likewise.
7886 * string/strerror.c (strerror): Likewise.
7887 * string/strnlen.c (__strnlen): Likewise.
7888 * string/test-memmem.c (simple_memmem): Likewise.
7889 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7890 * sunrpc/pm_getport.c (__get_socket): Likewise.
7891 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7892 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
7893 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7894 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
7895 Likewise.
7896 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7897 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7898 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7899 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7900 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
7901 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7902 Likewise.
7903 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7904 Likewise.
a1ffb40e
OB
7905 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7906 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7907 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7908 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7909 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7910 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7911 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7912 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7913 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7914 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7915 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7916 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7917 Likewise.
7918 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7919 Likewise.
7920 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7921 Likewise.
7922 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7923 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7924 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7925 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7926 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7927 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7928 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7929 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7930 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7931 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7932 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7933 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7934 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7935 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7936 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
7937 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7938 Likewise.
a1ffb40e
OB
7939 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7940 Likewise.
7941 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7942 Likewise.
7943 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7944 Likewise.
7945 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7946 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7947 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7948 Likewise.
7949 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7950 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7951 * sysdeps/posix/opendir.c (__opendirat): Likewise.
7952 * sysdeps/posix/sleep.c: Likewise.
7953 * sysdeps/posix/tempname.c: Likewise.
7954 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7955 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7956 Likewise.
57f41c40
AS
7957 * sysdeps/powerpc/powerpc32/dl-machine.h
7958 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
7959 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7960 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7961 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7962 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7963 Likewise.
7964 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7965 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7966 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7967 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7968 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7969 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7970 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7971 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7972 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7973 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7974 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7975 (elf_machine_lazy_rel): Likewise.
a1ffb40e 7976 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7977 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7978 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7979 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7980 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7981 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7982 * sysdeps/unix/grantpt.c (grantpt): Likewise.
7983 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7984 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7985 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7986 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7987 Likewise.
7988 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7989 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7990 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7991 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7992 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7993 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7994 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7995 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7996 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7997 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7998 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7999 Likewise.
8000 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
8001 (__posix_fallocate64_l64): Likewise.
8002 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
8003 (posix_fallocate): Likewise.
57f41c40
AS
8004 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8005 Likewise.
a1ffb40e 8006 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
8007 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
8008 (getifaddrs_internal): Likewise.
a1ffb40e
OB
8009 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
8010 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
8011 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8012 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8013 * sysdeps/unix/sysv/linux/posix_fallocate64.c
8014 (__posix_fallocate64_l64): Likewise.
8015 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8016 Likewise.
8017 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
8018 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8019 (__get_clockfreq): Likewise.
a1ffb40e
OB
8020 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8021 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8022 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8023 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8024 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8025 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8026 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8027 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8028 Likewise.
8029 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8030 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8031 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8032 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8033 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8034 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8035 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8036 Likewise.
8037 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8038 (posix_fallocate): Likewise.
8039 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8040 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8041 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
8042 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8043 (elf_machine_rela, elf_machine_rela_relative)
8044 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
8045 * time/asctime.c (asctime_internal): Likewise.
8046 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8047 * time/tzset.c (__tzset_parse_tz): Likewise.
8048 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8049 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8050 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8051 * wcsmbs/wcsmbsload.h: Likewise.
8052
f3d338c9
OB
8053 [BZ #15894]
8054 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8055
57f41c40
AS
8056 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8057 (arena_get2): Remove THREAD_STATS conditionals.
8058 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8059 (__malloc_stats, int): Likewise.
bdfe308a 8060
d674667c
MF
80612014-02-08 Mike Frysinger <vapier@gentoo.org>
8062
8063 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8064 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
8065
6349768c
MF
8066 * manual/setjmp.texi: Fix typos/grammar errors.
8067
0b7c7473
MF
8068 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8069 Only return early when n is <= 0. Delete unused return statement.
8070
ac8cc9e3
MF
8071 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8072 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8073 * debug/tst-longjmp_chk3.c: New file.
8074
c5bb8e23
MF
8075 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8076 (test_main): Replace code with set_fortify_handler call.
8077 * debug/test-strcpy_chk.c: Likewise.
8078 * debug/tst-chk1.c: Likewise.
8079 * debug/tst-longjmp_chk.c: Likewise.
8080 * test-skeleton.c: Include fcntl.h & paths.h
8081 (set_fortify_handler): Define.
8082
10444e42
MF
8083 * debug/tst-longjmp_chk.c: Add header comment and include
8084 ../test-skeleton.c.
8085 (do_test): Mark static.
8086 (TEST_FUNCTION): Define.
8087
1e805e8d
MF
8088 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8089 (IP_PMTUDISC_INTERFACE): Likewise.
8090 (IP_MULTICAST_IF): Likewise.
8091 (IP_MULTICAST_TTL): Likewise.
8092 (IP_MULTICAST_LOOP): Likewise.
8093 (IP_ADD_MEMBERSHIP): Likewise.
8094 (IP_DROP_MEMBERSHIP): Likewise.
8095 (IP_UNBLOCK_SOURCE): Likewise.
8096 (IP_BLOCK_SOURCE): Likewise.
8097 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8098 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8099 (IP_MSFILTER): Likewise.
8100 (MCAST_JOIN_GROUP): Likewise.
8101 (MCAST_BLOCK_SOURCE): Likewise.
8102 (MCAST_UNBLOCK_SOURCE): Likewise.
8103 (MCAST_LEAVE_GROUP): Likewise.
8104 (MCAST_JOIN_SOURCE_GROUP): Likewise.
8105 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8106 (MCAST_MSFILTER): Likewise.
8107 (IP_MULTICAST_ALL): Likewise.
8108 (IP_UNICAST_IF): Likewise.
8109
73f79bb7
MF
8110 * timezone/Makefile: Delete $(have-ksh) check.
8111 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8112 * timezone/tzselect.ksh: Add +x mode bits.
8113
8da79b60
MF
8114 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8115 (ANON_INODE_FS_MAGIC): Likewise.
8116 (BDEVFS_MAGIC): Likewise.
8117 (BINFMTFS_MAGIC): Likewise.
8118 (BTRFS_TEST_MAGIC): Likewise.
8119 (CRAMFS_MAGIC_WEND): Likewise.
8120 (DEBUGFS_MAGIC): Likewise.
8121 (ECRYPTFS_SUPER_MAGIC): Likewise.
8122 (EXT3_SUPER_MAGIC): Likewise.
8123 (EXT4_SUPER_MAGIC): Likewise.
8124 (FUTEXFS_SUPER_MAGIC): Likewise.
8125 (HOSTFS_SUPER_MAGIC): Likewise.
8126 (HUGETLBFS_MAGIC): Likewise.
8127 (MINIX3_SUPER_MAGIC): Likewise.
8128 (MTD_INODE_FS_MAGIC): Likewise.
8129 (NILFS_SUPER_MAGIC): Likewise.
8130 (OPENPROM_SUPER_MAGIC): Likewise.
8131 (PIPEFS_MAGIC): Likewise.
8132 (PSTOREFS_MAGIC): Likewise.
8133 (QNX6_SUPER_MAGIC): Likewise.
8134 (RAMFS_MAGIC): Likewise.
8135 (REISERFS_SUPER_MAGIC_STRING): Likewise.
8136 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8137 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8138 (SECURITYFS_MAGIC): Likewise.
8139 (SELINUX_MAGIC): Likewise.
8140 (SMACK_MAGIC): Likewise.
8141 (SOCKFS_MAGIC): Likewise.
8142 (SQUASHFS_MAGIC): Likewise.
8143 (STACK_END_MAGIC): Likewise.
8144 (TMPFS_MAGIC): Likewise.
8145 (USBDEVICE_SUPER_MAGIC): Likewise.
8146 (V9FS_MAGIC): Likewise.
8147 (XENFS_SUPER_MAGIC): Likewise.
8148 (CRAMFS_MAGIC): Fix typo in comment.
8149 (EXT2_SUPER_MAGIC): Update comment.
8150 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8151
464263cc
JM
81522014-02-08 Joseph Myers <joseph@codesourcery.com>
8153
c6bfe5c4
JM
8154 * sysdeps/arm: Move directory from ports/sysdeps/arm.
8155 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8156 * sysdeps/unix/sysv/linux/arm: Move directory from
8157 ports/sysdeps/unix/sysv/linux/arm.
8158 * README: Update listing for arm-*-linux-gnueabi.
8159
464263cc
JM
8160 * README: Remove mention of am33.
8161
32749f6c
RM
81622014-02-07 Roland McGrath <roland@hack.frob.com>
8163
8164 * bits/sigset.h (__sigemptyset): Use a statement expression rather
8165 than the comma operator, to avoid "rhs of comma has no effect"
8166 compiler warnings.
8167 (__sigfillset, __sigandset, __sigorset): Likewise.
8168 * include/signal.h (__sigemptyset): Likewise.
8169 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8170
d5b396c1
AM
81712014-02-07 Allan McRae <allan@archlinux.org>
8172
8173 * version.h (RELEASE): Set to "development".
8174 (VERSION): Set to "2.19.90"
8175 * NEWS: Add 2.20 section.
8176
3bfff2ed
CD
81772014-02-06 Carlos O'Donell <carlos@redhat.com>
8178
8179 [BZ #16529]
8180 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8181
ee7cc385
SP
81822014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8183
8184 * manual/contrib.texi: Update entry for Carlos O'Donell,
8185 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8186
f877c4f2
CD
81872014-02-05 Carlos O'Donell <carlos@rehdat.com>
8188
27e839f6
CD
8189 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8190
f877c4f2
CD
8191 * sysdeps/unix/sysv/linux/kernel-features.h
8192 [__LINUX_KERNEL_VERSION >= 0x020621]
8193 (__ASSUME_PROC_PID_TASK_COMM): Define.
8194
68159946
SP
81952014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8196
ba17cdbd
SP
8197 [BZ #16398]
8198 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8199 conversion when destination buffer does not have enough space.
8200 * libio/tst-ftell-partial-wide.c: New test case.
8201 * libio/Makefile (tests): Add tst-ftell-partial-wide.
8202
68159946
SP
8203 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8204 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
8205 Leonard and Allan McRae.
8206
2b528732
DM
82072014-02-04 David S. Miller <davem@davemloft.net>
8208
8209 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8210 32-bit.
8211
0ff82463
AZ
82122014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8213
57f41c40
AS
8214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8215 New file
c01603f7
AZ
8216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8217 New file
57f41c40
AS
8218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8219 New file.
8220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8221 New file.
c01603f7
AZ
8222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8223 New file.
57f41c40
AS
8224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8225 New file.
8226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8227 New file.
c01603f7
AZ
8228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8229 New file.
8230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8231 New file.
8232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8233 New file.
8234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8235 New file.
8236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8237 New file.
8238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8239 New file.
8240
82412014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8242
0ff82463
AZ
8243 * nptl/shlib-versions: Change powerpc*le start to 2.17.
8244 * shlib-versions: Likewise.
8245
1695c773
AZ
82462014-02-04 Roland McGrath <roland@hack.frob.com>
8247 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8248
8249 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8250 (abilist-pattern): New variable, set to %-le.abilist.
8251
8252 * Makerules (abilist-pattern): New variable.
8253 (vpath): Use $(abilist-pattern) in place of %.abilist.
8254 (check-abi-% pattern rule): Likewise.
8255 (check-abi, update-abi): Likewise.
8256
6c0ce4b4
EW
82572014-02-04 Eric Wong <normalperson@yhbt.net>
8258
8259 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8260
481e3524
CD
82612014-02-03 Carlos O'Donell <carlos@redhat.com>
8262
8263 * manual/startup.texi: Add next, previous, and top entries for
8264 the `Program Arguments' and `Environment Variables' nodes.
8265
375592d3
AO
82662014-02-03 Alexandre Oliva <aoliva@redhat.com>
8267
8268 * manual/macros.texi: Add comments before MTASC-safety macros.
8269
f54838ba
AO
8270 * manual/users.texi: Document MTASC-safety properties.
8271
57f41c40
AS
8272 * manual/threads.texi (pthread_key_create, pthread_key_delete)
8273 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
8274 @deftypefun, and add @safety note.
8275 * manual/signal.texi: Move comments that analyze the above
8276 functions to their home place.
8277
fd3daba4
AM
82782014-02-03 Allan McRae <allan@archlinux.org>
8279
8280 * po/sl.po: Update Slovenian translation from translation project.
8281
597636d7
AO
82822014-02-02 Alexandre Oliva <aoliva@redhat.com>
8283
8284 * manual/time.texi (timegm): Add missing blank after @c.
8285 Reported by Joseph Myers <joseph@codesourcery.com>.
8286
ee196e3c
AO
82872014-02-01 Alexandre Oliva <aoliva@redhat.com>
8288
8289 * manual/check-safety.sh: New.
8290 * manual/Makefile ($(objpfx)stamp-summary): Run it.
8291
f8d529d5
AO
8292 * manual/terminal.texi: Document MTASC-safety properties.
8293
de55fdf4
AO
8294 * manual/filesys.texi: Document MTASC-safety properties.
8295
c3299c08
AO
8296 * manual/errno.texi: Document MTASC-safety properties.
8297
06e90b14
AO
8298 * manual/intro.texi: Document safety identifiers and
8299 conditionals.
8300
1acd4371
AO
8301 * manual/string.texi (wcstok): Fix prototype.
8302 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8303
23e5b8cb
AO
8304 * manual/time.texi: Document MTASC-safety properties.
8305
11087373
AO
8306 * manual/string.texi: Document MTASC-safety properties.
8307
5da2c93d
AO
8308 * manual/threads.texi: Document MTASC-safety properties.
8309
171e9210
AO
8310 * manual/stdio.texi: Document MTASC-safety properties.
8311
d9e02532
AO
8312 * manual/syslog.texi: Document MTASC-safety properties.
8313
6af8bab7
AO
8314 * manual/sysinfo.texi: Document MTASC-safety properties.
8315
663b02d7
AO
8316 * manual/startup.texi: Document MTASC-safety properties.
8317
973f180b
AO
8318 * manual/socket.texi: Document MTASC-safety properties.
8319
8f3c25c8
AO
8320 * manual/signal.texi: Document MTASC-safety properties.
8321
542210fb
AO
83222014-01-31 Alexandre Oliva <aoliva@redhat.com>
8323
8324 * manual/setjmp.texi: Document MTASC-safety properties.
8325
433c45a2
AO
8326 * manual/search.texi: Document MTASC-safety properties.
8327
c8ce789c
AO
8328 * manual/resource.texi: Document MTASC-safety properties.
8329
19f5d29c
AO
8330 * manual/process.texi: Document MTASC-safety properties.
8331
e2dfb7f4
AO
8332 * manual/platform.texi: Document MTASC-safety properties.
8333
8c1413f5
AO
8334 * manual/pipe.texi: Document MTASC-safety properties.
8335
03483ada
AO
8336 * manual/pattern.texi: Document MTASC-safety properties.
8337
29e7e2df
AO
8338 * manual/message.texi: Document MTASC-safety properties.
8339
9f529d7c
AO
8340 [BZ #12751]
8341 * manual/memory.texi: Document MTASC-safety properties.
8342
27aaa791
AO
8343 * manual/math.texi: Document MTASC-safety properties.
8344
f2d58726
AO
8345 * manual/locale.texi: Document MTASC-safety properties.
8346
2cc3615c
AO
8347 * manual/llio.texi: Document MTASC-safety properties.
8348
d9f0ec97
AO
8349 * manual/libdl.texi: New.
8350
e7c4409a
AO
8351 * manual/lang.texi: Document MTASC-safety properties.
8352
27bdc63c
AO
8353 * manual/job.texi: Document MTASC-safety properties.
8354
a7b90ea9
AO
8355 * manual/getopt.texi: Document MTASC-safety properties.
8356
c49130e3
AO
8357 * manual/ctype.texi: Document MTASC-safety properties.
8358
0d23a5c1
MR
83592014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
8360
8361 [BZ #16046]
8362 * csu/libc-tls.c (static_map): Remove variable.
8363 (__libc_setup_tls): Use main executable's link map for TLS data.
8364 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8365 casing for LM_ID_BASE and GL(dl_nns).
8366 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8367 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
8368 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8369 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8370 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8371 member.
8372 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8373 l_phnum members.
8374
0037bb60
AO
83752014-01-30 Alexandre Oliva <aoliva@redhat.com>
8376
8377 * manual/debug.texi: Document MTASC-safety properties.
8378
409e00bd
L
83792014-01-29 H.J. Lu <hongjiu.lu@intel.com>
8380
8381 [BZ #16510]
8382 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8383 of __x86_64__ when disabling x87 inline functions.
8384
86e60666
AO
83852014-01-29 Alexandre Oliva <aoliva@redhat.com>
8386
8387 * manual/charset.texi: Document MTASC-safety properties.
8388
76167637
AO
8389 * manual/crypt.texi: Document MTASC-safety properties.
8390
e567f2a0
AO
8391 * manual/conf.texi: Document MTASC-safety properties.
8392
b719dafd
AO
8393 * manual/arith.texi: Document MTASC-safety properties.
8394
4a16c662
AO
8395 * manual/argp.texi: Document MTASC-safety properties.
8396
0a57b83e
AO
8397 * manual/macros.texi: Introduce macros to document multi
8398 thread, asynchronous signal and asynchronous cancellation
8399 safety properties.
8400 * manual/intro.texi: Introduce the properties themselves.
8401
feab2397
KK
84022014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8403
8404 * sysdeps/sh/sh4/Makefile: New file.
8405
1c0d11bc
AS
84062014-01-27 Andreas Schwab <schwab@linux-m68k.org>
8407
8408 * math/gen-libm-test.pl ($srcdir): New variable.
8409 ($auto_input): Use it.
8410
af37a8a3
SP
84112014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8412
d7b00f98
SP
8413 [BZ #16506]
8414 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8415 access beyond array bounds when parsing netgroups file.
8416
af37a8a3
SP
8417 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8418 the old buffer before realloc.
8419
0c00f062
AM
84202014-01-27 Allan McRae <allan@archlinux.org>
8421
8422 * po/fr.po: Update French translation from translation project.
8423
7d69a1b0
KK
84242014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8425
8426 * sysdeps/sh/libm-test-ulps: Regenerate.
8427
6e697ff7
DM
84282014-01-24 David S. Miller <davem@davemloft.net>
8429
8430 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8431
9cadb35c
KK
84322014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8433
8434 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8435 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8436
5d41dadf
SP
84372013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8438
8439 [BZ #16474]
8440 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8441 string pointers after reallocation.
8442
0bad441c
KK
84432014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8444
8445 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8446 __SH4A__ instead of __SH_FPU_ANY__.
8447
7007c661
KK
84482014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8449
8450 * sysdeps/sh/fpu_control.h: New file.
8451 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8452 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8453 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8454 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8455 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8456 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8457 * sysdeps/sh/sys/ucontext.h: Remove.
8458 * sysdeps/sh/sys: Remove directory.
8459
0f0c35e4
AK
84602014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8461
8462 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8463 s390/sys/ucontext.h.
8464 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8465 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8466
4959e284
L
84672014-01-20 H.J. Lu <hongjiu.lu@intel.com>
8468
8469 [BZ #15605]
8470 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8471
d98720e0
AZ
84722014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8473
8474 [BZ#16431]
8475 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8476 Adjust the vDSO correctly for internal calls.
8477 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8478
91cbd0bc
AM
84792014-01-20 Allan McRae <allan@archlinux.org>
8480
8481 * po/ca.po: Update Catalan translation from translation project.
8482
7a02cfad
MF
84832014-01-16 Mike Frysinger <vapier@gentoo.org>
8484
8485 * sysdeps/s390/sotruss-lib.c: New file.
8486
736c304a
AZ
84872014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8488
8489 [BZ#16430]
6e077ee5 8490 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
8491 (__GI___gettimeofday): Alias for a different internal symbol to avoid
8492 local calls issues by not having a PLT stub required for IFUNC calls.
8493 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8494
94d0cea0
JM
84952014-01-16 Joseph Myers <joseph@codesourcery.com>
8496
8497 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8498 * math/test-fpucw-static.c: Likewise.
8499
980cb518
SP
85002013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8501
8502 [BZ #16453]
8503 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8504
2393fc01
AZ
85052014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8506
8507 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8508 implementation for powerpc.
8509
d359bcc2
OB
85102014-01-15 Ondřej Bílka <neleai@seznam.cz>
8511
8512 [BZ #14782]
8513 * sysdeps/posix/system.c (__libc_system): Do not enable
8514 asynchronous cancellation.
8515
7beb48cb
AK
85162014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8517
8518 [BZ #16427]
8519 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8520 handling only for numbers special also in the IEEE case.
8521
c20d5bf5
AK
85222014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8523
8524 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8525
e83bd4ee
AM
85262014-01-11 Allan McRae <allan@archlinux.org>
8527
76d0ea69
AM
8528 * po/bg.po: Update Bulgarian translation from translation project.
8529
e83bd4ee
AM
8530 * po/de.po: Update German translation from translation project.
8531
bc2ba20a
RM
85322014-01-10 Roland McGrath <roland@hack.frob.com>
8533
8534 * sysdeps/generic/gcc-compat.h: New file.
8535
649ecea2
SP
85362014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8537
8538 * benchtests/asin-inputs: Correct slow inputs.
8539 * benchtests/acos-inputs: Likewise.
8540
1b19c006
AM
85412014-01-10 Allan McRae <allan@archlinux.org>
8542
a46dab08
AM
8543 * po:sv.po: Update Swedish translation from translation project.
8544
421df74a
AM
8545 * po/vi.po: Update Vietnamese translation from translation project.
8546
d61c51a7
AM
8547 * po/eo.po: Update Esperanto translation from translation project.
8548
0339a319
AM
8549 * po/cs.po: Update Czech translation from translation project.
8550
94ad3e99
AM
8551 * po/nl.po: Update Dutch translation from translation project.
8552
e349ca71
AM
8553 * po/pl.po: Update Polish translation from translation project.
8554
ddf930c1
AM
8555 * po/ru.po: Update Russian translation from translation project.
8556
1b19c006
AM
8557 * po/uk.po: Update Ukrainian translation from translation project.
8558
9f236c49
BM
85592014-01-08 Brooks Moses <bmoses@google.com>
8560
8561 * elf/dl-load.c: Fix comment typo.
8562
cd6701cf
CD
85632014-01-08 Carlos O'Donell <carlos@redhat.com>
8564
8565 * po/header.pot: Rename to...
8566 * po/pot.header: ... this.
8567 * po/Makefile: Use pot.header.
8568
66671c84
YK
85692014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
8570 Maxim Kuvyrkov <maxim@kugelworks.com>
8571
8572 [BZ #16394]
cd6701cf
CD
8573 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8574 SRC and DEST against LEN.
66671c84 8575
38f34581
AZ
85762014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8577
8578 [BZ #16414]
8579 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8580 implementation.
8581 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8582
85832014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
8584
8585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8586
4c327f2a
JM
85872014-01-08 Joseph Myers <joseph@codesourcery.com>
8588
8589 [BZ #16408]
8590 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8591 for large positive arguments.
8592
b821f414
JM
85932014-01-07 Joseph Myers <joseph@codesourcery.com>
8594
1f0f2067
JM
8595 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8596
a5a326f6
JM
8597 * math/auto-libm-test-in: Mark various tests with
8598 xfail-rounding:ldbl-128ibm.
8599 * math/auto-libm-test-out: Regenerated.
8600
b821f414
JM
8601 [BZ #16407]
8602 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8603 Increase overflow threshold.
8604
94c8a4bc
OB
86052014-01-07 Ondřej Bílka <neleai@seznam.cz>
8606
8607 [BZ #14286]
8608 * stdio-common/vfprintf.c: Check for integer overflow.
8609
87ded0c3
AK
86102014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8611
8612 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8613 the first argument and return value of __tls_get_addr_internal.
8614
c5eebdd0
AK
86152014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8616
8617 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8618 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8619
05d138ef
AK
86202014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8621
8622 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8623 * sysdeps/s390/rtld-global-offsets.sym: New file.
8624 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8625 GLIBC_2.19 symbol.
8626 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8627 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8628 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8629 ... this.
8630 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8631 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8632 ... this.
8633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8634 Regenerate.
8635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8636 Regenerate.
8637 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8638 halfs of GPRs for high_gprs contexts.
8639 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8640 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
8641 field.
8642 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8643 uc_flags field.
8644 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8645 64 bit versions:
8646 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8647 for high GPRs (uc_high_gprs) and for future extensions
8648 (__reserved).
8649 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8650 for future extensions (__reserved).
8651 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8652 64 bit versions:
8653 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8654 SC_HIGHGPRS offset definition.
8655 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8656 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8657
93a45ff1
AK
8658 * Versions.def: Add GLIBC_2.19 for libpthread.
8659 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8660 siglongjmp for libpthread with GLIBC_2.19 symver.
8661 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8662 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8663 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8664 * sysdeps/s390/__longjmp.c: New file.
8665 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8666 * sysdeps/s390/longjmp.c: New file.
8667 * sysdeps/s390/setjmp.S: New file.
8668 * sysdeps/s390/sigjmp.S: New file.
8669 * sysdeps/s390/v1-longjmp.c: New file.
8670 * sysdeps/s390/v1-setjmp.h: New file.
8671 * sysdeps/s390/v1-sigjmp.c: New file.
8672 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8673 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8674 GLIBC_2.19 version.
8675 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8676 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8677 versioned symbols for ____longjmp_chk.
8678 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8679 Likewise.
8680 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8681 Regenerate.
8682 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8683 Regenerate.
8684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8685 Regenerate.
8686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8687 Regenerate.
8688 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8689 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8690 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8691 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8692 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8693 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8694 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8695 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8696 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8697 * sysdeps/s390/rtld-__longjmp.c: New file.
8698 * sysdeps/s390/rtld-setjmp.S: New file.
8699
eb3fc44b
JM
87002014-01-06 Joseph Myers <joseph@codesourcery.com>
8701
8702 [BZ #16400]
8703 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8704 Return -__logl (x) for small positive arguments without evaluating
8705 a polynomial.
8706
9341dde4
MF
87072014-01-06 Mike Frysinger <vapier@gentoo.org>
8708
8709 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8710 Rename to ...
8711 (__ptrace_peeksiginfo_args): ... this.
8712 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8713 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8714 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8715
4cff0293
AM
87162014-01-06 Allan McRae <allan@archlinux.org>
8717
8718 * inet/netinet/in.h: Fix typo in comment.
8719
75595dcf
AJ
87202014-01-05 Andreas Jaeger <aj@suse.de>
8721
8722 * sysdeps/i386/fpu/libm-test-ulps: Update.
8723
79c1e109
AM
87242014-01-05 Allan McRae <allan@archlinux.org>
8725
dd804818
AM
8726 * po/libc.pot: Regenerated.
8727
79c1e109
AM
8728 * malloc/memusagestat.c: Fix gettext call formatting.
8729
0c813d1f
SK
87302014-01-04 Sami Kerola <kerolasa@iki.fi>
8731
8732 * nscd/nscd.c: Improve usage() output.
8733
20f4a8d9
MF
87342014-01-04 Mike Frysinger <vapier@gentoo.org>
8735
8736 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8737 * sysdeps/unix/sysv/linux/configure: Regenerated.
8738 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8739 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8740
22562bb2
JM
87412014-01-03 Joseph Myers <joseph@codesourcery.com>
8742
8743 [BZ #16390]
8744 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8745 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8746
d7ad2d9b
AZ
87472014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8748
8749 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8750 extra tokens at end of #undef directive.
8751 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8752 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8753 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8754
7dd009d8
JM
87552014-01-03 Joseph Myers <joseph@codesourcery.com>
8756
24db925a
JM
8757 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8758
7dd009d8
JM
8759 * math/auto-libm-test-in: Mark various tests with
8760 xfail-rounding:ldbl-128ibm.
8761 * math/auto-libm-test-out: Regenerated.
8762
396e3ecf
JM
87632014-01-02 Joseph Myers <joseph@codesourcery.com>
8764
819e5d50
JM
8765 [BZ #16386]
8766 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8767 numbers with subnormal high part when calculating exponent.
8768
90b6a1e5
JM
8769 [BZ #16385]
8770 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8771 fabs.
8772
396e3ecf
JM
8773 [BZ #16384]
8774 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8775 M_LN2l.
8776 (__ieee754_acoshl): Use __log1pl not __log1p.
8777
6c8dbf00
OB
87782013-01-02 Ondřej Bílka <neleai@seznam.cz>
8779
57f41c40
AS
8780 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8781 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8782 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8783 (grow_heap, heap_trim, _int_new_arena, get_free_list)
8784 (reused_arena, arena_get2): Convert to GNU style.
8785 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8786 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8787 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 8788 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
8789 * malloc/malloc.c (__malloc_assert, malloc_init_state)
8790 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8791 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8792 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8793 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8794 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 8795 * malloc/malloc.h: Likewise.
57f41c40
AS
8796 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8797 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 8798 * malloc/mcheck.h: Likewise.
57f41c40
AS
8799 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8800 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
8801 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8802 * malloc/morecore.c (__default_morecore): Likewise.
8803 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
8804 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8805 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8806 (print_and_abort): Likewise.
6c8dbf00
OB
8807 * malloc/obstack.h: Likewise.
8808 * malloc/set-freeres.c (__libc_freeres): Likewise.
8809 * malloc/tst-mallocstate.c (main): Likewise.
8810 * malloc/tst-mtrace.c (main): Likewise.
8811 * malloc/tst-realloc.c (do_test): Likewise.
8812
d4124212
SP
88132013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8814
9a3c6a6f
SP
8815 [BZ #16366]
8816 * nscd/netgroupcache.c (do_notfound): New function.
8817 (addgetnetgrentX): Use it.
8818
d4124212
SP
8819 [BZ # 16365]
8820 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8821 NSS_STATUS_NOTFOUND.
8822
97b9a009
JM
88232014-01-01 Joseph Myers <joseph@codesourcery.com>
8824
8825 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8827
d4697bc9
AM
88282014-01-01 Allan McRae <allan@archlinux.org>
8829
ddb3687f
AM
8830 * scripts/update-copyrights: Update configure input file suffix.
8831
88726d48
AM
8832 * NEWS: Update copyright year.
8833 * catgets/gencat.c: Likewise.
8834 * csu/version.c: Likewise.
8835 * debug/catchsegv.sh: Likewise.
8836 * debug/pcprofiledump.c: Likewise.
8837 * debug/xtrace.sh: Likewise.
8838 * elf/ldconfig.c: Likewise.
8839 * elf/ldd.bash.in: Likewise.
8840 * elf/pldd.c: Likewise.
8841 * elf/sotruss.ksh: Likewise.
8842 * elf/sprof.c: Likewise.
8843 * iconv/iconv_prog.c: Likewise.
8844 * iconv/iconvconfig.c: Likewise.
8845 * locale/programs/locale.c: Likewise.
8846 * locale/programs/localedef.c: Likewise.
8847 * login/programs/pt_chown.c: Likewise.
8848 * malloc/memusage.sh: Likewise.
8849 * malloc/memusagestat.c: Likewise.
8850 * malloc/mtrace.pl: Likewise.
8851 * manual/libc.texinfo: Likewise.
8852 * nscd/nscd.c: Likewise.
8853 * nss/getent.c: Likewise.
8854 * nss/makedb.c: Likewise.
8855 * posix/getconf.c: Likewise.
8856 * scripts/test-installation.pl: Likewise.
8857
d4697bc9
AM
8858 * All files with FSF copyright notices: Update copyright dates
8859 using scripts/update-copyrights.
8860 * intl/plural.c: Regenerated.
8861 * locale/programs/charmap-kw.h: Likewise.
8862 * locale/programs/locfile-kw.h: Likewise.
8863
c8590f9d
MF
88642013-12-31 Mike Frysinger <vapier@gentoo.org>
8865
8866 * sysdeps/unix/sysv/linux/configure: Regenerated.
8867 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8868 the linux/fanotify.h header.
8869 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8870 HAVE_LINUX_FANOTIFY_H is defined.
8871
b19221b9
SP
88722013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8873
dd1d85e5
SP
8874 * benchtests/cos-inputs: New inputs.
8875 * benchtests/sin-inputs: Likewise.
8876
1acbb90f
SP
8877 * benchtests/atan-inputs: New inputs. Fix name of multiple
8878 precision fallback inputs.
8879
4c012ed3
SP
8880 * benchtests/atanh-inputs: New inputs.
8881 * benchtests/tanh-inputs: Likewise.
8882
eff98324
SP
8883 * benchtests/acosh-inputs: New inputs.
8884 * benchtests/asinh-inputs: Likewise.
8885
ce641152
SP
8886 * benchtests/cosh-inputs: New inputs.
8887 * benchtests/sinh-inputs: Likewise.
8888
b19221b9
SP
8889 * benchtests/acos-inputs: Add more inputs.
8890 * benchtests/asin-inputs: Likewise.
8891
030a4976 88922013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 8893
030a4976 8894 [BZ #16375]
9dcc8f11
VS
8895 * manual/arith.texi: Fix spelling.
8896 * manual/charset.texi: Likewise.
8897 * manual/errno.texi: Likewise.
8898 * manual/filesys.texi: Likewise.
8899 * manual/lang.texi: Likewise.
8900 * manual/llio.texi: Likewise.
8901 * manual/locale.texi: Likewise.
8902 * manual/message.texi: Likewise.
8903 * manual/resource.texi: Likewise.
8904 * manual/search.texi: Likewise.
8905 * manual/setjmp.texi: Likewise.
8906 * manual/stdio.texi: Likewise.
8907 * manual/string.texi: Likewise.
8908 * manual/sysinfo.texi: Likewise.
8909 * manual/time.texi: Likewise.
8910
11520a57
CD
89112013-12-27 Carlos O'Donell <carlos@redhat.com>
8912
8913 * po/sl.po: New file.
8914
471103ae
MF
89152013-12-27 Mike Frysinger <vapier@gentoo.org>
8916
8917 * .gitignore: Add core/.gdbinit/.gdb_history.
8918
6c9642ed
AM
89192013-12-27 Allan McRae <allan@archlinux.org>
8920
8921 [BZ #16369]
8922 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8923 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8924
3f637079
BM
89252013-12-24 Brooks Moses <bmoses@google.com>
8926
8927 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8928 all compilers that claim C++98 compliance, not just GCC.
8929 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8930 Likewise.
8931
abc26e99
MK
89322013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8933
8934 * NEWS: Restore accidentally deleted bug-fix entries.
8935
362b47fe
MK
89362013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8937 Ondřej Bílka <neleai@seznam.cz>
8938
8939 [BZ #15073]
8940 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 8941 have_lock.
362b47fe 8942
b9bcbbcb
OB
89432013-12-23 Ondřej Bílka <neleai@seznam.cz>
8944
8945 [BZ #12986]
8946 * manual/stdio.texi (String Input Conversions): Clarify that character
8947 classes are not supported.
8948
fb55fcd2
AZ
89492013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8950
8951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8952
ef7344f0
JM
89532013-12-22 Joseph Myers <joseph@codesourcery.com>
8954
4f40e4b3
JM
8955 [BZ #16337]
8956 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8957 Calculate results for small negative arguments directly rather
8958 than using reflection formula with special underflow handling.
8959
ef7344f0
JM
8960 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8961 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8962 sysdeps/unix/bsd/bsd4.4/syscalls.list.
8963 (fchflags): Likewise.
8964 (revoke): Likewise.
8965 (setlogin): Likewise.
8966 (sigaltstack): Likewise.
8967 (wait4): Likewise.
8968 (sigblock): Remove.
8969 (sigsetmask): Likewise.
8970 (wait3): Likewise.
8971 (waitpid): Likewise.
8972 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8973 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8974 file.
8975 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8976 * sysdeps/unix/bsd/Makefile: ... here.
8977 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8978 * sysdeps/unix/bsd/Versions: ... here.
8979 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8980 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8981 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8982 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8983 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8984 * sysdeps/unix/bsd/sigblock.c: ... here.
8985 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8986 * sysdeps/unix/bsd/sigsetmask.c: ... here.
8987 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8988 * sysdeps/unix/bsd/sigvec.c: ... here.
8989 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8990 * sysdeps/unix/bsd/tcdrain.c: ... here.
8991 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8992 * sysdeps/unix/bsd/tcgetattr.c: ... here.
8993 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8994 * sysdeps/unix/bsd/tcsetattr.c: ... here.
8995 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8996 * sysdeps/unix/bsd/wait.c: ... here.
8997 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8998 * sysdeps/unix/bsd/wait3.c: ... here.
8999 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
9000 * sysdeps/unix/bsd/waitpid.c: ... here.
9001
5b0626b9
JM
90022013-12-21 Joseph Myers <joseph@codesourcery.com>
9003
9004 [BZ #16356]
9005 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
9006 round-to-nearest for [!USE_AS_EXPM1L].
9007 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9008 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
9009 more tests of exp and exp10. Expect some exp10 tests to miss
9010 exceptions or fail in directed rounding modes.
9011 * math/auto-libm-test-out: Regenerated.
9012 * math/libm-test.inc (exp10_tonearest_test_data): New array.
9013 (exp10_test_tonearest): New function.
9014 (exp10_towardzero_test_data): New array.
9015 (exp10_test_towardzero): New function.
9016 (exp10_downward_test_data): New array.
9017 (exp10_test_downward): New function.
9018 (exp10_upward_test_data): New array.
9019 (exp10_test_upward): New function.
9020 (main): Call the new functions.
9021 * sysdeps/i386/fpu/libm-test-ulps: Update.
9022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9023
7fda5682
JM
90242013-12-20 Joseph Myers <joseph@codesourcery.com>
9025
31e3a405
JM
9026 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9027 asinh, atan, atan2, atanh, cbrt, cos and cosh.
9028 * math/auto-libm-test-out: Regenerated.
9029 * math/libm-test.inc (acosh_test_data): Add more tests.
9030 (atanh_test_data): Likewise.
9031 (ceil_test_data): Likewise.
9032 (copysign_test_data): Likewise.
9033 * sysdeps/i386/fpu/libm-test-ulps: Update.
9034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9035
85bff96a
JM
9036 * timezone/checktab.awk: Update from tzcode 2013i.
9037 * timezone/private.h: Likewise.
9038 * timezone/scheck.c: Likewise.
9039 * timezone/tzfile.h: Likewise.
9040 * timezone/tzselect.ksh: Likewise.
9041 * timezone/zdump.c: Likewise.
9042 * timezone/zic.c: Likewise.
9043
b7867a3b
JM
9044 * math/auto-libm-test-in: Add tests of cpow.
9045 * math/auto-libm-test-out: Regenerated.
9046 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 9047 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
9048 mpc_cc_c.
9049 (func_calc_desc): Add mpc_cc_c union field.
9050 (test_functions): Add cpow.
9051 (special_fill_2pi): New function.
9052 (special_real_inputs): Add 2pi.
9053 (calc_generic_results): Handle mpc_cc_c.
9054 * sysdeps/i386/fpu/libm-test-ulps: Update.
9055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9056
7fda5682
JM
9057 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9058 csqrt, ctan and ctanh.
9059 * math/auto-libm-test-out: Regenerated.
9060 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9061 (TEST_COND_x86): Likewise.
9062 (ccos_test_data): Use AUTO_TESTS_c_c.
9063 (ccosh_test_data): Likewise.
9064 (cexp_test_data): Likewise.
9065 (clog_test_data): Likewise.
9066 (csqrt_test_data): Likewise.
9067 (ctan_test_data): Likewise.
9068 (ctan_tonearest_test_data): Likewise.
9069 (ctan_towardzero_test_data): Likewise.
9070 (ctan_downward_test_data): Likewise.
9071 (ctan_upward_test_data): Likewise.
9072 (ctanh_test_data): Likewise.
9073 (ctanh_tonearest_test_data): Likewise.
9074 (ctanh_towardzero_test_data): Likewise.
9075 (ctanh_downward_test_data): Likewise.
9076 (ctanh_upward_test_data): Likewise.
9077 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9078 mpc_c_c.
9079 (func_calc_desc): Add mpc_c_c union field.
9080 (FUNC_mpc_c_c): New macro.
9081 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9082 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9083 ctanh.
9084 (special_fill_min_subnorm_p120): New function.
9085 (special_real_inputs): Add min_subnorm_p120.
9086 (calc_generic_results): Handle mpc_c_c.
9087 * sysdeps/i386/fpu/libm-test-ulps: Update.
9088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9089
5ff8d60e
SP
90902013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9091
57f41c40
AS
9092 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9093 (do_sin_slow): New functions.
9094 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9095 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 9096
84ba214c
SP
9097 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9098 Use M to change sign of result instead of X. Assume X is
9099 positive.
9100 (csloww1): Likewise.
9101 (__sin): Adjust.
9102 (__cos): Adjust.
9103
975195e4
SP
9104 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9105 arguments A and DA.
9106 (__sin): Adjust.
9107 (__cos): Likewise.
9108
5ff8d60e
SP
9109 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9110 (__cos): Likewise.
9111 (sloww1): Don't adjust sign of DX.
9112 (csloww1): Likewise.
9113 (sloww2): Use X directly and don't adjust sign of DX.
9114 (csloww2): Likewise.
9115
eb983568
JM
91162013-12-19 Joseph Myers <joseph@codesourcery.com>
9117
64a17f1a
JM
9118 * math/auto-libm-test-in: Add tests of cabs and carg.
9119 * math/auto-libm-test-out: Regenerated.
9120 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9121 (carg_test_data): Likewise.
9122 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9123 mpc_c_f.
9124 (func_calc_desc): Add mpc_c_f union field.
9125 (test_functions): Add cabs and carg.
9126 (calc_generic_results): Handle mpc_c_f.
9127
eb983568
JM
9128 * sysdeps/powerpc/powerpc32/libgcc-compat.S
9129 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9130 as a macro and a compat symbol.
9131 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9132 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9133 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9134 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9135 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9136 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9137 not use .hidden.
9138 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9139 Likewise.
9140 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9141 Likewise.
9142 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9143 Likewise.
9144 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9145 Likewise.
9146 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9147 Likewise.
9148 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9149 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9150 from GLIBC_2.3.2.
9151
6eeb678a
AZ
91522013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9153
9154 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9155
6f6fc482
JM
91562013-12-19 Joseph Myers <joseph@codesourcery.com>
9157
21fea2e2
JM
9158 * manual/texinfo.tex: Update to version 2013-11-26.10 with
9159 trailing whitespace removed.
9160 * scripts/config.guess: Update to version 2013-11-29.
9161 * scripts/config.sub: Update to version 2013-10-01.
9162
6f6fc482
JM
9163 * math/auto-libm-test-in: Add tests of sincos.
9164 * math/auto-libm-test-out: Regenerated.
9165 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9166 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9167 mpfr_f_11.
9168 (func_calc_desc): Add mpfr_f_11 union field.
9169 (test_functions): Add sincos.
9170 (calc_generic_results): Handle mpfr_f_11.
9171 * sysdeps/i386/fpu/libm-test-ulps: Update.
9172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9173
83f5c32d
AS
91742013-12-19 Andreas Schwab <schwab@suse.de>
9175
9176 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9177 CALL_MCOUNT.
9178 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9179 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9180 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9181
c688b419
JM
91822013-12-19 Joseph Myers <joseph@codesourcery.com>
9183
335ee092
JM
9184 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9185 * sysdeps/i386/fpu/libm-test-ulps: Update.
9186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9187
f88acd39
JM
9188 [BZ #16293]
9189 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9190 round-to-nearest mode when using frndint.
9191 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9192 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9193 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9194 Likewise.
9195 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
9196 sinh test to fail.
9197 * math/auto-libm-test-out: Regenerated.
9198 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9199 (TEST_COND_x86): Likewise.
9200 (expm1_tonearest_test_data): New array.
9201 (expm1_test_tonearest): New function.
9202 (expm1_towardzero_test_data): New array.
9203 (expm1_test_towardzero): New function.
9204 (expm1_downward_test_data): New array.
9205 (expm1_test_downward): New function.
9206 (expm1_upward_test_data): New array.
9207 (expm1_test_upward): New function.
9208 (main): Run the new test functions.
9209 * sysdeps/i386/fpu/libm-test-ulps: Update.
9210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9211
c688b419
JM
9212 * include/features.h: Update comment documenting feature test
9213 macros. Mention _DEFAULT_SOURCE in comment.
9214 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9215 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9216 _BSD_SOURCE and _SVID_SOURCE.
9217 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9218 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9219 !_SVID_SOURCE]: Likewise.
9220 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9221 (__USE_POSIX_IMPLICITLY): Define.
9222 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9223 (_POSIX_SOURCE): Undefine and redefine.
9224 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9225 (_POSIX_C_SOURCE): Likewise.
9226 * manual/creature.texi (_DEFAULT_SOURCE): Document.
9227 (Feature Test Macros): Update documentation of default features.
9228
9f6e964c
RS
92292013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9230
9231 * benchtests/Makefile: Add bench-strtok.
9232 * benchtests/bench-strtok.c: New file: strtok benchtest.
9233
ee0a148a
AM
92342013-12-19 Allan McRae <allan@archlinux.org>
9235
9236 * manual/install.texi: Suppress menu for plain text output.
9237 * INSTALL: Regenerated.
9238
b9ab448f
BM
92392013-12-18 Brooks Moses <bmoses@google.com>
9240
9241 [BZ #15846]
9242 * misc/getauxval.c: Include errno.h.
9243 (__getauxval): Set errno to ENOENT if the requested type is not
9244 found.
9245 * misc/sys/auxv.h (getauxval): Document that it may set errno;
9246 don't declare with __attribute_const__.
9247 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9248 * manual/startup.texi: Document that getauxval sets errno.
9249
23776487
JM
92502013-12-18 Joseph Myers <joseph@codesourcery.com>
9251
f889953b
JM
9252 * math/auto-libm-test-in: Add tests of jn and yn.
9253 * math/auto-libm-test-out: Regenerated.
9254 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9255 (yn_test_data): Likewise.
9256 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9257 mpfr_if_f.
9258 (func_calc_desc): Add mpfr_if_f union field.
9259 (FUNC_mpfr_if_f): New macro.
9260 (test_functions): Add jn and yn.
9261 (calc_generic_results): Assert type of second input for
9262 mpfr_ff_f. Handle mpfr_if_f.
9263 (output_for_one_input_case): Disable all checking for arguments
9264 fitting floating-point types in case of an integer argument.
9265 * sysdeps/i386/fpu/libm-test-ulps: Update.
9266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9267
23776487
JM
9268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9269 Don't expect fegetround reference in libm.so.
9270
cb756c6d
MS
92712013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9272
9273 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9274 $(config-cflags-nofma).
9275
2dec468f
JM
92762013-12-18 Joseph Myers <joseph@codesourcery.com>
9277
5953eb3a
JM
9278 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9279 * math/auto-libm-test-out: Regenerated.
9280
2dec468f
JM
9281 [BZ #16338]
9282 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9283 to determine exponent and adjust argument to have exponent of -1.
9284 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9285 log2.
9286 * math/auto-libm-test-out: Regenerated.
9287 * sysdeps/i386/fpu/libm-test-ulps: Update.
9288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9289
4d84e6ad
OB
92902013-12-18 Ondřej Bílka <neleai@seznam.cz>
9291
9292 * manual/probes.texi: Remove cases when per-thread arenas are
9293 disabled.
9294
1818483b
AS
92952013-12-18 Andreas Schwab <schwab@suse.de>
9296
9297 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9298 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9299 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9300 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9301 * sysdeps/i386/i686/multiarch/Makefile: Update.
9302 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9303
25de95bf
JM
93042013-12-17 Joseph Myers <joseph@codesourcery.com>
9305
9306 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9307 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9308
674762d9
PE
93092013-12-17 Paul Eggert <eggert@cs.ucla.edu>
9310
ed27ed83 9311 [BZ #15968]
0748546f
PE
9312 Support TZ transition times < 00:00:00.
9313 This is needed for version-3 tz-format files; it supports time
9314 stamps past 2037 for America/Godthab (the only entry in the tz
9315 database for which this change is relevant).
9316 * manual/time.texi (TZ Variable): Document transition times
9317 from -167:59:59 through -00:00:01.
9318 * time/tzset.c (tz_rule): Time of day is now signed.
9319 (__tzset_parse_tz): Parse negative time of day.
9320
4480e934
PE
9321 Document TZ transition times >= 25:00:00.
9322 * manual/time.texi (TZ Variable): Document transition times from
9323 25:00:00 through 167:59:59. These are already supported, and this
9324 support will help with version-3 tz-format files.
9325
69947401
PE
9326 * manual/time.texi (TZ Variable): Modernize North America example
9327 to reflect current (i.e., 2007-and-later) daylight saving rules.
9328
674762d9
PE
9329 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9330
7011c262
JM
93312013-12-17 Joseph Myers <joseph@codesourcery.com>
9332
2fc6557e
JM
9333 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9334 * sysdeps/unix/bsd/bits/stat.h: Likewise.
9335 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9336 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9337 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9338 * sysdeps/unix/bsd/bsdstat.h: Likewise.
9339 * sysdeps/unix/bsd/clock.c: Likewise.
9340 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9341 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9342 * sysdeps/unix/bsd/init-posix.c: Likewise.
9343 * sysdeps/unix/bsd/poll.c: Likewise.
9344 * sysdeps/unix/bsd/ptsname.c: Likewise.
9345 * sysdeps/unix/bsd/seekdir.c: Likewise.
9346 * sysdeps/unix/bsd/setegid.c: Likewise.
9347 * sysdeps/unix/bsd/seteuid.c: Likewise.
9348 * sysdeps/unix/bsd/setgid.c: Likewise.
9349 * sysdeps/unix/bsd/setrgid.c: Likewise.
9350 * sysdeps/unix/bsd/setruid.c: Likewise.
9351 * sysdeps/unix/bsd/setsid.c: Likewise.
9352 * sysdeps/unix/bsd/setuid.c: Likewise.
9353 * sysdeps/unix/bsd/sigaction.c: Likewise.
9354 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9355 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9356 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9357 * sysdeps/unix/bsd/telldir.c: Likewise.
9358 * sysdeps/unix/bsd/times.c: Likewise.
9359 * sysdeps/unix/bsd/usleep.c: Likewise.
9360
029c7b25
JM
9361 * misc/Makefile (install-lib): Remove libbsd-compat.a.
9362 ($(objpfx)libbsd-compat.a): Remove rule.
9363
7011c262
JM
9364 * include/features.h (__FAVOR_BSD): Do not define.
9365 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9366 features conflicting with POSIX.
9367 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9368 (_BSD_SOURCE): Remove description of not being a subset of other
9369 feature test macros.
9370 * manual/job.texi (getpgrp): Do not document BSD version.
9371 (getpgid): Do not document by reference to BSD getpgrp.
9372 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9373 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9374 * signal/signal.h [__FAVOR_BSD]: Likewise.
9375 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9376 instead of making contents conditional on [__FAVOR_BSD].
9377 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9378
affb6f78
AZ
93792013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9380
9381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9382
c88769dd
JM
93832013-12-17 Joseph Myers <joseph@codesourcery.com>
9384
6432a540
JM
9385 [BZ #16314]
9386 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9387 values below 2**-450, not 2**-500.
9388 * math/auto-libm-test-in: Don't allow spurious underflow from
9389 hypot.
9390 * math/auto-libm-test-out: Regenerated.
9391
c88769dd
JM
9392 [BZ #16316]
9393 [BZ #16330]
9394 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9395 values of ha and hb and sort them after adjusting subnormal
9396 arguments.
9397 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9398 Likewise.
9399 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9400 values of ea and eb and sort them after adjusting subnormal
9401 arguments.
9402 * math/auto-libm-test-in: Do not expect some hypot tests of
9403 subnormals to fail. Add more hypot tests.
9404 * math/auto-libm-test-out: Regenerated.
9405
29618f6b
KK
94062013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9407
9408 [BZ #13304]
9409 * sysdeps/sh/s_fma.c: New file.
9410 * sysdeps/sh/s_fmaf.c: New file.
9411 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
9412 version.
9413 * sysdeps/sh/Implies: Add sh/soft-fp.
9414
eacfdfbf
RM
94152013-12-16 Roland McGrath <roland@hack.frob.com>
9416
9417 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
9418 level of indirection to members `objname', `errstring', `malloced'.
9419 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9420 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
9421 it as the __longjmp argument (just pass 1 instead).
9422 (_dl_catch_error): Initialize C with argument pointers and address of
9423 volatile local ERRCODE rather than copying values out of C at return.
9424
ff362e5b
JM
94252013-12-16 Joseph Myers <joseph@codesourcery.com>
9426
9427 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9428 * math/auto-libm-test-out: Regenerated.
9429 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9430 (hypot_test_data): Likewise.
9431 (pow_test_data): Likewise.
9432 (pow_tonearest_test_data): Likewise.
9433 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9434 mpfr_ff_f.
9435 (func_calc_desc): Add mpfr_ff_f union field.
9436 (FUNC_mpfr_ff_f): New macro.
9437 (test_functions): Add atan2, hypot and pow.
9438 (special_fill_min): New function.
9439 (special_fill_minus_min): Likewise.
9440 (special_fill_min_subnorm): Likewise.
9441 (special_fill_minus_min_subnorm): Likewise.
9442 (special_real_inputs): Add min, -min, min_subnorm and
9443 -min_subnorm.
9444 (calc_generic_results): Handle mpfr_ff_f.
9445 * sysdeps/i386/fpu/libm-test-ulps: Update.
9446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9447
5764c27f
WN
94482013-12-16 Will Newton <will.newton@linaro.org>
9449
9450 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9451 (Aligned Memory Blocks): Add documentation for aligned_alloc
9452 and suggest it as an alternative to posix_memalign.
9453 (Hooks for Malloc): Document __memalign_hook is also called
9454 for aligned_alloc. (Summary of Malloc): Add summary for
9455 aligned alloc. Document __memalign_hook is also called
9456 for aligned_alloc.
9457
0a096e44
WN
94582013-12-16 Will Newton <will.newton@linaro.org>
9459
9460 * manual/memory.texi (Malloc Examples): Clarify default
9461 alignment documentation. Suggest posix_memalign rather
9462 than memalign or valloc.
9463 (Aligned Memory Blocks): Remove suggestion to use memalign
9464 or valloc. Remove obsolete comment about BSD.
9465 Document memalign errno values and mark the function obsolete.
9466 Document posix_memalign returned error codes. Mark valloc
9467 as obsolete. (Hooks for Malloc): __memalign_hook is also
9468 called for posix_memalign and valloc.
9469 (Summary of Malloc): Add posix_memalign to function summary.
9470 __memalign_hook is also called for posix_memalign and valloc.
9471
8d561986
SP
94722013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9473
9474 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9475 TAYLOR_SIN.
9476 (__sin): Adjust.
9477 (__cos): Likewise.
9478 (sloww): Use mynumber union. Expand ternary operator into
9479 if-else statements.
9480 (cslow): use mynumber union.
9481
73616a74
AM
94822013-12-16 Allan McRae <allan@archlinux.org>
9483
9e8ac24b
AM
9484 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9485 * configure: Regenerated.
9486
6f8e37eb
AM
9487 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9488
8894bad3
AM
9489 [BZ #14120]
9490 * configure.ac: Added --enable-maintainer-mode. Check for
9491 autoconf when enabled.
9492 * configure: Regenerated.
9493
73616a74
AM
9494 * nscd/nscd.service: New file.
9495 * nscd/nscd.tmpfiles: New file.
9496
584b18eb
OB
94972013-12-14 Ondřej Bílka <neleai@seznam.cz>
9498
9499 [BZ #12100]
9500 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9501 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9502 * sysdeps/x86_64/multiarch/strstr.c: ... here.
9503 (strstr): Add __strstr_sse2_unaligned ifunc.
9504 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9505 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9506 (strcasestr): Remove __strcasestr_sse42 ifunc.
9507 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9508 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9509 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9510
8a5c7897
KK
95112013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9512
9513 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9514 * sysdeps/sh/bits/fenv.h: ... here.
9515 * sysdeps/sh/sh4/fpu/bits: Remove directory.
9516
fd712ef3
AZ
95172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9518
9519 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9520
42fcb46c
AZ
9521 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9522 hypotf multiarch implementations.
9523 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9524 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9525 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9526 multiarch hypot for PPC64.
9527 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9528 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9529 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9530 multiarch hypotf for PPC64.
9531
83efded4
AZ
9532 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9533 modff multiarch implementations.
9534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9537 multiarch modf for PPC64.
9538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9541 multiarch modff for PPC64.
9542
43e246d2
AZ
9543 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9544 and logl multiarch implementations.
9545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9548 multiarch logb for PPC64.
9549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9552 multiarch logb for PPC64.
9553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9556 multiarch logb for PPC64.
9557
8fdad123
AZ
9558 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9559 isinff multiarch implementation.
9560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9561 file.
9562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9564 multiarch isinf for PPC64.
9565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9566 file.
9567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9568 multiarch isinff for PPC64.
9569
1481d706
AZ
9570 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9571 finitef multiarch implementation.
9572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9573 file.
9574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9576 multiarch finite for PPC64.
9577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9578 file.
9579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9580 multiarch finitef for PPC64.
9581
5ccd5fc8
AZ
9582 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9583 lrint multiarch implementation.
9584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9585 file.
9586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9588 multiarch llrint for PPC64.
9589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9590 multiarch lrint for PPC64.
9591
2568f3fa
AZ
9592 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9593 copysignf multiarch implementation.
9594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9595 file.
9596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9597 file.
9598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9599 multiarch copysign for PPC64.
9600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9601 multiarch copysignf for PPC64.
9602
1cb341fd
AZ
9603 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9604 multiarch implementation.
9605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9606 file.
9607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9608 file.
9609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9610 file.
9611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9612 file.
9613 multiarch llround for PPC64.
9614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9615 multiarch trunc for PPC64.
9616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9617 multiarch truncf for PPC64.
9618
59a3e194
AZ
9619 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9620 multiarch implementation.
9621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9622 file.
9623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9624 file.
9625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9626 file.
9627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9628 file.
9629 multiarch llround for PPC64.
9630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9631 multiarch round for PPC64.
9632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9633 multiarch roundf for PPC64.
9634
357fd3b4
AZ
9635 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9636 multiarch implementation.
9637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9638 file.
9639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9640 file.
9641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9642 file.
9643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9644 file.
9645 multiarch llround for PPC64.
9646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9647 multiarch floor for PPC64.
9648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9649 multiarch floorf for PPC64.
9650
96770f12
AZ
9651 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9652 multiarch implementation.
9653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9654 file.
9655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9656 file.
9657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9658 file.
9659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9660 file.
9661 multiarch llround for PPC64.
9662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9663 multiarch ceil for PPC64.
9664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9665 multiarch ceilf for PPC64.
9666
c3627f6e
AZ
9667 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9668 multiarch implementation.
9669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9670 file.
9671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9672 file.
9673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9674 file.
9675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9676 multiarch llround for PPC64.
9677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9678 multiarch lround for PPC64.
9679
b2284ad7
AZ
9680 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9681 multiarch implementation.
9682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9685 file.
9686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9689 multiarch isnan for PPC64.
9690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9691 multiarch isnanf for PPC64.
9692
69bbc63d
AZ
9693 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9694 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9695 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9696 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9697 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9699
c24517c9
AZ
9700 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9701 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9702 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9703 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9704
a52374e8
AZ
9705 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9706 multiarch implementations.
9707 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9708 (__libc_ifunc_impl_list): Likewise.
9709 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9710 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9711 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9712 multiarch stpcpy for PPC64.
9713
7f5ec113
AZ
9714 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9715 multiarch implementations.
9716 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9717 (__libc_ifunc_impl_list): Likewise.
9718 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9719 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9720 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9721 multiarch strcpy for PPC64.
9722
e28bcd42
AZ
9723 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9724 redefine function name.
9725 (_wordcopy_fwd_dest_aligned): Likewise.
9726 (_wordcopy_bwd_aligned): Likewise.
9727 (_wordcopy_bwd_dest_aligned): Likewise.
9728 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9729 multiarch implementations.
9730 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9731 (__libc_ifunc_impl_list): Likewise.
9732 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9733 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9734 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9735 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9736 multiarch wcscpy for PPC64.
9737
92cacfce
AZ
9738 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9739 multiarch implementations.
9740 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9741 (__libc_ifunc_impl_list): Likewise.
9742 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9743 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9744 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9745 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9746 multiarch wcscpy for PPC64.
9747
7b714620
AZ
9748 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9749 multiarch implementations.
9750 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9751 (__libc_ifunc_impl_list): Likewise.
9752 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9753 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9754 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9755 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9756 multiarch wcsrchr for PPC64.
9757
16fd2ae3
AZ
9758 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9759 multiarch implementations.
9760 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9761 (__libc_ifunc_impl_list): Likewise.
9762 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9763 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9764 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9765 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9766 multiarch wcschr for PPC64.
9767
9ee2969b
AZ
9768 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9769 multiarch implementations.
9770 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9771 (__libc_ifunc_impl_list): Likewise.
9772 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9773 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9774 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9775 multiarch strchrnul for PPC64.
9776
372dc060
AZ
9777 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9778 implementations.
9779 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9780 (__libc_ifunc_impl_list): Likewise.
9781 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9782 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9783 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9784 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9785 strchr for PPC64.
9786
24c2c3b9
AZ
9787 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9788 implementations.
9789 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9790 (__libc_ifunc_impl_list): Likewise.
9791 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9792 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9793 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9794 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9795 strncmp for PPC64.
9796
1c92d9a0
AZ
9797 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9798 multiarch implementations.
9799 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9800 (__libc_ifunc_impl_list): Likewise.
9801 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9802 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9803 strncasecmp for PPC64.
9804 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9805 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9806 multiarch strncasecmp_l for PPC64.
9807
17de3ee3
AZ
9808 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9809 multiarch implementations.
9810 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9811 (__libc_ifunc_impl_list): Likewise.
9812 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9813 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9814 multiarch strcasecmp for PPC64.
9815 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9816 file.
9817 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9818 multiarch strcasecmp_l for PPC64.
9819
62982bf9
AZ
9820 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9821 implementations.
9822 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9823 (__libc_ifunc_impl_list): Likewise.
9824 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9825 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9826 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9827 strnlen for PPC64.
9828
a65f4904
AZ
9829 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9830 implementations.
9831 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9832 (__libc_ifunc_impl_list): Likewise.
9833 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9834 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9835 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9836 strlen for PPC64.
9837
1fd005ad
AZ
9838 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9839 implementations.
9840 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9841 (__libc_ifunc_impl_list): Likewise.
9842 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9843 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9844 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9845 rawmemrchr for PPC64.
9846
cd05ba91
AZ
9847 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9848 implementation.
9849 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9850 (__libc_ifunc_impl_list): Likewise.
9851 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9852 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9853 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9854 memrchr for PPC64.
9855
870f8676
AZ
9856 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9857 implementation.
9858 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9859 (__libc_ifunc_impl_list): Likewise.
9860 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9861 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9862 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9863 memchr for PPC64.
9864
f00be62b
AZ
9865 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9866 implementation.
9867 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9868 (__libc_ifunc_impl_list): Likewise.
9869 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9870 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9871 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9872 mempcpy for PPC64.
9873
8a29a3d0
AZ
9874 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9875 avoid cretion of __bzero symbol.
9876 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9877 Likewise.
9878 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9879 Likewise.
9880 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9881 Likewise.
9882 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9883 multiarch implementations.
9884 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9885 (__libc_ifunc_impl_list): Likewise.
9886 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9887 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9888 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9889 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9890 bzero for PPC32.
9891 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9892 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9893 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9894 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9895 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9896 memset for PPC64.
9897 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9898
07253fcf
AZ
9899 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9900 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9901 implementations.
9902 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9903 (__libc_ifunc_impl_list): Likewise.
9904 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9905 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9906 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9907 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9908 memcmp for PPC64.
9909
b5beafbc
AZ
9910 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9911 multiarch for POWER/PPC64.
9912 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9913 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9914 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9915 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9916 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9917 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9918 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9919 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9920 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9921 memcpy for PPC64.
9922
5e6a4d4b
AZ
9923 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9924 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9925 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9926 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9927 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9928 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9929 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9930 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9931 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9932 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9933 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9934 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9935 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9936 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9937 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9945
ddfab6dc
KK
99462013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9947
9948 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9949
19b5525e
SP
99502013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9951
9952 * benchtests/Makefile (bench): Add exp2 and log2.
9953 (LDLIBS-bench-exp2): Add -lm.
9954 (LDLIBS-bench-log2): Likewise.
9955 * benchtests/exp2-inputs: New inputs file.
9956 * benchtests/log2-inputs: New inputs file.
9957 * benchtests/log-inputs: Add new inputs.
9958 * benchtests/tan-inputs: Likewise.
9959
196f7f5d
SP
99602013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9961
7a74607f
SP
9962 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9963 definition...
57f41c40
AS
9964 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9965 (csloww2): ... from here.
7a74607f 9966
196f7f5d
SP
9967 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9968 instead of structures.
9969 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9970 (POLYNOMIAL): Likewise.
9971 (TAYLOR_SLOW): Likewise.
9972 (__sin): Likewise.
9973 (__cos): Likewise.
9974 (slow1): Likewise.
9975 (slow2): Likewise.
9976 (sloww): Likewise.
9977 (sloww1); Likewise.
9978 (sloww2): Likewise.
9979 (bsloww1): Likewise.
9980 (bsloww2): Likewise.
9981 (cslow2): Likewise.
9982 (csloww): Likewise.
9983 (csloww1): Likewise.
9984 (csloww2): Likewise.
9985
0dfa665c
OB
99862013-12-10 Ondřej Bílka <neleai@seznam.cz>
9987
9988 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
9989 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9990 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
9991 * malloc/hooks.c (realloc_check): Likewise.
9992
5782a80f
OB
9993 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9994 * malloc/arena.c: Remove PER_THREAD conditional.
9995 [!PER_THREAD]: Remove code.
9996 (ptmalloc_unlock_all2): Likewise.
9997 (ptmalloc_init): Likewise.
9998 (_int_new_arena): Likewise.
9999 (arena_get2): Likewise.
10000 * malloc/hooks.c (__malloc_get_state): Likewise.
10001 (__malloc_set_state): Likewise.
10002 * malloc/malloc.c: Likewise.
10003 (struct malloc_state): Likewise.
10004 (struct malloc_par): Likewise.
10005 (__libc_realloc): Likewise.
10006 (__libc_mallopt): Likewise.
10007
aeb95445
AZ
100082013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10009
10010 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
10011
e8349efd
OB
100122013-12-09 Ondřej Bílka <neleai@seznam.cz>
10013
10014 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10015 macro to a function. Check for zero perturb_byte.
10016 (_int_malloc, _int_free): Remove zero perturb_byte checks.
10017
f3eeb3fc 10018 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
10019 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10020 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
10021 force_reg by atomic_forced_read.
10022 * malloc/arena.c (ptmalloc_init): Likewise.
10023 * malloc/hooks.c (top_check): Likewise.
10024
be2f9009
AZ
100252013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10026
10027 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10028
e7b914bd
MT
100292013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
10030
10031 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10032
9f0be4f8
JM
100332013-12-08 Joseph Myers <joseph@codesourcery.com>
10034
10035 * math/auto-libm-test-in: Add tests of lgamma.
10036 * math/auto-libm-test-out: Regenerated.
10037 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10038 (M_LOG_2_SQRT_PIl): Likewise.
10039 (lgamma_test_data): Use AUTO_TESTS_f_f1.
10040 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10041 mpfr_f_f1.
10042 (func_calc_desc): Add mpfr_f_f1 union field.
10043 (ARGS1): New macro.
10044 (ARGS2): Likewise.
10045 (ARGS3): Likewise.
10046 (ARGS4): Likewise.
10047 (RET1): Likewise.
10048 (RET2): Likewise.
10049 (CALC): Likewise.
10050 (FUNC): Likewise.
10051 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10052 (test_functions): Add lgamma.
10053 (calc_generic_results): Handle mpfr_f_f1.
10054 * sysdeps/i386/fpu/libm-test-ulps: Update.
10055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10056
24eeafdb
AZ
100572013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10058
10059 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10060 __mpn_add_n for PowerPC64/POWER7.
10061 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10062 __mpn_sub_n for PowerPC64/POWER7.
10063
4a2c0fd4
AZ
10064 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10065 __mpn_addmul_1 for PowerPC64.
10066 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10067 __mpn_submul_1 for PowerPC64.
10068 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10069 for PowerPC64.
10070 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10071 for PowerPC64.
10072
4b5b548c
FS
100732013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
10074
10075 [BZ #15089]
10076 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10077
0a3ac0aa
AZ
100782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10079
10080 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10081
ccdc8438
AZ
10082 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10083 add multiarch folders.
10084 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10085 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10086 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10087 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10088 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10089 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10090 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10091 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10092 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10093 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10094 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10101
2e973d99
AZ
10102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10103 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10105 New file.
10106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10107 New file.
10108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10109 multiarch __ieee754_hypot for PowerPC32.
10110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10111 New file.
10112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10113 New file.
10114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10115 multiarch __ieee754_hypotf for PowerPC32.
10116
2d9470b2
AZ
10117 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10118 long_double_symbol only if __logbl is defined.
10119 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10120 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10121 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10122 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10123 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10124 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10125 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10126 path for implementation.
10127 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10128 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10130 logb, and logbl multiarch implementations for PowerPC32.
10131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10132 file.
10133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10134 file.
10135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10136 multiarch logb for PowerPC32.
10137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10138 file.
10139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10140 file.
10141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10142 multiarch logbf for PowerPC32.
10143 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10145 file.
10146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10147 multiarch logbl implementation for PowerPC32.
10148
5212ffce
AZ
10149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10150 and modff multiarch implementations.
10151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10152 New file.
10153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10154 New file.
10155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10156 multiarch modf for PowerPC32.
10157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10158 New file.
10159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10160 New file.
10161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10162 multiarch modff for PowerPC32.
10163
79dccf31
AZ
10164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10165 and lrintf multiarch implementations.
10166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10167 New file.
10168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10169 New file.
10170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10171 multiarch lrint for PowerPC32.
10172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10173 file: multiarch lrintf for PowerPC32.
10174
deb66480
AZ
10175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10176 and lroundf multiarch implementations.
10177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10178 New file.
10179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10180 New file.
10181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10182 New file.
10183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10184 multiarch lround for PowerPC32.
10185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10186 file: multiarch lroundf for PowerPC32.
10187
264b036b
AZ
10188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10189 copysign and copysignf multiarch implementations.
10190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10191 New file.
10192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10193 New file.
10194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10195 file: multiarch copysign for PowerPC32.
10196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10197 file: multiarch copysignf for PowerPC32.
10198
d47db6c9
AZ
10199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10200 and truncf multiarch implementations.
10201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10202 New file.
10203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10204 file.
10205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10206 multiarch trunc for PowerPC32.
10207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10208 New file.
10209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10210 New file.
10211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10212 multiarch truncf for PowerPC32.
10213
ddb60b5a
AZ
10214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10215 and roundf multiarch implementations.
10216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10217 New file.
10218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10219 file.
10220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10221 multiarch round for PowerPC32.
10222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10223 New file.
10224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10225 New file.
10226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10227 multiarch roundf for PowerPC32.
10228
bedcf49b
AZ
10229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10230 and floorf multiarch implementations.
10231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10232 New file.
10233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10234 file.
10235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10236 multiarch floor for PowerPC32.
10237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10238 New file.
10239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10240 New file.
10241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10242 multiarch floorf for PowerPC32.
10243
35ae5b40
AZ
10244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10245 and ceilf multiarch implementations.
10246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10247 New file.
10248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10249 file.
10250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10251 multiarch ceil for PowerPC32.
10252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10253 New file.
10254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10255 file.
10256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10257 multiarch ceilf for PowerPC32.
10258
ae1a4cd9
AZ
10259 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10260 is defined.
10261 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10262 FINITEF is defined.
10263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10264 and finitef multiarch implementations.
10265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10266 New file.
10267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10268 file.
10269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10270 multiarch finite for PowerPC32.
10271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10272 New file.
10273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10274 file: multiarch finitef for PowerPC32.
10275
64fffd65
AZ
10276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10277 and isinff multiarch implementations.
10278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10279 file.
10280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10281 file.
10282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10283 multiarch isinf for PowerPC32.
10284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10285 New file.
10286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10287 multiarch isinff for PowerPC32.
10288
8e4e7ba2
AZ
10289 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10290 alias when __isnan is defined.
10291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10292 and isnanf multiarch implementations.
10293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10294 file.
10295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10296 file.
10297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10298 file.
10299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10300 file.
10301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10302 multiarch isnan for PowerPC32.
10303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10304 New file.
10305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10306 New file.
10307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10308 multiarch isnanf for PowerPC32.
10309
ddba588e
AZ
10310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10311 and sqrtf multiarch implementations.
10312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10313 file.
10314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10315 file.
10316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10317 multiarch sqrt for PowerPC32.
10318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10319 file.
10320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10321 file.
10322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10323 multiarch sqrtf for PowerPC32.
10324
0f96a2f0
AZ
10325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10326 and llroundf multiarch implementations.
10327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10328 New file.
10329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10330 New file.
10331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10332 New file.
10333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10334 file: multiarch llround for PowerPC32.
10335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10336 file: multiarch llroundf for PowerPC32.
10337
c9b5d79e
AZ
10338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10339 multiarch PowerPC32 fpu implementations.
10340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10341 New file.
10342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10343 New file.
10344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10345 multiarch llrint for PowerPC32.
10346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10347 New file.
10348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10349 New file.
10350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10351 file.
10352
9cbb3aab
AZ
10353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10354
ea5a72f8
AZ
10355 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10356 file.
10357 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10358 file.
10359 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10360 file.
10361 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10362 multiarch wordcopy for PPC32.
10363 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10364 wordcopy objects.
10365 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10366 (__libc_ifunc_impl_list): Likewise.
10367 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10368 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10369 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10370 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10371 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10372 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10373
93be09e7
AZ
10374 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10375 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10376 file.
10377 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10378 file.
10379 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10380 file.
10381 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10382 multiarch wcscpy for PPC32.
10383 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10384 multiarch objects.
10385 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10386 (__libc_ifunc_impl_list): Likewise.
10387 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10388 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10389 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10390 sysdeps/powerpc/power6/wcscpy.c.
10391
bb04e529
AZ
10392 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10393 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10394 file.
10395 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10396 file.
10397 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10398 file.
10399 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10400 multiarch wcsrchr for PPC32.
10401 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10402 multiarch objects.
10403 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10404 (__libc_ifunc_impl_list): Likewise.
10405 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10406 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10407 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10408 sysdeps/powerpc/power6/wcsrchr.c.
10409
05b5cd1c
AZ
10410 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10411 file.
10412 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10413 file.
10414 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10415 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10416 multiarch wcschr for PPc32.
10417 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10418 multiarch objects.
10419 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10420 (__libc_ifunc_impl_list): Likewise.
10421 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10422 * sysdeps/powerpc/power6/wcschr.c: ... to here.
10423 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10424 sysdeps/powerpc/power6/wcschr.c.
10425
ba964147
AZ
10426 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10427 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10428 file.
10429 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10430 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10431 file: multiarch strchr for PPC32.
10432 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10433 multiarch objects.
10434 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10435 (__libc_ifunc_impl_list): Likewise.
10436
31c81aaa
AZ
10437 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10438 name.
10439 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10440 file.
10441 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10442 file.
10443 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10444 multiarch strchrnul for PPC32.
10445 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10446 multiarch objects.
10447 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10448 (__libc_ifunc_impl_list): Likewise.
10449
0d0607d9
AZ
10450 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10451 file.
10452 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10453 multiarch strncasecmp for PPC32.
10454 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10455 file.
10456 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10457 multiarch strncasecmp_l for PPC32.
10458 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10459 strncasecmp multiarch objects.
10460 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10461 (__libc_ifunc_impl_list): Likewise.
10462
4dfd5c86
AZ
10463 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10464 file.
10465 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10466 multiarch strncasecmp for PPC32.
10467 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10468 New file.
10469 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10470 multiarch strcasecmp_l for PPC32.
10471 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10472 multiarch objects.
10473 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10474 (__libc_ifunc_impl_list): Likewise.
10475
a19e01a3
AZ
10476 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10477 file.
10478 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10479 file.
10480 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10481 multiarch strncmp for PPC32.
10482 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10483 multiarch objects.
10484 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10485 (__libc_ifunc_impl_list): Likewise.
10486
ae9cf7a2
AZ
10487 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10488 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10489 file.
10490 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10491 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10492 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10493 multiarch objects.
10494 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10495 (__libc_ifunc_impl_list): Likewise.
10496
3148bb7d
AZ
10497 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10498 file.
10499 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10500 file.
10501 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10502 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10503 multiarch objects.
10504 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10505 (__libc_ifunc_impl_list): Likewise.
10506
7af8b946
AZ
10507 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10508 file.
10509 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10510 file.
10511 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10512 multiarch rawmemchr for PPC32.
10513 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10514 multiarch objects.
10515 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10516 (__libc_ifunc_impl_list): Likewise.
10517
03a6aa6a
AZ
10518 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10519 file.
10520 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10521 file.
10522 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10523 file: memrchr multiarch for PPC32.
10524 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10525 multiarch objects.
10526 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10527 (__libc_ifunc_impl_list): Likewise.
10528
1c62e6d9
AZ
10529 * string/memchr.c (__memchr): Using macro to redefine symbol name.
10530 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10531 file.
10532 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10533 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10534 multiarch memchr for PPC32.
10535 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10536 multiarch objects.
10537 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10538 (__libc_ifunc_impl_list): Likewise.
10539
87da8bdb
AZ
10540 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10541 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10542 file.
10543 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10544 file.
10545 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10546 file: multiarch mempcpy for PPC32.
10547 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10548 multiarch objects.
10549 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10550 (__libc_ifunc_impl_list): Likewise.
10551
20ed4714
AZ
10552 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10553 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10554 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10555 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10556 multiarch bzero for PPC32.
10557 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10558 file.
10559 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10560 file.
10561 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10562 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10563 file: multiarch memset for PPC32.
10564 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10565 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10566 memset multiarch objects.
10567 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10568 (__libc_ifunc_impl_list): Likewise.
10569
ab3e3a46
AZ
10570 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10571 file.
10572 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10573 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10574 memcmp for PPC32.
10575 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10576 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10577 multiarch objects.
10578 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10579 (__libc_ifunc_impl_list): Likewise.
10580
930de6f0
AZ
10581 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10582 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10583 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10584 file.
10585 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10586 file.
10587 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10588 file.
10589 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10590 multiarch memcpy for PPC32.
10591 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10592 multiarch objects.
10593 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10594 (__libc_ifunc_impl_list): Likewise.
10595
4c628e00
AZ
10596 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10597 support multiarch for POWER/PPC32.
10598 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10599 Likewise.
10600 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10602 Implies file to make multiarch folder appers before the fpu and
10603 default folder for power4 configuration.
10604
f4479220
SP
106052013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10606
10607 * scripts/bench.pl: Append volatile keyword to type.
10608
8517800f
KK
106092013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10610
10611 * sysdeps/sh/sotruss-lib.c: New file.
10612 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10613
180138f1
AZ
106142013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10615
10616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10617
bbf37bdc
JM
106182013-12-05 Joseph Myers <joseph@codesourcery.com>
10619
e47cc4e0
JM
10620 [BZ #6810]
10621 * math/w_tgamma.c: Include <errno.h>.
10622 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
10623 * math/w_tgammaf.c: Include <errno.h>.
10624 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
10625 * math/w_tgammal.c: Include <errno.h>.
10626 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
10627 * math/auto-libm-test-in: Do not allow missing errno on tgamma
10628 underflow. Add more tgamma tests.
10629 * math/auto-libm-test-out: Regenerated.
10630 * sysdeps/i386/fpu/libm-test-ulps: Update.
10631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10632
bbf37bdc
JM
10633 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10634 sin, sinh, tan, tanh, tgamma, y0 and y1.
10635 * math/auto-libm-test-out: Regenerated.
10636 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10637 (TEST_COND_x86): Likewise.
10638 (M_E2l): Remove macro.
10639 (M_E3l): Likewise.
10640 (M_2_SQRT_PIl): Likewise.
10641 (M_SQRT_PIl): Likewise.
10642 (M_1_DIV_El): Likewise.
10643 (log_test_data): Use AUTO_TESTS_f_f.
10644 (log10_test_data): Likewise.
10645 (log1p_test_data): Likewise.
10646 (log2_test_data): Likewise.
10647 (sin_test_data): Likewise.
10648 (sin_tonearest_test_data): Likewise.
10649 (sin_towardzero_test_data): Likewise.
10650 (sin_downward_test_data): Likewise.
10651 (sin_upward_test_data): Likewise.
10652 (sinh_test_data): Likewise.
10653 (sinh_tonearest_test_data): Likewise.
10654 (sinh_towardzero_test_data): Likewise.
10655 (sinh_downward_test_data): Likewise.
10656 (sinh_upward_test_data): Likewise.
10657 (tan_test_data): Likewise.
10658 (tan_tonearest_test_data): Likewise.
10659 (tan_towardzero_test_data): Likewise.
10660 (tan_downward_test_data): Likewise.
10661 (tan_upward_test_data): Likewise.
10662 (tanh_test_data): Likewise.
10663 (tgamma_test_data): Likewise.
10664 (y0_test_data): Likewise.
10665 (y1_test_data): Likewise.
10666 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10667 (special_real_inputs): Add pi/4.
10668 * sysdeps/i386/fpu/libm-test-ulps: Update.
10669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10670
eb5ad6b9
AZ
106712013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10672
10673 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10674 "longjmp_target" static probes.
10675 (__longjmp): Rename to __longjmp_symbol.
10676 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10677 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10678 on which longjmp to generate.
10679 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10680 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10681 probe.
10682 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10683 (__sigjmp_save): Rename to __sigjmp_save_symbol.
10684 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10685 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10686 and __sigjmp_save_symbol based on which sigsetjmp to generated.
10687 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10689 __longjmp_symbol based on which __longjmp to generate.
10690 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10691 probe.
10692 (setjmp): Rename to setjmp_symbol.
10693 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10694 (_setjmp): Rename to _setjmp_symbol.
10695 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10696 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10697 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10698 which setjmp to generate.
10699 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10700 "longjmp_target" static probes.
10701
d136c6dc
SP
107022013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10703
9298ecba
SP
10704 * benchtests/README: Add note about output arguments.
10705 * benchtests/bench-sincos.c: Remove file.
10706 * benchtests/sincos-inputs: New file.
10707 * scripts/bench.pl: Identify output arguments and define
10708 static variables for them.
10709
232983e9
SP
10710 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10711
d136c6dc
SP
10712 [BZ #15941]
10713 * Makefile (INSTALL): Add install-plain.texi as the primary
10714 dependency.
10715 * manual/install-plain.texi: New file.
10716 * manual/install.texi: Include node directive only for
10717 non-plaintext output.
10718
699ff837
JM
107192013-12-04 Joseph Myers <joseph@codesourcery.com>
10720
ab07cea8
JM
10721 * stdlib/longlong.h: Update from GCC.
10722
699ff837
JM
10723 [BZ #6807]
10724 [BZ #15901]
10725 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10726 * math/w_j0f.c (y0f): Likewise.
10727 * math/w_j0l.c (__y0l): Likewise.
10728 * math/w_j1.c (y1): Likewise.
10729 * math/w_j1f.c (y1f): Likewise.
10730 * math/w_j1l.c (__y1l): Likewise
10731 * math/w_jn.c (yn): Likewise.
10732 * math/w_jnf.c (ynf): Likewise.
10733 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10734 Bessel function pole errors in _POSIX_ mode. Use NAN as return
10735 value for Bessel function domain errors outside _SVID_ mode.
10736 Adjust sign of return value for yn (negative integer, 0).
10737 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10738 by zero in return for negative x and set sign appropriately for
10739 negative n.
10740 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10741 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10742 * math/libm-test.inc (y0_test_data): Add more tests and adjust
10743 expectations in error cases.
10744 (y1_test_data): Likewise.
10745 (yn_test_data): Likewise.
10746 * sysdeps/i386/fpu/libm-test-ulps: Update.
10747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10748
5b118558
UW
107492013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10750
10751 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10752 "64" to "64-v1". Add "64-v2".
10753 (abi-64-options): Rename to ...
10754 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
10755 (abi-64-condition): Rename to ...
10756 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
10757 (abi-64-ld-soname): Rename to ...
10758 (abi-64-v1-ld-soname): ... this.
10759 (abi-64-v2-options): Define.
10760 (abi-64-v2-condition): Likewise.
10761 (abi-64-v2-ld-soname): Likewise.
10762 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10763 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10767
61cd8fe4
UW
107682013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10769 Alan Modra <amodra@gmail.com>
10770
10771 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10772 New versions for use with the ELFv2 ABI.
10773 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10774 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10775 declaration.
10776 (struct La_ppc64v2_retval): Likewise.
10777 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10778 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10779 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10780 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10781 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10782 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10783 Do not save or restore CR.
10784 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10785 (_dl_profile_resolve): Do no save or restore CR. Support extended
10786 return values for ELFv2 ABI. Fix location of FPR return registers.
10787 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10788 updated values for _CALL_ELF == 2.
10789 (La_regs, La_retval, int_retval): Likewise.
10790
8b8a692c
UW
107912013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10792
10793 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10794 (FRAME_MIN_SIZE_PARM): Likewise.
10795 (FRAME_BACKCHAIN): Likewise.
10796 (FRAME_CR_SAVE): Likewise.
10797 (FRAME_LR_SAVE): Likewise.
10798 (FRAME_TOC_SAVE): Likewise.
10799 (FRAME_PARM_SAVE): Likewise.
10800 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10801 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10802 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10803 (call_mcount_parm_offset): New macro.
10804 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10805 (PROF): Use symbolic stack frame offsets.
10806 (TAIL_CALL_SYSCALL_ERROR): Likewise.
10807 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10808 Redefine in terms of FRAME_MIN_SIZE.
10809 (_dl_runtime_resolve): Use symbolic stack frame offsets.
10810 (_dl_profile_resolve): Likewise. Update comment.
10811 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10812 symbols stack frame offsets.
10813 (__sigsetjmp): Likewise.
10814 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10815 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10816 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10817 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10818
10819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10820 (FRAME_BACKCHAIN): Remove.
10821 (FRAME_CR_SAVE): Likewise.
10822 (FRAME_LR_SAVE): Likewise.
10823 (FRAME_COMPILER_DW): Likewise.
10824 (FRAME_LINKER_DW): Likewise.
10825 (FRAME_TOC_SAVE): Likewise.
10826 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
10827 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10828 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10829 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
10830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10831 (CHECK_SP): Use symbolic stack frame offsets.
10832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10833 zone" instead of caller's parameter save area for temp storage.
10834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10835 Likewise. Also, use symbolic stack frame offsets.
10836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10837 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10838 our own stack frame instead of the caller's.
10839 (__socket): Use symbolic stack frame offsets.
10840
122b66de
UW
108412013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10842 Alan Modra <amodra@gmail.com>
10843
10844 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10845 Define.
57f41c40
AS
10846 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10847 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
10848 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10849 New function.
10850 (elf_machine_fixup_plt): Call it.
10851 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
10852 reloc arguments.
10853 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
10854 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10855 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
10856 r2 before calling target.
10857
696caf1d
UW
108582013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10859 Alan Modra <amodra@gmail.com>
10860
10861 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10862 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10863 versions of macros to support ELFv2 ABI.
10864 (LOCALENTRY): New macro.
10865 (ENTRY, EALIGN): Use it.
10866 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10867 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10868 fall through into ENTRY entry point.
10869 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10870 Only define if _CALL_ELF != 2.
10871
10872 (elf_machine_matches_host): Verify ABI version matches.
10873 (RTLD_START): Use LOCALENTRY.
10874 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10875 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10876 (PLT_ENTRY_WORDS): New macro.
10877 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10878 (elf_machine_runtime_setup): Support ELFv2 ABI.
10879 (elf_machine_fixup_plt): Likewise.
10880 (elf_machine_plt_conflict): Likewise.
10881 (resolve_ifunc): Likewise.
10882 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10883 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10884 Likewise.
10885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10886 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10888 (makecontext): Support ELFv2 ABI.
10889 * elf/elf.h (EF_PPC64_ABI): Define.
10890
d31beafa
UW
108912013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10892
57f41c40
AS
10893 * sysdeps/powerpc/powerpc64/sysdep.h
10894 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10895 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10896 (ENTRY) [ASSEMBLER]: ... but instead here ...
10897 (EALIGN) [ASSEMBLER]: ... and here.
10898 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10899 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10900 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
10901 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10902 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
10903 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10904 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
10905 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10907 Use PPC64_LOAD_FUNCPTR.
10908
b525166b
UW
10909 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10910
7ec07d9a
AM
109112013-12-04 Alan Modra <amodra@gmail.com>
10912
10913 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10914 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10915 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10916 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10917
10918 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10919 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10920 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10921 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10922 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10923 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10924
5162e7dd
UW
109252013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10926
10927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10928 (__makecontext): Fix incorrect CFI when backtracing out of
10929 context created via makecontext.
10930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10931 (__setcontext): Fix incorrect CFI during switch to new context.
10932 (__novec_setcontext): Likewise.
10933
19e3372b
OB
109342013-12-04 Ondřej Bílka <neleai@seznam.cz>
10935
10936 [BZ #4772]
10937 * time/strptime_l.c (__strptime_internal): Allow modifiers
10938 in strptime.
10939 * time/tst-strptime.c (day_tests): Add testcase.
10940
ecaf142d
SP
109412013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10942
10943 * scripts/bench.pl: Skip over blank lines.
10944
fbf964ae
PE
109452013-12-04 Paul Eggert <eggert@cs.ucla.edu>
10946
10947 [BZ #926]
10948 * manual/time.texi (Calendar Time): Clarify what timezone functions
10949 use.
10950
fa60a674
AZ
109512013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10952
10953 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10954
d674f0ef
OB
109552013-12-04 Ondřej Bílka <neleai@seznam.cz>
10956
10957 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10958 implementation.
10959 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10960 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10961 * debug/memset_chk.c (__memset_chk): Likewise.
10962 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10963 * debug/strncpy_chk.c: Likewise.
10964
17dea188
JM
109652013-12-03 Joseph Myers <joseph@codesourcery.com>
10966
749008ff
JM
10967 [BZ #15268]
10968 [BZ #15425]
10969 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10970 (__ieee754_exp): For possibly underflowing results, check size of
10971 result and force underflow exception if required.
10972 * math/auto-libm-test-in: Add more tests of exp.
10973 * math/auto-libm-test-out: Regenerated.
10974 * sysdeps/i386/fpu/libm-test-ulps: Update.
10975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10976
17dea188
JM
10977 [BZ #16283]
10978 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10979 * math/w_exp2f.c (__exp2f): Likewise.
10980 * math/w_exp2l.c (__exp2l): Likewise.
10981 * math/auto-libm-test-in: Do not allow missing errno on exp2
10982 underflow.
10983 * math/auto-libm-test-out: Regenerated.
10984
b20de2c3
OB
109852013-12-03 Ondřej Bílka <neleai@seznam.cz>
10986
10987 [BZ #16274]
10988 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10989 handle filename validation.
10990 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10991 (do_open): Delete.
10992
d8e2dbe3
JM
109932013-12-03 Joseph Myers <joseph@codesourcery.com>
10994
34e16df5
JM
10995 [BZ #6786]
10996 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10997 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10998 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10999 <float.h>.
11000 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
11001 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
11002 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11003 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
11004 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11005 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
11006 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11007 * math/auto-libm-test-in: Don't allow missing errno from erfc.
11008 Add more erfc tests.
11009 * math/auto-libm-test-out: Regenerated.
11010 * sysdeps/i386/fpu/libm-test-ulps: Update.
11011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11012
d8e2dbe3
JM
11013 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11014 exp2, expm1, j0 and j1.
11015 * math/auto-libm-test-out: Regenerated.
11016 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11017 (erfc_test_data): Likewise.
11018 (exp_test_data): Likewise.
11019 (exp_tonearest_test_data): Likewise.
11020 (exp_towardzero_test_data): Likewise.
11021 (exp_downward_test_data): Likewise.
11022 (exp_upward_test_data): Likewise.
11023 (exp10_test_data): Likewise.
11024 (exp2_test_data): Likewise.
11025 (expm1_test_data): Likewise.
11026 (j0_test_data): Likewise.
11027 (j1_test_data): Likewise.
11028 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11029 (input_flag_type): Add flag_xfail_rounding.
11030 (input_flags): Add xfail-rounding.
11031 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11032 (output_for_one_input_case): Handle flag_xfail_rounding.
11033 * sysdeps/i386/fpu/libm-test-ulps: Update.
11034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11035
18d14251
AJ
110362013-12-03 Aurelien Jarno <aurelien@aurel32.net>
11037
3d2e6075 11038 [BZ #16289]
18d14251
AJ
11039 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11040 division by 0.
11041
520d437b
SP
110422013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11043
11044 [BZ #16195]
11045 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11046 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11047 (STAP_PROBE0): New macro.
11048 (STAP_PROBE1): Likewise.
11049 (STAP_PROBE2): Likewise.
11050 (STAP_PROBE3): Likewise.
11051 (STAP_PROBE4): Likewise.
11052
416e0145
OB
110532013-12-02 Ondřej Bílka <neleai@seznam.cz>
11054
11055 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11056
9d17796a
SE
110572013-12-02 Steve Ellcey <sellcey@mips.com>
11058
11059 * benchtests/Makefile (bench): Add sqrt.
11060 (LDLIBS-bench-sqrt): New.
11061 * benchtests/sqrt-input: New.
11062
f524d6a8
PS
110632013-12-02 Pavel Simerda <psimerda@redhat.com>
11064
639a0ef8
PS
11065 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11066 (GAIH_EAI): Likewise.
11067 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11068 (gaih_inet): Likewise.
11069 (getaddrinfo): Don't use GAIH_EAI.
11070
f524d6a8
PS
11071 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11072 (struct gaih): Remove definition.
11073
df3aedaf
SP
110742013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11075
11076 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11077 Use HERRNOP directly.
11078
1ab19dec
AZ
110792013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11080
b42ad38d 11081 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 11082
176b0c79
JM
110832013-11-30 Joseph Myers <joseph@codesourcery.com>
11084
11085 * math/gen-auto-libm-tests.c (test_functions): Add more
11086 single-argument functions.
11087 (special_fill_pi_2): New function.
11088 (special_fill_minus_pi_2): Likewise.
11089 (special_fill_pi_6): Likewise.
11090 (special_fill_minus_pi_6): Likewise.
11091 (special_fill_pi_3): Likewise.
11092 (special_fill_2pi_3): Likewise.
11093 (special_fill_e): Likewise.
11094 (special_fill_1_e): Likewise.
11095 (special_fill_e_minus_1): Likewise.
11096 (special_real_inputs): Add more special inputs.
11097 (output_for_one_input_case): Do not require ERANGE on underflow to
11098 zero if round-to-nearest result does not underflow to zero, unless
11099 exact results required.
11100 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11101 atan, atanh, cbrt, cos and cosh.
11102 * math/auto-libm-test-out: Regenerated.
11103 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11104 (acos_tonearest_test_data): Likewise.
11105 (acos_towardzero_test_data): Likewise.
11106 (acos_downward_test_data): Likewise.
11107 (acos_upward_test_data): Likewise.
11108 (acosh_test_data): Likewise.
11109 (asin_test_data): Likewise.
11110 (asin_tonearest_test_data): Likewise.
11111 (asin_towardzero_test_data): Likewise.
11112 (asin_upward_test_data): Likewise.
11113 (asinh_test_data): Likewise.
11114 (atan_test_data): Likewise.
11115 (atanh_test_data): Likewise.
11116 (cbrt_test_data): Likewise.
11117 (cos_test_data): Likewise.
11118 (cos_tonearest_test_data): Likewise.
11119 (cos_towardzero_test_data): Likewise.
11120 (cos_downward_test_data): Likewise.
11121 (cos_upward_test_data): Likewise.
11122 (cosh_test_data): Likewise.
11123 (cosh_tonearest_test_data): Likewise.
11124 (cosh_towardzero_test_data): Likewise.
11125 (cosh_downward_test_data): Likewise.
11126 (cosh_upward_test_data): Likewise.
11127 * sysdeps/i386/fpu/libm-test-ulps: Update.
11128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11129
ffb536d0
JM
111302013-11-29 Joseph Myers <joseph@codesourcery.com>
11131
2a77a467
JM
11132 [BZ #6787]
11133 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11134 * math/w_exp10f.c (__exp10f): Likewise.
11135 * math/w_exp10l.c (__exp10l): Likewise.
11136 * math/libm-test.inc (exp10_test_data): Add more tests and expect
11137 errno settings in existing tests.
11138
ea3bc4e8
JM
11139 [BZ #14032]
11140 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11141 precision control set to double precision.
11142 * sysdeps/i386/fpu/w_sqrt.c: New file.
11143 * math/auto-libm-test-in: Add more tests.
11144 * math/auto-libm-test-out: Update.
11145
0712c9d8
JM
11146 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11147 (sqrt_test_tonearest): New function.
11148 (sqrt_towardzero_test_data): New variable.
11149 (sqrt_test_towardzero): New function.
11150 (sqrt_downward_test_data): New variable.
11151 (sqrt_test_downward): New function.
11152 (sqrt_upward_test_data): New variable.
11153 (sqrt_test_upward): New function.
11154 (main): Call the new functions.
11155
ffb536d0
JM
11156 * math/gen-auto-libm-tests.c: New file.
11157 * math/auto-libm-test-in: Likewise.
11158 * math/auto-libm-test-out: New generated file.
11159 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11160 variables.
11161 (%beautify): Add generated representations of zero.
11162 (top level): Set $auto_input and call parse_auto_input.
11163 (beautify): Remove trailing "f" from hex float constants.
11164 (parse_args): Handle XFAIL_TEST.
11165 (convert_condition): New function.
11166 (or_value): Likewise.
11167 (or_cond_value): Likewise.
11168 (generate_testfile): Handle AUTO_TESTS_* lines.
11169 (parse_auto_input): New function.
11170 * math/libm-test.inc (XFAIL_TEST): New macro.
11171 (ERRNO_UNCHANGED): Update value.
11172 (ERRNO_EDOM): Likewise.
11173 (ERRNO_ERANGE): Likewise.
11174 (IGNORE_RESULT): Likewise.
11175 (TEST_COND_flt_32): New macro.
11176 (TEST_COND_dbl_64): Likewise.
11177 (TEST_COND_ldbl_96_intel): Likewise.
11178 (TEST_COND_ldbl_96_m68k): Likewise.
11179 (TEST_COND_ldbl_128): Likewise.
11180 (TEST_COND_ldbl_128ibm): Likewise.
11181 (TEST_COND_long32): Likewise.
11182 (TEST_COND_long64): Likewise.
11183 (TEST_COND_before_rounding): Likewise.
11184 (TEST_COND_after_rounding): Likewise.
11185 (enable_test): Handle XFAIL_TEST flag.
11186 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11187 with finite results.
11188 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11189 auto-libm-test-out.
11190
acd98a8e
AK
111912013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11192 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11193
11194 [BZ #16214]
11195 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11196 __tls_get_addr_internal instead of __tls_get_offset in order to
11197 avoid GOT pointer dependency. Make rtld export
11198 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11199 __tls_get_addr since we are a __tls_get_offset platform.
11200 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11201 GOT pointer being set up before.
11202 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11203
3c1c46a6
JM
112042013-11-28 Joseph Myers <joseph@codesourcery.com>
11205
7475aef5
JM
11206 * manual/math.texi (Errors in Math Functions): Document accuracy
11207 goals.
11208
8bca7cd8
JM
11209 [BZ #15004]
11210 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11211 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11212 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11213 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11214 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11215 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11216 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11217 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11218 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11219 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11220 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11221 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11222 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11223 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11224 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11225 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11226
91a1f3fe
JM
11227 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11228 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11229 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11230 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11231 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11232 Likewise.
11233 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11234 Likewise.
11235 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11236 Likewise.
11237 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11238 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11239 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11240 atomic-feupdateenv and flt-rounds.
11241 * sysdeps/powerpc/nofpu/Versions (libc): Add
11242 __atomic_feholdexcept, __atomic_feclearexcept,
11243 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11244 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11245 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11246 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11247 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11248 here.
11249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11250 Update.
11251
c5df7609
JM
11252 * manual/arith.texi (FP Exceptions): Document that exceptions may
11253 not be raised when matherr is used.
11254 (Math Error Reporting): Document overflow in directed rounding
11255 modes. Document that errno may not be set when finite values are
11256 returned on overflow. Document intent to set errno on underflow
11257 only for underflow to zero.
11258
3c1c46a6
JM
11259 [BZ #16271]
11260 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11261 round-to-nearest then adjust result for other rounding modes.
11262 * include/fenv.h (fegetround): Use libm_hidden_proto.
11263 * math/fegetround.c (fegetround): Use libm_hidden_def.
11264 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11265 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11266 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11267 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11268 Likewise.
11269 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11270 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11271 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11272 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11273
5a4c6d53
SP
112742013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11275
11276 [BZ #16077]
11277 * nss/Versions (libnss_files): Add
11278 _nss_files_gethostbyname3_r.
11279 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11280 New function.
11281 (HOST_DB_LOOKUP): Remove macro.
11282 (_nss_files_gethostbyname_r): Implement function without the
11283 HOST_DB_LOOKUP macro.
11284 (_nss_files_gethostbyname2_r): Likewise.
11285
897b98ba
OB
112862013-11-28 Ondřej Bílka <neleai@seznam.cz>
11287
11288 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11289
6f476861
UB
112902013-11-26 Uros Bizjak <ubizjak@gmail.com>
11291
11292 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11293 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11294 warning.
11295
bd12ab55
AZ
112962013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11297
11298 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11299 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11300 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11301 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11302 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11303 __fe_nomask_env_priv and attribute_hidden.
11304 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11305 (libc_feupdateenv_test_ppc): Likewise.
11306 (libc_feresetround_ppc): Likewise.
11307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11308 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11309 compat_symbol macro.
11310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11311 (__fe_nomask_env): Likewise.
11312 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11313
52bb6543
OB
113142013-11-26 Ondřej Bílka <neleai@seznam.cz>
11315
11316 * string/Makefile: Remove ifunc tests.
11317 * string/test-string.h: Define TEST_IFUNC.
11318 * string/test-bcopy-ifunc.c: Remove.
11319 * string/test-bzero-ifunc.c: Likewise.
11320 * string/test-memccpy-ifunc.c: Likewise.
11321 * string/test-memchr-ifunc.c: Likewise.
11322 * string/test-memcmp-ifunc.c: Likewise.
11323 * string/test-memcpy-ifunc.c: Likewise.
11324 * string/test-memmem-ifunc.c: Likewise.
11325 * string/test-memmove-ifunc.c: Likewise.
11326 * string/test-mempcpy-ifunc.c: Likewise.
11327 * string/test-memrchr-ifunc.c: Likewise.
11328 * string/test-memset-ifunc.c: Likewise.
11329 * string/test-rawmemchr-ifunc.c: Likewise.
11330 * string/test-stpcpy-ifunc.c: Likewise.
11331 * string/test-stpncpy-ifunc.c: Likewise.
11332 * string/test-strcasecmp-ifunc.c: Likewise.
11333 * string/test-strcasestr-ifunc.c: Likewise.
11334 * string/test-strcat-ifunc.c: Likewise.
11335 * string/test-strchr-ifunc.c: Likewise.
11336 * string/test-strchrnul-ifunc.c: Likewise.
11337 * string/test-strcmp-ifunc.c: Likewise.
11338 * string/test-strcpy-ifunc.c: Likewise.
11339 * string/test-strcspn-ifunc.c: Likewise.
11340 * string/test-strlen-ifunc.c: Likewise.
11341 * string/test-strncasecmp-ifunc.c: Likewise.
11342 * string/test-strncat-ifunc.c: Likewise.
11343 * string/test-strncmp-ifunc.c: Likewise.
11344 * string/test-strncpy-ifunc.c: Likewise.
11345 * string/test-strnlen-ifunc.c: Likewise.
11346 * string/test-strpbrk-ifunc.c: Likewise.
11347 * string/test-strrchr-ifunc.c: Likewise.
11348 * string/test-strspn-ifunc.c: Likewise.
11349 * string/test-strstr-ifunc.c: Likewise.
11350
ab260039 113512013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
11352
11353 * benchtests/Makefile: Remove ifunc tests.
11354 * benchtests/bench-string.h: Define TEST_IFUNC.
11355 * benchtests/bench-bcopy-ifunc.c: Remove.
11356 * benchtests/bench-bzero-ifunc.c: Likewise.
11357 * benchtests/bench-memccpy-ifunc.c: Likewise.
11358 * benchtests/bench-memchr-ifunc.c: Likewise.
11359 * benchtests/bench-memcmp-ifunc.c: Likewise.
11360 * benchtests/bench-memcpy-ifunc.c: Likewise.
11361 * benchtests/bench-memmem-ifunc.c: Likewise.
11362 * benchtests/bench-memmove-ifunc.c: Likewise.
11363 * benchtests/bench-mempcpy-ifunc.c: Likewise.
11364 * benchtests/bench-memrchr-ifunc.c: Likewise.
11365 * benchtests/bench-memset-ifunc.c: Likewise.
11366 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11367 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11368 * benchtests/bench-stpcpy-ifunc.c: Likewise.
11369 * benchtests/bench-stpncpy-ifunc.c: Likewise.
11370 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11371 * benchtests/bench-strcasestr-ifunc.c: Likewise.
11372 * benchtests/bench-strcat-ifunc.c: Likewise.
11373 * benchtests/bench-strchr-ifunc.c: Likewise.
11374 * benchtests/bench-strchrnul-ifunc.c: Likewise.
11375 * benchtests/bench-strcmp-ifunc.c: Likewise.
11376 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11377 * benchtests/bench-strcpy-ifunc.c: Likewise.
11378 * benchtests/bench-strcspn-ifunc.c: Likewise.
11379 * benchtests/bench-strlen-ifunc.c: Likewise.
11380 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11381 * benchtests/bench-strncat-ifunc.c: Likewise.
11382 * benchtests/bench-strncmp-ifunc.c: Likewise.
11383 * benchtests/bench-strncpy-ifunc.c: Likewise.
11384 * benchtests/bench-strnlen-ifunc.c: Likewise.
11385 * benchtests/bench-strpbrk-ifunc.c: Likewise.
11386 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 11387 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
11388 * benchtests/bench-strspn-ifunc.c: Likewise.
11389 * benchtests/bench-strstr-ifunc.c: Likewise.
11390
113912013-11-26 Ondřej Bílka <neleai@seznam.cz>
11392
ab260039
OB
11393 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11394
d1d9eaf4 113952013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 11396
d1d9eaf4
OB
11397 * resolv/netdb.h: Use __glibc_reserved instead __unused.
11398 * rt/aio.h: Likewise.
11399 * sysdeps/gnu/bits/utmp.h: Likewise.
11400 * sysdeps/gnu/bits/utmpx.h: Likewise.
11401 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11402 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11403 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11404 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11405 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11406 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11407 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11408 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11409 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11410 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11411 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11412 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11413 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11415 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11416 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11417 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11418 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11419 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11420 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11421 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11422 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11423 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11424 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11425 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11426 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11427 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11428 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11429 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11430 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11431 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11432 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11433 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11434 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11435 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11436 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11437 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11438 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11439 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11440 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11441 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11442 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11443
a7624ed9
CD
114442013-11-25 Carlos O'Donell <carlos@redhat.com>
11445
11446 [BZ #16245]
11447 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11448 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11449
63cfe52b
JM
114502013-11-25 Joseph Myers <joseph@codesourcery.com>
11451
11452 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11453 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11454 Likewise.
11455
41e8926a
AZ
114562013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11457
11458 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11459 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11460 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11461 (__fesetround): Remove define.
11462 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11463 rounding and exceptions handling.
11464 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11465 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11466 (__fe_nomask_env): Likewise.
11467 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11468 __fegetround instead of fegetround.
11469 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11470 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11471
6851bd4d
RM
114722013-11-21 Roland McGrath <roland@hack.frob.com>
11473
070906ff
RM
11474 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11475 it's there.
11476
6851bd4d
RM
11477 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11478
84ae135d
MI
114792013-11-21 Meador Inge <meadori@codesourcery.com>
11480
11481 [BZ #11157]
11482 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11483 (encrypt_r): Likewise.
11484 * malloc/obstack.h (obstack_free): Likewise.
11485 * posix/unistd.h (encrypt): Likewise.
11486
daf75146
GM
114872013-11-21 Guy Martin <gmsoft@tuxicoman.be>
11488
11489 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11490 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11491 DL_CALL_DT_FINI() that call the functions directly.
11492 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11493 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11494 * elf/dl-fini.c: Likewise.
11495
10ad46bc
OB
114962013-11-20 Ondřej Bílka <neleai@seznam.cz>
11497
11498 * malloc/hooks.c (memalign_check): Add alignment rounding.
11499 * malloc/malloc.c (_mid_memalign): New function.
11500 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11501 Implement by calling _mid_memalign.
11502 * manual/probes.texi (Memory Allocation Probes): Remove
11503 memory_valloc_retry and memory_pvalloc_retry.
11504
f3fd2628
SP
115052013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11506
4712799f
SP
11507 * locale/programs/locarchive.c (open_archive): Add const
11508 qualifier to ARCHIVEFNAME and copy default fname to
11509 DEFAULT_FNAME.
11510
0417b20f
SP
11511 [BZ #15601]
11512 * libio/tst-widetext.input: Rename Oriya to Odia.
11513 * locale/iso-639.def: Likewise.
11514
f3fd2628
SP
11515 * manual/probes.texi (Mathematical Function Probes): Add
11516 documentation for sin, cos, asin and acos probes.
11517 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11518 (__sin32): Add slowasin probe.
11519 (__cos32): Add slowacos probe.
11520 (__mpsin): Add slowsin probe.
11521 (__mpcos): Add slowcos probe.
11522
73c1ce4f
JM
115232013-11-19 Joseph Myers <joseph@codesourcery.com>
11524
11525 [BZ #15483]
11526 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11527 thread-local __sim_exceptions_thread and global
11528 __sim_exceptions_global.
11529 (__sim_disabled_exceptions): Change to thread-local
11530 __sim_disabled_exceptions_thread and global
11531 __sim_disabled_exceptions_global.
11532 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11533 and global __sim_round_mode_global.
11534 (__simulate_exceptions): Use thread-local floating-point state and
11535 set global state from it as needed.
11536 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11537 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11538 __sim_round_mode_thread.
11539 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11540 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11541 and global __sim_exceptions_global.
11542 (__sim_disabled_exceptions): Change to thread-local
11543 __sim_disabled_exceptions_thread and global
11544 __sim_disabled_exceptions_global.
11545 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11546 and global __sim_round_mode_global.
11547 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11548 (SIM_SET_GLOBAL): Likewise.
11549 * sysdeps/powerpc/soft-fp/sfp-machine.h
11550 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11551 __sim_round_mode_thread.
11552 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11553 __sim_disabled_exceptions_thread.
11554 (__sim_exceptions): Change to __sim_exceptions_thread.
11555 (__sim_disabled_exceptions): Change to
11556 __sim_disabled_exceptions_thread.
11557 (__sim_round_mode): Change to __sim_round_mode_thread.
11558 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11559 thread-local floating-point state and set global state from it as
11560 needed.
11561 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11562 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11563 (__sim_disabled_exceptions): Remove extern declaration.
11564 (feenableexcept): Use thread-local floating-point state and set
11565 global state from it as needed.
11566 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11567 extern declaration.
11568 (__sim_disabled_exceptions): Likewise.
11569 (__sim_round_mode): Likewise.
11570 (__fegetenv): Use thread-local floating-point state.
11571 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11572 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11573 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11574 floating-point state and set global state from it as needed.
11575 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11576 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11577 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11578 Likewise.
11579 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11580 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11581 Likewise.
11582 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11583 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11584 Use __sim_round_mode_thread.
11585 * math/test-fenv-tls.c: New file.
11586 * math/Makefile (tests): Add test-fenv-tls.
11587 ($(objpfx)test-fenv-tls): Depend on
11588 $(common-objpfx)nptl/libpthread.so.
11589
b5449b12
AS
115902013-11-19 Andreas Schwab <schwab@suse.de>
11591
11592 * locale/programs/locale.c (show_info): Decode wordarray elements.
11593 * locale/categories.def (LC_MONETARY): Add element for
11594 _NL_MONETARY_CRNCYSTR.
11595 * locale/C-monetary.c (conversion_rate): New variable.
11596 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11597 element.
11598
e186536b
CM
115992013-11-18 Chris Metcalf <cmetcalf@tilera.com>
11600
11601 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11602 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11603
5c349950
PP
116042013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11605
11606 * elf/Makefile (tst-auxv): New test.
11607 * elf/tst-auxv.c: New
11608 * elf/rtld.c (dl_main): Adjust AT_EXECFN
11609
699df45b
JM
116102013-11-18 Joseph Myers <joseph@codesourcery.com>
11611
11612 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11613 (hidden_proto): Caller changed.
11614 (hidden_tls_proto): New macro.
11615 (libc_hidden_tls_proto): Likewise.
11616 (rtld_hidden_tls_proto): Likewise.
11617 (libm_hidden_tls_proto): Likewise.
11618 (libresolv_hidden_tls_proto): Likewise.
11619 (librt_hidden_tls_proto): Likewise.
11620 (libdl_hidden_tls_proto): Likewise.
11621 (libnss_files_hidden_tls_proto): Likewise.
11622 (libnsl_hidden_tls_proto): Likewise.
11623 (libnss_nisplus_hidden_tls_proto): Likewise.
11624 (libutil_hidden_tls_proto): Likewise.
11625
b7589107
OB
116262013-11-18 Ondřej Bílka <neleai@seznam.cz>
11627
11628 [BZ #10253]
11629 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11630 (decompose_rpath): Defer expansion to fillin_rpath.
11631 (_dl_init_paths): Pass linkmap to fillin_rpath.
11632
250c23bd
RS
116332013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11634
11635 * benchtests/Makefile: Add strsep.
11636 * benchtests/bench-strsep.c: New file: strsep benchtest.
11637 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11638
a7931fcf
AS
116392013-11-18 Andreas Schwab <schwab@suse.de>
11640
11641 * locale/programs/locale.c (show_info) [case byte]: Check for
11642 '\377' instead of '\177'.
11643 * locale/C-monetary.c (not_available): Always use "\377".
11644 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11645 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
11646 detect unavailable sign_posn locale elements.
11647 * locale/localeconv.c (__localeconv): For grouping and
11648 mon_grouping handle "\177" and "\377" like no grouping.
11649 (INT_ELEM): New macro. Use it to set all numeric members.
11650 * locale/programs/ld-monetary.c (monetary_read)
11651 <tok_mon_grouping>: Normalize single -1 to the empty string.
11652 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11653 Likewise.
11654
728dab0e
OB
116552013-11-07 Ondřej Bílka <neleai@seznam.cz>
11656
11657 [BZ #16055]
11658 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11659 when we match (nil).
11660 * stdio-common/tst-sscanf.c (struct test): Add testcase.
11661
66294491
JM
116622013-11-16 Joseph Myers <joseph@codesourcery.com>
11663
ce665817
JM
11664 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11665 (NO_TEST_INLINE): Update value.
11666 (ERRNO_UNCHANGED): Likewise.
11667 (ERRNO_EDOM): Likewise.
11668 (ERRNO_ERANGE): Likewise.
11669 (IGNORE_RESULT): Likewise.
11670 (check_float_internal): Check signs of NaN results if
11671 TEST_NAN_SIGN used.
11672 (check_complex): Pass TEST_NAN_SIGN flag through to second
11673 check_float_internal call.
11674 (copysign_test_data): Add tests with quiet NaNs as second
11675 argument. Use TEST_NAN_SIGN.
11676 (fabs_test_data): Add test of negative quiet NaN argument. Use
11677 TEST_NAN_SIGN.
11678 (signbit_test_data): Add tests of quiet NaN argument.
11679 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11680
ee1466a9
JM
11681 * math/gen-libm-test.pl (show_exceptions): Take extra argument
11682 $ignore_result.
11683 (parse_args): Handle function results specified as IGNORE.
11684 * math/libm-test.inc (IGNORE_RESULT): New macro.
11685 (check_float_internal): Do not check numerical result if flag
11686 IGNORE_RESULT set.
11687 (check_complex): Pass through IGNORE_RESULT to second
11688 check_float_internal call.
11689 (check_int): Do not check numerical result if flag IGNORE_RESULT
11690 set.
11691 (check_long): Likewise.
11692 (check_bool): Likewise.
11693 (check_longlong): Likewise.
11694 (lrint_test_data): Add tests of infinite and NaN arguments.
11695 (lrint_tonearest_test_data): Likewise.
11696 (lrint_towardzero_test_data): Likewise.
11697 (lrint_downward_test_data): Likewise.
11698 (lrint_upward_test_data): Likewise.
11699 (llrint_test_data): Likewise.
11700 (llrint_tonearest_test_data): Likewise.
11701 (llrint_towardzero_test_data): Likewise.
11702 (llrint_downward_test_data): Likewise.
11703 (llrint_upward_test_data): Likewise.
11704 (lround_test_data): Likewise.
11705 (llround_test_data): Likewise.
11706
14407b7e
JM
11707 * math/libm-test.inc (NO_TEST_INLINE): New macro.
11708 (ERRNO_UNCHANGED): Update value.
11709 (ERRNO_EDOM): Likewise.
11710 (ERRNO_ERANGE): Likewise.
11711 (NO_TEST_INLINE_FLOAT): New macro.
11712 (NO_TEST_INLINE_DOUBLE): Likewise.
11713 (enable_test): New function.
11714 (RUN_TEST_f_f): Check enable_test before running test.
11715 (RUN_TEST_2_f): Likewise.
11716 (RUN_TEST_fff_f): Likewise.
11717 (RUN_TEST_c_f): Likewise.
11718 (RUN_TEST_f_f1): Likewise.
11719 (RUN_TEST_fF_f1): Likewise.
11720 (RUN_TEST_fI_f1): Likewise.
11721 (RUN_TEST_ffI_f1): Likewise.
11722 (RUN_TEST_c_c): Likewise.
11723 (RUN_TEST_cc_c): Likewise.
11724 (RUN_TEST_f_i): Likewise.
11725 (RUN_TEST_f_i_tg): Likewise.
11726 (RUN_TEST_ff_i_tg): Likewise.
11727 (RUN_TEST_f_b): Likewise.
11728 (RUN_TEST_f_b_tg): Likewise.
11729 (RUN_TEST_f_l): Likewise.
11730 (RUN_TEST_f_L): Likewise.
11731 (RUN_TEST_fFF_11): Likewise.
11732 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11733 conditionals.
11734 (cosh_test_data): Likewise.
11735 (exp_test_data): Likewise.
11736 (expm1_test_data): Likewise.
11737 (hypot_test_data): Likewise.
11738 (pow_test_data): Likewise.
11739 (sinh_test_data): Likewise.
11740 (tanh_test_data): Likewise.
11741 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11742 flags argument.
11743
ca07f197
JM
11744 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11745 tests with quiet NaN input and output.
11746 (acosh_test_data): Likewise.
11747 (asin_test_data): Likewise.
11748 (asinh_test_data): Likewise.
11749 (atan_test_data): Likewise.
11750 (atanh_test_data): Likewise.
11751 (atan2_test_data): Likewise.
11752 (cbrt_test_data): Likewise.
11753 (cos_test_data): Likewise.
11754 (cosh_test_data): Likewise.
11755 (erf_test_data): Likewise.
11756 (erfc_test_data): Likewise.
11757 (exp_test_data): Likewise.
11758 (exp10_test_data): Likewise.
11759 (exp2_test_data): Likewise.
11760 (expm1_test_data): Likewise.
11761 (hypot_test_data): Likewise.
11762 (j0_test_data): Likewise.
11763 (j1_test_data): Likewise.
11764 (jn_test_data): Likewise.
11765 (lgamma_test_data): Likewise.
11766 (log_test_data): Likewise.
11767 (log10_test_data): Likewise.
11768 (log1p_test_data): Likewise.
11769 (log2_test_data): Likewise.
11770 (pow_test_data): Likewise.
11771 (scalb_test_data): Likewise.
11772 (sin_test_data): Likewise.
11773 (sincos_test_data): Likewise.
11774 (sinh_test_data): Likewise.
11775 (tan_test_data): Likewise.
11776 (tanh_test_data): Likewise.
11777 (tgamma_test_data): Likewise.
11778 (y0_test_data): Likewise.
11779 (y1_test_data): Likewise.
11780 (yn_test_data): Likewise.
11781
66294491
JM
11782 [BZ #16167]
11783 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11784 argument being NaN and avoid computations with second argument in
11785 that case.
11786 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11787 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11788 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11789
1820b143
CL
117902013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
11791
11792 * locale/iso-639.def: Add Chitwani Tharu (the).
11793
714bd261
AS
117942013-11-14 Andreas Schwab <schwab@suse.de>
11795
11796 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11797 word instead of empty string.
11798
7ab44563
AZ
117992013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11800
11801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11802 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11804 (__fe_nomask_env): Likewise.
11805
e8470ea2
SE
118062013-11-13 Steve Ellcey <sellcey@mips.com>
11807
11808 * benchtests/bench-timing.h: Include time.h.
11809
17c1d9f0
L
118102013-11-13 H.J. Lu <hongjiu.lu@intel.com>
11811
11812 [BZ #15997]
11813 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11814 to 3.4.0 for x32.
11815 * sysdeps/unix/sysv/linux/configure: Regenerated.
11816
9310c284
JM
118172013-11-13 Joseph Myers <joseph@codesourcery.com>
11818
11819 [BZ #16151]
11820 * stdlib/strtod_l.c (round_and_return): Do not consider
11821 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11822 exponent one less than half the least subnormal exponent.
11823 * stdlib/test-strtod-round-data: Add more tests.
11824 * stdlib/tst-strtod-round.c (tests): Regenerated.
11825
7a2ad8cf
AZ
118262013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11827
11828 [BZ #14143]
11829 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11830 (__fe_mask_env): Likewise.
11831 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11832 libm_hidden_proto and add function prototype.
11833 (__fe_mask_env): Add function prototype.
11834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11835 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11837 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11839 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11840
50727aa7
MS
118412013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11842
b2f386c1 11843 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
11844 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11845
a615be46
MS
118462013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11847
11848 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11849 of htab_find_slot().
11850
7ddace62
DM
118512013-11-11 David S. Miller <davem@davemloft.net>
11852
11853 [BZ #16150]
11854 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11855 symbol in the non-vis3 case in static builds.
11856 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11857 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11858 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11859 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11860
9182aa67
JK
118612013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11862
11863 [BZ #387]
11864 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11865 it is empty.
11866
450a2e2d
AZ
118672013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11868
b2f386c1
SP
11869 * benchtests/Makefile: Add bench-strtod.
11870 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 11871
8ec3f656
AS
118722013-11-11 Andreas Schwab <schwab@suse.de>
11873
11874 [BZ #16153]
11875 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11876 terminating NUL in key length.
11877
76a9b998
AZ
118782013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11879
11880 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11881 Add artificial ODP entry for vDSO symbol for PPC64.
11882 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11883 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11884
e4368156
OB
118852013-11-07 Ondřej Bílka <neleai@seznam.cz>
11886
11887 [BZ #15374]
11888 * nss/getent.c (services_keys): Recognize services starting with digit.
11889
8d6bb57c
DM
118902013-11-06 David S. Miller <davem@davemloft.net>
11891
11892 [BZ #15985]
11893 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11894 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11895
e256c421
WN
118962013-11-06 Will Newton <will.newton@linaro.org>
11897
11898 * manual/memory.texi (Malloc Examples): Remove register
11899 keyword from examples.
11900
f6e12daa 119012013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 11902
f6e12daa 11903 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 11904
9d880655
AS
119052013-11-04 Joseph Myers <joseph@codesourcery.com>
11906
fd2f9486 11907 [BZ #6981]
9d880655
AS
11908 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11909 depending on [__GCC_IEC_559 > 0].
11910 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11911 depending on [__GCC_IEC_559_COMPLEX > 0].
11912
ae129d3c
CL
119132013-11-03 Chris Leonard <cjl@sugarlabs.org>
11914
11915 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11916 to iso-639.def.
11917
4a15c2a4 119182013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
11919
11920 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11921
8b35e35d
OB
119222013-11-01 Ondřej Bílka <neleai@seznam.cz>
11923
11924 [BZ #16112]
11925 * malloc/malloc (malloc_info): Do not handle first bin as
11926 special case.
11927
1d70fd6c
CL
119282013-11-01 Chris Leonard <cjl@sugarlabs.org>
11929
11930 * locale/iso-639.def: Add Central Nahuatl (nhn).
11931
8c5c2600
BH
119322013-11-01 Bruno Haible <bruno@clisp.org>
11933
11934 [BZ #7003]
11935 * manual/math.texi (BSD Random): Specify range upper bound as
11936 in POSIX.
11937
da5579c2
CL
119382013-10-31 Chris Leonard <cjl@sugarlabs.org>
11939
11940 * locale/iso-639.def: Add Meadow Mari (mhr).
11941
5d30d853
OB
119422013-10-31 Ondřej Bílka <neleai@seznam.cz>
11943
11944 [BZ #14752], [BZ #15763]
11945 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11946 Validate name.
11947 * rt/tst_shm.c: Add test for escaping directory.
11948
a4966c61
AS
119492013-10-31 Andreas Schwab <schwab@suse.de>
11950
8a43e768 11951 [BZ #15917]
a4966c61
AS
11952 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11953 followed by 'x' as part of digit sequence.
11954 * stdio-common/tst-sscanf.c (double_tests2): New tests.
11955
28d708c4
MAP
119562013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11957
11958 [BZ #16037]
11959 * configure.ac: allow GNU Make 4.0 and greater.
11960 * configure: Regenerated.
11961
a56ee40b
WN
119622013-10-30 Will Newton <will.newton@linaro.org>
11963
11964 [BZ #16038]
11965 * malloc/hooks.c (memalign_check): Limit alignment to the
11966 maximum representable power of two.
11967 * malloc/malloc.c (__libc_memalign): Likewise.
11968 * malloc/tst-memalign.c (do_test): Add test for very
11969 large alignment values.
11970 * malloc/tst-posix_memalign.c (do_test): Likewise.
11971
c6e4925d
OB
119722013-10-30 Ondřej Bílka <neleai@seznam.cz>
11973
11974 [BZ #11087]
11975 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11976 (munmap_chunk): Likewise.
11977 (mremap_chunk): Likewise.
11978
119792013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 11980
8a43e768 11981 [BZ #15799]
bbea82f7
OB
11982 * stdlib/div.c (div): Remove obsolete code.
11983 * stdlib/ldiv.c (ldiv): Likewise.
11984 * stdlib/lldiv.c (lldiv): Likewise.
11985
977f4b31
SP
119862013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11987
11988 [BZ #16071]
11989 * nss/nss_files/files-XXX.c (get_contents_ret): New
11990 enumerator.
11991 (get_contents): New function.
11992 (internal_getent): Use it. Expand size of LINEBUFLEN.
11993
cb8a6dbd
MF
119942013-10-30 Mike Frysinger <vapier@gentoo.org>
11995
11996 * configure.in: Moved to ...
11997 * configure.ac: ... here. Change reference to configure.in
11998 to configure.ac.
11999 * sysdeps/arm/preconfigure.ac: ... here.
12000 configure.in to configure.ac.
12001 * sysdeps/gnu/configure.in: Moved to ...
12002 * sysdeps/gnu/configure.ac: ... here.
12003 * sysdeps/i386/configure.in: Moved to ...
12004 * sysdeps/i386/configure.ac: ... here.
12005 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
12006 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
12007 * sysdeps/mach/configure.in: Moved to ...
12008 * sysdeps/mach/configure.ac: ... here.
12009 * sysdeps/mach/hurd/configure.in: Moved to ...
12010 * sysdeps/mach/hurd/configure.ac: ... here.
12011 * sysdeps/powerpc/configure.in: Moved to ...
12012 * sysdeps/powerpc/configure.ac: ... here.
12013 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12014 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12015 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12016 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12017 * sysdeps/s390/s390-32/configure.in: Moved to ...
12018 * sysdeps/s390/s390-32/configure.ac: ... here.
12019 * sysdeps/s390/s390-64/configure.in: Moved to ...
12020 * sysdeps/s390/s390-64/configure.ac: ... here.
12021 * sysdeps/sh/configure.in: Moved to ...
12022 * sysdeps/sh/configure.ac: ... here.
12023 * sysdeps/sparc/configure.in: Moved to ...
12024 * sysdeps/sparc/configure.ac: ... here.
12025 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12026 * sysdeps/unix/sysv/linux/configure.ac: ... here.
12027 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12028 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12029 * sysdeps/x86_64/configure.in: Moved to ...
12030 * sysdeps/x86_64/configure.ac: ... here.
12031 * sysdeps/x86_64/preconfigure.in: Moved to ...
12032 * sysdeps/x86_64/preconfigure.ac: ... here.
12033 * aclocal.m4: Change reference to configure.in to configure.ac.
12034 * config.h.in: Likewise.
12035 * manual/install.texi: Likewise.
12036 * manual/maint.texi: Likewise.
12037 * Makefile: Likewise.
12038 * malloc/Makefile: Likewise.
12039 * nscd/Makefile: Likewise.
12040 * Makeconfig: Change reference to configure.in and
12041 preconfigure.in to configure.ac and preconfigure.ac
12042 respectively.
12043 * INSTALL: Regenerated.
12044 * configure: Likewise.
12045 * sysdeps/gnu/configure: Likewise.
12046 * sysdeps/i386/configure: Likewise.
12047 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12048 * sysdeps/mach/configure: Likewise.
12049 * sysdeps/mach/hurd/configure: Likewise.
12050 * sysdeps/powerpc/configure: Likewise.
12051 * sysdeps/powerpc/powerpc32/configure: Likewise.
12052 * sysdeps/powerpc/powerpc64/configure: Likewise.
12053 * sysdeps/s390/s390-32/configure: Likewise.
12054 * sysdeps/s390/s390-64/configure: Likewise.
12055 * sysdeps/sh/configure: Likewise.
12056 * sysdeps/sparc/configure: Likewise.
12057 * sysdeps/unix/sysv/linux/configure: Likewise.
12058 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12059 * sysdeps/x86_64/configure: Likewise.
12060 * sysdeps/x86_64/preconfigure: Likewise.
12061
36a4953a
AS
120622013-10-29 Andreas Schwab <schwab@suse.de>
12063
12064 * stdio-common/Makefile (tst-swscanf-ENV): Define.
12065
c79a1204
SP
120662013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12067
dfa1b402
SP
12068 * benchtests/pow-inputs: Add new inputs.
12069
54f73d9c
SP
12070 * benchtests/exp-inputs: Add new inputs.
12071
c79a1204
SP
12072 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12073 conditional check for return value.
12074 (__cos32): Likewise.
12075
67beb545 120762013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
12077
12078 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12079 to provide a boost for large inputs with word alignment.
12080 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12081 implementation based on optimized PPC64 strcpy.
12082 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12083 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12084 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12085 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12086
151659f6
OB
120872013-10-25 Ondřej Bílka <neleai@seznam.cz>
12088
482a077e 12089 [BZ #2801]
151659f6
OB
12090 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12091
10b0f26b
OB
120922013-10-25 Ondřej Bílka <neleai@seznam.cz>
12093
12094 [BZ #14876]
12095 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12096 * time/tst-strptime.c (day_tests): Add testcase.
12097
ca42d35e
OB
120982013-10-25 Ondřej Bílka <neleai@seznam.cz>
12099
482a077e 12100 [BZ #14029]
ca42d35e
OB
12101 * manual/pattern.texi: Acknowledge that fnmatch can fail.
12102
52e6d801
FB
121032013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
12104
12105 [BZ #16074]
12106 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12107 MAP_FAILED on error.
12108
7cbcdb36
SP
121092013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12110
12111 [BZ #16072]
12112 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12113 heap for large requests.
12114
894f3f10
AM
121152013-10-25 Aurelien Jarno <aurelien@aurel32.net>
12116
12117 [BZ #9954]
12118 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12119 result if the result has no associated interface.
12120 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12121 interface for all 127.X.Y.Z addresses.
12122
b85545a6
CL
121232013-10-24 Chris Leonard <cjl@sugarlabs.org>
12124
12125 * locale/iso-639.def: Add Ligurian (lij)
12126
d1f23d46
OB
121272013-10-21 Ondřej Bílka <neleai@seznam.cz>
12128
12129 [BZ #15825]
12130 * sunrpc/rpc_main.c: Document rpcgen -5.
12131
4db5b08f
MS
121322013-10-19 Michael Stahl <mstahl@redhat.com>
12133
12134 * elf/rtld.c (do_preload): Print the reason why preloading failed.
12135
a471e96a
OB
121362013-10-19 Ondřej Bílka <neleai@seznam.cz>
12137
d1f23d46 12138 [BZ #10278]
a471e96a
OB
12139 * posix/glob.c: Match only directories when trailing slash is present.
12140 * posix/tst-gnuglob.c (my_opendir): Do not open files.
12141 (main): Add testcase.
12142
45c30c61
OB
121432013-10-19 Ondřej Bílka <neleai@seznam.cz>
12144
12145 [BZ #15670]
12146 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12147
484c12fb
CD
121482013-10-18 Carlos O'Donell <carlos@redhat.com>
12149
3d7dc513
CD
12150 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12151 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12152 AUTH_DES and cindex for FIPS 140-2.
12153 (DES Encryption): Add cindex FIPS 46-3.
12154
484c12fb
CD
12155 * locale/locarchive.h (struct locarhandle): Add fname.
12156 * locale/programs/localedef.c (main): Pass ARGV[remaining]
12157 if an optional argument was specified to --list-archive,
12158 otherwise NULL.
12159 * locale/programs/locarchive.c (show_archive_content): Take new
12160 argument fname and pass it via ah.fname to open_archive.
12161 * locale/programs/localedef.h: Update decl.
12162 (open_archive): If AH->fname is non-null, open that file
12163 rather than the default file name, and don't ignore ENOENT.
12164 (create_archive): Set AH.fname to NULL.
12165 (delete_locales_from_archive): Likewise.
12166 (add_locales_to_archive): Likewise.
12167 * locale/programs/locfile.c (write_all_categories): Likewise.
12168
3c8325fb
JM
121692013-10-18 Joseph Myers <joseph@codesourcery.com>
12170 Aldy Hernandez <aldyh@redhat.com>
12171
12172 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12173 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12174 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12175 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12176 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12177 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12178 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12179 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12180 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12181 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12182 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12183 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12184 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12185 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12186 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12187 Likewise.
12188 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12189 Likewise.
12190 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12191 Likewise.
12192 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12193 Likewise.
12194 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12195 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12196 Likewise.
12197 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12198 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12199 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12200 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12201 Likewise.
12202 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12203 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12204 * sysdeps/powerpc/preconfigure: Likewise.
12205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12206 Likewise.
12207 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12208 Replace contents of file by #include of <fenv_libc.h>.
12209 * sysdeps/powerpc/soft-fp/sfp-machine.h
12210 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12211 and <sys/prctl.h>.
12212 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12213 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12214 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12215 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12216 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12217 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12218 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12219 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12220 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12221 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12222 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12223 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12225 Allow copysignl PLT reference to be missing.
12226
5abe0682
RS
122272013-10-18 Richard Sandiford <richard@codesourcery.com>
12228 Joseph Myers <joseph@codesourcery.com
12229
12230 [BZ #15948]
12231 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12232 single character.
12233 (add_to_tablewc): Assert sequence of wide characters is nonempty.
12234
c7738d08
SP
122352013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12236
12237 * elf/tst-tls-dlinfo.c: Don't include tls.h.
12238 * elf/tst-tls1.c: Likewise.
12239 * elf/tst-tls10.h: Likewise.
12240 * elf/tst-tls14.c: Likewise.
12241 * elf/tst-tls2.c: Likewise.
12242 * elf/tst-tls3.c: Likewise.
12243 * elf/tst-tls4.c: Likewise.
12244 * elf/tst-tls5.c: Likewise.
12245 * elf/tst-tls6.c: Likewise.
12246 * elf/tst-tls7.c: Likewise.
12247 * elf/tst-tls8.c: Likewise.
12248 * elf/tst-tls9.c: Likewise.
12249 * elf/tst-tlsmod1.c: Likewise.
12250 * elf/tst-tlsmod13.c: Likewise.
12251 * elf/tst-tlsmod13a.c: Likewise.
12252 * elf/tst-tlsmod14a.c: Likewise.
12253 * elf/tst-tlsmod16a.c: Likewise.
12254 * elf/tst-tlsmod16b.c: Likewise.
12255 * elf/tst-tlsmod2.c: Likewise.
12256 * elf/tst-tlsmod3.c: Likewise.
12257 * elf/tst-tlsmod4.c: Likewise.
12258 * elf/tst-tlsmod5.c: Likewise.
12259 * elf/tst-tlsmod6.c: Likewise.
12260
0bfcf2c7
OB
122612013-10-18 Ondřej Bílka <neleai@seznam.cz>
12262
12263 [BZ #12486]
12264 * malloc/malloc.c: remove checks for statistics.
12265
264aad1e
OB
122662013-10-17 Ondřej Bílka <neleai@seznam.cz>
12267
12268 [BZ #15277]
12269 * inet/inet_net.c (inet_network): Detect additional invalid strings.
12270 * inet/tst-network.c: Add testcase.
12271
b957ced8
AS
122722013-10-17 Andreas Schwab <schwab@suse.de>
12273
12274 [BZ #15218]
12275 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12276 to determine canonical name.
12277
c5d5d574
OB
122782013-10-17 Ondřej Bílka <neleai@seznam.cz>
12279
12280 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12281 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12282 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12283 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12284 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12285 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12286 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12287 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12288 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12289 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12290 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12291 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12292 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12293 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12294 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12295 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12296 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12297 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12298 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12299 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12300 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12301 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12302 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12303 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12304 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12305 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12306 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12307 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12308 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12309 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12310 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12311 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12312 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12313 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12314 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12315 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12316 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12317 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12318 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12319 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12320 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12321 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12322 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12323 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12324 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12325 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12326 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12327 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12328 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12329 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12330 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12331 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12332 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12333 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12334 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12335 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12336 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12337 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12338
e5c2c2d0
JM
123392013-10-17 Joseph Myers <joseph@codesourcery.com>
12340
12341 [BZ #16041]
12342 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12343 make result into a quiet NaN.
12344
51ca9e29
JM
123452013-10-16 Joseph Myers <joseph@codesourcery.com>
12346
12347 * soft-fp/adddf3.c: Fix horizontal whitespace.
12348 * soft-fp/addsf3.c: Likewise.
12349 * soft-fp/addtf3.c: Likewise.
12350 * soft-fp/divdf3.c: Likewise.
12351 * soft-fp/divsf3.c: Likewise.
12352 * soft-fp/divtf3.c: Likewise.
12353 * soft-fp/double.h: Likewise.
12354 * soft-fp/eqdf2.c: Likewise.
12355 * soft-fp/eqsf2.c: Likewise.
12356 * soft-fp/eqtf2.c: Likewise.
12357 * soft-fp/extenddftf2.c: Likewise.
12358 * soft-fp/extended.h: Likewise.
12359 * soft-fp/extendsfdf2.c: Likewise.
12360 * soft-fp/extendsftf2.c: Likewise.
12361 * soft-fp/extendxftf2.c: Likewise.
12362 * soft-fp/fixdfdi.c: Likewise.
12363 * soft-fp/fixdfsi.c: Likewise.
12364 * soft-fp/fixdfti.c: Likewise.
12365 * soft-fp/fixsfdi.c: Likewise.
12366 * soft-fp/fixsfsi.c: Likewise.
12367 * soft-fp/fixsfti.c: Likewise.
12368 * soft-fp/fixtfdi.c: Likewise.
12369 * soft-fp/fixtfsi.c: Likewise.
12370 * soft-fp/fixtfti.c: Likewise.
12371 * soft-fp/fixunsdfdi.c: Likewise.
12372 * soft-fp/fixunsdfsi.c: Likewise.
12373 * soft-fp/fixunsdfti.c: Likewise.
12374 * soft-fp/fixunssfdi.c: Likewise.
12375 * soft-fp/fixunssfsi.c: Likewise.
12376 * soft-fp/fixunssfti.c: Likewise.
12377 * soft-fp/fixunstfdi.c: Likewise.
12378 * soft-fp/fixunstfsi.c: Likewise.
12379 * soft-fp/fixunstfti.c: Likewise.
12380 * soft-fp/floatdidf.c: Likewise.
12381 * soft-fp/floatdisf.c: Likewise.
12382 * soft-fp/floatditf.c: Likewise.
12383 * soft-fp/floatsidf.c: Likewise.
12384 * soft-fp/floatsisf.c: Likewise.
12385 * soft-fp/floatsitf.c: Likewise.
12386 * soft-fp/floattidf.c: Likewise.
12387 * soft-fp/floattisf.c: Likewise.
12388 * soft-fp/floattitf.c: Likewise.
12389 * soft-fp/floatundidf.c: Likewise.
12390 * soft-fp/floatundisf.c: Likewise.
12391 * soft-fp/floatunditf.c: Likewise.
12392 * soft-fp/floatunsidf.c: Likewise.
12393 * soft-fp/floatunsisf.c: Likewise.
12394 * soft-fp/floatunsitf.c: Likewise.
12395 * soft-fp/floatuntidf.c: Likewise.
12396 * soft-fp/floatuntisf.c: Likewise.
12397 * soft-fp/floatuntitf.c: Likewise.
12398 * soft-fp/fmadf4.c: Likewise.
12399 * soft-fp/fmasf4.c: Likewise.
12400 * soft-fp/fmatf4.c: Likewise.
12401 * soft-fp/gedf2.c: Likewise.
12402 * soft-fp/gesf2.c: Likewise.
12403 * soft-fp/getf2.c: Likewise.
12404 * soft-fp/ledf2.c: Likewise.
12405 * soft-fp/lesf2.c: Likewise.
12406 * soft-fp/letf2.c: Likewise.
12407 * soft-fp/muldf3.c: Likewise.
12408 * soft-fp/mulsf3.c: Likewise.
12409 * soft-fp/multf3.c: Likewise.
12410 * soft-fp/negdf2.c: Likewise.
12411 * soft-fp/negsf2.c: Likewise.
12412 * soft-fp/negtf2.c: Likewise.
12413 * soft-fp/op-1.h: Likewise.
12414 * soft-fp/op-2.h: Likewise.
12415 * soft-fp/op-4.h: Likewise.
12416 * soft-fp/op-8.h: Likewise.
12417 * soft-fp/op-common.h: Likewise.
12418 * soft-fp/quad.h: Likewise.
12419 * soft-fp/single.h: Likewise.
12420 * soft-fp/soft-fp.h: Likewise.
12421 * soft-fp/sqrtdf2.c: Likewise.
12422 * soft-fp/sqrtsf2.c: Likewise.
12423 * soft-fp/sqrttf2.c: Likewise.
12424 * soft-fp/subdf3.c: Likewise.
12425 * soft-fp/subsf3.c: Likewise.
12426 * soft-fp/subtf3.c: Likewise.
12427 * soft-fp/truncdfsf2.c: Likewise.
12428 * soft-fp/trunctfdf2.c: Likewise.
12429 * soft-fp/trunctfsf2.c: Likewise.
12430 * soft-fp/trunctfxf2.c: Likewise.
12431 * soft-fp/unorddf2.c: Likewise.
12432 * soft-fp/unordsf2.c: Likewise.
12433 * soft-fp/unordtf2.c: Likewise.
12434
9ebb0332
JM
124352013-10-15 Joseph Myers <joseph@codesourcery.com>
12436
12437 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12438 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12439
4b1a6d8b
OB
124402013-10-15 Ondřej Bílka <neleai@seznam.cz>
12441
12442 * elf/dl-libc.c: Clear initfini list after freeing.
12443
1e145589
JM
124442013-10-14 Joseph Myers <joseph@codesourcery.com>
12445
12446 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12447 * soft-fp/addsf3.c: Likewise.
12448 * soft-fp/addtf3.c: Likewise.
12449 * soft-fp/divdf3.c: Likewise.
12450 * soft-fp/divsf3.c: Likewise.
12451 * soft-fp/divtf3.c: Likewise.
12452 * soft-fp/double.h: Likewise.
12453 * soft-fp/eqdf2.c: Likewise.
12454 * soft-fp/eqsf2.c: Likewise.
12455 * soft-fp/eqtf2.c: Likewise.
12456 * soft-fp/extenddftf2.c: Likewise.
12457 * soft-fp/extended.h: Likewise.
12458 * soft-fp/extendsfdf2.c: Likewise.
12459 * soft-fp/extendsftf2.c: Likewise.
12460 * soft-fp/extendxftf2.c: Likewise.
12461 * soft-fp/fixdfdi.c: Likewise.
12462 * soft-fp/fixdfsi.c: Likewise.
12463 * soft-fp/fixdfti.c: Likewise.
12464 * soft-fp/fixsfdi.c: Likewise.
12465 * soft-fp/fixsfsi.c: Likewise.
12466 * soft-fp/fixsfti.c: Likewise.
12467 * soft-fp/fixtfdi.c: Likewise.
12468 * soft-fp/fixtfsi.c: Likewise.
12469 * soft-fp/fixtfti.c: Likewise.
12470 * soft-fp/fixunsdfdi.c: Likewise.
12471 * soft-fp/fixunsdfsi.c: Likewise.
12472 * soft-fp/fixunsdfti.c: Likewise.
12473 * soft-fp/fixunssfdi.c: Likewise.
12474 * soft-fp/fixunssfsi.c: Likewise.
12475 * soft-fp/fixunssfti.c: Likewise.
12476 * soft-fp/fixunstfdi.c: Likewise.
12477 * soft-fp/fixunstfsi.c: Likewise.
12478 * soft-fp/fixunstfti.c: Likewise.
12479 * soft-fp/floatdidf.c: Likewise.
12480 * soft-fp/floatdisf.c: Likewise.
12481 * soft-fp/floatditf.c: Likewise.
12482 * soft-fp/floatsidf.c: Likewise.
12483 * soft-fp/floatsisf.c: Likewise.
12484 * soft-fp/floatsitf.c: Likewise.
12485 * soft-fp/floattidf.c: Likewise.
12486 * soft-fp/floattisf.c: Likewise.
12487 * soft-fp/floattitf.c: Likewise.
12488 * soft-fp/floatundidf.c: Likewise.
12489 * soft-fp/floatundisf.c: Likewise.
12490 * soft-fp/floatunsidf.c: Likewise.
12491 * soft-fp/floatunsisf.c: Likewise.
12492 * soft-fp/floatuntidf.c: Likewise.
12493 * soft-fp/floatuntisf.c: Likewise.
12494 * soft-fp/floatuntitf.c: Likewise.
12495 * soft-fp/fmadf4.c: Likewise.
12496 * soft-fp/fmasf4.c: Likewise.
12497 * soft-fp/fmatf4.c: Likewise.
12498 * soft-fp/gedf2.c: Likewise.
12499 * soft-fp/gesf2.c: Likewise.
12500 * soft-fp/getf2.c: Likewise.
12501 * soft-fp/ledf2.c: Likewise.
12502 * soft-fp/lesf2.c: Likewise.
12503 * soft-fp/letf2.c: Likewise.
12504 * soft-fp/muldf3.c: Likewise.
12505 * soft-fp/mulsf3.c: Likewise.
12506 * soft-fp/multf3.c: Likewise.
12507 * soft-fp/negdf2.c: Likewise.
12508 * soft-fp/negsf2.c: Likewise.
12509 * soft-fp/negtf2.c: Likewise.
12510 * soft-fp/op-1.h: Likewise.
12511 * soft-fp/op-2.h: Likewise.
12512 * soft-fp/op-4.h: Likewise.
12513 * soft-fp/op-8.h: Likewise.
12514 * soft-fp/op-common.h: Likewise.
12515 * soft-fp/quad.h: Likewise.
12516 * soft-fp/single.h: Likewise.
12517 * soft-fp/soft-fp.h: Likewise.
12518 * soft-fp/sqrtdf2.c: Likewise.
12519 * soft-fp/sqrtsf2.c: Likewise.
12520 * soft-fp/sqrttf2.c: Likewise.
12521 * soft-fp/subdf3.c: Likewise.
12522 * soft-fp/subsf3.c: Likewise.
12523 * soft-fp/subtf3.c: Likewise.
12524 * soft-fp/truncdfsf2.c: Likewise.
12525 * soft-fp/trunctfdf2.c: Likewise.
12526 * soft-fp/trunctfsf2.c: Likewise.
12527 * soft-fp/trunctfxf2.c: Likewise.
12528 * soft-fp/unorddf2.c: Likewise.
12529 * soft-fp/unordsf2.c: Likewise.
12530 * soft-fp/unordtf2.c: Likewise.
12531
17c48a60
OB
125322013-10-14 Ondřej Bílka <neleai@seznam.cz>
12533
12534 [BZ #15672]
12535 * misc/error.c (error_tail): Fix possible buffer overflow.
12536
cabba934
OB
125372013-10-14 Aurelien Jarno <aurelien@aurel32.net>
12538
12539 [BZ #13028]
12540 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12541 address.
12542
94bf958a
PM
125432013-10-14 P. J. McDermott <pj@pehjota.net>
12544
12545 [BZ #832]
12546 * elf/ldd.bash.in (try_trace): New function. Delete previous code
12547 testing pipefail option.
12548
71b4dea7
JM
125492013-10-12 Joseph Myers <joseph@codesourcery.com>
12550
12551 * soft-fp/double.h: Indent preprocessor directives inside #if.
12552 * soft-fp/extended.h: Likewise.
12553 * soft-fp/op-2.h: Likewise.
12554 * soft-fp/op-4.h: Likewise.
12555 * soft-fp/op-common.h: Likewise.
12556 * soft-fp/quad.h: Likewise.
12557 * soft-fp/single.h: Likewise.
12558 * soft-fp/soft-fp.h: Likewise.
12559
55602758
YC
125602013-10-12 Yuri Chornoivan <yurchor@ukr.net>
12561
12562 * iconv/iconv_prog.c: Fix typos.
12563 * stdio-common/psiginfo-data.h: Likewise.
12564
9cd83302
RT
125652013-10-12 Reuben Thomas <rrt@sc3d.org>
12566
12567 [BZ #15764]
12568 * locale/setlocale.c: Fix typo.
12569
99fd9f47
JM
125702013-10-12 Joseph Myers <joseph@codesourcery.com>
12571
b7ea74f0
JM
12572 [BZ #16036]
12573 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12574 signaling NaN arguments.
12575 * soft-fp/unordsf2.c (__unordsf2): Likewise.
12576 * soft-fp/unordtf2.c (__unordtf2): Likewise.
12577
8a509447
JM
12578 [BZ #14910]
12579 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12580 unordered operands.
12581 * soft-fp/gesf2.c (__gesf2): Likewise.
12582 * soft-fp/getf2.c (__getf2): Likewise.
12583 * soft-fp/ledf2.c (__ledf2): Likewise.
12584 * soft-fp/lesf2.c (__lesf2): Likewise.
12585 * soft-fp/letf2.c (__letf2): Likewise.
12586
98998e9f
JM
12587 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12588 * soft-fp/eqsf2.c (__eqsf2): Likewise.
12589 * soft-fp/eqtf2.c (__eqtf2): Likewise.
12590 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12591 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12592 * soft-fp/fixdfti.c (__fixdfti): Likewise.
12593 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12594 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12595 * soft-fp/fixsfti.c (__fixsfti): Likewise.
12596 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12597 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12598 * soft-fp/fixtfti.c (__fixtfti): Likewise.
12599 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12600 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12601 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12602 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12603 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12604 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12605 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12606 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12607 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12608 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12609 * soft-fp/floatdisf.c (__floatdisf): Likewise.
12610 * soft-fp/floatsisf.c (__floatsisf): Likewise.
12611 * soft-fp/floattidf.c (__floattidf): Likewise.
12612 * soft-fp/floattisf.c (__floattisf): Likewise.
12613 * soft-fp/floattitf.c (__floattitf): Likewise.
12614 * soft-fp/floatundidf.c (__floatundidf): Likewise.
12615 * soft-fp/floatundisf.c (__floatundisf): Likewise.
12616 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12617 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12618 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12619 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12620 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12621 * soft-fp/gesf2.c (__gesf2): Likewise.
12622 * soft-fp/getf2.c (__getf2): Likewise.
12623 * soft-fp/ledf2.c (__ledf2): Likewise.
12624 * soft-fp/lesf2.c (__lesf2): Likewise.
12625 * soft-fp/letf2.c (__letf2): Likewise.
12626
8edc4a11
JM
12627 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12628 Undefine and redefine.
12629 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12630 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12631 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12632 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12633 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12634 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12635 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12636 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12637 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12638 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12639 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12640 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12641 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12642 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12643 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12644
8399acaf
JM
12645 [BZ #16032]
12646 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12647 without decrementing exponent if mantissa >= that for the
12648 denominator, not >.
12649 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12650 denominator, not >. Decrement exponent in < case instead of
12651 incrementing in >= case.
12652 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12653 without decrementing exponent if mantissa >= that for the
12654 denominator, not >.
12655
99fd9f47
JM
12656 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12657 computing saturated result for unsigned overflow.
12658
10e1cf6b
SP
126592013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12660 Jeff Law <law@redhat.com>
12661
12662 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12663 (atan2Mp): Add systemtap probe marker.
12664 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12665 (__ieee754_log): Add systemtap probe marker.
12666 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12667 (atanMp): Add systemtap probe marker.
12668 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12669 (tanMp): Add systemtap probe marker.
12670 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12671 (__slowexp): Add systemtap probe marker.
12672 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12673 (__slowpow): Add systemtap probe marker.
12674 * manual/probes.texi: Document probes.
12675
3d110c7c
EB
126762013-10-11 Eric Biggers <ebiggers3@gmail.com>
12677
12678 [BZ #15362]
12679 * libio/fileops.c (_IO_new_file_write): Return count of bytes
12680 written.
12681 (_IO_new_file_xsputn): Don't return EOF if nothing has been
12682 written.
12683 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12684 written to buffer but not flushed.
12685 * libio/iofwrite_u.c: Likewise.
12686 * libio/iopadn.c: Return bytes returned even if EOF was
12687 encountered.
12688 * libio/iowpadn.c: Likewise.
12689 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12690 if _IO_padn does not write the whole buffer.
12691 [!COMPILE_WPRINTF] (PAD): Likewise.
12692
75b4202a
DM
126932013-10-10 David S. Miller <davem@davemloft.net>
12694
12695 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12696 directory block.
12697
6c6352e6
JM
126982013-10-10 Joseph Myers <joseph@codesourcery.com>
12699
33b853c3
JM
12700 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
12701 instead of FSF address.
12702 * soft-fp/fixdfti.c: Likewise.
12703 * soft-fp/fixsfti.c: Likewise.
12704 * soft-fp/fixtfti.c: Likewise.
12705 * soft-fp/fixunsdfti.c: Likewise.
12706 * soft-fp/fixunssfti.c: Likewise.
12707 * soft-fp/fixunstfti.c: Likewise.
12708 * soft-fp/floattidf.c: Likewise.
12709 * soft-fp/floattisf.c: Likewise.
12710 * soft-fp/floattitf.c: Likewise.
12711 * soft-fp/floatuntidf.c: Likewise.
12712 * soft-fp/floatuntisf.c: Likewise.
12713 * soft-fp/floatuntitf.c: Likewise.
12714 * soft-fp/trunctfxf2.c: Likewise.
12715
6c6352e6
JM
12716 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
12717 * soft-fp/fixdfti.c: Likewise.
12718 * soft-fp/fixsfti.c: Likewise.
12719 * soft-fp/fixtfti.c: Likewise.
12720 * soft-fp/fixunsdfti.c: Likewise.
12721 * soft-fp/fixunssfti.c: Likewise.
12722 * soft-fp/fixunstfti.c: Likewise.
12723 * soft-fp/floattidf.c: Likewise.
12724 * soft-fp/floattisf.c: Likewise.
12725 * soft-fp/floattitf.c: Likewise.
12726 * soft-fp/floatuntidf.c: Likewise.
12727 * soft-fp/floatuntisf.c: Likewise.
12728 * soft-fp/floatuntitf.c: Likewise.
12729 * soft-fp/trunctfxf2.c: Likewise.
12730
3bf78b71
DM
127312013-10-10 David S. Miller <davem@davemloft.net>
12732
12733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12734
6f10289e
JM
127352013-10-10 Joseph Myers <joseph@codsourcery.com>
12736
bd878fc0
JM
12737 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12738 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12739 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12740 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12741 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12742 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12743 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12744
6f10289e
JM
12745 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12746 for NaNs before doing comparisons on argument.
12747 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12748 Likewise.
12749
321e2684
WN
127502013-10-10 Will Newton <will.newton@linaro.org>
12751
12752 * malloc/hooks.c (memalign_check): Ensure the value of bytes
12753 passed to _int_memalign does not overflow.
12754
40fefba1
TR
127552013-10-10 Torvald Riegel <triegel@redhat.com>
12756
12757 * scripts/bench.pl: Add include-sources directive.
12758 * benchtests/README: Update documentation.
12759
2ae21ed2
JM
127602013-10-10 Joseph Myers <joseph@codesourcery.com>
12761
dcc2dd3f
JM
12762 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12763 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12764 instead of FP_INIT_ROUNDMODE.
12765 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12766 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12767
2ae21ed2
JM
12768 [BZ #16034]
12769 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
12770 copy class of input value.
12771 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
12772 not handle exceptions.
12773 * soft-fp/negsf2.c (__negsf2): Likewise.
12774 * soft-fp/negtf2.c (__negtf2): Likewise.
12775 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12776
cb8f9562
JM
127772013-10-09 Joseph Myers <joseph@codesourcery.com>
12778
12779 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12780 semicolon. From Linux kernel.
12781
5b60c59d
AB
127822013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
12783
12784 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12785
b86835ca
YC
127862013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
12787
12788 [BZ #156]
12789 * manual/socket.texi: Added statement about buffer
12790 for gethostbyname2_r.
12791
e7044ea7
OB
127922013-10-08 Ondřej Bílka <neleai@seznam.cz>
12793
12794 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12795 Use .p2align directive instead, throughout.
12796 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12797 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12798 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12799 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12800 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12801 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12802 * sysdeps/x86_64/strchr.S: Likewise.
12803 * sysdeps/x86_64/strrchr.S: Likewise.
12804
09544cbc
SP
128052013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12806
88576635
SP
12807 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12808
e7b2d1dd
SP
12809 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12810
09544cbc
SP
12811 * sysdeps/generic/math_private.h (__mpsin1): Remove
12812 declaration.
12813 (__mpcos1): Likewise.
12814 (__mpsin): New argument __range_reduce.
12815 (__mpcos): Likewise.
12816 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12817 (slow): Use __mpsin and __mpcos.
12818 (slow1): Likewise.
12819 (slow2): Likewise.
12820 (sloww): Likewise.
12821 (sloww1): Likewise.
12822 (sloww2): Likewise.
12823 (bsloww): Likewise.
12824 (bsloww1): Likewise.
12825 (bsloww2): Likewise.
12826 (cslow2): Likewise.
12827 (csloww): Likewise.
12828 (csloww1): Likewise.
12829 (csloww2): Likewise.
12830 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12831 range_reduce. Merge in __mpsin1.
12832 (__mpcos): Likewise.
12833 (__mpsin1): Remove.
12834 (__mpcos1): Likewise.
12835
7602d070
JM
128362013-10-07 Joseph Myers <joseph@codesourcery.com>
12837
12838 * locale/loadlocale.c (_nl_intern_locale_data): Use
12839 LOCFILE_ALIGNED_P.
12840 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12841 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12842 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12843 obstack data is appropriately aligned.
12844 (obstack_int32_grow_fast): Likewise.
12845 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12846 * locale/programs/locfile.c (add_locale_uint32): Likewise.
12847 (add_locale_uint32_array): Likewise.
12848
a357259b
SP
128492013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12850
12851 * benchtests/Makefile: Remove ARGLIST and RET variables.
12852 ($(objpfx)bench-%.c): Pass only function name to the script.
12853 * benchtests/README: Update documentation.
12854 * benchtests/acos-inputs: Add new directives.
12855 * benchtests/acosh-inputs: Likewise.
12856 * benchtests/asin-inputs: Likewise.
12857 * benchtests/asinh-inputs: Likewise.
12858 * benchtests/atan-inputs: Likewise.
12859 * benchtests/atanh-inputs: Likewise.
12860 * benchtests/cos-inputs: Likewise.
12861 * benchtests/cosh-inputs: Likewise.
12862 * benchtests/exp-inputs: Likewise.
12863 * benchtests/log-inputs: Likewise.
12864 * benchtests/pow-inputs: Likewise.
12865 * benchtests/rint-inputs: Likewise.
12866 * benchtests/sin-inputs: Likewise.
12867 * benchtests/sinh-inputs: Likewise.
12868 * benchtests/tan-inputs: Likewise.
12869 * benchtests/tanh-inputs: Likewise.
12870 * scripts/bench.pl: Add support for new directives.
12871
9ec1b13d
AM
128722013-10-07 Alan Modra <amodra@gmail.com>
12873
12874 * README: Fix careless merge.
12875
8b7d57cd
AM
128762013-10-05 Alan Modra <amodra@gmail.com>
12877
12878 * NEWS: Mention powerpc64le support and bugs fixed.
12879 * README: Both big-endian and little-endian powerpc64 supported.
12880
7b7bab13
ST
128812013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12882
57f41c40
AS
12883 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12884 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
12885 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12886 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12887
d39baad1
RA
128882013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
12889
12890 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12891 match prototype.
12892
cd78f7e7
JM
128932013-10-04 Joseph Myers <joseph@codesourcery.com>
12894
29d73d86
JM
12895 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12896 Move -mhard-float appending from
12897 ports/sysdeps/powerpc/powerpc32/Makefile.
12898 [$(with-fp) = yes] (ASFLAGS): Likewise.
12899 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12900 * sysdeps/powerpc/nofpu: Move directory from
12901 ports/sysdeps/powerpc/nofpu.
12902 * sysdeps/powerpc/soft-fp: Move directory from
12903 ports/sysdeps/powerpc/soft-fp.
12904 * sysdeps/powerpc/powerpc32/405: Move directory from
12905 ports/sysdeps/powerpc/powerpc32/405.
12906 * sysdeps/powerpc/powerpc32/440: Move directory from
12907 ports/sysdeps/powerpc/powerpc32/440.
12908 * sysdeps/powerpc/powerpc32/464: Move directory from
12909 ports/sysdeps/powerpc/powerpc32/464.
12910 * sysdeps/powerpc/powerpc32/476: Move directory from
12911 ports/sysdeps/powerpc/powerpc32/476.
12912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12913 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12915 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12917 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12919 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12921 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12922 * README: Update for powerpc-*-linux-gnu software floating point
12923 support in libc.
12924
e246b347
JM
12925 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12926 case to powerpc/powerpc32*.
12927 * sysdeps/unix/sysv/linux/configure: Regenerated.
12928
89c2003e
JM
12929 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12930 (_FPU_MASK_OM): Define as 0x04.
12931 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12932 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12933 0x00c10080.
12934 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12935 0x0000003c.
12936 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12937
cd78f7e7
JM
12938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12939 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12940 getcontext_e500.
12941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12942 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12943 setcontext_e500.
12944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12945 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12946 and setcontext_e500.
12947
c755294d
CL
129482013-10-04 Chris Leonard <cjl@sugarlabs,.org>
12949
12950 * locale/iso-3166.def: Update iso-1366.def and related occurrences
12951
e16d221c
SP
129522013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12953
12954 * manual/threads.texi (Default Thread Attributes): Fix typo.
12955
215c7d43
WN
129562013-10-04 Will Newton <will.newton@linaro.org>
12957
12958 * malloc/Makefile: Add tst-memalign.
12959 * malloc/tst-memalign.c: New file.
12960
27d0461b
WN
12961 * malloc/tst-posix_memalign.c: Add comments.
12962 (do_test): Add comments and call free on all potentially
12963 allocated pointers. Add space after cast.
12964
1bc92709
WN
12965 * malloc/tst-pvalloc.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
66a9be9d
WN
12970 * malloc/tst-valloc.c: Add comments.
12971 (do_test): Add comments and call free on all potentially
12972 allocated pointers. Remove duplicate check for NULL pointer.
12973 Add space after cast.
12974
4cb81307
AM
129752013-10-04 Alan Modra <amodra@gmail.com>
12976
12977 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12978 Use stdint types in rather than __attribute__((mode())).
12979 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12980
f8e3e9f3
AM
129812013-10-04 Alan Modra <amodra@gmail.com>
12982
12983 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12984 Correct handling of unaligned relocs for little-endian.
12985 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12986
8f9ebb08
AM
129872013-10-04 Alan Modra <amodra@gmail.com>
12988
12989 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12990 * configure: Regenerate.
12991 * nptl/shlib-versions: Powerpc*le starts at 2.18.
12992 * shlib-versions: Likewise.
12993
0edf96c2
AM
129942013-10-04 Alan Modra <amodra@gmail.com>
12995
12996 * string/tester.c (test_memrchr): Increment reported test cycle.
12997
e0f7a380
AM
129982013-10-04 Alan Modra <amodra@gmail.com>
12999
13000 * string/test-memcpy.c (do_one_test): When reporting errors, print
13001 string address and don't overrun end of string.
13002
466b0393
AM
130032013-10-04 Alan Modra <amodra@gmail.com>
13004
13005 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
13006 insrdi. Make better use of reg selection to speed exit slightly.
13007 Schedule entry path a little better. Remove useless "are we done"
13008 checks on entry to main loop. Handle wrapping around zero address.
13009 Correct main loop count. Handle single left-over word from main
13010 loop inline rather than by using loop_small. Remove extra word
13011 case in loop_small caused by wrong loop count. Add little-endian
13012 support.
13013 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13014 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
13015 cache hint.
13016 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13017 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13018 support. Avoid rlwimi.
13019 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13020
3be87c77
AM
130212013-10-04 Alan Modra <amodra@gmail.com>
13022
13023 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 13024 insrdi. Formatting.
3be87c77
AM
13025 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13026 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13027 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13028 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13029 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13030 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13031
759cfef3
AM
130322013-10-04 Alan Modra <amodra@gmail.com>
13033
13034 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13035 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13036 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13037 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13038 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13039 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13040 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13041 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13042 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
13043 use of regs. Use power7 mtocrf. Tidy function tails.
13044
fe6e95d7
AM
130452013-10-04 Alan Modra <amodra@gmail.com>
13046
13047 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13048 Formatting. Consistently use rXXX register defines or rN defines.
13049 Use early exit labels that avoid restoring unused non-volatile regs.
13050 Make cr field use more consistent with rWORDn compares. Rename
13051 regs used as shift registers for unaligned loop, using rN defines
13052 for short lifetime/multiple use regs.
13053 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13054 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
13055 addi 1,1,64 to pop stack frame. Simplify return value code.
13056 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13057
664318c3
AM
130582013-10-04 Alan Modra <amodra@gmail.com>
13059
13060 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13061 support. Correct typos, formatting. Optimize tail. Use insrdi
13062 rather than rlwimi.
13063 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13064 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13065 little-endian support. Correct typos.
13066 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
13067 rather than rlwimi.
13068 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
13069 in loop and entry code to keep "and." results.
13070 (strchr): Add little-endian support. Comment. Move cntlzd
13071 earlier in tail.
13072 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13073
43b84013
AM
130742013-10-04 Alan Modra <amodra@gmail.com>
13075
13076 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13077 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13078 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13079 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13080
8a7413f9
AM
130812013-10-04 Alan Modra <amodra@gmail.com>
13082
13083 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13084 (rTMP): Define as r11.
13085 (strcmp): Add little-endian support. Optimise tail.
13086 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13087 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13088 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13089 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13090 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13091 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13092 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13093
33ee81de
AM
130942013-10-04 Alan Modra <amodra@gmail.com>
13095
13096 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13097 little-endian support. Remove unnecessary "are we done" tests.
13098 Handle "s" wrapping around zero and extremely large "size".
13099 Correct main loop count. Handle single left-over word from main
13100 loop inline rather than by using small_loop. Correct comments.
13101 Delete "zero" tail, use "end_max" instead.
13102 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13103
db9b4570
AM
131042013-10-04 Alan Modra <amodra@gmail.com>
13105
13106 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13107 support. Don't branch over align.
13108 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13109 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13110 support. Rearrange tmp reg use to suit. Comment.
13111 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13112
f7c399cf
AM
131132013-10-04 Alan Modra <amodra@gmail.com>
13114
13115 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13116
0b2c2ace
AM
131172013-10-04 Alan Modra <amodra@gmail.com>
13118
13119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13120 conditional form of branch and link when obtaining pc.
13121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13122
02f04a6c
AM
131232013-10-04 Alan Modra <amodra@gmail.com>
13124
13125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13126 HIWORD/LOWORD.
13127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13129
9b874b2f
AM
131302013-10-04 Alan Modra <amodra@gmail.com>
13131
13132 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13133 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13134 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13135 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13136 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13137 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13138 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13139 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13140 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13141 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13142
be1e5d31
AB
131432013-10-04 Anton Blanchard <anton@au1.ibm.com>
13144 Alistair Popple <alistair@ozlabs.au.ibm.com>
13145 Alan Modra <amodra@gmail.com>
13146
13147 [BZ #15723]
13148 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13149 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13150 _dl_hwcap access for little-endian.
13151 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
13152 destroy vmx regs when saving unaligned.
13153 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13154 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
13155 destroy vmx regs when saving unaligned.
13156
fef13a78
AM
131572013-10-04 Alan Modra <amodra@gmail.com>
13158
13159 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13160 Don't use a union to pack hi/low value.
13161
76a66d51
AB
131622013-10-04 Anton Blanchard <anton@au1.ibm.com>
13163
13164 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13165 for little-endian.
13166 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13167 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13168 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13169 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13170 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13171
6a31fe7f
AM
131722013-10-04 Alan Modra <amodra@gmail.com>
13173
13174 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13175 constants to usual value for .cst8 section, and remove redundant
13176 high address load.
13177 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13178 constant for 0x1p52. Load little-endian words of double from
13179 correct stack offsets.
13180
7b88401f
AM
131812013-10-04 Alan Modra <amodra@gmail.com>
13182
13183 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13184 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13185 words of double from correct stack offsets.
13186 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13187 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13188 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13189 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13190 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13191 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13192 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13193 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13194 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13195 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13196 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13197 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13198 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13199 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13200 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13201 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13202 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13203
9c008155
AM
132042013-10-04 Alan Modra <amodra@gmail.com>
13205
13206 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13207 64-bit int/double union.
13208 (_FPU_SETCW): Likewise.
13209 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13210 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13211
da13146d
AM
132122013-10-04 Alan Modra <amodra@gmail.com>
13213
13214 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13215 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13216
603e8410
AM
132172013-10-04 Alan Modra <amodra@gmail.com>
13218
13219 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13220 use vector int constants.
13221 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13222
4a28b3ca
AB
132232013-10-04 Anton Blanchard <anton@au1.ibm.com>
13224
13225 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13226 array with long long.
13227 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13228 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13229 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13230 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13231 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13232 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13233 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13234 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13235 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13236 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13237 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13238 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13239 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13240
2ca85d2b
AB
132412013-10-04 Anton Blanchard <anton@au1.ibm.com>
13242
13243 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13244 (__signbit): Likewise. Correct for little-endian.
13245 (__signbitl): Call __signbit.
13246 (lrint): Correct for little-endian.
13247 (lrintf): Call lrint.
13248
62a728ae
AM
132492013-10-04 Alan Modra <amodra@gmail.com>
13250
13251 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13252 union 32-bit int array member with 64-bit int array.
13253 (t515, tm256): Double rather than long double.
13254 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13255
32c301df
AM
132562013-10-04 Alan Modra <amodra@gmail.com>
13257
13258 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13259 Delete.
13260 (IEEE854_LONG_DOUBLE_BIAS): Delete.
13261 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13262 version of math_ldbl.h.
13263
650ef4bd
AM
132642013-10-04 Alan Modra <amodra@gmail.com>
13265
13266 [BZ #15734], [BZ #15735]
13267 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13268 all uses of ieee875 long double macros and unions. Simplify test
13269 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
13270 ldbl_extract_mantissa value for ix,iy exponents. Properly
13271 normalize after ldbl_extract_mantissa, and don't add hidden bit
13272 already handled. Don't treat low word of ieee854 mantissa like
13273 low word of IBM long double and mask off bit when testing for
13274 zero.
13275 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13276 all uses of ieee875 long double macros and unions. Simplify tests
13277 for 0.0L and inf. Correct double adjustment of k. Delete dead code
13278 adjusting ha,hb. Simplify code setting kld. Delete two600 and
13279 two1022, instead use their values. Recognise that tests for large
13280 "a" and small "b" are mutually exclusive. Rename vars. Comment.
13281 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13282 Rewrite all uses of ieee875 long double macros and unions. Simplify
13283 test for 0.0L and nan. Correct negation.
13284 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13285 ieee875 long double macros and unions. Correct output for large
13286 magnitude x. Correct absolute value calculation.
13287 (__erfcl): Likewise.
13288 * math/libm-test.inc: Add tests for errors discovered in IBM long
13289 double versions of fmodl, remainderl, erfl and erfcl.
13290
765714ca
AM
132912013-10-04 Alan Modra <amodra@gmail.com>
13292
13293 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13294 all uses of ieee854 long double macros and unions. Simplify tests
13295 for long doubles that are fully specified by the high double.
13296 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13297 Likewise.
13298 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13299 Remove dead code too.
13300 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13301 (__ieee754_ynl): Likewise.
13302 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13303 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13304 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13305 Remove dead code too.
13306 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13307 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13308 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13309 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13310 Simplify.
13311 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13312 Simplify.
13313 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13314 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13315 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13316 Comment on variable precision.
13317 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13318 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13319 Likewise.
13320 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13321 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13322 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13323 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13324 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13325
4ebd120c
AM
133262013-10-04 Alan Modra <amodra@gmail.com>
13327
13328 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13329 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13330 all uses of ieee854 long double macros and unions.
13331 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13332 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13333 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13334 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13335 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13336 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13337 Likewise.
13338 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13339 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13340 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13341 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13342 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13343 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13344 Simplify sign and nan test too.
13345 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13346 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13347 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13348 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13349 Likewise.
13350 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13351 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13352 Likewise.
13353 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13354 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13355 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13356 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13357 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13358 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13359
1b6adf88
AM
133602013-10-04 Alan Modra <amodra@gmail.com>
13361
13362 * stdio-common/printf_size.c (__printf_size): Don't use
13363 union ieee854_long_double in fpnum union.
13364 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
13365 signbit macro to retrieve sign from long double.
13366 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13367 retrieve sign from long double.
13368 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13369 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13370 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13371 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13372 * math/test-misc.c (main): Don't use union ieee854_long_double.
13373
4cf69995
AM
133742013-10-04 Alan Modra <amodra@gmail.com>
13375
13376 [BZ #15680]
13377 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13378 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13379 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13380 calculation. Remove unnecessary test for denormal exponent.
13381 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13382 Correct handling of denormals. Avoid undefined shift behaviour.
13383 Correct normalisation of low mantissa when low double is denormal.
13384 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13385 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
13386 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13387 Correct normalisation of low mantissa. Test for overflow of high
13388 mantissa and normalise.
13389 (ldbl_nearbyint): Use more readable constant for two52.
13390 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13391 (__mpn_construct_long_double): Fix test for overflow of high
13392 mantissa and correct normalisation. Avoid undefined shift.
13393
9605ca6c
AM
133942013-10-04 Alan Modra <amodra@gmail.com>
13395
13396 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13397 (union ibm_extended_long_double): Define as an array of ieee754_double.
13398 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13399 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13400 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13401 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13402 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13403 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13404 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13405 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13406 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13407 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13408 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13409
975569d0
JM
134102013-10-03 Joseph Myers <joseph@codesourcery.com>
13411
d3d23756
JM
13412 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13413 page size instead of calling getpagesize.
13414
975569d0
JM
13415 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13416 (LOCFILE_ALIGN_MASK): Likewise.
13417 (LOCFILE_ALIGN_UP): Likewise.
13418 (LOCFILE_ALIGNED_P): Likewise.
13419 * locale/programs/ld-collate.c (collate_output): Use the new
13420 macros instead of __alignof__ (int32_t).
13421 * locale/weight.h (findidx): Likewise.
13422
b1fe1f2b
OB
134232013-10-03 Ondřej Bílka <neleai@seznam.cz>
13424
13425 [BZ #431]
13426 * manual/string.texi: Fix strncat and wcsncat.
13427
5f855e35
BM
134282013-10-03 Brooks Moses <bmoses@google.com>
13429
13430 [BZ #15915]
13431 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13432 * Makerules: ...here, and adjust associated comments.
13433
3cef6009
WN
134342013-10-02 Will Newton <will.newton@linaro.org>
13435
13436 * malloc/Makefile: Add tst-pvalloc.
13437 * malloc/tst-pvalloc.c: New file.
13438
7815420b
WN
134392013-10-02 Will Newton <will.newton@linaro.org>
13440
13441 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13442 improve test coverage.
13443
4868b204
WN
134442013-10-02 Will Newton <will.newton@linaro.org>
13445
13446 * malloc/Makefile: Add tst-posix_memalign.
13447 * malloc/tst-posix_memalign.c: New file.
13448
29c793b3
EB
134492013-10-01 Eric Blake <eblake@redhat.com>
13450
13451 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13452 Use __THROWNL rather than __THROW on static functions.
13453
fd967522
PM
134542013-09-30 Petr Machata <pmachata@redhat.com>
13455
13456 * elf/elf.h (R_AARCH64_ABS16): New macro.
13457 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13458 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13459 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13460 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13461 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13462 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13463 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13464 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13465 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13466 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13467 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13468 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13469 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13470 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13471 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13472 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13473 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13474 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13475 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13476 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13477 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13478 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13479 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13480 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13481 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13482 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13483 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13484 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13485 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13486 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13487 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13488 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13489 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13490 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13491 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13492 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13493 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13494 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13495 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13496 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13497 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13498 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13499 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13500 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13501 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13502 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13503 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13504 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13505 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13506 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13507 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13508 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13509 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13510 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13511 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13512 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13513 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13514 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13515 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13516 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13517 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13518 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13519 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13520 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13521 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13522 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13523 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13524 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13525 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13526 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13527 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13528 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13529 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13530 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13531 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13532 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13533 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13534 (R_AARCH64_TLSDESC_LDR): Likewise.
13535 (R_AARCH64_TLSDESC_ADD): Likewise.
13536 (R_AARCH64_TLSDESC_CALL): Likewise.
13537
b2179107
AS
135382013-09-30 Andreas Schwab <schwab@suse.de>
13539
13540 [BZ #15048]
13541 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13542 the nss database lookup.
13543 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13544 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13545
47f28d0a
MF
135462013-09-28 Mike Frysinger <vapier@gentoo.org>
13547
13548 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13549
135502013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
13551
13552 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13553 ${Bash-specific parameter/pattern/string} parameter expansion.
13554 * sysdeps/unix/make-syscalls.sh: Likewise.
13555
f4518a17
KK
135562013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13557
13558 * sysdeps/sh/stackguard-macros.h: New file.
13559
dc1a95c7
OB
135602013-09-26 Ondřej Bílka <neleai@seznam.cz>
13561
13562 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13563 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13564 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13565 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13566 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13567 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13568
5ebbff8f
AZ
135692013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13570
13571 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13572 Fix thread ID register.
13573
4fd2cf9f
JM
135742013-09-25 Joseph Myers <joseph@codesourcery.com>
13575
13576 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13577 [POSIX || UNIX98]: Require rather than permitting all symbols from
13578 <time.h>.
13579 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13580 element of struct sched_param.
13581 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13582 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13583 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13584 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13585 constant.
13586
12c22bc4
OL
135872013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
13588
13589 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13590 argument calculation.
13591
a03d8ea7
JM
135922013-09-24 Joseph Myers <joseph@codesourcery.com>
13593
13594 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13595 Expect macro.
13596 [POSIX] (pthread_attr_t): Do not require type.
13597 [POSIX] (pthread_cond_t): Likewise.
13598 [POSIX] (pthread_condattr_t): Likewise.
13599 [POSIX] (pthread_key_t): Likewise.
13600 [POSIX] (pthread_mutex_t): Likewise.
13601 [POSIX] (pthread_mutexattr_t): Likewise.
13602 [POSIX] (pthread_once_t): Likewise.
13603 [POSIX] (pthread_t): Likewise.
13604 [POSIX-based standards] (pthread_atfork): Expect function.
13605
6055173a
JM
136062013-09-24 Joseph Myers <joseph@codesourcery.com>
13607 Richard Sandiford <richard@codesourcery.com>
13608
13609 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13610 (swap_endianness_p): New extern variable.
13611 (set_big_endian): New inline function.
13612 (maybe_swap_uint32): Likewise.
13613 (maybe_swap_uint32_array): Likewise.
13614 (maybe_swap_uint32_obstack): Likewise.
13615 * locale/programs/locfile.c: Include <stdbool.h>.
13616 (swap_endianness_p): New variable.
13617 (add_locale_uint32): Call maybe_swap_uint32.
13618 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13619 (write_locale_data): Call maybe_swap_uint32_array.
13620 * locale/programs/ld-collate.c (obstack_int32_grow): Call
13621 maybe_swap_uint32.
13622 (obstack_int32_grow_fast): Likewise.
13623 (output_weightwc): Call maybe_swap_uint32_obstack.
13624 (collate_output): Likewise.
13625 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13626 (OPT_LITTLE_ENDIAN): Likewise.
13627 (options): Add --little-endian and --big-endian options.
13628 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13629 * locale/programs/locarchive.c: Include "locfile.h".
13630 (GET): New macro.
13631 (SET): Likewise.
13632 (INC): Likewise.
13633 (create_archive): Use the new macros to access fields of
13634 structures directly mapped from or written to locale archives.
13635 (oldlocrecentcmp): Likewise.
13636 (enlarge_archive): Likewise.
13637 (insert_name): Likewise.
13638 (add_alias): Likewise.
13639 (add_locale): Likewise.
13640 (delete_locales_from_archive): Likewise.
13641 (show_archive_content): Likewise.
13642 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
13643 locale data.
13644
39bf0bb4
RM
136452013-09-24 Roland McGrath <roland@hack.frob.com>
13646
13647 * manual/freemanuals.texi: Updated from (newly) canonical copy at
13648 http://www.gnu.org/doc/freemanuals.texi.
13649 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13650
f02eed10
WN
136512013-09-24 Will Newton <will.newton@linaro.org>
13652
13653 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13654 macro.
13655
a3a6c312
JM
136562013-09-23 Joseph Myers <joseph@codesourcery.com>
13657
13658 * locale/hashval.h (compute_hashval): Interpret bytes of key as
13659 unsigned char.
13660
107375ac
MR
136612013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
13662
13663 * manual/threads.texi (POSIX Threads): Fix a typo.
13664
141f3a77
SP
136652013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13666
303e567a
SP
13667 [BZ #14547]
13668 * string/tst-strcoll-overflow.c: New test case.
13669 * string/Makefile (xtests): Add tst-strcoll-overflow.
13670 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13671 cache if string sizes may cause integer overflow.
13672
141f3a77
SP
13673 [BZ #14547]
13674 * string/strcoll_l.c (coll_seq): New members rule, idx,
13675 save_idx and back_us.
13676 (get_next_seq_nocache): New function.
13677 (do_compare_nocache): New function.
13678 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13679 when malloc fails.
13680
c61b4d41
CD
136812013-09-23 Carlos O'Donell <carlos@redhat.com>
13682
0b1f8e35
CD
13683 [BZ #15754]
13684 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13685 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13686 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13687
c61b4d41
CD
13688 [BZ #15754]
13689 * elf/Makefile (tests): Add tst-ptrguard1.
13690 (tests-static): Add tst-ptrguard1-static.
13691 (tst-ptrguard1-ARGS): Define.
13692 (tst-ptrguard1-static-ARGS): Define.
13693 * elf/tst-ptrguard1.c: New file.
13694 * elf/tst-ptrguard1-static.c: New file.
13695 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13696 * sysdeps/i386/stackguard-macros.h: Likewise.
13697 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13698 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13699 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13700 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13701 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13702 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13703
137042013-09-23 Hector Marco <hecmargi@upv.es>
13705 Ismael Ripoll <iripoll@disca.upv.es>
13706 Carlos O'Donell <carlos@redhat.com>
13707
13708 [BZ #15754]
13709 * sysdeps/generic/stackguard-macros.h: Define
13710 __pointer_chk_guard_local and POINTER_CHK_GUARD.
13711 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13712 Define __pointer_chk_guard_local.
13713 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13714 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13715
f5f4e7b4
VV
137162013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
13717
13718 [BZ #15859]
13719 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13720
5bb43a43
AS
137212013-09-20 Andreas Schwab <schwab@linux-m68k.org>
13722
13723 * include/string.h (__ffs): Declare as hidden.
13724 * string/ffs.c (__ffs): Define as hidden.
13725 * sysdeps/i386/ffs.c (__ffs): Likewise.
13726 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13727 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13728 * sysdeps/s390/ffs.c (__ffs): Likewise.
13729 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13730
3ea5be54
AO
137312013-09-20 Alexandre Oliva <aoliva@redhat.com>
13732
ffb89e53
AO
13733 * NEWS: Mention malloc probes.
13734
322dea08
AO
13735 * malloc/arena.c (new_heap): New memory_heap_new probe.
13736 (grow_heap): New memory_heap_more probe.
13737 (shrink_heap): New memory_heap_less probe.
13738 (heap_trim): New memory_heap_free probe.
13739 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13740 (systrim): New memory_sbrk_less probe.
13741 * manual/probes.texi: Document them.
13742
655673f3
AO
13743 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13744 * manual/probes.texi: Document it.
13745
35fed6f1
AO
13746 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13747 (__libc_realloc): Add memory_realloc_retry probe.
13748 (__libc_memalign): Add memory_memalign_retry probe.
13749 (__libc_valloc): Add memory_valloc_retry probe.
13750 (__libc_pvalloc): Add memory_pvalloc_retry probe.
13751 (__libc_calloc): Add memory_calloc_retry probe.
13752 * manual/probes.texi: Document them.
13753
6999d38c
AO
13754 * malloc/arena.c (get_free_list): Add probe
13755 memory_arena_reuse_free_list.
13756 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13757 and memory_arena_reuse.
13758 (arena_get2) [!PER_THREAD]: Likewise.
13759 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13760 memory_arena_reuse_realloc.
13761 * manual/probes.texi: Document them.
13762
0653427f
AO
13763 * malloc/malloc.c (__libc_free): Add
13764 memory_mallopt_free_dyn_thresholds probe.
13765 (__libc_mallopt): Add multiple memory_mallopt probes.
13766 * manual/probes.texi: Document them.
13767
3ea5be54
AO
13768 * malloc/malloc.c: Include stap-probe.h.
13769 (__libc_mallopt): Add memory_mallopt probe.
13770 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13771 * manual/probes.texi: New.
13772 * manual/Makefile (chapters): Add probes.
13773 * manual/threads.texi: Set next node.
13774
e35696c3 137752013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 13776
e35696c3
CL
13777 [BZ #15963, #13985]
13778 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13779 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13780 Add `Chinese' to `nan' entry name.
13781
4aafb73c
SP
137822013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13783
13784 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13785 (POLYNOMIAL): Likewise.
13786 (TAYLOR_SINCOS): Likewise.
13787 (TAYLOR_SLOW): Likewise.
13788 (__sin): Use TAYLOR_SINCOS.
13789 (__cos): Likewise.
13790 (slow): Use TAYLOR_SLOW.
13791 (sloww): Likewise.
13792 (bsloww): Likewise.
13793 (csloww): Likewise.
13794
d84f25c7
LD
137952013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13796
13797 * stdlib/strtod_l.c: Fix buffer overrun.
13798
5eea0404
SP
137992013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13800
7849ff93
SP
13801 * benchtests/Makefile (bench): Add sincos.
13802 * benchtests/bench-sincos.c: New file.
13803
cfa3c886
SP
13804 * math/libm-test.inc (cos_test_data): New test inputs.
13805 (sin_test_data): Likewise.
13806
b348e1e3
SP
13807 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13808 macro.
13809 (__sin): Use it.
13810 (__cos): Likewise.
13811 (slow1): Likewise.
13812 (slow2): Likewise.
13813 (sloww1): Likewise.
13814 (sloww2): Likewise.
13815 (bsloww1): Likewise.
13816 (bsloww2): Likewise.
13817 (cslow2): Likewise.
13818 (csloww1): Likewise.
13819 (csloww2): Likewise.
13820
6cce25f8
SP
13821 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13822 function.
13823 (__sin): Use it.
13824 (__cos): Likewise.
13825
5eea0404
SP
13826 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13827 gotos.
13828 (__cos): Likewise.
13829
9c21573c
MR
138302013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
13831
13832 * config.h.in (HAVE_MIPS_NAN2008): New macro.
13833 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13834 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13835 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13836 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13837 * elf/cache.c (print_entry): Handle the new cache flags.
13838
24d22e65
JM
138392013-09-18 Joseph Myers <joseph@codesourcery.com>
13840 Aldy Hernandez <aldyh@redhat.com>
13841
13842 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13843 Change condition to [_SOFT_FLOAT].
13844 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13845 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13846 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13847 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13848 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13849 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13850 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13851 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13852 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13853 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13854 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13855 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13856 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13857 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13858 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13859 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13860 declaration.
13861
d13ef066
JM
138622013-09-18 Joseph Myers <joseph@codesourcery.com>
13863
2e071de0
JM
13864 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13865 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13866 (__longjmp): Use LOAD_GP to load saved GPRs.
13867 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13868 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13869 (__sigsetjmp): Use SAVE_GP to save GPRs.
13870
d13ef066
JM
13871 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13872 Do not append -msoft-float.
13873 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13874
97a0650b
SP
138752013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13876
13877 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13878
11ca09e9
JM
138792013-09-17 Joseph Myers <joseph@codesourcery.com>
13880
13881 [BZ #15966]
13882 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13883 (_FPU_GETCW): Use initial "__" on variable and field names but not
13884 on macro parameter name.
13885 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
13886 parentheses around reference to macro parameter.
13887
08ffcf34
RS
138882013-09-13 Richard Sandiford <richard@codesourcery.com>
13889
13890 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13891 prototype.
13892 (ctype_startup): Use uint32_t in cast and sizeof for
13893 ctype->charnames.
13894
ae7080d3
JL
138952013-09-11 Jia Liu <proljc@gmail.com>
13896
13897 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13898 __daddr_t_defined.
13899 [__FreeBSD__]: Likewise.
13900
5905e7b3
OB
139012013-09-11 Ondřej Bílka <neleai@seznam.cz>
13902
13903 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13904 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13905 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13906 (strchr): Remove __strchr_sse42 ifunc selection.
13907 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13908 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13909
b987c776
WN
139102013-09-11 Will Newton <will.newton@linaro.org>
13911
13912 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13913 parameter to RES. Remove hardcoded 1000 value.
13914 * benchtests/bench-skeleton.c (main): Pass RES parameter
13915 to TIMING_INIT and multiply result by 1000.
13916
ddf985af
AZ
139172013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13918
13919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13920
ffdd3181
AS
139212013-09-11 Andreas Schwab <schwab@suse.de>
13922
13923 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13924 if not defined.
13925 (O_TMPFILE) [__USE_GNU]: Define.
13926 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13927 Define.
13928
b73ed247
WN
139292013-09-11 Will Newton <will.newton@linaro.org>
13930
13931 [BZ #15857]
13932 * malloc/malloc.c (__libc_memalign): Check the value of bytes
13933 does not overflow.
13934
55e17aad
WN
139352013-09-11 Will Newton <will.newton@linaro.org>
13936
13937 [BZ #15856]
13938 * malloc/malloc.c (__libc_valloc): Check the value of bytes
13939 does not overflow.
13940
1159a193
WN
139412013-09-11 Will Newton <will.newton@linaro.org>
13942
13943 [BZ #15855]
13944 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13945 does not overflow.
13946
5905e7b3 139472013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
13948
13949 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13950 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13951 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13952 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13953 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13954
cdfc721b
AM
139552013-09-10 Allan McRae <allan@archlinux.org>
13956
aa04af00
AM
13957 [BZ #15748]
13958 * manual/arith.texi (Parsing of Floats): Clarify
13959 cross-reference.
13960
cdfc721b
AM
13961 [BZ #15849]
13962 * manual/install.texi (Running make install): Mention
13963 --enable-pt-chown.
13964 * INSTALL: Regenerated.
13965
95e7cf29
MR
139662013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13967
13968 * csu/init-first.c (_init): Remove the !SHARED condition around
13969 FPU control word initialization.
13970 * elf/dl-support.c (_dl_fpu_control): New variable.
13971 (_dl_aux_init) <AT_FPUCW>: Initialize it.
13972 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13973 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13974 * math/test-fpucw-static.c: New file.
13975 * math/test-fpucw-ieee.c: New file.
13976 * math/test-fpucw-ieee-static.c: New file.
13977 * math/Makefile (tests): Add `test-fpucw-ieee' and
13978 `$(tests-static)'.
13979 (tests-static): New variable.
13980 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13981 dependency to...
13982 [($(build-shared),yes)]
13983 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13984 ... this.
13985 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13986 New dependency.
13987
83e43bf0
AM
139882013-09-09 Allan McRae <allan@archlinux.org>
13989
a9f5ce09
AM
13990 [BZ #15939]
13991 * manual/string.texi (Collation Functions): Fix typo in
13992 strcoll example.
13993 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13994
34829bc2
AM
13995 [BZ #15893]
13996 * stdlib/isomac.c (get_null_defines): Fix memory leak.
13997
3932737d
AM
13998 [BZ #15892]
13999 * libio/memstream.c (open_memstream): Fix memory leak.
14000 * libio/wmemstream.c (open_wmemstream): Likewise.
14001
83e43bf0
AM
14002 [BZ #15895]
14003 * nscd/netgroupcache.c: Fix nesting of ifdefs.
14004
0c66b8e9
WN
140052013-09-09 Will Newton <will.newton@linaro.org>
14006
14007 * malloc/Makefile: Add tst-realloc to tests.
14008 * malloc/tst-realloc.c: New file.
14009
f6b00fd1
AM
140102013-09-09 Allan McRae <allan@archlinux.org>
14011
14012 [BZ #15844]
14013 * COPYING: Update from GNU website to fix FSF address.
14014 * COPYING.LIB: Likewise.
14015
eec55e16
DM
140162013-09-06 David S. Miller <davem@davemloft.net>
14017
14018 * po/zh_TW.po: Update Chinese (traditional) translation from
14019 translation project.
14020
1ecbb381
RS
140212013-09-06 Richard Sandiford <richard@codesourcery.com>
14022 Joseph Myers <joseph@codesourcery.com>
14023
14024 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14025 "localeinfo.h".
14026 (obstack_chunk_alloc): New macro.
14027 (obstack_chunk_free): Likewise.
14028 (record_offset): New function.
14029 (init_locale_data): Likewise.
14030 (align_locale_data): Likewise.
14031 (add_locale_empty): Likewise.
14032 (add_locale_raw_data): Likewise.
14033 (add_locale_raw_obstack): Likewise.
14034 (add_locale_string): Likewise.
14035 (add_locale_wstring): Likewise.
14036 (add_locale_uint32): Likewise.
14037 (add_locale_uint32_array): Likewise.
14038 (add_locale_char): Likewise.
14039 (start_locale_structure): Likewise.
14040 (end_locale_structure): Likewise.
14041 (start_locale_prelude): Likewise.
14042 (end_locale_prelude): Likewise.
14043 (write_locale_data): Take locale_file structure rather than an
14044 iovec.
14045 * locale/programs/locfile.h: Include "obstack.h".
14046 (struct locale_file): Change to store locale file contents instead
14047 of header.
14048 (init_locale_data): New prototype.
14049 (align_locale_data): Likewise.
14050 (add_locale_empty): Likewise.
14051 (add_locale_raw_data): Likewise.
14052 (add_locale_raw_obstack): Likewise.
14053 (add_locale_string): Likewise.
14054 (add_locale_wstring): Likewise.
14055 (add_locale_uint32): Likewise.
14056 (add_locale_uint32_array): Likewise.
14057 (add_locale_char): Likewise.
14058 (start_locale_structure): Likewise.
14059 (end_locale_structure): Likewise.
14060 (start_locale_prelude): Likewise.
14061 (end_locale_prelude): Likewise.
14062 (write_locale_data): Update prototype.
14063 * locale/programs/3level.h (struct TABLE): Remove result field.
14064 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14065 Use new locale_file interface.
14066 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14067 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14068 * locale/programs/ld-address.c (address_output): Use new
14069 locale_file interface.
14070 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14071 NO_ADD_LOCALE.
14072 (collate_finish): Don't call collseq_table_finalize.
14073 (collate_output): Use new locale_file interface.
14074 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14075 in file.
14076 (NO_FINALIZE): Change to NO_ADD_LOCALE.
14077 (TABLE): Move defines earlier in file.
14078 (ELEMENT): Likewise.
14079 (DEFAULT): Likewise.
14080 (wctrans_table_add): Move macro and inline function earlier in
14081 file.
14082 (struct wctype_table): Move type earlier in file.
14083 (add_locale_wctype_table): New static prototype.
14084 (struct locale_ctype_t): Use logical types instead of struct iovec
14085 pointers for members.
14086 (ctype_output): Use new locale_file interface.
14087 (wctype_table_finalize): Change to add_locale_wctype_table. Use
14088 new locale_file interface.
14089 (allocate_arrays): Update for use of new locale_file interface.
14090 * locale/programs/ld-identification.c (identification_output): Use
14091 new locale_file interface.
14092 * locale/programs/ld-measurement.c (measurement_output): Likewise.
14093 * locale/programs/ld-messages.c (messages_output): Likewise.
14094 * locale/programs/ld-monetary.c (monetary_output): Likewise.
14095 * locale/programs/ld-name.c (name_output): Likewise.
14096 * locale/programs/ld-numeric.c (numeric_output): Likewise.
14097 * locale/programs/ld-paper.c (paper_output): Likewise.
14098 * locale/programs/ld-telephone.c (telephone_output): Likewise.
14099 * locale/programs/ld-time.c (time_output): Likewise.
14100
e029e2e5
AZ
141012013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14102
14103 * benchtests/Makefile: Add memrchr benchmark.
14104 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14105 benchmark as memrchr.
14106 * benchtests/bench-memrchr-ifunc.c: New file.
14107 * benchtests/bench-memrchr.c: New file.
14108
bbf6e8e4
WN
141092013-09-06 Will Newton <will.newton@linaro.org>
14110
14111 * benchtests/Makefile (string-bench): Add memcpy.
14112
6c82a2f8
CD
141132013-09-05 Carlos O'Donell <carlos@redhat.com>
14114 Cong Wang <amwang@redhat.com>
14115
e732c5f0 14116 [BZ #15850]
6c82a2f8
CD
14117 * sysdeps/unix/sysv/linux/bits/in.h
14118 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14119 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14120 before __USE_KERNEL_IPV6_DEFS uses.
14121 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14122 IPPROTO_BEETPH.
14123 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14124 sockaddr_in6, or ipv6_mreq.
14125
5430fc65
AZ
141262013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14127
14128 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14129 memory access for final bytes in some large inputs.
14130 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14131
4660856c
AZ
141322013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14133
14134 * string/test-memrchr.c: New file.
14135 * string/test-memrchr-ifunc.c: New file.
14136 * string/Makefile: Add new memrchr testcase.
14137
bb8ea713
MF
141382013-09-05 Mike Frysinger <vapier@gentoo.org>
14139
14140 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14141 fanotify_init returns EPERM.
14142
b92a20b5
JM
141432013-09-04 Joseph Myers <joseph@codesourcery.com>
14144
14145 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14146 errors.
14147 (top level): Treat second token from macro or constant entries for
14148 allowed headers as allowed.
14149 * include/complex.h: Condition internal declarations on
14150 [!_ISOMAC].
14151 * include/fenv.h: Condition include of <stdbool.h> and internal
14152 declarations on [!_ISOMAC].
7447ccd9
CL
14153
141542013-09-04 Chris Leonard <cjl@sugarlabs,.org>
14155
3e181dda 14156 [BZ #15923]
7447ccd9
CL
14157 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14158
3f2e46a4
JM
141592013-09-04 Joseph Myers <joseph@codesourcery.com>
14160
14161 * configure.in (--enable-versioning): Remove configure option.
14162 (libc_cv_asm_symver_directive): Remove configure test.
14163 (libc_cv_ld_version_script_option): Likewise.
14164 (VERSIONING): Remove variable and AC_SUBST.
14165 (DO_VERSIONING): Remove AC_DEFINE.
14166 * configure: Regenerated.
14167 * config.h.in (DO_VERSIONING): Remove macro.
14168 * Makerules [$(versioning) = yes]: Change conditionals to
14169 [$(build-shared) = yes].
14170 * config.make.in (versioning): Remove variable.
14171 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14172 [$(build-shared) = yes].
14173 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14174 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14175 * elf/Makefile [$(versioning) = yes]: Change conditionals to
14176 [$(build-shared) = yes].
14177 * extra-lib.mk [$(versioning) = yes]: Likewise.
14178 * hurd/Makefile [$(versioning) = yes]: Likewise.
14179 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14180 [SHARED].
14181 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14182 [SHARED].
14183 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14184 [SHARED && !NO_HIDDEN].
14185 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14186 [SHARED].
14187 [SHARED && DO_VERSIONING]: Likewise..
14188 * libio/Makefile [$(versioning) = yes]: Change conditionals to
14189 [$(build-shared) = yes].
14190 * manual/install.texi (--disable-versioning): Remove
14191 documentation.
14192 * INSTALL: Regenerated.
14193 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14194 to [SHARED].
14195 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14196 [$(build-shared) = yes].
14197 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14198 * sysdeps/i386/i686/multiarch/strstr-c.c
14199 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14200 [SHARED && !NO_HIDDEN].
14201 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14202 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14203 * sysdeps/powerpc/powerpc32/dl-machine.c
14204 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14205 * sysdeps/powerpc/powerpc32/sysdep.h
14206 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14207 to [SHARED && PIC && !NO_HIDDEN].
14208 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14209 conditional to [SHARED].
14210
44558701
WN
142112013-09-04 Will Newton <will.newton@linaro.org>
14212
14213 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14214 * benchtests/bench-string.h: Include bench-timing.h instead
14215 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14216 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14217 call to HP_TIMING_DIFF_INIT.
14218 * benchtests/bench-memccpy.c: Use bench-timing.h macros
14219 instead of hp-timing.h macros.
14220 * benchtests/bench-memchr.c: Likewise.
14221 * benchtests/bench-memcmp.c: Likewise.
14222 * benchtests/bench-memcpy.c: Likewise.
14223 * benchtests/bench-memmem.c: Likewise.
14224 * benchtests/bench-memmove.c: Likewise.
14225 * benchtests/bench-memset.c: Likewise.
14226 * benchtests/bench-rawmemchr.c: Likewise.
14227 * benchtests/bench-strcasecmp.c: Likewise.
14228 * benchtests/bench-strcasestr.c: Likewise.
14229 * benchtests/bench-strcat.c: Likewise.
14230 * benchtests/bench-strchr.c: Likewise.
14231 * benchtests/bench-strcmp.c: Likewise.
14232 * benchtests/bench-strcpy.c: Likewise.
14233 * benchtests/bench-strcpy_chk.c: Likewise.
14234 * benchtests/bench-strlen.c: Likewise.
14235 * benchtests/bench-strncasecmp.c: Likewise.
14236 * benchtests/bench-strncat.c: Likewise.
14237 * benchtests/bench-strncmp.c: Likewise.
14238 * benchtests/bench-strncpy.c: Likewise.
14239 * benchtests/bench-strnlen.c: Likewise.
14240 * benchtests/bench-strpbrk.c: Likewise.
14241 * benchtests/bench-strrchr.c: Likewise.
14242 * benchtests/bench-strspn.c: Likewise.
14243 * benchtests/bench-strstr.c: Likewise.
14244
cae16d66
WN
142452013-09-04 Will Newton <will.newton@linaro.org>
14246
14247 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14248
ffa3cd7f
JM
142492013-09-03 Joseph Myers <joseph@codesourcery.com>
14250
14251 [BZ #15427]
14252 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14253 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14254 * math/libm-test.inc (lgamma_test_data): Add more tests.
14255 * sysdeps/i386/fpu/libm-test-ulps: Update.
14256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14257
8f02859f
OB
142582013-09-03 Ondřej Bílka <neleai@seznam.cz>
14259
14260 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14261 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14262 Add ifunc.
14263 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14264 Add strcmp-sse2-unaligned
14265 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14266
18d43716
MF
142672013-09-02 Mike Frysinger <vapier@gentoo.org>
14268
14269 * Versions.def (libc): Add GLIBC_2.19.
14270
ac444012
MF
142712013-09-02 Mike Frysinger <vapier@gentoo.org>
14272
14273 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14274 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14275
b7835e32
JM
142762013-09-02 Joseph Myers <joseph@codesourcery.com>
14277
14278 [BZ #14155]
14279 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14280 intermediate calculations in recurrence.
14281 (__ieee754_ynf): Likewise.
14282 * math/libm-test.inc (jn_test_data): Do not allow spurious
14283 underflow exception. Add more tests.
14284 (yn_test_data): Add more tests.
14285 * sysdeps/i386/fpu/libm-test-ulps: Update.
14286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14287
8220f4f0
OB
142882013-09-02 Ondřej Bílka <neleai@seznam.cz>
14289
14290 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14291
f24a6d08
OB
142922013-08-30 Ondřej Bílka <neleai@seznam.cz>
14293
14294 * csu/init-first.c: Fix then/than typos.
14295 * locale/programs/ld-collate.c: Likewise.
14296 * locale/programs/linereader.h: Likewise.
14297 * manual/charset.texi: Likewise.
14298 * manual/filesys.texi: Likewise.
14299 * manual/stdio.texi: Likewise.
14300 * manual/string.texi: Likewise.
14301 * stdlib/fmtmsg.c: Likewise.
14302 * sysdeps/i386/stpncpy.S: Likewise.
14303 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14304 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14305 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14306 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14307
382466e0
OB
143082013-08-30 Ondřej Bílka <neleai@seznam.cz>
14309
14310 * elf/dl-open.c: Fix typos.
14311 * iconvdata/gbbig5.c: Likewise.
14312 * iconvdata/iso-2022-jp.c: Likewise.
14313 * iconv/gconv_int.h: Likewise.
14314 * iconv/loop.c: Likewise.
14315 * nis/rpcsvc/nis.h: Likewise.
14316 * resolv/ns_name.c: Likewise.
14317 * stdio-common/vfscanf.c: Likewise.
14318 * streams/stropts.h: Likewise.
14319 * sunrpc/rpc_thread.c: Likewise.
14320 * sysdeps/i386/strpbrk.S: Likewise.
14321 * sysdeps/ieee754/k_standard.c: Likewise.
14322 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14323 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14324 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14325 * sysdeps/mach/hurd/profil.c: Likewise.
14326 * sysdeps/s390/dl-procinfo.h: Likewise.
14327 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14328 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14329 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14330 * sysdeps/x86_64/dl-trampoline.S: Likewise.
14331 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14332
0186c6e9
OB
143332013-08-30 Ondřej Bílka <neleai@seznam.cz>
14334
14335 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14336 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14337
d4e16af1
OB
143382013-08-29 Ondřej Bílka <neleai@seznam.cz>
14339
14340 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14341 aix specific files.
14342 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14343 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14344 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14345 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14346 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14347 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14348 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14349 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14350
88335980
TS
143512013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14352 Roland McGrath <roland@hack.frob.com>
14353
14354 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14355 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14356
ed479b02
ST
143572013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14358
14359 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14360 __executable_start symbol instead of _start.
14361
f1cc4c86
TS
143622013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14363
d821f07c
TS
14364 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14365 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14366 Move macros to...
14367 * sysdeps/gnu/ldsodefs.h: ... this new file.
14368
c54290cf
TS
14369 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14370 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14371 instead of ELFOSABI_LINUX.
14372
0007fc9b 14373 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
14374 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14375 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14376 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14377 Likewise.
14378 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14379 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14380 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14381 Likewise.
14382 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14383 (ibm_extended_long_double): Add ieee_nan member.
14384 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14385 (do_test): New function.
14386
f1cc4c86
TS
14387 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14388 TEST_TRUNC.
14389 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14390 functions, renamed from truncdfsf_test, trunctfsf_test,
14391 trunctfdf_test.
14392 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14393 functions.
14394 (do_test): Run all these.
14395
6f65e668
OB
143962013-08-29 Ondřej Bílka <neleai@seznam.cz>
14397
14398 * argp/argp-help.c: Fix typos.
14399 * argp/argp-parse.c: Likewise.
14400 * debug/backtracesyms.c: Likewise.
14401 * elf/elf.h: Likewise.
14402 * malloc/malloc.c: Likewise.
14403 * nis/nis_print.c: Likewise.
14404 * resolv/res_comp.c: Likewise.
14405 * stdlib/stdlib.h: Likewise.
14406 * sunrpc/clnt_tcp.c: Likewise.
14407 * sunrpc/clnt_udp.c: Likewise.
14408 * sunrpc/clnt_unix.c: Likewise.
14409 * sysdeps/unix/bsd/ptsname.c: Likewise.
14410 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14411 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
14412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14413 Likewise.
14414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14415 Likewise.
14416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14417 Likewise.
6f65e668
OB
14418 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14419
3a309239
SP
144202013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14421
14422 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14423 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14424
3b813b29
MF
144252013-08-27 Mike Frysinger <vapier@gentoo.org>
14426
14427 [BZ #15897]
14428 * dlfcn/Makefile (tests): Add bug-dl-leaf.
14429 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14430 ($(objpfx)bug-dl-leaf): New rule.
14431 ($(objpfx)bug-dl-leaf.so): Likewise.
14432 ($(objpfx)bug-dl-leaf.out): Likewise.
14433 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14434 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14435 * dlfcn/bug-dl-leaf.c: New test.
14436 * dlfcn/bug-dl-leaf-lib.c: Likewise.
14437 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14438 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14439 (dlclose): Likewise.
14440 (dlmopen): Likewise.
14441
8cc3269f
RM
144422013-08-27 Roland McGrath <roland@hack.frob.com>
14443
7f9d0034
RM
14444 * include/netdb.h [!_ISOMAC]:
14445 Don't include <tls.h>.
14446 (h_errno, __libc_h_errno): Move declaration and macros out of
14447 [_LIBC_REENTRANT].
14448
fb431262
RM
14449 * include/resolv.h [_RESOLV_H_]:
14450 Don't include <tls.h>.
14451 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14452 * resolv/res_libc.c: Don't include <tls.h>.
14453 (_res): Use __attribute__ ((nocommon)) in place of
14454 __attribute__ ((section (".bss"))).
14455
bd81123a
RM
14456 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14457 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14458
c4e42566
RM
14459 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14460
f890a59b
RM
14461 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14462 only under [SIOCGIFCONF && SIOCGIFNETMASK].
14463
14464 * resolv/res_mkquery.c: Include <sys/time.h>.
14465
5d1f0a09
RM
14466 * inet/ifreq.c: Moved to ...
14467 * sysdeps/unix/ifreq.c: ... here.
14468 * inet/ifreq.c: New file, true stub version.
14469
6fcf28b3
RM
14470 * socket/sa_len.c: New file.
14471 * socket/Makefile (aux): Add it.
14472 * sysdeps/unix/sysv/linux/Makefile
14473 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14474 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14475 and #include <socket/sa_len.c>.
14476 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14477 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14478
e041fb8b
RM
14479 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14480 * bits/socket.h: ... here.
14481
8cc3269f
RM
14482 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14483 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14484 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14485
5d228a43
AS
144862013-08-27 Andreas Schwab <schwab@suse.de>
14487
45b8accc
AS
14488 [BZ #15736]
14489 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14490 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14491 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14492 * string/test-strcasecmp.c (test_main): Run tests in several
14493 locales.
14494 * string/test-strncasecmp.c (test_main): Likewise.
14495
5d228a43
AS
14496 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14497 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14498 to __strcasecmp_nonascii and __strncasecmp_nonascii.
14499 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14500 (__strncasecmp_ssse3) [PIC]: Likewise.
14501
59d112a4
RM
145022013-08-26 Roland McGrath <roland@hack.frob.com>
14503
53234cc3
RM
14504 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14505
59d112a4
RM
14506 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14507 instead of explicitly declaring xdecrypt.
14508 * nis/nss_nis/nis-publickey.c: Likewise.
14509
595aba70
SP
145102013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14511
14512 [BZ #15890]
14513 * nscd/aicache.c: Include res_hconf.h.
14514 (addhstaiX): Initialize res_hconf.
14515
ffabd393
AS
145162013-08-26 Andreas Schwab <schwab@suse.de>
14517
14518 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14519 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14520
e0a69f5c
SP
145212013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14522
14523 * nscd/aicache.c (addhstaiX): Fix indentation.
14524
8c12f01d
MF
145252013-08-25 Mike Frysinger <vapier@gentoo.org>
14526
14527 * configure.ac: Quote $build_pt_chown test.
14528 * configure: Regenerated.
14529
8fe89494
JM
145302013-08-23 Joseph Myers <joseph@codesourcery.com>
14531
14532 [BZ #15532]
14533 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14534 * math/s_cexpf.c (__cexpf): Likewise.
14535 * math/s_cexpl.c (__cexpl): Likewise.
14536 * math/libm-test.inc (cexp_test_data): Correct expected return
14537 value for NaN + i0. Add another test.
14538
75b181d6
DM
145392013-08-22 David S. Miller <davem@davemloft.net>
14540
14541 * po/ca.po: Update Catalan translation from translation project.
936241e4 14542 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 14543
acd06bb1
JM
145442013-08-21 Joseph Myers <joseph@codesourcery.com>
14545
14546 [BZ #15797]
14547 * math/s_fdim.c (__fdim): Check for infinite arguments if result
14548 is infinite, not alongside NaN test.
14549 * math/s_fdimf.c (__fdimf): Likewise.
14550 * math/s_fdiml.c (__fdiml): Likewise.
14551 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
14552 errno is unchanged.
14553
c0c3f78a
OB
145542013-08-21 Ondřej Bílka <neleai@seznam.cz>
14555
14556 * argp/argp-help.c: Fix typos.
14557 * crypt/speeds.c: Likewise.
14558 * csu/check_fds.c: Likewise.
14559 * elf/dl-load.c: Likewise.
14560 * elf/dl-open.c: Likewise.
14561 * elf/reldep3.c: Likewise.
14562 * elf/reldep.c: Likewise.
14563 * elf/sprof.c: Likewise.
14564 * iconv/iconv_charmap.c: Likewise.
14565 * iconv/skeleton.c: Likewise.
14566 * iconv/strtab.c: Likewise.
14567 * io/lockf64.c: Likewise.
14568 * libio/libioP.h: Likewise.
14569 * resolv/gai_notify.c: Likewise.
14570 * resolv/ns_name.c: Likewise.
14571 * resolv/ns_samedomain.c: Likewise.
14572 * resolv/res_send.c: Likewise.
14573 * stdlib/random.c: Likewise.
14574 * sunrpc/rpc/xdr.h: Likewise.
14575 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14576 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14577 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14578 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14579 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14580 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14581 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14582 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14583 * sysdeps/mach/hurd/check_fds.c: Likewise.
14584 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14585 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14586 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14587 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14588 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14589 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14590 * sysdeps/pthread/aio_notify.c: Likewise.
14591 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14592 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14593 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14594 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14595 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14596
46ed1038
LD
145972013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14598
14599 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14600 version if bit_Slow_SSE4_2 is set.
14601 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14602 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14603
d400dcac
AZ
146042013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14605
14606 [BZ #15867]
14607 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14608 trampoline stack frame information.
14609 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14610 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14611 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14612 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14613 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14614 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14615 (_libc_vdso_platform_setup): Initialize the signal trampolines.
14616 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14617 sa_flags value.
14618 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14619 interrupting a syscall and set with option SA_SIGINFO.
14620
42c8fdd8
JM
146212013-08-20 Joseph Myers <joseph@codesourcery.com>
14622
c980f2f4
JM
14623 [BZ #15531]
14624 * math/s_cproj.c (__cproj): Only return an infinity if one part of
14625 argument is infinite.
14626 * math/s_cprojf.c (__cprojf): Likewise.
14627 * math/s_cprojl.c (__cprojl): Likewise.
14628 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14629 * math/libm-test.inc (cproj_test_data): Add more tests.
14630
0716c4fc
JM
14631 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14632
42c8fdd8
JM
14633 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14634 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14635 size. Use __ffs to determine corresponding shift.
14636
b31469d0
JM
146372013-08-20 Joseph Myers <joseph@codesourcery.com>
14638 Roland McGrath <roland@hack.frob.com>
14639
14640 * Makefile (INSTALL): Remove trailing blank lines from output of
14641 makeinfo.
14642
4e39af6e
AK
146432013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14644
14645 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14646 Align 32 bit compat elf_greg to 8 bytes.
14647
f315524e
AA
146482013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14649
14650 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14651
1326ba1a
SP
146522013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14653
14654 * string/strcoll_l.c (coll_seq): New structure.
14655 (get_next_seq_cached): New function.
14656 (get_next_seq): New function.
14657 (do_compare): New function.
14658 (STRCOLL): Use GNU style definition. Simplify implementation
14659 by using get_next_seq, get_next_seq_cached and do_compare.
14660
91ce4085
FW
146612013-08-16 Florian Weimer <fweimer@redhat.com>
14662
14663 [BZ #14699]
14664 CVE-2013-4237
14665 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14666 member.
14667 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14668 member.
14669 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14670 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14671 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
14672 conditional.
14673 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14674 GETDENTS_64BIT_ALIGNED.
14675 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14676 * manual/filesys.texi (Reading/Closing Directory): Document
14677 ENAMETOOLONG return value of readdir_r. Recommend readdir more
14678 strongly.
14679 * manual/conf.texi (Limits for Files): Add portability note to
14680 NAME_MAX, PATH_MAX.
14681 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14682
ca0a6bc4
AS
146832013-08-13 Andreas Schwab <schwab@suse.de>
14684
14685 [BZ #15749]
14686 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14687 of fabs.
14688 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14689 LDBL_MAX_EXP >= 16384]: Add tests for it.
14690
6c1fd795
DM
146912013-08-12 David S. Miller <davem@davemloft.net>
14692
14693 * version.h (RELEASE): Set to "development".
14694 (VERSION): Set to "2.18.90".
14695 * NEWS: Add 2.19 section.
14696
31ad488d
DM
146972013-08-03 David S. Miller <davem@davemloft.net>
14698
14699 * po/ko.po: Update Korean translation from translation project.
14700
db24e684
DM
147012013-08-01 David S. Miller <davem@davemloft.net>
14702
14703 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
14704 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14705 Bilka.
14706
f723285b
DM
147072013-07-30 David S. Miller <davem@davemloft.net>
14708
14709 * po/fr.po: Update French translation from translation project.
14710
3cbc52db
DM
147112013-07-28 David S. Miller <davem@davemloft.net>
14712
30bbc0cc
DM
14713 * po/cs.po: Update Czech translation from translation project.
14714
3cbc52db
DM
14715 * po/sv.po: Update Swedish translation from translation project.
14716
d492e6d0
DM
147172013-07-27 David S. Miller <davem@davemloft.net>
14718
f1a7f492
DM
14719 * po/eo.po: Update Esperanto translation from translation project.
14720
90e62a4a
DM
14721 * po/vi.po: Update Vietnamese translation from translation project.
14722
d492e6d0
DM
14723 * po/de.po: Update German translation from translation project.
14724
d4baa62d
DM
147252013-07-26 David S. Miller <davem@davemloft.net>
14726
641aa7b4
DM
14727 * po/bg.po: Update Bulgarian translation from translation project.
14728
d4baa62d
DM
14729 * po/nl.po: Update Dutch translation from translation project.
14730 * po/pl.po: Update Polish translation from translation project.
14731 * po/ru.po: Update Russian translation from translation project.
14732
61a9dcb9
DM
147332013-07-24 David S. Miller <davem@davemloft.net>
14734
14735 * po/libc.pot: Update.
14736
7b1f8b58
AZ
147372013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14738
14739 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14740 variable page size.
14741 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14742 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14743 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14744
a8fc7a03
AK
147452013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14746
14747 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14748
e4608715
CD
147492013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14750 Andreas Schwab <schwab@suse.de>
14751 Roland McGrath <roland@hack.frob.com>
14752 Joseph Myers <joseph@codesourcery.com>
14753 Carlos O'Donell <carlos@redhat.com>
14754
14755 [BZ #15755]
14756 * config.h.in: Define HAVE_PT_CHOWN.
14757 * config.make.in (build-pt-chown): New variable.
14758 * configure.in (--enable-pt_chown): New configure option.
14759 * configure: Regenerate.
14760 * login/Makefile: Include Makeconfig. Build pt_chown only if
14761 build-pt-chown is enabled.
14762 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14763 pt_chown to fix pty ownership.
14764 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14765 CLOSE_ALL_FDS.
14766 * manual/install.texi (Configuring and compiling): Mention
14767 --enable-pt_chown. Add @findex for grantpt.
14768 * INSTALL: Regenerate.
14769
da2d62df
DM
147702013-07-20 David S. Miller <davem@davemloft.net>
14771
14772 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14773 difference between 32-bit and 64-bit.
14774
d7e06450
CD
147752013-07-15 Carlos O'Donell <carlos@redhat.com>
14776
14777 [BZ #15711]
14778 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14779 Avoid system header dependency with -ffreestanding.
14780 ($(objpfx)bits/syscall%d): Likewise.
14781
f959cfd7
DM
147822013-07-13 David S. Miller <davem@davemloft.net>
14783
14784 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14785 underflows from atanl/atan2l due to bug 15319.
14786 (casinh_test_data): Likewise.
14787
c61f8513
DM
147882013-07-07 David S. Miller <davem@davemloft.net>
14789
14790 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14791
72c90ed0
JA
147922013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
14793
14794 * sysdeps/i386/fpu/libm-test-ulps: Update.
14795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14796
52dfbe13
SP
147972013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14798
14799 * configure.in (--enable-lock-elision): Fix message text.
14800 * INSTALL: Regenerate.
14801 * configure: Regenerate.
14802
3f169543
AZ
148032013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14804
14805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14806
521c6785
AJ
148072013-07-03 Andreas Jaeger <aj@suse.de>
14808
14809 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14810 define.
14811 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14812 (ptrace_peeksiginfo_args): Add.
14813 (__ptrace_peeksiginfo_flags): Add.
14814 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14815 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14816 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14817
d2cc15cb
AM
148182013-07-03 Allan McRae <allan@archlinux.org>
14819
14820 * sysdeps/i386/fpu/libm-test-ulps: Update.
14821
3aaeeca7
DM
148222013-07-02 David S. Miller <davem@davemloft.net>
14823
14824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14825
5314ed1a
MT
148262013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
14827
14828 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14829
67338156
JM
148302013-07-02 Joseph Myers <joseph@codesourcery.com>
14831
14832 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14834
1717da59
AK
148352013-07-02 Andi Kleen <ak@linux.intel.com>
14836
14837 * config.h.in (ENABLE_LOCK_ELISION): Add.
14838 * configure.in (--enable-lock-elision): Add option.
14839 * manual/install.texi: Document --enable lock elision.
14840 * configure: Regenerate
14841 * INSTALL: Regenerate.
14842
1c81621c
L
148432013-07-02 H.J. Lu <hongjiu.lu@intel.com>
14844
14845 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14846 SSE4.2 strcasecmp for libc.a.
14847 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14848
77f01ab5
JM
148492013-07-02 Joseph Myers <joseph@codesourcery.com>
14850
14851 [BZ #13304]
14852 * soft-fp/op-common.h (_FP_FMA): New macro.
14853 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14854 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
14855 (_FP_MUL_MEAT_1_imm): ... here.
14856 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
14857 (_FP_MUL_MEAT_1_wide): ... here.
14858 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
14859 (_FP_MUL_MEAT_1_hard): ... here.
14860 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14861 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
14862 (_FP_MUL_MEAT_2_wide): ... here.
14863 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
14864 (_FP_MUL_MEAT_2_wide_3mul): ... here.
14865 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
14866 (_FP_MUL_MEAT_2_gmp): ... here.
14867 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14868 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
14869 (_FP_MUL_MEAT_4_wide): ... here.
14870 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
14871 (_FP_MUL_MEAT_4_gmp): ... here.
14872 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14873 (_FP_WFRACBITS_DW_S): Likewise.
14874 (_FP_WFRACXBITS_DW_S): Likewise.
14875 (_FP_HIGHBIT_DW_S): Likewise.
14876 (FP_FMA_S): Likewise.
14877 (_FP_FRAC_HIGH_DW_S): Likewise.
14878 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14879 (_FP_WFRACBITS_DW_D): Likewise.
14880 (_FP_WFRACXBITS_DW_D): Likewise.
14881 (_FP_HIGHBIT_DW_D): Likewise.
14882 (FP_FMA_D): Likewise.
14883 (_FP_FRAC_HIGH_DW_D): Likewise.
14884 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14885 (_FP_WFRACBITS_DW_E): Likewise.
14886 (_FP_WFRACXBITS_DW_E): Likewise.
14887 (_FP_HIGHBIT_DW_E): Likewise.
14888 (FP_FMA_E): Likewise.
14889 (_FP_FRAC_HIGH_DW_E): Likewise.
14890 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14891 (_FP_WFRACBITS_DW_Q): Likewise.
14892 (_FP_WFRACXBITS_DW_Q): Likewise.
14893 (_FP_HIGHBIT_DW_Q): Likewise.
14894 (FP_FMA_Q): Likewise.
14895 (_FP_FRAC_HIGH_DW_Q): Likewise.
14896 * soft-fp/fmasf4.c: New file.
14897 * soft-fp/fmadf4.c: Likewise.
14898 * soft-fp/fmatf4.c: Likewise.
14899
6308fd9a
LD
149002013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14901
14902 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14903 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14904 Silvermont.
14905 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14906 macro.
14907 (index_Slow_SSE4_2): Likewise.
14908 (index_Prefer_PMINUB_for_stringop): Likewise.
14909 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14910 bit_Slow_SSE4_2 is set.
14911 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14912 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14913
89cd9569
RA
149142013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14915
14916 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14917 rtld_global._dl_hwcap2.
14918 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14919 POWER8.
14920 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14921 POWER8 feature descriptions defined in _dl_hwcap2.
14922 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14923 string handling for POWER8 feature bits.
14924 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14925 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14926 _dl_powerpc_cap_flags.
14927 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14928 * sysdeps/powerpc/rtld-global-offsets.sym
14929 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14930 _dl_hwcap2 in the rtld_global_ro structure.
14931
1ae8bfe0
RA
149322013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14933
14934 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14935 hardware capabilities in support of AT_HWCAP2.
14936 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14937 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14938 GLRO(dl_hwcap2).
14939 (_dl_show_auxv): Add support for calling _dl_procinfo to display
14940 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
14941 explicitly the unknown a_type display mechanism is used.
14942 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14943 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14944 struct member.
14945 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14946 to macro prototype for AT_HWCAP2 support.
14947 * sysdeps/i386/dl-procinfo.h: Likewise.
14948 * sysdeps/s390/dl-procinfo.h: Likewise.
14949 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14950 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
14951 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
14952 return -1 for unknown a_type display fallback.
14953 * sysdeps/sparc/dl-procinfo.h: Likewise.
14954 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14955 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14956
8fbec010
JM
149572013-06-28 Joseph Myers <joseph@codesourcery.com>
14958
14959 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14960 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14961
0432680e
PY
149622013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
14963
14964 [BZ #12492]
14965 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14966 mprotect making __stack_prot writable.
14967
ce61a2ad
NF
149682013-06-28 Nathan Froyd <froydnj@codesourcery.com>
14969 Joseph Myers <joseph@codesourcery.com>
14970
14971 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14972 as being properly aligned.
14973
f91f1c0f
MR
149742013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
14975
3d0f5d0c
MR
14976 * dlfcn/modstatic5.c: New file.
14977 * dlfcn/tststatic5.c: New file.
14978 * dlfcn/Makefile (tests): Add tststatic5.
14979 (tests-static): Likewise.
14980 (modules-names): Add modstatic5.
14981 (tststatic5-ENV): New variable.
14982 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14983
f91f1c0f
MR
14984 [BZ #15022]
14985 * elf/dl-support.c (_dl_main_map): New variable.
14986 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14987 (_dl_nns, _dl_load_adds): Set to 1.
14988 (_dl_initial_searchlist): Refer to _dl_main_map.
14989 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14990 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14991 call to _dl_get_origin.
14992 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14993 around call_map.
14994 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14995 * dlfcn/modstatic3.c: New file.
14996 * dlfcn/tststatic3.c: New file.
14997 * dlfcn/tststatic4.c: New file.
14998 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14999 (tests-static): Likewise.
15000 (modules-names): Add modstatic3.
15001 (tststatic3-ENV, tststatic4-ENV): New variables.
15002 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
15003 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
15004
cbe7d24b
JM
150052013-06-26 Joseph Myers <joseph@codesourcery.com>
15006
15007 * configure.in (CC): Require GCC version 4.4 or later.
15008 * configure: Regenerated.
15009 * manual/install.texi (Tools for Compilation): Update GCC version
15010 requirement.
15011 * INSTALL: Regenerated.
15012
11b8a0e1
LD
150132013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15014
15015 [BZ #15674]
bb5bb87c
L
15016 * string/test-memcmp.c (check2): New.
15017 (main): Call check2.
15018
11b8a0e1
LD
15019 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15020
b0037103
MR
150212013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
15022
15023 [BZ #15022]
15024 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15025 over to...
15026 (dl_open_worker) [!SHARED]: ... here.
15027
c18c701d
RA
150282013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15029
15030 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15031
1d17fa5f
RH
150322013-06-25 Richard Henderson <rth@redhat.com>
15033
15034 * locale/programs/locarchive.c: Include <libc-internal.h>
15035
8fcb833a
JM
150362013-06-25 Joseph Myers <joseph@codesourcery.com>
15037
15038 * manual/texinfo.tex: Update to version 2013-06-21.17, with
15039 trailing whitespace removed.
15040
17db6e8d
MF
150412013-06-24 Mike Frysinger <vapier@gentoo.org>
15042
15043 [BZ #10283]
17db6e8d
MF
15044 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15045 * locale/programs/locarchive.c: Include libc-mmap.h.
15046 (prepare_address_space): Take two new outputs (the mmap base and len).
15047 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
15048 values.
15049 (create_archive): Declare new mmap base and len values for
15050 prepare_address_space, and store the result in ah.
15051 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15052 (enlarge_archive): If ah->mmap_base is not NULL, use that and
15053 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15054 Declare new mmap base and len values for
15055 prepare_address_space, and store the result in new_ah.
15056 (open_archive): Declare new mmap base and len values for
15057 prepare_address_space, and store the result in ah.
15058 (close_archive): If ah->mmap_base is not NULL, use that and
15059 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15060 * sysdeps/generic/libc-mmap.h: New file.
15061
d605071e
MF
150622013-06-24 Mike Frysinger <vapier@gentoo.org>
15063
15064 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15065 (ALIGN_UP): Likewise.
15066 (PTR_ALIGN_DOWN): Likewise.
15067 (PTR_ALIGN_UP): Likewise.
15068
2f063a6e
RA
150692013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15070
15071 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15072 entry mapped to PPC_PLATFORM_POWER8.
15073 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15074 POWER8.
15075 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15076 (_dl_string_platform): Add case for exporting platform position for
15077 POWER8.
15078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15079 search path to sysdeps/powerpc/powerpc32/power8 directory.
15080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15081 search path to sysdeps/powerpc/powerpc64/power8 directory.
15082 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15083 power7 directories.
15084 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15085 power7 directories.
15086
a31ee4b3
SP
150872013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15088
a74ca98f
SP
15089 * INSTALL: Regenerate.
15090
a31ee4b3
SP
15091 * nscd/connections.c (nscd_init): Fix comment.
15092
695c378f
JM
150932013-06-22 Joseph Myers <joseph@codesourcery.com>
15094
d8412221
JM
15095 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15096
695c378f
JM
15097 [BZ #15667]
15098 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15099 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15100
d1d54715
MR
151012013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15102
15103 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15104 DL_DST_REQ_STATIC.
15105 (DL_DST_REQ_STATIC): Remove macro.
15106
8fdda7af
JM
151072013-06-21 Joseph Myers <joseph@codesourcery.com>
15108
15109 [BZ #7006]
15110 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15111 with a shift of 0 bits.
15112
f3bc5e5a
MR
151132013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15114
15115 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15116 $(tststatic-ENV).
15117
be09e8c9
KK
151182013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15119
15120 [BZ #15655]
15121 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15122
85c2e611
AZ
151232013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15124
15125 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15126 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15127 accepts -fno-tree-loop-distribute-patterns.
15128 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15129 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15130 recursive call.
15131 * string/memset.c (memset): Likewise.
15132 * string/test-memmove.c (simple_memmove): Disable loop transformation
15133 to library calls.
15134 * string/test-memset.c (simple_memset): Likewise.
15135 * benchtests/bench-memmove.c (simple_memmove): Likewise.
15136 * benchtests/bench-memset.c (simple_memset): Likewise.
15137 * configure: Regenerated.
15138
c91e0825
JM
151392013-06-20 Joseph Myers <joseph@codesourcery.com>
15140
b8c792af
JM
15141 * math/test-misc.c (main): Ignore fesetround failure when failures
15142 of subsequent rounding tests would be ignored.
15143
c91e0825
JM
15144 [BZ #15654]
15145 * math/fedisblxcpt.c (fedisableexcept): Return 0.
15146 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15147 * math/fegetenv.c (__fegetenv): Return 0.
15148 * math/fegetexcept.c (fegetexcept): Return 0.
15149 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15150 FE_TONEAREST.
15151 * math/feholdexcpt.c (feholdexcept): Return 0.
15152 * math/fesetenv.c (__fesetenv): Return 0.
15153 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15154 argument FE_TONEAREST.
15155 * math/feupdateenv.c (__feupdateenv): Return 0.
15156 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15157
bfcacbde
RM
151582013-06-18 Roland McGrath <roland@hack.frob.com>
15159
15160 * elf/rtld-Rules (rtld-compile-command.S): New variable.
15161 (rtld-compile-command.s, rtld-compile-command.c): New variables.
15162 ($(objpfx)rtld-%.os rules): Use them.
15163
e55a9b25
AZ
151642013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15165
15166 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15167 fields.
15168
346d65b3
RM
151692013-06-17 Roland McGrath <roland@hack.frob.com>
15170
12086fb4
RM
15171 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15172 length of target pattern, then descending length of dependency pattern.
15173 * configure.in (AWK): Require gawk 3.1.2 or newer.
15174 * manual/install.texi (Tools for Compilation): Say that we do.
15175 * configure: Regenerated.
15176
346d65b3
RM
15177 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15178 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15179 * scripts/sysd-rules.awk: ... this new script.
15180 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15181 than a glob-style pattern.
15182
1a846317
JM
151832013-06-17 Joseph Myers <joseph@codesourcery.com>
15184
15185 * math/test-misc.c (main): Do not treat incorrectly rounded
15186 conversions as failure unless ROUNDING_TESTS passes.
15187
8fc75e6f
JM
151882013-06-15 Joseph Myers <joseph@codesourcery.com>
15189
3711a167
JM
15190 [BZ #15631]
15191 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15192 restore exception state around main square root computation, then
15193 check for inexactness explicitly.
15194
8fc75e6f
JM
15195 * math/libm-test.inc (fma_test_data): Add another test.
15196
61dd6208
SP
151972013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15198
adf23d2c
SP
15199 * manual/threads.texi (Non-POSIX Extensions): New document
15200 node. Document pthread_getattr_default_np and
15201 pthread_setattr_default_np.
15202
61dd6208
SP
15203 * Versions.def (libpthread): Add GLIBC_2.18.
15204 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15206 Likewise.
15207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15208 Likewise.
15209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15210 Likewise.
15211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15212 Likewise.
15213 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15214 Likewise.
15215 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15216 Likewise.
15217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15218 Likewise.
15219 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15220 Likewise.
15221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15222 Likewise.
15223
d086fc7b
LD
152242013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15225
15226 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15227 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15228
747ef469
SP
152292013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15230 H.J. Lu <hjl.tools@gmail.com>
15231
15232 [BZ #15627]
15233 * sysdeps/x86_64/rtld-memset.c: Remove file.
15234 * sysdeps/x86_64/rtld-memset.S: New file.
15235
1b2feed2
JM
152362013-06-14 Joseph Myers <joseph@codesourcery.com>
15237
15238 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15239 (test_in_one_mode): Take arguments for whether the rounding mode
15240 is supported for each floating-point type.
15241 (do_test): Pass new arguments to test_in_one_mode using
15242 ROUNDING_TESTS.
15243
a58ad3f8
RM
152442013-06-13 Roland McGrath <roland@hack.frob.com>
15245
15246 * posix/tst-waitid.c (do_test): Distinguish different instances of
15247 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
15248 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15249 before entering the kernel for waitpid.
15250
c204ab28
SP
152512013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15252
15253 * NEWS: Fix note on clock function precision. Text by Roland
15254 McGrath.
15255
f4a29fba
RM
152562013-06-13 Roland McGrath <roland@hack.frob.com>
15257
15258 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15259 it into place only when and if the sanity check passes.
15260
1f24b9ad
JM
152612013-06-13 Joseph Myers <joseph@codesourcery.com>
15262
15263 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15264 output for whether conversion result is exact. Take argument
15265 indicating whether type is IBM long double.
15266 (round_for_all): Change need_exact field to ibm_ld.
15267 * stdlib/tst-strtod-round.c (struct exactness): New type.
15268 (struct test): Change bool ld_ok field to struct exactness exact.
15269 (TEST): Update all definitions for change to field.
15270 (tests): Regenerate array contents.
15271 (test_in_one_mode): Take pointer to new field instead of old ld_ok
15272 field value. Check for IBM long double here.
15273 (do_test): Update calls to test_in_one_mode.
15274
58206c68
SP
152752013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15276
15277 [BZ #12515]
15278 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15279 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15280
2d6f4c5b 152812013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
15282
15283 [BZ #15605]
15284 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15285 generated by the compiler on loop optimizations.
15286 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15287 general definitions.
15288
94f2c076
JM
152892013-06-12 Joseph Myers <joseph@codesourcery.com>
15290
15291 * math/bug-nextafter.c: Include <math-tests.h>.
15292 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15293 the relevant type.
15294 * math/bug-nexttoward.c: Include <math-tests.h>.
15295 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15296 the relevant type.
15297 * math/test-misc.c: Include <math-tests.h>.
15298 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15299 the relevant type.
15300
e0e50a0a
AJ
153012013-06-12 Andreas Jaeger <aj@suse.de>
15302
15303 * po/ia.po: Update Interlingua translation from translation
15304 project.
15305
25061094
SP
153062013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15307
15308 * include/fenv.h: Include stdbool.h.
15309 (struct rm_ctx): New structure.
15310 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15311 Define macro.
15312 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15313 (SET_RESTORE_ROUNDF): Likewise.
15314 (SET_RESTORE_ROUNDL): Likewise.
15315 (SET_RESTORE_ROUND_NOEX): Likewise.
15316 (SET_RESTORE_ROUND_NOEXF): Likewise.
15317 (SET_RESTORE_ROUND_NOEXL): Likewise.
15318 (SET_RESTORE_ROUND_53BIT): Likewise.
15319 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15320 (libc_feresetround_noexf_ctx): Likewise.
15321 (libc_feresetround_noexl_ctx): Likewise.
15322 (libc_feholdsetround_53bit_ctx): Likewise.
15323 (libc_feresetround_53bit_ctx): Likewise.
15324 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15325 (libc_feholdexcept_setround_sse_ctx): New function.
15326 (libc_fesetenv_sse_ctx): Likewise.
15327 (libc_feupdateenv_sse_ctx): Likewise.
15328 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15329 (libc_feholdexcept_setround_387_ctx): Likewise.
15330 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15331 (libc_feholdsetround_387_prec_ctx): Likewise.
15332 (libc_feholdsetround_387_ctx): Likewise.
15333 (libc_feholdsetround_387_53bit_ctx): Likewise.
15334 (libc_feholdsetround_sse_ctx): Likewise.
15335 (libc_feresetround_sse_ctx): Likewise.
15336 (libc_feresetround_387_ctx): Likewise.
15337 (libc_feupdateenv_387_ctx): Likewise.
15338 (libc_feholdexcept_setroundf_ctx): Define macro.
15339 (libc_fesetenvf_ctx): Likewise.
15340 (libc_feupdateenvf_ctx): Likewise.
15341 (libc_feholdsetroundf_ctx): Likewise.
15342 (libc_feresetroundf_ctx): Likewise.
15343 (libc_feholdexcept_setround_ctx): Likewise.
15344 (libc_fesetenv_ctx): Likewise.
15345 (libc_feupdateenv_ctx): Likewise.
15346 (libc_feholdsetround_ctx): Likewise.
15347 (libc_feresetround_ctx): Likewise.
15348 (libc_feholdexcept_setroundl_ctx): Likewise.
15349 (libc_feupdateenvl_ctx): Likewise.
15350 (libc_feholdsetroundl_ctx): Likewise.
15351 (libc_feresetroundl_ctx): Likewise.
15352 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15353 (libc_feresetround_53bit_ctx): Likewise.
15354
59b30555
SP
153552013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15356
15357 * locale/iso-639.def: Convert to UTF-8.
15358
f1d73d30
JM
153592013-06-11 Joseph Myers <joseph@codesourcery.com>
15360
15361 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15362 (EXCEPTION_TESTS_double): Likewise.
15363 (EXCEPTION_TESTS_long_double): Likewise.
15364 (EXCEPTION_TESTS): Likewise.
15365 * math/libm-test.inc (test_exceptions): Only test exceptions if
15366 EXCEPTION_TESTS (FLOAT).
15367
94aca5e7
SP
153682013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15369
15370 * benchtests/Makefile (string-bench): Add strcpy_chk and
15371 stpcpy_chk.
15372 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15373 * benchtests/bench-stpcpy_chk.c: New file.
15374 * benchtests/bench-strcpy_chk-ifunc.c: New file.
15375 * benchtests/bench-strcpy_chk.c: New file.
15376 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15377 code.
15378 (do_test): Likewise.
15379
fac0c5f2
RA
153802013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15381
15382 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15383 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15384 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15385 with tabs where appropriate.
15386 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15387 dl-procinfo.h.
15388 [PPC_PLATFORM_PPC440]: Likewise.
15389 [PPC_PLATFORM_PPC464]: Likewise.
15390 [PPC_PLATFORM_PPC476]: Likewise.
15391 (_dl_string_platform): Add support for detecting ppc405, ppc440,
15392 ppc464, and ppc476 platform strings merging from ports/
15393 dl-procinfo.h.
15394
f22bc486
AS
153952013-06-11 Andreas Schwab <schwab@suse.de>
15396
15397 [BZ #14991]
15398 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15399 (from_ucs4_idx): Regenerate.
15400 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15401 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15402 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15403 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15404 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15405 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15406 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15407 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15408 from FROM_LOOP and TO_LOOP specific macros.
15409 (BODY): Handle combining characters.
15410 * iconvdata/BIG5HKSCS.irreversible: Update.
15411 * iconvdata/BIG5HKSCS.precomposed: New file.
15412 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15413 characters.
15414 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15415
c1f75dc3
SP
154162013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15417
4eacded2
SP
15418 * include/sys/time.h: Fix indentation and add copyright header.
15419
fec799f8
SP
15420 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15421 (do_test): Likewise.
15422 * string/test-memchr.c (do_one_test): Likewise.
15423 (do_test): Likewise.
15424 * string/test-memcmp.c (do_one_test): Likewise.
15425 (do_test): Likewise.
15426 * string/test-memcpy.c (do_one_test): Likewise.
15427 (do_test): Likewise.
15428 * string/test-memmem.c (do_one_test): Likewise.
15429 (do_test): Likewise.
15430 (do_random_tests): Likewise.
15431 * string/test-memmove.c (do_one_test): Likewise.
15432 (do_test): Likewise.
15433 * string/test-memset.c (do_one_test): Likewise.
15434 (do_test): Likewise.
15435 * string/test-rawmemchr.c (do_one_test): Likewise.
15436 (do_test): Likewise.
15437 * string/test-strcasecmp.c (do_one_test): Likewise.
15438 (do_test): Likewise.
15439 * string/test-strcasestr.c (do_one_test): Likewise.
15440 (do_test): Likewise.
15441 * string/test-strcat.c (do_one_test): Likewise.
15442 (do_test): Likewise.
15443 * string/test-strchr.c (do_one_test): Likewise.
15444 (do_test): Likewise.
15445 * string/test-strcmp.c (do_one_test): Likewise.
15446 (do_test): Likewise.
15447 * string/test-strcpy.c (do_one_test): Likewise.
15448 (do_test): Likewise.
15449 * string/test-string.h: Likewise.
15450 (test_init): Likewise.
15451 * string/test-strlen.c (do_one_test): Likewise.
15452 (do_test): Likewise.
15453 * string/test-strncasecmp.c (do_one_test): Likewise.
15454 (do_test): Likewise.
15455 * string/test-strncat.c (do_one_test): Likewise.
15456 (do_test): Likewise.
15457 * string/test-strncmp.c (do_one_test): Likewise.
15458 (do_test_limit): Likewise.
15459 (do_test): Likewise.
15460 * string/test-strncpy.c (do_one_test): Likewise.
15461 (do_test): Likewise.
15462 * string/test-strnlen.c (do_one_test): Likewise.
15463 (do_test): Likewise.
15464 * string/test-strpbrk.c (do_one_test): Likewise.
15465 (do_test): Likewise.
15466 * string/test-strrchr.c (do_one_test): Likewise.
15467 (do_test): Likewise.
15468 * string/test-strspn.c (do_one_test): Likewise.
15469 (do_test): Likewise.
15470 * string/test-strstr.c (do_one_test): Likewise.
15471 (do_test): Likewise.
15472
97020474
SP
15473 * benchtests/Makefile (string-bench): Add string benchmarks.
15474 * benchtests/bench-bcopy-ifunc.c: New file.
15475 * benchtests/bench-bcopy.c: New file.
15476 * benchtests/bench-bzero-ifunc.c: New file.
15477 * benchtests/bench-bzero.c: New file.
15478 * benchtests/bench-memccpy-ifunc.c: New file.
15479 * benchtests/bench-memccpy.c: New file.
15480 * benchtests/bench-memchr-ifunc.c: New file.
15481 * benchtests/bench-memchr.c: New file.
15482 * benchtests/bench-memcmp-ifunc.c: New file.
15483 * benchtests/bench-memcmp.c: New file.
15484 * benchtests/bench-memmem-ifunc.c: New file.
15485 * benchtests/bench-memmem.c: New file.
15486 * benchtests/bench-memmove-ifunc.c: New file.
15487 * benchtests/bench-memmove.c: New file.
15488 * benchtests/bench-mempcpy-ifunc.c: New file.
15489 * benchtests/bench-mempcpy.c: New file.
15490 * benchtests/bench-memset-ifunc.c: New file.
15491 * benchtests/bench-memset.c: New file.
15492 * benchtests/bench-rawmemchr-ifunc.c: New file.
15493 * benchtests/bench-rawmemchr.c: New file.
15494 * benchtests/bench-stpcpy-ifunc.c: New file.
15495 * benchtests/bench-stpcpy.c: New file.
15496 * benchtests/bench-stpncpy-ifunc.c: New file.
15497 * benchtests/bench-stpncpy.c: New file.
15498 * benchtests/bench-strcasecmp-ifunc.c: New file.
15499 * benchtests/bench-strcasecmp.c: New file.
15500 * benchtests/bench-strcasestr-ifunc.c: New file.
15501 * benchtests/bench-strcasestr.c: New file.
15502 * benchtests/bench-strcat-ifunc.c: New file.
15503 * benchtests/bench-strcat.c: New file.
15504 * benchtests/bench-strchr-ifunc.c: New file.
15505 * benchtests/bench-strchr.c: New file.
15506 * benchtests/bench-strchrnul-ifunc.c: New file.
15507 * benchtests/bench-strchrnul.c: New file.
15508 * benchtests/bench-strcmp-ifunc.c: New file.
15509 * benchtests/bench-strcmp.c: New file.
15510 * benchtests/bench-strcpy-ifunc.c: New file.
15511 * benchtests/bench-strcpy.c: New file.
15512 * benchtests/bench-strcspn-ifunc.c: New file.
15513 * benchtests/bench-strcspn.c: New file.
15514 * benchtests/bench-strlen-ifunc.c: New file.
15515 * benchtests/bench-strlen.c: New file.
15516 * benchtests/bench-strncasecmp-ifunc.c: New file.
15517 * benchtests/bench-strncasecmp.c: New file.
15518 * benchtests/bench-strncat-ifunc.c: New file.
15519 * benchtests/bench-strncat.c: New file.
15520 * benchtests/bench-strncmp-ifunc.c: New file.
15521 * benchtests/bench-strncmp.c: New file.
15522 * benchtests/bench-strncpy-ifunc.c: New file.
15523 * benchtests/bench-strncpy.c: New file.
15524 * benchtests/bench-strnlen-ifunc.c: New file.
15525 * benchtests/bench-strnlen.c: New file.
15526 * benchtests/bench-strpbrk-ifunc.c: New file.
15527 * benchtests/bench-strpbrk.c: New file.
15528 * benchtests/bench-strrchr-ifunc.c: New file.
15529 * benchtests/bench-strrchr.c: New file.
15530 * benchtests/bench-strspn-ifunc.c: New file.
15531 * benchtests/bench-strspn.c: New file.
15532 * benchtests/bench-strstr-ifunc.c: New file.
15533 * benchtests/bench-strstr.c: New file.
15534
c1f75dc3
SP
15535 * benchtests/Makefile: Disable parallel execution of targets.
15536 (string-bench): Add memcpy.
15537 (benchset): New variable to store a list of benchmark sets.
15538 (bench-func): Renamed from bench.
15539 (bench-set): New target.
15540 (bench): Depend on bench-func and bench-set.
15541 * benchtests/README: Add section on benchmark sets.
15542 * benchtests/bench-memcpy-ifunc.c: New file.
15543 * benchtests/bench-memcpy.c: New file.
15544 * benchtests/bench-string.h: New file.
15545
50fd745b
AS
155462013-06-11 Andreas Schwab <schwab@suse.de>
15547
15548 [BZ #15577]
15549 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15550 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15551 values in the triple.
15552 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15553 terminator in the group key.
15554
3ee7e9fe
AJ
155552013-06-11 Andreas Jaeger <aj@suse.de>
15556
15557 * po/zh_TW.po: Update Chinese (traditional) translation from
15558 translation project.
15559
89fb6835
SP
155602013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15561
15562 * include/time.h (__clock_gettime): Add libc_hidden_proto.
15563 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15564 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
15565 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15566 (clock_getcpuclockid): Likewise.
15567 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15568 Add weak_alias and libc_hidden_def.
15569 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15570 * rt/clock_gettime.c (clock_gettime): Rename to
15571 __clock_gettime. Add weak_alias and libc_hidden_def.
15572 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15573 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15574 __clock_nanosleep. Add weak_alias and libc_hidden_def.
15575 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15576 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15577 Likewise.
15578 * rt/clock_settime.c (clock_settime): Rename to
15579 __clock_settime. Add weak_alias and libc_hidden_def.
15580 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15581
0efa6f8b
JM
155822013-06-10 Joseph Myers <joseph@codesourcery.com>
15583
b8c61b4b
JM
15584 * mach/err_boot.sub: Remove trailing whitespace.
15585 * mach/err_ipc.sub: Likewise.
15586 * mach/err_mach.sub: Likewise.
15587
0efa6f8b
JM
15588 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15589 (ROUNDING_TESTS_double): Likewise.
15590 (ROUNDING_TESTS_long_double): Likewise.
15591 (ROUNDING_TESTS): Likewise.
15592 * math/libm-test.inc: Include <math-tests.h>.
15593 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15594 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15595 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15596 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15597
50b818bf
SP
155982013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15599
15600 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15601 of assigning.
15602
60d2f8f3
JM
156032013-06-08 Joseph Myers <joseph@codesourcery.com>
15604
4902d2c3
JM
15605 * sysdeps/gnu/errlist.awk: Do not generate space at end of
15606 otherwise empty TRANS lines.
15607 * sysdeps/gnu/errlist.c: Regenerated.
15608
60d2f8f3
JM
15609 * catgets/gencat.c (error_print): Use (void) in function
15610 definition.
15611 * crypt/crypt_util.c (__init_des): Likewise.
15612 * crypt/speeds.c (Stop): Likewise.
15613 (main): Likewise.
15614 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15615 * inet/ruserpass.c (token): Likewise.
15616 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15617 * intl/localealias.c (extend_alias_table): Likewise.
15618 * intl/plural-exp.c (init_germanic_plural): Likewise.
15619 * libio/fcloseall.c (__fcloseall): Likewise.
15620 * libio/genops.c (_IO_flush_all): Likewise.
15621 (_IO_flush_all_linebuffered): Likewise.
15622 (_IO_cleanup): Likewise.
15623 (_IO_iter_begin): Likewise.
15624 (_IO_iter_end): Likewise.
15625 (_IO_list_lock): Likewise.
15626 (_IO_list_unlock): Likewise.
15627 (_IO_list_resetlock): Likewise.
15628 * libio/getchar.c (getchar): Likewise.
15629 * libio/getchar_u.c (getchar_unlocked): Likewise.
15630 * libio/getwchar.c (getwchar): Likewise.
15631 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15632 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15633 * login/getpt.c (__getpt): Likewise.
15634 * login/tst-utmp.c (main): Likewise.
15635 * malloc/hooks.c (__malloc_check_init): Likewise.
15636 * malloc/malloc.c (__malloc_stats): Likewise.
15637 * malloc/mtrace.c (tr_break): Likewise.
15638 (mtrace): Likewise.
15639 (muntrace): Likewise.
15640 * misc/fstab.c (endfsent): Likewise.
15641 * misc/getclktck.c (__getclktck): Likewise.
15642 * misc/getdtsz.c (__getdtablesize): Likewise.
15643 * misc/gethostid.c (gethostid): Likewise.
15644 * misc/getpagesize.c (__getpagesize): Likewise.
15645 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15646 (__get_nprocs): Likewise.
15647 (__get_phys_pages): Likewise.
15648 (__get_avphys_pages): Likewise.
15649 * misc/getttyent.c (getttyent): Likewise.
15650 (setttyent): Likewise.
15651 (endttyent): Likewise.
15652 * misc/getusershell.c (getusershell): Likewise.
15653 (endusershell): Likewise.
15654 (setusershell): Likewise.
15655 (initshells): Likewise.
15656 * misc/hsearch.c (__hdestroy): Likewise.
15657 * misc/sync.c (sync): Likewise.
15658 * misc/syslog.c (closelog_internal): Likewise.
15659 (closelog): Likewise.
15660 * misc/ttyslot.c (ttyslot): Likewise.
15661 * misc/vhangup.c (vhangup): Likewise.
15662 * posix/fork.c (__fork): Likewise.
15663 * posix/getegid.c (__getegid): Likewise.
15664 * posix/geteuid.c (__geteuid): Likewise.
15665 * posix/getgid.c (__getgid): Likewise.
15666 * posix/getpid.c (__getpid): Likewise.
15667 * posix/getppid.c (__getppid): Likewise.
15668 * posix/getuid.c (__getuid): Likewise.
15669 * posix/pause.c (pause): Likewise.
15670 * posix/setpgrp.c (setpgrp): Likewise.
15671 * posix/setsid.c (__setsid): Likewise.
15672 * posix/test-vfork.c (noop): Likewise.
15673 * resolv/gethnamaddr.c (_endhtent): Likewise.
15674 (_gethtent): Likewise.
15675 (ht_endhostent): Likewise.
15676 (gethostent): Likewise.
15677 (dns_service): Likewise.
15678 * stdlib/drand48.c (drand48): Likewise.
15679 * stdlib/lrand48.c (lrand48): Likewise.
15680 * stdlib/mrand48.c (mrand48): Likewise.
15681 * stdlib/rand.c (rand): Likewise.
15682 * stdlib/random.c (__random): Likewise.
15683 * stdlib/setenv.c (clearenv): Likewise.
15684 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15685 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15686 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15687 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15688 (__get_nprocs): Likewise.
15689 (__get_phys_pages): Likewise.
15690 (__get_avphys_pages): Likewise.
15691 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15692 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15693 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15694 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15695 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15696 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15697 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15698 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15699 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15700 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15701 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15702 * sysdeps/mach/hurd/sync.c (sync): Likewise.
15703 * sysdeps/posix/clock.c (clock): Likewise.
15704 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15705 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15706 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15707 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15708 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15709 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15710 (__get_nprocs_conf): Likewise.
15711 (__get_phys_pages): Likewise.
15712 (__get_avphys_pages): Likewise.
15713 * time/clock.c (clock): Likewise.
15714 * time/tzset.c (__tzname_max): Likewise.
15715
2e09a79a
JM
157162013-06-07 Joseph Myers <joseph@codesourcery.com>
15717
15718 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15719 (__bswap_32): Do not use "register".
15720 * crypt/crypt.c (_ufc_doit_r): Likewise.
15721 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15722 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15723 * gmon/gmon.c (__monstartup): Likewise.
15724 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15725 * hurd/hurdmalloc.c (more_memory): Likewise.
15726 (malloc): Likewise.
15727 (free): Likewise.
15728 (realloc): Likewise.
15729 (malloc_fork_prepare): Likewise.
15730 (malloc_fork_parent): Likewise.
15731 (malloc_fork_child): Likewise.
15732 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15733 (_svcauth_des): Likewise.
15734 * inet/inet_lnaof.c (inet_lnaof): Likewise.
15735 * inet/inet_net.c (inet_network): Likewise.
15736 * inet/inet_netof.c (inet_netof): Likewise.
15737 * inet/rcmd.c (__validuser2_sa): Likewise.
15738 * io/fts.c (fts_open): Likewise.
15739 (fts_load): Likewise.
15740 (fts_close): Likewise.
15741 (fts_read): Likewise.
15742 (fts_children): Likewise.
15743 (fts_build): Likewise.
15744 (fts_stat): Likewise.
15745 (fts_sort): Likewise.
15746 (fts_alloc): Likewise.
15747 (fts_lfree): Likewise.
15748 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15749 (_IO_file_xsgetn): Likewise.
15750 (_IO_file_xsgetn_mmap): Likewise.
15751 * libio/iofopncook.c (_IO_cookie_read): Likewise.
15752 (_IO_cookie_write): Likewise.
15753 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15754 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15755 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15756 * malloc/obstack.c (_obstack_begin): Likewise.
15757 (_obstack_begin_1): Likewise.
15758 (_obstack_newchunk): Likewise.
15759 (_obstack_allocated_p): Likewise.
15760 (obstack_free): Likewise.
15761 (_obstack_memory_used): Likewise.
15762 * misc/getttyent.c (getttynam): Likewise.
15763 (getttyent): Likewise.
15764 (skip): Likewise.
15765 (value): Likewise.
15766 * misc/getusershell.c (initshells): Likewise.
15767 * misc/syslog.c (__vsyslog_chk): Likewise.
15768 * misc/ttyslot.c (ttyslot): Likewise.
15769 * nis/nis_hash.c (__nis_hash): Likewise.
15770 * posix/fnmatch_loop.c (FCT): Likewise.
15771 * posix/getconf.c (print_all): Likewise.
15772 (main): Likewise.
15773 * posix/getopt.c (exchange): Likewise.
15774 * posix/glob.c (globfree): Likewise.
15775 (prefix_array): Likewise.
15776 (__glob_pattern_type): Likewise.
15777 * resolv/arpa/nameser.h (NS_GET16): Likewise.
15778 (NS_GET32): Likewise.
15779 (NS_PUT16): Likewise.
15780 (NS_PUT32): Likewise.
15781 * resolv/gethnamaddr.c (getanswer): Likewise.
15782 (gethostbyname2): Likewise.
15783 (gethostbyaddr): Likewise.
15784 (_gethtent): Likewise.
15785 (_gethtbyname2): Likewise.
15786 (_gethtbyaddr): Likewise.
15787 * resolv/ns_print.c (dst_s_get_int16): Likewise.
15788 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15789 * resolv/res_init.c (__res_vinit): Likewise.
15790 (net_mask): Likewise.
15791 * resolv/res_mkquery.c (outchar): Likewise.
15792 (PRINT): Likewise.
15793 * stdio-common/printf_fp.c (outchar): Likewise.
15794 (PRINT): Likewise.
15795 * stdio-common/printf_fphex.c (outchar): Likewise.
15796 (PRINT): Likewise.
15797 * stdio-common/printf_size.c (outchar): Likewise.
15798 (PRINT): Likewise.
15799 * stdio-common/test_rdwr.c (main): Likewise.
15800 * stdio-common/tfformat.c (matches): Likewise.
15801 * stdio-common/vfprintf.c (outchar): Likewise.
15802 (printf_unknown): Likewise.
15803 (buffered_vfprintf): Likewise.
15804 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15805 * stdio-common/xbug.c (AppendToBuffer): Likewise.
15806 (ReadFile): Likewise.
15807 * stdlib/qsort.c (SWAP): Likewise.
15808 (_quicksort): Likewise.
15809 * stdlib/setenv.c (__add_to_environ): Likewise.
15810 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15811 * stdlib/strtol_l.c (__strtol_l): Likewise.
15812 * stdlib/tst-strtod.c (main): Likewise.
15813 * stdlib/tst-strtol.c (main): Likewise.
15814 * stdlib/tst-strtoll.c (main): Likewise.
15815 * string/bits/string2.h (__strcmp_cc): Likewise.
15816 (__strcmp_cg): Likewise.
15817 (__strcspn_c1): Likewise.
15818 (__strcspn_c2): Likewise.
15819 (__strcspn_c3): Likewise.
15820 (__strspn_c1): Likewise.
15821 (__strspn_c2): Likewise.
15822 (__strspn_c3): Likewise.
15823 (__strsep_1c): Likewise.
15824 (__strsep_2c): Likewise.
15825 (__strsep_3c): Likewise.
15826 * string/memccpy.c (__memccpy): Likewise.
15827 * string/stpcpy.c (__stpcpy): Likewise.
15828 * string/strcmp.c (strcmp): Likewise.
15829 * string/strrchr.c (strrchr): Likewise.
15830 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15831 Likewise.
15832 * sysdeps/mach/hurd/getcwd.c
15833 (_hurd_canonicalize_directory_name_internal): Likewise.
15834 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15835 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15836 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15837 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15838 Likewise, in both definitions.
15839 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15840 definitions.
15841 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15842 64] (__bswap_64): Likewise.
15843 * time/test_time.c (main): Likewise.
15844 * time/tzfile.c (__tzfile_read): Likewise.
15845 (__tzfile_compute): Likewise.
15846 * time/tzset.c (__tzset_parse_tz): Likewise.
15847 (tzset_internal): Likewise.
15848 (compute_change): Likewise.
15849 * wcsmbs/wcscat.c (__wcscat): Likewise.
15850 * wcsmbs/wcschr.c (wcschr): Likewise.
15851 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15852 * wcsmbs/wcscspn.c (wcscspn): Likewise.
15853 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15854 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15855 * wcsmbs/wcsspn.c (wcsspn): Likewise.
15856 * wcsmbs/wcsstr.c (wcsstr): Likewise.
15857 * wcsmbs/wmemchr.c (wmemchr): Likewise.
15858 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15859 * wcsmbs/wmemset.c (wmemset): Likewise.
15860
9e54314b
JM
158612013-06-06 Joseph Myers <joseph@codesourcery.com>
15862
15863 * scripts/config.guess: Update to version 2013-05-16.
15864 * scripts/config.sub: Update to version 2013-04-24.
15865 * scripts/install-sh: Update to version 2011-11-20.07.
15866 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15867 * scripts/move-if-change: Update to version 2012-01-06 07:23.
15868
350635a5
OB
158692013-06-06 Ondřej Bílka <neleai@seznam.cz>
15870
15871 * debug/fgetws_u_chk.c: Fix leading whitespaces.
15872 * elf/sln.c: Likewise.
15873 * hurd/hurd/ioctl.h: Likewise.
15874 * hurd/hurdmalloc.c: Likewise.
15875 * hurd/xattr.c: Likewise.
15876 * include/shlib-compat.h: Likewise.
15877 * inet/ruserpass.c: Likewise.
15878 * libio/iofgets_u.c: Likewise.
15879 * libio/iofgetws_u.c: Likewise.
15880 * locale/programs/ld-identification.c: Likewise.
15881 * locale/programs/ld-time.c: Likewise.
15882 * mach/msg-destroy.c: Likewise.
15883 * nss/nss_files/files-netgrp.c: Likewise.
15884 * resolv/res_data.c: Likewise.
15885 * soft-fp/op-1.h: Likewise.
15886 * soft-fp/op-2.h: Likewise.
15887 * soft-fp/op-4.h: Likewise.
15888 * soft-fp/op-common.h: Likewise.
15889 * stdio-common/printf_fphex.c: Likewise.
15890 * stdlib/strtod_l.c: Likewise.
15891 * sunrpc/rpc/clnt.h: Likewise.
15892 * sysdeps/generic/framestate.c: Likewise.
15893 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15894 * sysdeps/i386/bsd-setjmp.S: Likewise.
15895 * sysdeps/i386/__longjmp.S: Likewise.
15896 * sysdeps/i386/setjmp.S: Likewise.
15897 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15898 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15899 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15900 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15901 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15902 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15903 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15904 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15905 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15906 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15907 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15908 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15909 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15910 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15911 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15912 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15913 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15914 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15915 * sysdeps/ieee754/support.c: Likewise.
15916 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15917 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15918 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15919 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15920 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15921 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15922 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15923 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15924 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15925 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15926 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15927 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15928 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15929 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15930 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15931 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15932 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15934
44a988af
OB
159352013-06-05 Ondřej Bílka <neleai@seznam.cz>
15936
25506f09 15937 * posix/transbug.c: Remove executable mode.
44a988af 15938
9c84384c
JM
159392013-06-05 Joseph Myers <joseph@codesourcery.com>
15940
15941 * crypt/speeds.c: Remove trailing whitespace.
15942 * dlfcn/default.c: Likewise.
15943 * elf/ifuncdep2.c: Likewise.
15944 * elf/ifuncmain1.c: Likewise.
15945 * elf/ifuncmain1vis.c: Likewise.
15946 * elf/testobj.h: Likewise.
15947 * elf/tst-stackguard1.c: Likewise.
15948 * gmon/sys/gmon.h: Likewise.
15949 * hurd/hurdmsg.c: Likewise.
15950 * hurd/new-fd.c: Likewise.
15951 * hurd/ports-get.c: Likewise.
15952 * iconvdata/ibm1008_420.c: Likewise.
15953 * inet/tst-getni1.c: Likewise.
15954 * inet/tst-getni2.c: Likewise.
15955 * libio/ioungetc.c: Likewise.
15956 * libio/wfiledoalloc.c: Likewise.
15957 * manual/libm-err-tab.pl: Likewise.
15958 * math/w_dremf.c: Likewise.
15959 * misc/ftruncate.c: Likewise.
15960 * posix/bug-glob2.c: Likewise.
15961 * posix/tst-pcre.c: Likewise.
15962 * posix/wait4.c: Likewise.
15963 * resolv/README: Likewise.
15964 * resolv/res_debug.h: Likewise.
15965 * resolv/tst-inet_ntop.c: Likewise.
15966 * setjmp/bug269-setjmp.c: Likewise.
15967 * soft-fp/extended.h: Likewise.
15968 * soft-fp/op-1.h: Likewise.
15969 * soft-fp/op-2.h: Likewise.
15970 * soft-fp/op-4.h: Likewise.
15971 * soft-fp/op-8.h: Likewise.
15972 * soft-fp/testit.c: Likewise.
15973 * stdio-common/bug16.c: Likewise.
15974 * stdlib/random.c: Likewise.
15975 * sunrpc/rpcsvc/rquota.x: Likewise.
15976 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15977 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15978 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15979 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15980 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15981 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15982 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15983 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15984 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15985 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15986 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15987 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15988 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15989 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15990 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15991 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15992 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15993 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15994 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15995 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15996 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15997 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15998 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15999 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16000 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16001 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16002 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16003 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16004 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16005 * sysdeps/ieee754/s_lib_version.c: Likewise.
16006 * sysdeps/mach/hurd/check_fds.c: Likewise.
16007 * sysdeps/mach/hurd/getsockname.c: Likewise.
16008 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
16009 * sysdeps/mach/hurd/recvfrom.c: Likewise.
16010 * sysdeps/powerpc/bits/link.h: Likewise.
16011 * sysdeps/powerpc/dl-procinfo.c: Likewise.
16012 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16013 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16014 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16015 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16016 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16017 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16018 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16019 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16020 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16021 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16022 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16023 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16024 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16025 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16026 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16027 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16028 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16029 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16030 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16031 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16032 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16033 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16034 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16035 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16036 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16037 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16038 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16039 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16040 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16041 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16042 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16043 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16044 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16045 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16046 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16047 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16048 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16049 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16050 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16051 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16052 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16053 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16054 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16055 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16056 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16057 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16058 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16059 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16060 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16061 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16062 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16063 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16064 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16065 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16066 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16067 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16068 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16069 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16070 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16071 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16072 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16073 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16074 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16075 * sysdeps/powerpc/sysdep.h: Likewise.
16076 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16077 * sysdeps/s390/s390-64/sub_n.S: Likewise.
16078 * sysdeps/sh/dl-trampoline.S: Likewise.
16079 * sysdeps/sh/memset.S: Likewise.
16080 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16081 * sysdeps/sh/strlen.S: Likewise.
16082 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16083 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16084 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16085 * sysdeps/sparc/sparc32/rem.S: Likewise.
16086 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16087 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16088 * sysdeps/sparc/sparc32/strchr.S: Likewise.
16089 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16090 * sysdeps/sparc/sparc32/urem.S: Likewise.
16091 * sysdeps/sparc/sparc64/add_n.S: Likewise.
16092 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16093 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16094 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16095 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16096 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16097 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16098 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16099 * sysdeps/unix/bsd/times.c: Likewise.
16100 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16101 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16105 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16106 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16107 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16108 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16109 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16110 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16111 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16112 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16113 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16114 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16115 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16116 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16117 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16118 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16119 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16120 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16121 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16122 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16123 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16124 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16125 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16126 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16127 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16128 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16129 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16130 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16131 * sysdeps/x86_64/strcspn.S: Likewise.
16132
869378a5
RA
161332013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16134
16135 * locale/C-translit.h: Revert #include <stdint.h> because this is a
16136 generated file. Regenerate properly from gen-translit.pl.
16137 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
16138 locale/C-translit.h.
16139
840e2943
AS
161402013-06-05 Andreas Schwab <schwab@suse.de>
16141
16142 [BZ #15100]
16143 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16144 week as 6 instead of -1.
16145 * time/tst-strptime.c (day_tests): Add test case.
16146
4c60cb0c
SP
161472013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16148
16149 * sysdeps/generic/math_private.h
16150 (libc_feholdexcept_setround_53bit): Replace with
16151 libc_feholdsetround_53bit.
16152 (libc_feupdateenv_53bit): Replace with
16153 libc_feresetround_53bit.
16154 (SET_RESTORE_ROUND_53BIT): Adjust.
16155
d180203e
SP
161562013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16157
96df079a
SP
16158 * string/test-strchrnul.c: Add copyright header.
16159
d180203e
SP
16160 * posix/tst-getaddrinfo4.c: Increase test timeout.
16161
8b0ccb2d
CD
161622013-06-03 Carlos O'Donell <carlos@redhat.com>
16163
16164 [BZ #15536]
16165 * math/libm-test.inc (MAX_EXP): Remove
16166 (MIN_EXP): Define.
16167 (ulp): Use MIN_EXP - MANT_DIG.
16168 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16169
3b3c4d40
CD
161702013-05-31 Carlos O'Donell <carlos@redhat.com>
16171
16172 * po/be.po: Revert last change.
16173 * po/zh_CN.po: Likewise.
16174 * po/header.pot: Likewise.
16175
fab7ce3f
JM
161762013-05-31 Joseph Myers <joseph@codesourcery.com>
16177
16178 * Makefile ($(common-objpfx)linkobj/libc.so): Define
16179 link-libc-deps to empty as target-specific variable.
16180 * Makerules (link-libc-args): New variable.
16181 (libc-for-link): Likewise.
16182 (link-libc-deps): Likewise.
16183 (lib%.so): Depend on $(link-libc-deps). Link with
16184 $(link-libc-args).
16185 (build-module): Link with $(link-libc-args).
16186 (build-module-asneeded): Likewise.
16187 (build-module-helper-objlist): Filter out $(link-libc-deps) from
16188 list of objects.
16189 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16190 target-specific variable.
16191 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16192 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16193 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16194 libc.
16195 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16196 libc and ld.so.
16197 ($(objpfx)libpcprofile.so): Likewise.
16198 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16199 libc_nonshared.a.
16200 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16201 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16202 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16203 $(link-libc-deps).
16204 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16205 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16206 * login/Makefile ($(objpfx)libutil.so): Likewise.
16207 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16208 * math/Makefile ($(objpfx)libm.so): Likewise.
16209 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16210 $(objpfx)libnsl.so): Define libc-for-link as target-specific
16211 variable instead of depending directly on libc.
16212 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16213 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16214 $(link-libc-deps).
16215 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16216 libc.
16217 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16218 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16219 ($(objpfx)libanl.so): Likewise.
16220 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16221 ld.so.
16222 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16223 $(link-libc-deps).
16224 * sysdeps/i386/fpu/Makefile: Remove file.
16225 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16226 ($(objpfx)libm.so): Remove dependency on ld.so.
16227
eca5920c
PF
162282013-05-30 Patsy Franklin <pfrankli@redhat.com>
16229
16230 [BZ # 15553]
16231 * nis/yp_xdr.c (XDRMAXNAME): Define.
16232 (XDRMAXRECORD): Define.
16233 (xdr_domainname): Use XDRMAXNAME.
16234 (xdr_mapname): Likewise.
16235 (xdr_peername): Likewise.
16236 (xdr_keydat): Use XDRMAXRECORD.
16237 (xdr_valdat): Likewise.
16238
162392013-05-30 Jeff Law <law@redhat.com>
96945714
JL
16240
16241 [BZ #14256]
16242 * manual/errno.texi (ESTALE): Update to account for more than
16243 just NFS file systems.
16244 * sysdeps/gnu/errlist.c: Regenerated.
16245
b9375348
SP
162462013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16247
16248 [BZ #15465]
16249 * elf/Makefile (tests): Add tst-null-argv.
16250 (modules-names): Add tst-null-argv-lib.
16251 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16252 (tst-null-argv-ENV): Set environment for tst-null-argv.
16253 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16254 (RTLD_PROGNAME): New macro.
16255 * elf/tst-null-argv.c: New test case.
16256 * elf/tst-null-argv-lib.c: Library for test case.
16257 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16258 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16259 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16260 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16261 * elf/dl-init.c (call_init): Likewise.
16262 (_dl_init): Likewise.
16263 * elf/dl-load.c (print_search_path): Likewise.
16264 (_dl_map_object): Likewise.
16265 * elf/dl-lookup.c (do_lookup_x): Likewise.
16266 (add_dependency): Likewise.
16267 (_dl_lookup_symbol_x): Likewise.
16268 (_dl_debug_bindings): Likewise.
16269 * elf/dl-open.c (_dl_show_scope): Likewise.
16270 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16271 * elf/dl-version.c (match_symbol): Likewise.
16272 (_dl_check_map_versions): Likewise.
16273 * elf/rtld.c (dl_main): Likewise.
16274 (print_unresolved): Use RTLD_PROGNAME.
16275 (print_missing_version): Likewise.
16276 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16277 (elf_machine_rela): Likewise.
16278 * sysdeps/powerpc/powerpc32/dl-machine.c
16279 (__process_machine_rela): Likewise.
16280 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16281 Likewise.
16282 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16283 Likewise.
16284 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16285 Likewise.
16286 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16287 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16288 Likewise.
16289 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16290 Likewise.
16291 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16292
8a9f20c8
CD
162932013-05-28 Carlos O'Donell <carlos@redhat.com>
16294
16295 * po/be.po: Add descriptive title.
16296 * po/zh_CN.po: Likewise.
16297 * po/header.pot: Likewise.
16298
0e60d68e
MF
162992013-05-28 Mike Frysinger <vapier@gentoo.org>
16300
16301 * locale/programs/locarchive.c (create_archive): Inlucde fname in
16302 error message.
16303 (enlarge_archive): Likewise.
16304
56b672e9
BN
163052013-05-28 Ben North <ben@redfrontdoor.org>
16306
16307 * manual/arith.texi (frexp): It is the magnitude of the return
16308 value which lies in [0.5, 1), not the return value itself.
16309
5e056687
AZ
163102013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16311
16312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16313
2b66ef5d
TS
163142013-05-26 Thomas Schwinge <thomas@codesourcery.com>
16315
528c2405
TS
16316 * stdio-common/bug26.c (main): Correct fscanf template.
16317
07b4c13d
TS
16318 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16319 declare _dl_skip_args.
16320
ec9dd97c
TS
16321 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16322 Don't declare.
16323
2b66ef5d
TS
16324 * manual/platform.texi: Add missing @end deftypefun.
16325
4f8dfe27
JM
163262013-05-24 Joseph Myers <joseph@codesourcery.com>
16327
0323d086
JM
16328 [BZ #15529]
16329 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16330 bit of mantissa of 2^16382.
16331 * math/libm-test.inc (hypot_test_data): Add more tests.
16332
dd4259b9
JM
16333 * math/libm-test.inc: Add drem and pow10 to list of tested
16334 functions.
16335 (pow10_test): New function.
16336 (drem_test): Likewise.
16337 (drem_test_tonearest): Likewise.
16338 (drem_test_towardzero): Likewise.
16339 (drem_test_downward): Likewise.
16340 (drem_test_upward): Likewise.
16341 (main): Call the new functions.
16342
4f8dfe27
JM
16343 * math/libm-test.inc (finite_test_data): Remove.
16344 (finite_test): Run tests from isfinite_test_data.
16345 (gamma_test_data): Remove.
16346 (gamma_test): Run tests from lgamma_test_data.
16347 * sysdeps/i386/fpu/libm-test-ulps: Update.
16348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16349
d116b7c4
AZ
163502013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16351
16352 * manual/platform.texi: Add PowerPC PPR function set documentation.
16353 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16354 implementation.
16355
e96e3767
CD
163562013-05-24 Carlos O'Donell <carlos@redhat.com>
16357
16358 * math/libm-test.inc (MAX_EXP): Define.
16359 (ULPDIFF): Define.
16360 (ulp): New function.
16361 (check_float_internal): Use ULPDIFF.
16362 (cpow_test): Disable failing test.
16363 (check_ulp): Test ulp() implemetnation.
16364 (main): Call check_ulp before starting tests.
16365
b679a606
JM
163662013-05-24 Joseph Myers <joseph@codesourcery.com>
16367
e8bdba36
JM
16368 * math/gen-libm-test.pl (generate_testfile): Do not handle
16369 START_DATA and END_DATA.
16370 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16371 END_DATA.
16372 (acos_tonearest_test_data): Likewise.
16373 (acos_towardzero_test_data): Likewise.
16374 (acos_downward_test_data): Likewise.
16375 (acos_upward_test_data): Likewise.
16376 (acosh_test_data): Likewise.
16377 (asin_test_data): Likewise.
16378 (asin_tonearest_test_data): Likewise.
16379 (asin_towardzero_test_data): Likewise.
16380 (asin_downward_test_data): Likewise.
16381 (asin_upward_test_data): Likewise.
16382 (asinh_test_data): Likewise.
16383 (atan_test_data): Likewise.
16384 (atanh_test_data): Likewise.
16385 (atan2_test_data): Likewise.
16386 (cabs_test_data): Likewise.
16387 (cacos_test_data): Likewise.
16388 (cacosh_test_data): Likewise.
16389 (carg_test_data): Likewise.
16390 (casin_test_data): Likewise.
16391 (casinh_test_data): Likewise.
16392 (catan_test_data): Likewise.
16393 (catanh_test_data): Likewise.
16394 (cbrt_test_data): Likewise.
16395 (ccos_test_data): Likewise.
16396 (ccosh_test_data): Likewise.
16397 (ceil_test_data): Likewise.
16398 (cexp_test_data): Likewise.
16399 (cimag_test_data): Likewise.
16400 (clog_test_data): Likewise.
16401 (clog10_test_data): Likewise.
16402 (conj_test_data): Likewise.
16403 (copysign_test_data): Likewise.
16404 (cos_test_data): Likewise.
16405 (cos_tonearest_test_data): Likewise.
16406 (cos_towardzero_test_data): Likewise.
16407 (cos_downward_test_data): Likewise.
16408 (cos_upward_test_data): Likewise.
16409 (cosh_test_data): Likewise.
16410 (cosh_tonearest_test_data): Likewise.
16411 (cosh_towardzero_test_data): Likewise.
16412 (cosh_downward_test_data): Likewise.
16413 (cosh_upward_test_data): Likewise.
16414 (cpow_test_data): Likewise.
16415 (cproj_test_data): Likewise.
16416 (creal_test_data): Likewise.
16417 (csin_test_data): Likewise.
16418 (csinh_test_data): Likewise.
16419 (csqrt_test_data): Likewise.
16420 (ctan_test_data): Likewise.
16421 (ctan_tonearest_test_data): Likewise.
16422 (ctan_towardzero_test_data): Likewise.
16423 (ctan_downward_test_data): Likewise.
16424 (ctan_upward_test_data): Likewise.
16425 (ctanh_test_data): Likewise.
16426 (ctanh_tonearest_test_data): Likewise.
16427 (ctanh_towardzero_test_data): Likewise.
16428 (ctanh_downward_test_data): Likewise.
16429 (ctanh_upward_test_data): Likewise.
16430 (erf_test_data): Likewise.
16431 (erfc_test_data): Likewise.
16432 (exp_test_data): Likewise.
16433 (exp_tonearest_test_data): Likewise.
16434 (exp_towardzero_test_data): Likewise.
16435 (exp_downward_test_data): Likewise.
16436 (exp_upward_test_data): Likewise.
16437 (exp10_test_data): Likewise.
16438 (exp2_test_data): Likewise.
16439 (expm1_test_data): Likewise.
16440 (fabs_test_data): Likewise.
16441 (fdim_test_data): Likewise.
16442 (finite_test_data): Likewise.
16443 (floor_test_data): Likewise.
16444 (fma_test_data): Likewise.
16445 (fma_towardzero_test_data): Likewise.
16446 (fma_downward_test_data): Likewise.
16447 (fma_upward_test_data): Likewise.
16448 (fmax_test_data): Likewise.
16449 (fmin_test_data): Likewise.
16450 (fmod_test_data): Likewise.
16451 (fpclassify_test_data): Likewise.
16452 (frexp_test_data): Likewise.
16453 (gamma_test_data): Likewise.
16454 (hypot_test_data): Likewise.
16455 (ilogb_test_data): Likewise.
16456 (isfinite_test_data): Likewise.
16457 (isgreater_test_data): Likewise.
16458 (isgreaterequal_test_data): Likewise.
16459 (isinf_test_data): Likewise.
16460 (isless_test_data): Likewise.
16461 (islessequal_test_data): Likewise.
16462 (islessgreater_test_data): Likewise.
16463 (isnan_test_data): Likewise.
16464 (isnormal_test_data): Likewise.
16465 (issignaling_test_data): Likewise.
16466 (isunordered_test_data): Likewise.
16467 (j0_test_data): Likewise.
16468 (j1_test_data): Likewise.
16469 (jn_test_data): Likewise.
16470 (ldexp_test_data): Likewise.
16471 (lgamma_test_data): Likewise.
16472 (lrint_test_data): Likewise.
16473 (lrint_tonearest_test_data): Likewise.
16474 (lrint_towardzero_test_data): Likewise.
16475 (lrint_downward_test_data): Likewise.
16476 (lrint_upward_test_data): Likewise.
16477 (llrint_test_data): Likewise.
16478 (llrint_tonearest_test_data): Likewise.
16479 (llrint_towardzero_test_data): Likewise.
16480 (llrint_downward_test_data): Likewise.
16481 (llrint_upward_test_data): Likewise.
16482 (log_test_data): Likewise.
16483 (log10_test_data): Likewise.
16484 (log1p_test_data): Likewise.
16485 (log2_test_data): Likewise.
16486 (logb_test_data): Likewise.
16487 (logb_downward_test_data): Likewise.
16488 (lround_test_data): Likewise.
16489 (llround_test_data): Likewise.
16490 (modf_test_data): Likewise.
16491 (nearbyint_test_data): Likewise.
16492 (nextafter_test_data): Likewise.
16493 (nexttoward_test_data): Likewise.
16494 (pow_test_data): Likewise.
16495 (pow_tonearest_test_data): Likewise.
16496 (pow_towardzero_test_data): Likewise.
16497 (pow_downward_test_data): Likewise.
16498 (pow_upward_test_data): Likewise.
16499 (remainder_test_data): Likewise.
16500 (remainder_tonearest_test_data): Likewise.
16501 (remainder_towardzero_test_data): Likewise.
16502 (remainder_downward_test_data): Likewise.
16503 (remainder_upward_test_data): Likewise.
16504 (remquo_test_data): Likewise.
16505 (rint_test_data): Likewise.
16506 (rint_tonearest_test_data): Likewise.
16507 (rint_towardzero_test_data): Likewise.
16508 (rint_downward_test_data): Likewise.
16509 (rint_upward_test_data): Likewise.
16510 (round_test_data): Likewise.
16511 (scalb_test_data): Likewise.
16512 (scalbn_test_data): Likewise.
16513 (scalbln_test_data): Likewise.
16514 (signbit_test_data): Likewise.
16515 (sin_test_data): Likewise.
16516 (sin_tonearest_test_data): Likewise.
16517 (sin_towardzero_test_data): Likewise.
16518 (sin_downward_test_data): Likewise.
16519 (sin_upward_test_data): Likewise.
16520 (sincos_test_data): Likewise.
16521 (sinh_test_data): Likewise.
16522 (sinh_tonearest_test_data): Likewise.
16523 (sinh_towardzero_test_data): Likewise.
16524 (sinh_downward_test_data): Likewise.
16525 (sinh_upward_test_data): Likewise.
16526 (sqrt_test_data): Likewise.
16527 (tan_test_data): Likewise.
16528 (tan_tonearest_test_data): Likewise.
16529 (tan_towardzero_test_data): Likewise.
16530 (tan_downward_test_data): Likewise.
16531 (tan_upward_test_data): Likewise.
16532 (tanh_test_data): Likewise.
16533 (tgamma_test_data): Likewise.
16534 (trunc_test_data): Likewise.
16535 (y0_test_data): Likewise.
16536 (y1_test_data): Likewise.
16537 (yn_test_data): Likewise.
16538 (significand_test_data): Likewise.
16539
b679a606
JM
16540 * math/gen-libm-test.pl (@functions): Remove variable.
16541 (generate_testfile): Don't handle START and END lines.
16542 * math/libm-test.inc (START): New macro.
16543 (END): Likewise.
16544 (END_COMPLEX): Likewise.
16545 (acos_test): Use END macro without arguments.
16546 (acos_test_tonearest): Likewise.
16547 (acos_test_towardzero): Likewise.
16548 (acos_test_downward): Likewise.
16549 (acos_test_upward): Likewise.
16550 (acosh_test): Likewise.
16551 (asin_test): Likewise.
16552 (asin_test_tonearest): Likewise.
16553 (asin_test_towardzero): Likewise.
16554 (asin_test_downward): Likewise.
16555 (asin_test_upward): Likewise.
16556 (asinh_test): Likewise.
16557 (atan_test): Likewise.
16558 (atanh_test): Likewise.
16559 (atan2_test): Likewise.
16560 (cabs_test): Likewise.
16561 (cacos_test): Use END_COMPLEX macro without arguments.
16562 (cacosh_test): Likewise.
16563 (carg_test): Use END macro without arguments.
16564 (casin_test): Use END_COMPLEX macro without arguments.
16565 (casinh_test): Likewise.
16566 (catan_test): Likewise.
16567 (catanh_test): Likewise.
16568 (cbrt_test): Use END macro without arguments.
16569 (ccos_test): Use END_COMPLEX macro without arguments.
16570 (ccosh_test): Likewise.
16571 (ceil_test): Use END macro without arguments.
16572 (cexp_test): Use END_COMPLEX macro without arguments.
16573 (cimag_test): Use END macro without arguments.
16574 (clog_test): Use END_COMPLEX macro without arguments.
16575 (clog10_test): Likewise.
16576 (conj_test): Likewise.
16577 (copysign_test): Use END macro without arguments.
16578 (cos_test): Likewise.
16579 (cos_test_tonearest): Likewise.
16580 (cos_test_towardzero): Likewise.
16581 (cos_test_downward): Likewise.
16582 (cos_test_upward): Likewise.
16583 (cosh_test): Likewise.
16584 (cosh_test_tonearest): Likewise.
16585 (cosh_test_towardzero): Likewise.
16586 (cosh_test_downward): Likewise.
16587 (cosh_test_upward): Likewise.
16588 (cpow_test): Use END_COMPLEX macro without arguments.
16589 (cproj_test): Likewise.
16590 (creal_test): Use END macro without arguments.
16591 (csin_test): Use END_COMPLEX macro without arguments.
16592 (csinh_test): Likewise.
16593 (csqrt_test): Likewise.
16594 (ctan_test): Likewise.
16595 (ctan_test_tonearest): Likewise.
16596 (ctan_test_towardzero): Likewise.
16597 (ctan_test_downward): Likewise.
16598 (ctan_test_upward): Likewise.
16599 (ctanh_test): Likewise.
16600 (ctanh_test_tonearest): Likewise.
16601 (ctanh_test_towardzero): Likewise.
16602 (ctanh_test_downward): Likewise.
16603 (ctanh_test_upward): Likewise.
16604 (erf_test): Use END macro without arguments.
16605 (erfc_test): Likewise.
16606 (exp_test): Likewise.
16607 (exp_test_tonearest): Likewise.
16608 (exp_test_towardzero): Likewise.
16609 (exp_test_downward): Likewise.
16610 (exp_test_upward): Likewise.
16611 (exp10_test): Likewise.
16612 (exp2_test): Likewise.
16613 (expm1_test): Likewise.
16614 (fabs_test): Likewise.
16615 (fdim_test): Likewise.
16616 (finite_test): Likewise.
16617 (floor_test): Likewise.
16618 (fma_test): Likewise.
16619 (fma_test_towardzero): Likewise.
16620 (fma_test_downward): Likewise.
16621 (fma_test_upward): Likewise.
16622 (fmax_test): Likewise.
16623 (fmin_test): Likewise.
16624 (fmod_test): Likewise.
16625 (fpclassify_test): Likewise.
16626 (frexp_test): Likewise.
16627 (gamma_test): Likewise.
16628 (hypot_test): Likewise.
16629 (ilogb_test): Likewise.
16630 (isfinite_test): Likewise.
16631 (isgreater_test): Likewise.
16632 (isgreaterequal_test): Likewise.
16633 (isinf_test): Likewise.
16634 (isless_test): Likewise.
16635 (islessequal_test): Likewise.
16636 (islessgreater_test): Likewise.
16637 (isnan_test): Likewise.
16638 (isnormal_test): Likewise.
16639 (issignaling_test): Likewise.
16640 (isunordered_test): Likewise.
16641 (j0_test): Likewise.
16642 (j1_test): Likewise.
16643 (jn_test): Likewise.
16644 (ldexp_test): Likewise.
16645 (lgamma_test): Likewise.
16646 (lrint_test): Likewise.
16647 (lrint_test_tonearest): Likewise.
16648 (lrint_test_towardzero): Likewise.
16649 (lrint_test_downward): Likewise.
16650 (lrint_test_upward): Likewise.
16651 (llrint_test): Likewise.
16652 (llrint_test_tonearest): Likewise.
16653 (llrint_test_towardzero): Likewise.
16654 (llrint_test_downward): Likewise.
16655 (llrint_test_upward): Likewise.
16656 (log_test): Likewise.
16657 (log10_test): Likewise.
16658 (log1p_test): Likewise.
16659 (log2_test): Likewise.
16660 (logb_test): Likewise.
16661 (logb_test_downward): Likewise.
16662 (lround_test): Likewise.
16663 (llround_test): Likewise.
16664 (modf_test): Likewise.
16665 (nearbyint_test): Likewise.
16666 (nextafter_test): Likewise.
16667 (nexttoward_test): Likewise.
16668 (pow_test): Likewise.
16669 (pow_test_tonearest): Likewise.
16670 (pow_test_towardzero): Likewise.
16671 (pow_test_downward): Likewise.
16672 (pow_test_upward): Likewise.
16673 (remainder_test): Likewise.
16674 (remainder_test_tonearest): Likewise.
16675 (remainder_test_towardzero): Likewise.
16676 (remainder_test_downward): Likewise.
16677 (remainder_test_upward): Likewise.
16678 (remquo_test): Likewise.
16679 (rint_test): Likewise.
16680 (rint_test_tonearest): Likewise.
16681 (rint_test_towardzero): Likewise.
16682 (rint_test_downward): Likewise.
16683 (rint_test_upward): Likewise.
16684 (round_test): Likewise.
16685 (scalb_test): Likewise.
16686 (scalbn_test): Likewise.
16687 (scalbln_test): Likewise.
16688 (signbit_test): Likewise.
16689 (sin_test): Likewise.
16690 (sin_test_tonearest): Likewise.
16691 (sin_test_towardzero): Likewise.
16692 (sin_test_downward): Likewise.
16693 (sin_test_upward): Likewise.
16694 (sincos_test): Likewise.
16695 (sinh_test): Likewise.
16696 (sinh_test_tonearest): Likewise.
16697 (sinh_test_towardzero): Likewise.
16698 (sinh_test_downward): Likewise.
16699 (sinh_test_upward): Likewise.
16700 (sqrt_test): Likewise.
16701 (tan_test): Likewise.
16702 (tan_test_tonearest): Likewise.
16703 (tan_test_towardzero): Likewise.
16704 (tan_test_downward): Likewise.
16705 (tan_test_upward): Likewise.
16706 (tanh_test): Likewise.
16707 (tgamma_test): Likewise.
16708 (trunc_test): Likewise.
16709 (y0_test): Likewise.
16710 (y1_test): Likewise.
16711 (yn_test): Likewise.
16712 (significand_test): Likewise.
16713
bae143d2
OB
167142013-05-24 Ondřej Bílka <neleai@seznam.cz>
16715
16716 [BZ #15381]
16717 * libio/genops.c (_IO_no_init): Initialize wide struct info.
16718
9323d39b
EM
167192013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
16720
d4ea44a0 16721 [BZ #14894]
9323d39b
EM
16722 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16723 __ppc_mdoio and __ppc_mdoom.
16724 * manual/platform.texi: Document new functions __ppc_yield,
16725 __ppc_mdoio and __ppc_mdoom.
16726
13e23af7
CD
167272013-05-22 Carlos O'Donell <carlos@redhat.com>
16728
16729 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16730 (main): Mention "tls" pseudo-hwcap is legacy.
16731 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16732
351fe550
JM
167332013-05-22 Joseph Myers <joseph@codesourcery.com>
16734
16735 * math/gen-libm-test.pl (parse_args): Output only string of
16736 arguments as text for test name, not full call or descriptions of
16737 tests for extra outputs.
16738 (generate_testfile): Do not pass function name to parse_args.
16739 Generate this_func variable from START.
16740 * math/libm-test.inc (struct test_f_f_data): Rename test_name
16741 field to arg_str.
16742 (struct test_ff_f_data): Likewise.
16743 (test_ff_f_data_nexttoward): Likewise.
16744 (struct test_fi_f_data): Likewise.
16745 (struct test_fl_f_data): Likewise.
16746 (struct test_if_f_data): Likewise.
16747 (struct test_fff_f_data): Likewise.
16748 (struct test_c_f_data): Likewise.
16749 (struct test_f_f1_data): Likewise. Remove field extra_name.
16750 (struct test_fF_f1_data): Likewise.
16751 (struct test_ffI_f1_data): Likewise.
16752 (struct test_c_c_data): Rename test_name field to arg_str.
16753 (struct test_cc_c_data): Likewise.
16754 (struct test_f_i_data): Likewise.
16755 (struct test_ff_i_data): Likewise.
16756 (struct test_f_l_data): Likewise.
16757 (struct test_f_L_data): Likewise.
16758 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
16759 and extra2_name.
16760 (COMMON_TEST_SETUP): New macro.
16761 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16762 (COMMON_TEST_CLEANUP): Likewise.
16763 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16764 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
16765 macros.
16766 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16767 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
16768 macros.
16769 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16770 (RUN_TEST_fff_f): Take argument string. Call new setup and
16771 cleanup macros.
16772 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16773 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
16774 macros.
16775 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16776 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
16777 macros.
16778 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16779 (RUN_TEST_fF_f1): Take argument string. Call new setup and
16780 cleanup macros.
16781 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16782 (RUN_TEST_fI_f1): Take argument string. Call new setup and
16783 cleanup macros.
16784 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16785 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
16786 cleanup macros.
16787 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16788 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
16789 macros.
16790 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16791 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
16792 macros.
16793 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16794 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
16795 macros.
16796 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16797 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
16798 cleanup macros.
16799 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16800 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
16801 cleanup macros.
16802 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16803 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
16804 macros.
16805 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16806 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
16807 cleanup macros.
16808 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16809 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
16810 macros.
16811 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16812 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
16813 macros.
16814 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16815 (RUN_TEST_fFF_11): Take argument string. Call new setup and
16816 cleanup macros.
16817 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16818
85118d4d
EBM
168192013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16820
16821 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16822 to _sifields.sigfault.
16823 (si_addr_lsb): Define new macro.
16824 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16825 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16826 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16827
7a44c18f
CD
168282013-05-03 Carlos O'Donell <carlos at redhat.com>
16829
16830 [BZ #15441]
16831 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16832 returns -1.
16833 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16834 null return -1.
16835 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16836 loading the domain.
16837
b50a7181
JM
168382013-05-22 Joseph Myers <joseph@codesourcery.com>
16839
16840 * math/gen-libm-test.pl (parse_args): Do not include expected
16841 result in test name.
16842 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16843 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16844 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16845 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16846 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16848
051063c8
SP
168492013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16850
3ce9e010
SP
16851 * benchtests/Makefile: Sort function entries.
16852
051063c8
SP
16853 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16854 tanh, asinh, acosh, atanh.
16855 * benchtests/acos-inputs: New file.
16856 * benchtests/acosh-inputs: New file.
16857 * benchtests/asin-inputs: New file.
16858 * benchtests/asinh-inputs: New file.
16859 * benchtests/atanh-inputs: New file.
16860 * benchtests/cosh-inputs: New file.
16861 * benchtests/log-inputs: New file.
16862 * benchtests/sinh-inputs: New file.
16863 * benchtests/tanh-inputs: New file.
16864
47c22455
DL
168652013-05-21 Dmitry V. Levin <ldv@altlinux.org>
16866
16867 [BZ #15339]
16868 * posix/tst-getaddrinfo4.c: New test.
16869 * posix/Makefile (tests): Add it.
16870
3d04f5db
SP
168712013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16872
16873 [BZ #15339]
16874 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16875 when no services were used.
16876 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16877 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16878
d5dd6189
AS
168792013-05-21 Andreas Schwab <schwab@suse.de>
16880
16881 [BZ #15014]
16882 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16883 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16884 successful.
16885 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16886 redundant variable declarations and reallocation of buffer when
16887 parsing as IPv6 address. Always set NSS status when called from
16888 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
16889 buffer too small. Correct computation of needed size.
16890 * nss/Makefile (tests): Add test-digits-dots.
16891 * nss/test-digits-dots.c: New test.
16892
fef94eab
SP
168932013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16894
16895 * benchtests/Makefile: Remove instructions for adding
16896 benchmark tests.
16897 * benchtests/README: New file to explain how to execute and
16898 enhance the benchmark tests.
16899
e39adf43
AS
169002013-05-21 Andreas Schwab <schwab@suse.de>
16901
16902 [BZ #15493]
16903 * setjmp/Makefile (tests): Add tst-sigsetjmp.
16904 * setjmp/tst-sigsetjmp.c: New test.
16905
b2b671b6
OB
169062013-05-20 Ondřej Bílka <neleai@seznam.cz>
16907
16908 * sysdeps/x86_64/memset.S (memset): New implementation.
16909 (__bzero): Likewise.
16910 (__memset_tail): New function.
16911
2d48b41c
OB
169122013-05-20 Ondřej Bílka <neleai@seznam.cz>
16913
16914 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16915 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16916 __memcpy_sse2_unaligned ifunc selection.
16917 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16918 Add memcpy-sse2-unaligned.S.
16919 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16920 Add: __memcpy_sse2_unaligned.
16921
f16cc3eb
JM
169222013-05-19 Joseph Myers <joseph@codesourcery.com>
16923
3e694268
JM
16924 [BZ #15490]
16925 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16926 math_force_eval before restoring floating-point envrionment.
16927 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16928 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16929 Likewise.
16930 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16931 <math_private.h>.
16932 (__nearbyintl): Use math_force_eval before restoring
16933 floating-point environment.
16934 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16935
db62a907
JM
16936 * math/gen-libm-test.pl (special_functions): Remove.
16937 (parse_args): Don't handle TEST_extra. Handle functions with no
16938 return value.
16939 * math/libm-test.inc (struct test_sincos_data): Replace with
16940 struct test_fFF_11_data.
16941 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16942 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16943 (sincos_test_data): Change element type to struct
16944 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
16945 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16946 RUN_TEST_LOOP_sincos.
16947 * math/README.libm-test: Don't mention special handling of
16948 individual functions.
16949 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16950 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16951 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16952 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16953 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16955
f16cc3eb
JM
16956 * math/gen-libm-test.pl (get_variable): Remove function.
16957 (parse_args): Don't show pointer parameters to call in test
16958 names. Use "extra output N" in test names for extra outputs
16959 rather than naming variables.
16960
3779b5b6
JM
169612013-05-18 Joseph Myers <joseph@codesourcery.com>
16962
2ee094ff
JM
16963 [BZ #15488]
16964 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16965 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16966 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16967 double tests.
16968 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16969 disable.
16970 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16971 check_long_double.
16972
3779b5b6
JM
16973 * math/gen-libm-test.pl (@tests): Remove variable.
16974 ($count): Likewise.
16975 (new_test): Remove function.
16976 (show_exceptions): New function.
16977 (special_functions): Use show_exceptions instead of new_test.
16978 (parse_args): Likewise.
16979 (generate_testfile): Pass only function name in generated call to
16980 print_max_error or print_complex_max_error.
16981 (get_ulps): Do not handle complex tests specially.
16982 (output_test): Rename to ...
16983 (get_all_ulps_for_test): ... this. Return a string rather than
16984 printing to a file. Require ulps to be present.
16985 (output_ulps): Generate arrays rather than #defines.
16986 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16987 (struct ulp_data): New type.
16988 (BUILD_COMPLEX_ULP): Remove macro.
16989 (compare_ulp_data): New function.
16990 (find_ulps): Likewise.
16991 (find_test_ulps): Likewise.
16992 (find_function_ulps): Likewise.
16993 (find_complex_function_ulps): Likewise.
16994 (print_max_error): Determine allowed ulps using
16995 find_function_ulps.
16996 (print_complex_max_error): Determine allowed ulps using
16997 find_complex_function_ulps.
16998 (check_float_internal): Determine max ulps using find_test_ulps.
16999 (check_float): Do not take max_ulp parameter. Update call to
17000 check_float_internal.
17001 (check_complex): Likewise.
17002 (check_int): Do not take max_ulp parameter.
17003 (check_long): Likewise.
17004 (check_bool): Likewise.
17005 (check_longlong): Likewise.
17006 (struct test_f_f_data): Remove max_ulp field.
17007 (struct test_ff_f_data): Likewise.
17008 (struct test_ff_f_data_nexttoward): Likewise.
17009 (struct test_fi_f_data): Likewise.
17010 (struct test_fl_f_data): Likewise.
17011 (struct test_if_f_data): Likewise.
17012 (struct test_fff_f_data): Likewise.
17013 (struct test_c_f_data): Likewise.
17014 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17015 (struct test_fF_f1_data): Likewise.
17016 (struct test_ffI_f1_data): Likewise.
17017 (struct test_c_c_data): Remove max_ulp field.
17018 (struct test_cc_c_data): Likewise.
17019 (struct test_f_i_data): Likewise.
17020 (struct test_ff_i_data): Likewise.
17021 (struct test_f_l_data): Likewise.
17022 (struct test_f_L_data): Likewise.
17023 (struct test_sincos_data): Likewise.
17024 (RUN_TEST_f_f): Do not handle ulps.
17025 (RUN_TEST_LOOP_f_f): Likewise.
17026 (RUN_TEST_2_f): Likewise.
17027 (RUN_TEST_LOOP_2_f): Likewise.
17028 (RUN_TEST_fff_f): Likewise.
17029 (RUN_TEST_LOOP_fff_f): Likewise.
17030 (RUN_TEST_c_f): Likewise.
17031 (RUN_TEST_LOOP_c_f): Likewise.
17032 (RUN_TEST_f_f1): Likewise.
17033 (RUN_TEST_LOOP_f_f1): Likewise.
17034 (RUN_TEST_fF_f1): Likewise.
17035 (RUN_TEST_LOOP_fF_f1): Likewise.
17036 (RUN_TEST_fI_f1): Likewise.
17037 (RUN_TEST_LOOP_fI_f1): Likewise.
17038 (RUN_TEST_ffI_f1): Likewise.
17039 (RUN_TEST_LOOP_ffI_f1): Likewise.
17040 (RUN_TEST_c_c): Likewise.
17041 (RUN_TEST_LOOP_c_c): Likewise.
17042 (RUN_TEST_cc_c): Likewise.
17043 (RUN_TEST_LOOP_cc_c): Likewise.
17044 (RUN_TEST_f_i): Likewise.
17045 (RUN_TEST_LOOP_f_i): Likewise.
17046 (RUN_TEST_f_i_tg): Likewise.
17047 (RUN_TEST_LOOP_f_i_tg): Likewise.
17048 (RUN_TEST_ff_i_tg): Likewise.
17049 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17050 (RUN_TEST_f_b): Likewise.
17051 (RUN_TEST_LOOP_f_b): Likewise.
17052 (RUN_TEST_f_b_tg): Likewise.
17053 (RUN_TEST_LOOP_f_b_tg): Likewise.
17054 (RUN_TEST_f_l): Likewise.
17055 (RUN_TEST_LOOP_f_l): Likewise.
17056 (RUN_TEST_f_L): Likewise.
17057 (RUN_TEST_LOOP_f_L): Likewise.
17058 (RUN_TEST_sincos): Likewise.
17059 (RUN_TEST_LOOP_sincos): Likewise.
17060
8269107f
JM
170612013-05-17 Joseph Myers <joseph@codesourcery.com>
17062
bb38759d
JM
17063 [BZ #15480]
17064 [BZ #15485]
17065 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17066 main case of finite arguments, set rounding mode to FE_TONEAREST
17067 and discard exceptions.
17068 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17069 exceptions.
17070 (remainder_tonearest_test_data): New variable.
17071 (remainder_test_tonearest): New function.
17072 (remainder_towardzero_test_data): New variable.
17073 (remainder_test_towardzero): New function.
17074 (remainder_downward_test_data): New variable.
17075 (remainder_test_downward): New function.
17076 (remainder_upward_test_data): New variable.
17077 (remainder_test_upward): New function.
17078 (main): Call the new test functions.
17079
a00bdcf0
JM
17080 * math/libm-test.inc (struct test_f_f1_data): Remove field
17081 extra_init.
17082 (struct test_fF_f1_data): Likewise.
17083 (struct test_ffI_f1_data): Likewise.
17084 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
17085 based on value of EXTRA_EXPECTED.
17086 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17087 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
17088 EXTRA_VAR based on value of EXTRA_EXPECTED.
17089 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17090 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
17091 EXTRA_VAR based on value of EXTRA_EXPECTED.
17092 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17093 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
17094 EXTRA_VAR based on value of EXTRA_EXPECTED.
17095 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17096 * math/gen-libm-test.pl (parse_args): Don't output initializers
17097 for extra output values.
17098
de407f79
JM
17099 * math/libm-test.inc (check_int): Expect result to be exactly
17100 equal to expected value and do not handle ulps.
17101 (check_long): Likewise.
17102 (check_longlong): Likewise.
17103
8269107f
JM
17104 * math/libm-test.inc (ceil_test_data): Test for "inexact"
17105 exceptions.
17106 (cimag_test_data): Likewise.
17107 (conj_test_data): Likewise.
17108 (copysign_test_data): Likewise.
17109 (cproj_test_data): Likewise.
17110 (creal_test_data): Likewise.
17111 (fabs_test_data): Likewise.
17112 (fdim_test_data): Likewise.
17113 (finite_test_data): Likewise.
17114 (floor_test_data): Likewise.
17115 (fmax_test_data): Likewise.
17116 (fmin_test_data): Likewise.
17117 (fmod_test_data): Likewise.
17118 (fpclassify_test_data): Likewise.
17119 (frexp_test_data): Likewise.
17120 (ilogb_test_data): Likewise.
17121 (isfinite_test_data): Likewise.
17122 (isgreater_test_data): Likewise.
17123 (isgreaterequal_test_data): Likewise.
17124 (isinf_test_data): Likewise.
17125 (isless_test_data): Likewise.
17126 (islessequal_test_data): Likewise.
17127 (islessgreater_test_data): Likewise.
17128 (isnan_test_data): Likewise.
17129 (isnormal_test_data): Likewise.
17130 (issignaling_test_data): Likewise.
17131 (isunordered_test_data): Likewise.
17132 (ldexp_test_data): Likewise.
17133 (lrint_test_data): Likewise.
17134 (lrint_test_data) [TEST_FLOAT]: Disable one test.
17135 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17136 (lrint_tonearest_test_data): Test for "inexact" exceptions.
17137 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17138 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17139 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17140 test input.
17141 (lrint_towardzero_test_data): Test for "inexact" exceptions.
17142 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17143 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17144 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17145 that test input.
17146 (lrint_downward_test_data): Test for "inexact" exceptions.
17147 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17148 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17149 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17150 test input.
17151 (lrint_upward_test_data): Test for "inexact" exceptions.
17152 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17153 test input.
17154 (llrint_test_data): Test for "inexact" exceptions.
17155 (llrint_test_data) [TEST_FLOAT]: Disable one test.
17156 (llrint_tonearest_test_data): Test for "inexact" exceptions.
17157 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17158 (llrint_towardzero_test_data): Test for "inexact" exceptions.
17159 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17160 (llrint_downward_test_data): Test for "inexact" exceptions.
17161 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17162 (llrint_upward_test_data): Test for "inexact" exceptions.
17163 (logb_test_data): Likewise.
17164 (logb_downward_test_data): Likewise.
17165 (nextafter_test_data): Likewise.
17166 (nexttoward_test_data): Likewise.
17167 (remainder_test_data): Likewise.
17168 (remquo_test_data): Likewise.
17169 (scalbn_test_data): Likewise.
17170 (scalbln_test_data): Likewise.
17171 (signbit_test_data): Likewise.
17172 (sqrt_test_data): Likewise.
17173 (significand_test_data): Likewise.
17174
48a18de1
SP
171752013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17176
17177 [BZ #15424]
17178 * benchtests/bench-modf.c (struct args): Mark arg0 as
17179 volatile.
17180 * scripts/bench.pl: Mark members of struct args as volatile.
17181
13d3b41a
AZ
171822013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17183
68191c1d 17184 [BZ # 15497]
13d3b41a
AZ
17185 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17186 negative infinity on POWER6 or lower.
17187 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17188
2848b105
MR
171892013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17190
17191 [BZ #15442]
17192 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17193 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17194 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17195 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17196 (_FP_SETQNAN): New macro.
17197 (_FP_SETQNAN_SEMIRAW): Likewise.
17198 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17199 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17200 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17201 (FP_EXTEND): Use _FP_FRAC_SNANP.
17202 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17203 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17204 into account.
17205 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17206 New macro.
17207 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17208 Likewise.
17209
323e5cb7
JM
172102013-05-16 Joseph Myers <joseph@codesourcery.com>
17211
c58b274f
JM
17212 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17213 with DIVIDE_BY_ZERO_EXCEPTION.
17214 (gamma_test_data): Likewise.
17215 (lgamma_test_data): Likewise.
17216 (log_test_data): Likewise.
17217 (log10_test_data): Likewise.
17218 (log2_test_data): Likewise.
17219 (tgamma_test_data): Likewise.
17220
0ab34904
JM
17221 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17222 (acos_test_tonearest): Likewise.
17223 (acos_test_towardzero): Likewise.
17224 (acos_test_downward): Likewise.
17225 (acos_test_upward): Likewise.
17226 (acosh_test): Likewise.
17227 (asin_test): Likewise.
17228 (asin_test_tonearest): Likewise.
17229 (asin_test_towardzero): Likewise.
17230 (asin_test_downward): Likewise.
17231 (asin_test_upward): Likewise.
17232 (asinh_test): Likewise.
17233 (atan_test): Likewise.
17234 (atanh_test): Likewise.
17235 (atan2_test): Likewise.
17236 (cabs_test): Likewise.
17237 (cacos_test): Likewise.
17238 (cacosh_test): Likewise.
17239 (casin_test): Likewise.
17240 (casinh_test): Likewise.
17241 (catan_test): Likewise.
17242 (catanh_test): Likewise.
17243 (cbrt_test): Likewise.
17244 (ccos_test): Likewise.
17245 (ccosh_test): Likewise.
17246 (cexp_test): Likewise.
17247 (clog_test): Likewise.
17248 (clog10_test): Likewise.
17249 (cos_test): Likewise.
17250 (cos_test_tonearest): Likewise.
17251 (cos_test_towardzero): Likewise.
17252 (cos_test_downward): Likewise.
17253 (cos_test_upward): Likewise.
17254 (cosh_test): Likewise.
17255 (cosh_test_tonearest): Likewise.
17256 (cosh_test_towardzero): Likewise.
17257 (cosh_test_downward): Likewise.
17258 (cosh_test_upward): Likewise.
17259 (cpow_test): Likewise.
17260 (csin_test): Likewise.
17261 (csinh_test): Likewise.
17262 (csqrt_test): Likewise.
17263 (ctan_test): Likewise.
17264 (ctan_test_tonearest): Likewise.
17265 (ctan_test_towardzero): Likewise.
17266 (ctan_test_downward): Likewise.
17267 (ctan_test_upward): Likewise.
17268 (ctanh_test): Likewise.
17269 (ctanh_test_tonearest): Likewise.
17270 (ctanh_test_towardzero): Likewise.
17271 (ctanh_test_downward): Likewise.
17272 (ctanh_test_upward): Likewise.
17273 (erf_test): Likewise.
17274 (erfc_test): Likewise.
17275 (exp_test): Likewise.
17276 (exp_test_tonearest): Likewise.
17277 (exp_test_towardzero): Likewise.
17278 (exp_test_downward): Likewise.
17279 (exp_test_upward): Likewise.
17280 (exp10_test): Likewise.
17281 (exp2_test): Likewise.
17282 (expm1_test): Likewise.
17283 (fmod_test): Likewise.
17284 (gamma_test): Likewise.
17285 (hypot_test): Likewise.
17286 (j0_test): Likewise.
17287 (j1_test): Likewise.
17288 (jn_test): Likewise.
17289 (lgamma_test): Likewise.
17290 (log_test): Likewise.
17291 (log10_test): Likewise.
17292 (log1p_test): Likewise.
17293 (log2_test): Likewise.
17294 (logb_test_downward): Likewise.
17295 (pow_test): Likewise.
17296 (pow_test_tonearest): Likewise.
17297 (pow_test_towardzero): Likewise.
17298 (pow_test_downward): Likewise.
17299 (pow_test_upward): Likewise.
17300 (remainder_test): Likewise.
17301 (remquo_test): Likewise.
17302 (sin_test): Likewise.
17303 (sin_test_tonearest): Likewise.
17304 (sin_test_towardzero): Likewise.
17305 (sin_test_downward): Likewise.
17306 (sin_test_upward): Likewise.
17307 (sincos_test): Likewise.
17308 (sinh_test): Likewise.
17309 (sinh_test_tonearest): Likewise.
17310 (sinh_test_towardzero): Likewise.
17311 (sinh_test_downward): Likewise.
17312 (sinh_test_upward): Likewise.
17313 (sqrt_test): Likewise.
17314 (tan_test): Likewise.
17315 (tan_test_tonearest): Likewise.
17316 (tan_test_towardzero): Likewise.
17317 (tan_test_downward): Likewise.
17318 (tan_test_upward): Likewise.
17319 (tanh_test): Likewise.
17320 (tgamma_test): Likewise.
17321 (y0_test): Likewise.
17322 (y1_test): Likewise.
17323 (yn_test): Likewise.
17324
323e5cb7
JM
17325 * math/gen-libm-test.pl (adjust_arg): Remove function.
17326 (special_function): Remove argument $in_func. Only handle
17327 generating output for tables of tests, not inside functions.
17328 (parse_args): Likewise.
17329 (generate_testfile): Remove variable $in_func. Update call to
17330 parse_args.
17331 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17332 (MINUS_ZERO_INIT): Rename macro to minus_zero.
17333 (PLUS_INFTY_INIT): Rename macro to plus_infty.
17334 (MINUS_INFTY_INIT): Rename macro to minus_infty.
17335 (QNAN_VALUE_INIT): Rename macro to qnan_value.
17336 (MAX_VALUE_INIT): Rename macro to max_value.
17337 (MIN_VALUE_INIT): Rename macro to min_value.
17338 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17339 (plus_zero): Remove variable.
17340 (minus_zero): Likewise.
17341 (plus_infty): Likewise.
17342 (minus_infty): Likewise.
17343 (qnan_value): Likewise.
17344 (max_value): Likewise.
17345 (min_value): Likewise.
17346 (min_subnorm_value): Likewise.
17347
e054f494
RA
173482013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17349
17350 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17351 uint64_t or uint32_t usage.
17352 * crypt/sha256-block.c: Likewise.
17353 * crypt/sha256-crypt.c: Likewise.
17354 * crypt/sha256.c: Likewise.
17355 * crypt/sha512-block.c: Likewise.
17356 * crypt/sha512-crypt.c: Likewise.
17357 * crypt/sha512.c: Likewise.
17358 * debug/backtrace-tst.c: Likewise.
17359 * debug/pcprofiledump.c: Likewise.
17360 * elf/cache.c: Likewise.
17361 * elf/dl-cache.c: Likewise.
17362 * elf/dl-misc.c: Likewise.
17363 * elf/dl-profile.c: Likewise.
17364 * elf/dl-support.c: Likewise.
17365 * elf/ldconfig.c: Likewise.
17366 * elf/sprof.c: Likewise.
17367 * iconv/dummy-repertoire.c: Likewise.
17368 * iconv/iconv_charmap.c: Likewise.
17369 * iconv/skeleton.c: Likewise.
17370 * iconvdata/8bit-generic.c: Likewise.
17371 * iconvdata/cp737.h: Likewise.
17372 * iconvdata/cp775.h: Likewise.
17373 * iconvdata/ibm1008.h: Likewise.
17374 * iconvdata/ibm1025.h: Likewise.
17375 * iconvdata/ibm1046.h: Likewise.
17376 * iconvdata/ibm1097.h: Likewise.
17377 * iconvdata/ibm1112.h: Likewise.
17378 * iconvdata/ibm1122.h: Likewise.
17379 * iconvdata/ibm1123.h: Likewise.
17380 * iconvdata/ibm1124.h: Likewise.
17381 * iconvdata/ibm1129.h: Likewise.
17382 * iconvdata/ibm1130.h: Likewise.
17383 * iconvdata/ibm1132.h: Likewise.
17384 * iconvdata/ibm1133.h: Likewise.
17385 * iconvdata/ibm1137.h: Likewise.
17386 * iconvdata/ibm1140.h: Likewise.
17387 * iconvdata/ibm1141.h: Likewise.
17388 * iconvdata/ibm1142.h: Likewise.
17389 * iconvdata/ibm1143.h: Likewise.
17390 * iconvdata/ibm1144.h: Likewise.
17391 * iconvdata/ibm1145.h: Likewise.
17392 * iconvdata/ibm1146.h: Likewise.
17393 * iconvdata/ibm1147.h: Likewise.
17394 * iconvdata/ibm1148.h: Likewise.
17395 * iconvdata/ibm1149.h: Likewise.
17396 * iconvdata/ibm1153.h: Likewise.
17397 * iconvdata/ibm1154.h: Likewise.
17398 * iconvdata/ibm1155.h: Likewise.
17399 * iconvdata/ibm1156.h: Likewise.
17400 * iconvdata/ibm1157.h: Likewise.
17401 * iconvdata/ibm1158.h: Likewise.
17402 * iconvdata/ibm1160.h: Likewise.
17403 * iconvdata/ibm1161.h: Likewise.
17404 * iconvdata/ibm1162.h: Likewise.
17405 * iconvdata/ibm1163.h: Likewise.
17406 * iconvdata/ibm1164.h: Likewise.
17407 * iconvdata/ibm1166.h: Likewise.
17408 * iconvdata/ibm1167.h: Likewise.
17409 * iconvdata/ibm12712.h: Likewise.
17410 * iconvdata/ibm1390.h: Likewise.
17411 * iconvdata/ibm1399.h: Likewise.
17412 * iconvdata/ibm16804.h: Likewise.
17413 * iconvdata/ibm4517.h: Likewise.
17414 * iconvdata/ibm4899.h: Likewise.
17415 * iconvdata/ibm4909.h: Likewise.
17416 * iconvdata/ibm4971.h: Likewise.
17417 * iconvdata/ibm5347.h: Likewise.
17418 * iconvdata/ibm803.h: Likewise.
17419 * iconvdata/ibm856.h: Likewise.
17420 * iconvdata/ibm901.h: Likewise.
17421 * iconvdata/ibm902.h: Likewise.
17422 * iconvdata/ibm9030.h: Likewise.
17423 * iconvdata/ibm9066.h: Likewise.
17424 * iconvdata/ibm921.h: Likewise.
17425 * iconvdata/ibm922.h: Likewise.
17426 * iconvdata/ibm9448.h: Likewise.
17427 * iconvdata/isiri-3342.h: Likewise.
17428 * iconvdata/jis0201.h: Likewise.
17429 * include/link.h: Likewise.
17430 * include/netdb.h: Likewise.
17431 * inet/check_native.c: Likewise.
17432 * inet/check_pf.c: Likewise.
17433 * inet/getipv4sourcefilter.c: Likewise.
17434 * inet/getnameinfo.c: Likewise.
17435 * inet/getsourcefilter.c: Likewise.
17436 * inet/htonl.c: Likewise.
17437 * inet/setipv4sourcefilter.c: Likewise.
17438 * inet/setsourcefilter.c: Likewise.
17439 * inet/test-inet6_opt.c: Likewise.
17440 * inet/tst-network.c: Likewise.
17441 * locale/C-collate.c: Likewise.
17442 * locale/C-ctype.c: Likewise.
17443 * locale/C-time.c: Likewise.
17444 * locale/C-translit.h: Likewise.
17445 * locale/loadarchive.c: Likewise.
17446 * locale/programs/3level.h: Likewise.
17447 * locale/programs/charmap.c: Likewise.
17448 * locale/programs/charmap.h: Likewise.
17449 * locale/programs/ld-address.c: Likewise.
17450 * locale/programs/ld-collate.c: Likewise.
17451 * locale/programs/ld-ctype.c: Likewise.
17452 * locale/programs/ld-identification.c: Likewise.
17453 * locale/programs/ld-measurement.c: Likewise.
17454 * locale/programs/ld-messages.c: Likewise.
17455 * locale/programs/ld-monetary.c: Likewise.
17456 * locale/programs/ld-name.c: Likewise.
17457 * locale/programs/ld-numeric.c: Likewise.
17458 * locale/programs/ld-paper.c: Likewise.
17459 * locale/programs/ld-telephone.c: Likewise.
17460 * locale/programs/ld-time.c: Likewise.
17461 * locale/programs/linereader.c: Likewise.
17462 * locale/programs/locale.c: Likewise.
17463 * locale/programs/locarchive.c: Likewise.
17464 * locale/programs/locfile.h: Likewise.
17465 * locale/programs/repertoire.c: Likewise.
17466 * locale/programs/simple-hash.c: Likewise.
17467 * locale/programs/simple-hash.h: Likewise.
17468 * malloc/memusage.c: Likewise.
17469 * malloc/memusagestat.c: Likewise.
17470 * nis/nis_defaults.c: Likewise.
17471 * nis/nis_hash.c: Likewise.
17472 * nis/nis_print.c: Likewise.
17473 * nis/nis_xdr.c: Likewise.
17474 * nscd/connections.c: Likewise.
17475 * nscd/hstcache.c: Likewise.
17476 * nscd/nscd_gethst_r.c: Likewise.
17477 * nscd/nscd_getserv_r.c: Likewise.
17478 * nscd/nscd_helper.c: Likewise.
17479 * nscd/servicescache.c: Likewise.
17480 * nss/makedb.c: Likewise.
17481 * nss/nss_db/db-XXX.c: Likewise.
17482 * nss/nss_db/db-initgroups.c: Likewise.
17483 * nss/nss_db/db-netgrp.c: Likewise.
17484 * nss/nss_files/files-network.c: Likewise.
17485 * nss/nss_files/files-parse.c: Likewise.
17486 * posix/bug-regex5.c: Likewise.
17487 * posix/fnmatch_loop.c: Likewise.
17488 * posix/regcomp.c: Likewise.
17489 * posix/regexec.c: Likewise.
17490 * posix/tst-rfc3484-2.c: Likewise.
17491 * posix/tst-rfc3484-3.c: Likewise.
17492 * posix/tst-rfc3484.c: Likewise.
17493 * resolv/nss_dns/dns-canon.c: Likewise.
17494 * resolv/nss_dns/dns-network.c: Likewise.
17495 * resolv/res_init.c: Likewise.
17496 * resolv/res_mkquery.c: Likewise.
17497 * resolv/tst-aton.c: Likewise.
17498 * stdlib/cxa_atexit.c: Likewise.
17499 * stdlib/cxa_finalize.c: Likewise.
17500 * stdlib/gen-fpioconst.c: Likewise.
17501 * stdlib/strtol_l.c: Likewise.
17502 * string/tst-endian.c: Likewise.
17503 * sunrpc/auth_des.c: Likewise.
17504 * sunrpc/clnt_udp.c: Likewise.
17505 * sunrpc/rtime.c: Likewise.
17506 * sunrpc/svcauth_des.c: Likewise.
17507 * sunrpc/xdr.c: Likewise.
17508 * sunrpc/xdr_intXX_t.c: Likewise.
17509 * sunrpc/xdr_rec.c: Likewise.
17510 * sysdeps/generic/ldconfig.h: Likewise.
17511 * sysdeps/generic/ldsodefs.h: Likewise.
17512 * sysdeps/generic/memusage.h: Likewise.
17513 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17514 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17515 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17516 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17517 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17518 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17519 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17520 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17521 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17522 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17523 * sysdeps/posix/getaddrinfo.c: Likewise.
17524 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17525 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17526 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17527 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17528 * sysdeps/powerpc/test-gettimebase.c: Likewise.
17529 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17530 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17531 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17532 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17533 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17534 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17535 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17536 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17537 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17538 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17539 * sysdeps/x86_64/dl-tls.h: Likewise.
17540 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17541 * time/alt_digit.c: Likewise.
17542 * time/era.c: Likewise.
17543 * wcsmbs/tst-c16c32-1.c: Likewise.
17544
8c75f674
JM
175452013-05-16 Joseph Myers <joseph@codesourcery.com>
17546
17547 * math/libm-test.inc (struct test_sincos_data): New type.
17548 (RUN_TEST_LOOP_sincos): New macro.
17549 (sincos_test_data): New variable.
17550 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17551
e6e49e59
RH
175522013-05-16 Richard Henderson <rth@redhat.com>
17553
17554 * math/atest-exp2.c (LIMB64): New macro.
17555 (CONSTSZ): New macro.
17556 (mp_exp1, mp_exp_m1, mp_log2): New variables.
17557 (hexdig): Move ...
17558 (print_mpn_fp): ... to function scope.
17559 (read_mpn_hex): Remove.
17560 (get_log2): Remove.
17561 (exp2_mpn): Use mp_log2.
17562 (main): Use mp_exp1.
17563
15c7c18d
JM
175642013-05-16 Joseph Myers <joseph@codesourcery.com>
17565
105a07df
JM
17566 * math/libm-test.inc: Remove comment about not testing "inexact"
17567 exceptions.
17568 (INEXACT_EXCEPTION): New macro.
17569 (NO_INEXACT_EXCEPTION): Likewise.
17570 (INVALID_EXCEPTION_OK): Update value.
17571 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17572 (OVERFLOW_EXCEPTION_OK): Likewise.
17573 (UNDERFLOW_EXCEPTION_OK): Likewise.
17574 (IGNORE_ZERO_INF_SIGN): Likewise.
17575 (ERRNO_UNCHANGED): Likewise.
17576 (ERRNO_EDOM): Likewise.
17577 (ERRNO_ERANGE): Likewise.
17578 (test_exceptions): Handle testing "inexact" exceptions.
17579 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17580 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17581 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17582 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17583 INEXACT_EXCEPTION.
17584 (rint_towardzero_test_data): Likewise.
17585 (rint_downward_test_data): Likewise.
17586 (rint_upward_test_data): Likewise.
17587
e9eee333
JM
17588 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17589 with OVERFLOW_EXCEPTION.
17590 (exp10_test_data): Likewise.
17591 (exp2_test_data): Likewise.
17592 (expm1_test_data): Likewise.
17593 (lgamma_test_data): Likewise.
17594 (pow_test_data): Likewise.
17595 (tgamma_test_data): Likewise.
17596 (yn_test_data): Remove duplicate test of overflow.
17597
1c38ff73
JM
17598 * math/libm-test.inc (struct test_cc_c_data): New type.
17599 (RUN_TEST_LOOP_cc_c): New macro.
17600 (cpow_test_data): New variable.
17601 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17602
15c7c18d
JM
17603 * math/libm-test.inc (struct test_f_L_data): New type.
17604 (RUN_TEST_LOOP_f_L): New macro.
17605 (llrint_test_data): New variable.
17606 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17607 (llrint_tonearest_test_data): New variable.
17608 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17609 (llrint_towardzero_test_data): New variable.
17610 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17611 (llrint_downward_test_data): New variable.
17612 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17613 (llrint_upward_test_data): New variable.
17614 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17615 (llround_test_data): New variable.
17616 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17617
f137ff13
PC
176182013-05-13 Peter Collingbourne <pcc@google.com>
17619
17620 * math/atest-exp2.c (get_log2): Remove const attribute.
17621
3608cb24
JM
176222013-05-15 Joseph Myers <joseph@codesourcery.com>
17623
17624 * math/libm-test.inc (struct test_f_l_data): New type.
17625 (RUN_TEST_LOOP_f_l): New macro.
17626 (lrint_test_data): New variable.
17627 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17628 (lrint_tonearest_test_data): New variable.
17629 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17630 (lrint_towardzero_test_data): New variable.
17631 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17632 (lrint_downward_test_data): New variable.
17633 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17634 (lrint_upward_test_data): New variable.
17635 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17636 (lround_test_data): New variable.
17637 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17638
39b1f617
PC
176392013-05-15 Peter Collingbourne <pcc@google.com>
17640
1deff3dc
PC
17641 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17642 (EXTRACT_WORDS64) Use where appropriate.
17643 (INSERT_WORDS64) Likewise.
17644
791f3ba0
PC
17645 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17646 constraints with x constraints.
17647 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17648
39b1f617
PC
17649 * malloc/obstack.c (_obstack_compat): Add initializer.
17650
12fba011
EM
176512013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
17652
17653 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17654 si_trapno and add si_addr_lsb to _sifields.sigfault.
17655 (si_trapno): Remove macro.
17656 (si_addr_lsb): Define new macro.
17657 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17658
d369f531
JM
176592013-05-15 Joseph Myers <joseph@codesourcery.com>
17660
b861c6c4
JM
17661 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17662 instead of TEST_f_l.
17663 (llrint_test_tonearest): Likewise.
17664 (llrint_test_towardzero): Likewise.
17665 (llrint_test_downward): Likewise.
17666 (llrint_test_upward): Likewise.
17667 (llround_test): Likewise.
17668
7abeee12
JM
17669 * math/libm-test.inc (struct test_f_i_data): Add comment.
17670 (RUN_TEST_LOOP_f_b): New macro.
17671 (RUN_TEST_LOOP_f_b_tg): Likewise.
17672 (finite_test_data): New variable.
17673 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17674 (isfinite_test_data): New variable.
17675 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17676 (isinf_test_data): New variable.
17677 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17678 (isnan_test_data): New variable.
17679 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17680 (isnormal_test_data): New variable.
17681 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17682 (issignaling_test_data): New variable.
17683 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17684 (signbit_test_data): New variable.
17685 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17686
cbe8c4d3
JM
17687 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17688 with INVALID_EXCEPTION.
17689 (acosh_test_data): Likewise.
17690 (asin_test_data): Likewise.
17691 (atanh_test_data): Likewise.
17692 (fmod_test_data): Likewise.
17693 (log_test_data): Likewise.
17694 (log10_test_data): Likewise.
17695 (log2_test_data): Likewise.
17696 (pow_test_data): Likewise.
17697 (sqrt_test_data): Likewise.
17698 (y0_test_data): Likewise.
17699 (y1_test_data): Likewise.
17700 (yn_test_data): Likewise.
17701
5575c0e5
JM
17702 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17703 function contents.
17704
d369f531
JM
17705 * math/libm-test.inc (struct test_ff_i_data): New type.
17706 (RUN_TEST_LOOP_ff_i_tg): New macro.
17707 (isgreater_test_data): New variable.
17708 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17709 (isgreaterequal_test_data): New variable.
17710 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17711 (isless_test_data): New variable.
17712 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17713 (islessequal_test_data): New variable.
17714 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17715 (islessgreater_test_data): New variable.
17716 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17717 (isunordered_test_data): New variable.
17718 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17719
781fd748
DM
177202013-05-14 David S. Miller <davem@davemloft.net>
17721
17722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17723
87aa21df
JM
177242013-05-14 Joseph Myers <joseph@codesourcery.com>
17725
5e908270
JM
17726 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17727
f71172e5
JM
17728 * math/libm-test.inc (struct test_fF_f1_data): Change type of
17729 extra_test to int.
17730 (struct test_f_i_data): Change type of max_ulp to int.
17731
8cfa635a
JM
17732 * math/libm-test.inc (test_ffI_f1_data): New type.
17733 (RUN_TEST_LOOP_ffI_f1): New macro.
17734 (remquo_test_data): New variable.
17735 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17736
2bcb36b2
JM
17737 * setjmp/tst-setjmp-fp.c: New file.
17738 * setjmp/Makefile (tests): Add tst-setjmp-fp.
17739 (link-libm): New variable.
17740 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17741
acbd839a
JM
17742 * math/libm-test.inc (struct test_f_i_data): New type.
17743 (RUN_TEST_LOOP_f_i): New macro.
17744 (RUN_TEST_LOOP_f_i_tg): Likewise.
17745 (fpclassify_test_data): New variable.
17746 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17747 (ilogb_test_data): New variable.
17748 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17749
e414d745
JM
17750 * math/libm-test.inc (scalbln_test): Correct function name in END
17751 call.
17752
d9c2a0fd
JM
17753 * math/libm-test.inc (struct test_f_f1_data): Add comment.
17754 (RUN_TEST_LOOP_fI_f1): New macro.
17755 (frexp_test_data): New variable.
17756 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17757
9dc9095d
JM
17758 * math/libm-test.inc (struct test_fF_f1_data): New type.
17759 (RUN_TEST_LOOP_fF_f1): New macro.
17760 (modf_test_data): New variable.
17761 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17762
87aa21df
JM
17763 * math/libm-test.inc (struct test_f_f1_data): New type.
17764 (RUN_TEST_LOOP_f_f1): New macro.
17765 (gamma_test_data): New variable.
17766 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17767 (lgamma_test_data): New variable.
17768 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17769
141af660
CD
177702013-05-13 Carlos O'Donell <carlos@redhat.com>
17771
17772 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17773 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17774 (main): Comment "tls" pseudo-hwcap.
17775
6d33265c
JM
177762013-05-13 Joseph Myers <joseph@codesourcery.com>
17777
68fc074c
JM
17778 * math/libm-test.inc (struct test_fl_f_data): New type.
17779 (RUN_TEST_LOOP_fl_f): New variable.
17780 (scalbln_test_data): New variable.
17781 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17782
243216e1
JM
17783 * math/libm-test.inc (struct test_fi_f_data): New type.
17784 (RUN_TEST_LOOP_fi_f): New macro.
17785 (ldexp_test_data): New variable.
17786 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17787 (scalbn_test_data): New variable.
17788 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17789
6a1992e2
JM
17790 * math/libm-test.inc (struct test_c_f_data): New type.
17791 (RUN_TEST_LOOP_c_f): New macro.
17792 (cabs_test_data): New variable.
17793 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17794 (carg_test_data): New variable.
17795 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17796 (cimag_test_data): New variable.
17797 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17798 (creal_test_data): New variable.
17799 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17800
0e400df5
JM
17801 * math/libm-test.inc (struct test_if_f_data): New type.
17802 (RUN_TEST_LOOP_if_f): New macro.
17803 (jn_test_data): New variable.
17804 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17805 (yn_test_data): New variable.
17806 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17807
6d33265c
JM
17808 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17809
f98ece5f
AZ
178102013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17811
17812 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17813 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17814
0f7d347b
SP
178152013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17816
43fe811b
SP
17817 * benchtests/Makefile (CPPFLAGS-nonlib): Add
17818 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17819 (bench-deps): Add bench-timing.h.
17820 * benchtests-bench-skeleton.c: Include bench-timing.h.
17821 (main): Use TIMING_* macros instead of clock_gettime.
17822 * benchtests/bench-timing.h: New file.
17823
0f7d347b
SP
17824 [BZ #14582]
17825 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17826 Renamed from _LIB_VERSION.
17827 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17828
601a3a5f
JM
178292013-05-12 Joseph Myers <joseph@codesourcery.com>
17830
4f184d30
JM
17831 * math/libm-test.inc (struct test_fff_f_data): New type.
17832 (RUN_TEST_LOOP_fff_f): New macro.
17833 (fma_test_data): New variable.
17834 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17835 (fma_towardzero_test_data): New variable.
17836 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17837 (fma_downward_test_data): New variable.
17838 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17839 (fma_upward_test_data): New variable.
17840 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17841
08198877
JM
17842 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17843 (struct test_c_c_data): New type.
17844 (RUN_TEST_LOOP_c_c): New macro.
17845 (cacos_test_data): New variable.
17846 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17847 (cacosh_test_data): New variable.
17848 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17849 (casin_test_data): New variable.
17850 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17851 (casinh_test_data): New variable.
17852 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17853 (catan_test_data): New variable.
17854 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17855 (catanh_test_data): New variable.
17856 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17857 (ccos_test_data): New variable.
17858 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17859 (ccosh_test_data): New variable.
17860 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17861 (cexp_test_data): New variable.
17862 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17863 (clog_test_data): New variable.
17864 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17865 (clog10_test_data): New variable.
17866 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17867 (conj_test_data): New variable.
17868 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17869 (cproj_test_data): New variable.
17870 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17871 (csin_test_data): New variable.
17872 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17873 (csinh_test_data): New variable.
17874 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17875 (csqrt_test_data): New variable.
17876 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17877 (ctan_test_data): New variable.
17878 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17879 (ctan_tonearest_test_data): New variable.
17880 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17881 (ctan_towardzero_test_data): New variable.
17882 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17883 (ctan_downward_test_data): New variable.
17884 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17885 (ctan_upward_test_data): New variable.
17886 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17887 (ctanh_test_data): New variable.
17888 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17889 (ctanh_tonearest_test_data): New variable.
17890 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17891 (ctanh_towardzero_test_data): New variable.
17892 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17893 (ctanh_downward_test_data): New variable.
17894 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17895 (ctanh_upward_test_data): New variable.
17896 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17897 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17898 of BUILD_COMPLEX.
17899
601a3a5f
JM
17900 * math/libm-test.inc (struct test_ff_f_data): New type.
17901 (struct test_ff_f_data_nexttoward): Likewise.
17902 (RUN_TEST_LOOP_2_f): New macro.
17903 (RUN_TEST_LOOP_ff_f): Likewise.
17904 (atan2_test_data): New variable.
17905 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17906 (copysign_test_data): New variable.
17907 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17908 (fdim_test_data): New variable.
17909 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17910 (fmax_test_data): New variable.
17911 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17912 (fmin_test_data): New variable.
17913 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17914 (fmod_test_data): New variable.
17915 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17916 (hypot_test_data): New variable.
17917 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17918 (nextafter_test_data): New variable.
17919 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17920 (nexttoward_test_data): New variable.
17921 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17922 (pow_test_data): New variable.
17923 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17924 (pow_tonearest_test_data): New variable.
17925 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17926 (pow_towardzero_test_data): New variable.
17927 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17928 (pow_downward_test_data): New variable.
17929 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17930 (pow_upward_test_data): New variable.
17931 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17932 (remainder_test_data): New variable.
17933 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17934 (scalb_test_data): New variable.
17935 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17936 * sysdeps/i386/fpu/libm-test-ulps: Update.
17937
74c57478
JM
179382013-05-11 Joseph Myers <joseph@codesourcery.com>
17939
8329e4da
JM
17940 * math/libm-test.inc (fma_test): Use max_value instead of local
17941 variable fltmax.
17942 (nextafter_test): Likewise.
17943
74c57478
JM
17944 * math/libm-test.inc (acos_towardzero_test_data): New variable.
17945 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17946 (acos_downward_test_data): New variable.
17947 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17948 (acos_upward_test_data): New variable.
17949 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17950 (acosh_test_data): New variable.
17951 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17952 (asin_test_data): New variable.
17953 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17954 (asin_tonearest_test_data): New variable.
17955 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17956 (asin_towardzero_test_data): New variable.
17957 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17958 (asin_downward_test_data): New variable.
17959 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17960 (asin_upward_test_data): New variable.
17961 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17962 (asinh_test_data): New variable.
17963 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17964 (atan_test_data): New variable.
17965 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17966 (atanh_test_data): New variable.
17967 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17968 (cbrt_test_data): New variable.
17969 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17970 (ceil_test_data): New variable.
17971 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17972 (cos_test_data): New variable.
17973 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17974 (cos_tonearest_test_data): New variable.
17975 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17976 (cos_towardzero_test_data): New variable.
17977 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17978 (cos_downward_test_data): New variable.
17979 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17980 (cos_upward_test_data): New variable.
17981 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17982 (cosh_test_data): New variable.
17983 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17984 (cosh_tonearest_test_data): New variable.
17985 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17986 (cosh_towardzero_test_data): New variable.
17987 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17988 (cosh_downward_test_data): New variable.
17989 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17990 (cosh_upward_test_data): New variable.
17991 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17992 (erf_test_data): New variable.
17993 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17994 (erfc_test_data): New variable.
17995 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17996 (exp_test_data): New variable.
17997 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17998 (exp_tonearest_test_data): New variable.
17999 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18000 (exp_towardzero_test_data): New variable.
18001 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18002 (exp_downward_test_data): New variable.
18003 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18004 (exp_upward_test_data): New variable.
18005 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18006 (exp10_test_data): New variable.
18007 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
18008 (exp2_test_data): New variable.
18009 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
18010 (expm1_test_data): New variable.
18011 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
18012 (fabs_test_data): New variable.
18013 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18014 (floor_test_data): New variable.
18015 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18016 (j0_test_data): New variable.
18017 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18018 (j1_test_data): New variable.
18019 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18020 (log_test_data): New variable.
18021 (log_test): Run tests with RUN_TEST_LOOP_f_f.
18022 (log10_test_data): New variable.
18023 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18024 (log1p_test_data): New variable.
18025 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18026 (log2_test_data): New variable.
18027 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18028 (logb_test_data): New variable.
18029 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18030 (logb_downward_test_data): New variable.
18031 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18032 (nearbyint_test_data): New variable.
18033 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18034 (rint_test_data): New variable.
18035 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18036 (rint_tonearest_test_data): New variable.
18037 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18038 (rint_towardzero_test_data): New variable.
18039 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18040 (rint_downward_test_data): New variable.
18041 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18042 (rint_upward_test_data): New variable.
18043 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18044 (round_test_data): New variable.
18045 (round_test): Run tests with RUN_TEST_LOOP_f_f.
18046 (sin_test_data): New variable.
18047 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18048 (sin_tonearest_test_data): New variable.
18049 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18050 (sin_towardzero_test_data): New variable.
18051 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18052 (sin_downward_test_data): New variable.
18053 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18054 (sin_upward_test_data): New variable.
18055 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18056 (sinh_test_data): New variable.
18057 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18058 (sinh_tonearest_test_data): New variable.
18059 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18060 (sinh_towardzero_test_data): New variable.
18061 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18062 (sinh_downward_test_data): New variable.
18063 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18064 (sinh_upward_test_data): New variable.
18065 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18066 (sqrt_test_data): New variable.
18067 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18068 (tan_test_data): New variable.
18069 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18070 (tan_tonearest_test_data): New variable.
18071 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18072 (tan_towardzero_test_data): New variable.
18073 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18074 (tan_downward_test_data): New variable.
18075 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18076 (tan_upward_test_data): New variable.
18077 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18078 (tanh_test_data): New variable.
18079 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18080 (tgamma_test_data): New variable.
18081 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18082 (trunc_test_data): New variable.
18083 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18084 (y0_test_data): New variable.
18085 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18086 (y1_test_data): New variable.
18087 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18088 (significand_test_data): New variable.
18089 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18090
7187d844
CG
180912013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
18092
18093 [BZ #12387]
18094 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18095
f63fae73
PT
180962013-05-10 Pino Toscano <toscano.pino@tiscali.it>
18097
18098 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18099
8a67a4b3
AJ
181002013-05-10 Andreas Jaeger <aj@suse.de>
18101
18102 [BZ #15448]
18103 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18104 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18105
51df539d
JM
181062013-05-10 Joseph Myers <joseph@codesourcery.com>
18107
18108 * math/gen-libm-test.pl (adjust_arg): New function.
18109 (special_functions): Handle generating output in both functions
18110 and arrays.
18111 (parse_args): Likewise.
18112 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
18113 $in_func argument to parse_args.
18114 * math/libm-test.inc (struct test_f_f_data): New type.
18115 (IF_ROUND_INIT_): New macro.
18116 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18117 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18118 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18119 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18120 (ROUND_RESTORE_): Likewise.
18121 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18122 (ROUND_RESTORE_FE_TONEAREST): Likewise.
18123 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18124 (ROUND_RESTORE_FE_UPWARD): Likewise.
18125 (RUN_TEST_LOOP_f_f): New macro.
18126 (acos_test_data): New variable.
18127 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18128 (acos_tonearest_test_data): New variable.
18129 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18130
5c637fe5
SP
181312013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18132
18133 * benchtests/bench-skeleton.c (startup): Fix coding style.
18134
ab2b9461
JM
181352013-05-10 Joseph Myers <joseph@codesourcery.com>
18136
18137 [BZ #6809]
18138 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18139 negative infinity argument.
18140 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18141 negative infinity argument.
18142 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18143 negative infinity argument.
18144 * math/libm-test.inc (tgamma_test): Expect errno to be set for
18145 domain errors.
18146
4c0fe6fe
FW
181472013-05-10 Florian Weimer <fweimer@redhat.com>
18148
18149 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18150 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18151 * iconv/iconv_prog.c (main): Likewise.
18152 * locale/programs/charmap-dir.c (charmap_readdir)
18153 (fopen_uncompressed): Likewise.
18154 * locale/programs/locfile.c (siblings_uncached)
18155 (write_locale_data): Use lstat64 instead of lstat.
18156 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18157 stat.
18158
a3375d29
AJ
181592013-05-10 Andreas Jaeger <aj@suse.de>
18160
18161 [BZ #15395]
18162 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18163 localization.
18164 Include <locale.h>.
18165
36129722
CD
181662013-05-09 Carlos O'Donell <carlos@redhat.com>
18167
18168 * elf/dl-close.c (_dl_close_worker): Add comments.
18169
faa7f811
JM
181702013-05-09 Joseph Myers <joseph@codesourcery.com>
18171
ed41ffef
JM
18172 [BZ #15359]
18173 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18174 high part of pi/2.
18175 (__ieee754_rem_pio2l): Update comments.
18176
d0213cd0
JM
18177 [BZ #15429]
18178 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18179 high part of pi/2.
18180 (__ieee754_rem_pio2l): Update comments.
18181
0d3e777a
JM
18182 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18183 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18184
24f56066
JM
18185 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18186 M_PI_4l.
18187
faa7f811
JM
18188 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18189 (M_PI_34_LOG10El): Likewise.
18190 (M_PI2_LOG10El): Likewise.
18191 (M_PI4_LOG10El): Likewise.
18192 (M_PI_LOG10El): Likewise.
18193
e9a5e0fd
AZ
181942013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18195
18196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18197
d8cd06db
JM
181982013-05-08 Joseph Myers <joseph@codesourcery.com>
18199
a0d9f9d7
JM
18200 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18201 (MINUS_ZERO_INIT): Likewise.
18202 (PLUS_INFTY_INIT): Likewise.
18203 (MINUS_INFTY_INIT): Likewise.
18204 (QNAN_VALUE_INIT): Likewise.
18205 (MAX_VALUE_INIT): Likewise.
18206 (MIN_VALUE_INIT): Likewise.
18207 (MIN_SUBNORM_VALUE_INIT): Likewise.
18208 (plus_zero): Initialize with PLUS_ZERO_INIT.
18209 (minus_zero): Initialize with MINUS_ZERO_INIT.
18210 (plus_infty): Initialize with PLUS_INFTY_INIT.
18211 (minus_infty): Initialize with MINUS_INFTY_INIT.
18212 (qnan_value): Initialize with QNAN_VALUE_INIT.
18213 (max_value): Initialize with MAX_VALUE_INIT.
18214 (min_value): Initialize with MIN_VALUE_INIT.
18215 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18216
ae08db3b
JM
18217 * math/libm-test.inc (RUN_TEST_if_f): New macro.
18218 (jn_test): Use TEST_if_f instead of TEST_ff_f.
18219 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18220 (yn_test): Use TEST_if_f instead of TEST_ff_f.
18221
f44bf14a
JM
18222 * math/libm-test.inc (RUN_TEST_f_f): New macro.
18223 (RUN_TEST_2_f): Likewise.
18224 (RUN_TEST_ff_f): Likewise.
18225 (RUN_TEST_fi_f): Likewise.
18226 (RUN_TEST_fl_f): Likewise.
18227 (RUN_TEST_fff_f): Likewise.
18228 (RUN_TEST_c_f): Likewise.
18229 (RUN_TEST_f_f1): Likewise.
18230 (RUN_TEST_fF_f1): Likewise.
18231 (RUN_TEST_fI_f1): Likewise.
18232 (RUN_TEST_ffI_f1): Likewise.
18233 (RUN_TEST_c_c): Likewise.
18234 (RUN_TEST_cc_c): Likewise.
18235 (RUN_TEST_f_i): Likewise.
18236 (RUN_TEST_f_i_tg): Likewise.
18237 (RUN_TEST_ff_i_tg): Likewise.
18238 (RUN_TEST_f_b): Likewise.
18239 (RUN_TEST_f_b_tg): Likewise.
18240 (RUN_TEST_f_l): Likewise.
18241 (RUN_TEST_f_L): Likewise.
18242 (RUN_TEST_sincos): Likewise.
18243 * math/gen-libm-test.pl (new_test): Take new argument to indicate
18244 whether to show exceptions. Do not include ");\n" in return
18245 value.
18246 (special_functions): Output call to RUN_TEST_sincos instead of
18247 check_float calls. Update calls to new_test.
18248 (parse_args): Output call to single RUN_TEST_* macro instead of
18249 check_* calls and other assignments. Update calls to new_test.
18250
d8cd06db
JM
18251 [BZ #2546]
18252 [BZ #2560]
18253 [BZ #5159]
18254 [BZ #15426]
18255 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18256 input to result for tgamma overflow.
18257 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18258 (gamma_coeff): New variable.
18259 (NCOEFF): New macro.
18260 (gamma_positive): New function.
18261 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18262 underflow here. Use gamma_positive instead of exp (lgamma) for
18263 other arguments.
18264 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18265 (gamma_coeff): New variable.
18266 (NCOEFF): New macro.
18267 (gammaf_positive): New function.
18268 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18269 underflow here. Use gamma_positive instead of exp (lgamma) for
18270 other arguments.
18271 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18272 (gamma_coeff): New variable.
18273 (NCOEFF): New macro.
18274 (gammal_positive): New function.
18275 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18276 underflow here. Use gamma_positive instead of exp (lgamma) for
18277 other arguments.
18278 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18279 (gamma_coeff): New variable.
18280 (NCOEFF): New macro.
18281 (gammal_positive): New function.
18282 (__ieee754_gammal_r): Handle positive infinity, overflow and
18283 underflow here. Handle NaN the same as positive infinity. Remove
18284 check x < 0xffffffff for negative integers. Use gamma_positive
18285 instead of exp (lgamma) for other arguments.
18286 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18287 (gamma_coeff): New variable.
18288 (NCOEFF): New macro.
18289 (gammal_positive): New function.
18290 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18291 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18292 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18293 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18294 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18295 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18296 * sysdeps/generic/math_private.h (__gamma_productf): New
18297 prototype.
18298 (__gamma_product): Likewise.
18299 (__gamma_productl): Likewise.
18300 * math/Makefile (libm-calls): Add gamma_product.
18301 * math/libm-test.inc (tgamma_test): Add more tests.
18302 * sysdeps/i386/fpu/libm-test-ulps: Update.
18303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18304
bb7cf681
OB
183052013-05-08 Ondřej Bílka <neleai@seznam.cz>
18306
18307 * benchtests/bench-skeleton.c (main): Preheat CPU.
18308
ba853947
AJ
183092013-05-07 Aurelien Jarno <aurelien@aurel32.net>
18310
18311 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18312
8347c74c
RM
183132013-05-07 Roland McGrath <roland@hack.frob.com>
18314
18315 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18316 and _dl_skip_args_internal.
18317
e8dd4791
CD
183182013-05-07 Carlos O'Donell <carlos@redhat.com>
18319
18320 * manual/message.texi (Message Translation): Talk about users.
18321 Message to key mapping impacts design.
18322
c7405830
RM
183232013-05-06 Roland McGrath <roland@hack.frob.com>
18324
a9173057
RM
18325 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18326
976e2f03
RM
18327 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18328
9723ffc5
RM
18329 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18330 * sysdeps/wordsize-64/glob64.c: ... here.
18331
962e6658
RM
18332 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18333 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18334 New macros.
18335
ee586a6d
RM
18336 * debug/getlogin_r_chk.c: Moved to ...
18337 * login/getlogin_r_chk.c: ... here.
18338 * debug/Makefile (routines): Move getlogin_r_chk to ...
18339 * login/Makefile (routines): ... here.
18340 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18341 * login/Versions (libc: GLIBC_2.4): ... here.
18342
355f9165
RM
18343 * io/poll.c (__poll): Renamed from poll.
18344 Add libc_hidden_def.
18345 (poll): Define as weak alias.
18346
bd9ffde6
RM
18347 * debug/ptsname_r_chk.c: Moved to ...
18348 * login/ptsname_r_chk.c: ... here.
18349 * debug/Makefile (routines): Move ptsname_r_chk to ...
18350 * login/Makefile (routines): ... here.
18351 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18352 * login/Versions (libc: GLIBC_2.4): ... here.
18353
8fb16a04
RM
18354 * posix/getlogin.c: Moved to ...
18355 * login/getlogin.c: ... here.
18356 * posix/getlogin_r.c: Moved to ...
18357 * login/getlogin_r.c: ... here.
18358 * posix/getlogin_r.c: Moved to ...
18359 * login/getlogin_r.c: ... here.
18360 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18361 * login/Makefile (routines): ... here.
18362 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18363 * login/Versions (libc: GLIBC_2.0): ... here.
18364
b99b892f
RM
18365 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18366 (setrlimit): Define as weak alias.
18367
c7405830
RM
18368 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18369 Call __ names for open, ftruncate, and close.
18370 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18371 (truncate): Define as weak alias.
18372
5bf96de5
JM
183732013-05-06 Joseph Myers <joseph@codesourcery.com>
18374
9ea3513c
JM
18375 * math/gen-libm-test.pl (parse_args): Initialize x before each
18376 test of frexp, modf and remquo.
18377
5bf96de5
JM
18378 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18379 test signgam value.
18380
16e616a7
AZ
183812013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18382
18383 [BZ #15418]
18384 [BZ #15419]
18385 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18386 internal tests.
18387 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18388
d5e82754
RM
183892013-05-06 Roland McGrath <roland@hack.frob.com>
18390
18391 * elf/dl-writev.h: New file.
18392 * elf/dl-misc.c: Include it.
18393 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18394 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18395
a7548d41
JM
183962013-05-04 Joseph Myers <joseph@codesourcery.com>
18397
b7dab1e4
JM
18398 * math/libm-test.inc (noXFails): Remove variable.
18399 (noXPasses): Likewise.
18400 (BUILD_COMPLEX_INT): Remove macro.
18401 (print_screen): Remove xfail argument.
18402 (print_screen_max_error): Likewise.
18403 (update_stats): Likewise.
18404 (print_max_error): Likewise. Update calls to other affected
18405 functions.
18406 (print_complex_max_error): Likewise.
18407 (test_single_exception): Update calls to print_screen.
18408 (test_single_errno): Likewise.
18409 (check_float_internal): Remove xfail argument. Update calls to
18410 other affected functions.
18411 (check_float): Likewise.
18412 (check_complex): Likewise.
18413 (check_int): Likewise.
18414 (check_long): Likewise.
18415 (check_bool): Likewise.
18416 (check_longlong): Likewise.
18417 (main): Don't print noXFails and noXPasses.
18418 * math/gen-libm-test.pl (top level): Don't mention expected
18419 failure handling in comment.
18420 (new_test): Don't handle expected failures.
18421 (parse_args): Don't mention expected failure handling in comment.
18422 (generate_testfile): Don't handle expected failures.
18423 (parse_ulps): Likewise.
18424 (print_ulps_file): Likewise.
18425 (get_failure): Remove function.
18426 (output_test): Don't handle expected failures.
18427 * make/README.libm-test: Don't mention expected failure handling.
18428
a7548d41
JM
18429 * math/libm-test.inc (plus_zero): Make const. Add initializer.
18430 (minus_zero): Likewise.
18431 (plus_infty): Likewise.
18432 (minus_infty): Likewise.
18433 (qnan_value): Likewise.
18434 (max_value): Likewise.
18435 (min_value): Likewise.
18436 (min_subnorm_value): Likewise.
18437 (initialize): Do not initialize those variables dynamically.
18438
60bfd54c
RM
184392013-05-03 Roland McGrath <roland@hack.frob.com>
18440
cc0e6ed8
RM
18441 * io/open.c (__open_2): Moved to ...
18442 * io/open_2.c: ... this new file.
18443 * io/open64.c (__open64_2): Moved to ...
18444 * io/open64_2.c: ... this new file.
18445 * io/openat.c (__openat_2): Moved to ...
18446 * io/openat_2.c: ... this new file.
18447 * io/openat64.c (__openat64_2): Moved to ...
18448 * io/openat64_2.c: ... this new file.
18449 * io/Makefile (routines): Add them.
18450 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18451 * sysdeps/unix/sysv/linux/open_2.c: File removed.
18452 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18453 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18454 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18455 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18456 (__openat64): Add hidden_ver.
18457 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18458 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18459
60bfd54c
RM
18460 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18461 Separately conditionalize setting of GLRO(dl_sysinfo) so
18462 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18463 as well, but the actual setting is only under [NEED_DL_SYSINFO].
18464
83e7640f
AZ
184652013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18466
18467 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18468 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18469 definition.
18470 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18471 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18472 (_libc_vdso_platform_setup): Add __vdso_time initialization.
18473 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18474 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18475
d5dc2af3
JM
184762013-05-03 Joseph Myers <joseph@codesourcery.com>
18477
c31a5b1e
JM
18478 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18479 test signgam value.
18480
d5dc2af3
JM
18481 * math/libm-test.inc (hypot_test): Do not use
18482 IGNORE_ZERO_INF_SIGN.
18483
164fd39d
AJ
184842013-05-03 Andreas Jaeger <aj@suse.de>
18485
18486 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18487 Linux 3.9.
18488 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18489 (PF_MAX): Adjust for VSOCK change.
18490
8237f48c
AZ
184912013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18492
18493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18494
9df02941
CD
184952013-05-02 Carlos O'Donell <carlos@redhat.com>
18496
18497 [BZ #15264]
18498 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18499 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18500 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18501
d422395e
DM
185022013-05-02 David S. Miller <davem@davemloft.net>
18503
18504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18505
a07c5731
OB
185062013-05-01 Ondřej Bílka <neleai@seznam.cz>
18507
18508 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18509
1324e37f
RM
185102013-05-01 Roland McGrath <roland@hack.frob.com>
18511
18512 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18513
0695940b
RS
185142013-05-01 Richard Smith <richard@metafoo.co.uk>
18515
bb5f27ad 18516 [BZ #14952]
0695940b
RS
18517 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18518 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18519 Use __attribute__ ((__gnu_inline__)).
18520 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18521 Don't use __attribute__ ((__gnu_inline__)).
18522
10de07f5
JM
185232013-05-01 Joseph Myers <joseph@codesourcery.com>
18524
18525 [BZ #15423]
18526 * math/s_catan.c (__catan): Handle small real or imaginary part of
18527 input specially to avoid spurious underflow.
18528 * math/s_catanf.c (__catanf): Likewise.
18529 * math/s_catanh.c (__catanh): Likewise.
18530 * math/s_catanhf.c (__catanhf): Likewise.
18531 * math/s_catanhl.c (__catanhl): Likewise.
18532 * math/s_catanl.c (__catanl): Likewise.
18533 * math/libm-test.inc (catan_test): Add more tests.
18534 (catanh_test): Likewise.
18535 * sysdeps/i386/fpu/libm-test-ulps: Update.
18536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18537
cb4d5414
AZ
185382013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18539
18540 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18541
caf84319
JM
185422013-04-30 Joseph Myers <joseph@codesourcery.com>
18543
18544 [BZ #15416]
18545 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18546 accurately for denominator in atan2.
18547 * math/s_catanf.c (__catanf): Likewise.
18548 * math/s_catanh.c (__catanh): Likewise.
18549 * math/s_catanhf.c (__catanhf): Likewise.
18550 * math/s_catanhl.c (__catanhl): Likewise.
18551 * math/s_catanl.c (__catanl): Likewise.
18552 * math/libm-test.inc (catan_test): Add more tests.
18553 (catanh_test): Likewise.
18554 * sysdeps/i386/fpu/libm-test-ulps: Update.
18555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18556
d569c6ee
SP
185572013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18558
6dbe713d
SP
18559 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18560
f0ee064b
SP
18561 * benchtests/Makefile (bench): Remove slow benchmarks.
18562 * benchtests/atan-inputs: Add slow benchmark inputs.
18563 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18564 (BENCH_FUNC): Accept variant offset.
18565 (VARIANT): Define.
18566 * benchtests/bench-skeleton.c (main): Run benchmark for each
18567 variant.
18568 * benchtests/cos-inputs: Add slow benchmark inputs.
18569 * benchtests/exp-inputs: Likewise.
18570 * benchtests/pow-inputs: Likewise.
18571 * benchtests/sin-inputs: Likewise.
18572 * benchtests/slowatan-inputs: Remove.
18573 * benchtests/slowatan.c: Remove.
18574 * benchtests/slowcos-inputs: Remove.
18575 * benchtests/slowcos.c: Remove.
18576 * benchtests/slowexp-inputs: Remove.
18577 * benchtests/slowexp.c: Remove.
18578 * benchtests/slowpow-inputs: Remove.
18579 * benchtests/slowpow.c: Remove.
18580 * benchtests/slowsin-inputs: Remove.
18581 * benchtests/slowsin.c: Remove.
18582 * benchtests/slowtan-inputs: Remove.
18583 * benchtests/slowtan.c: Remove.
18584 * benchtests/tan-inputs: Add slow benchmark inputs.
18585 * scripts/bench.pl: Parse comments and directives.
18586
d569c6ee
SP
18587 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
18588 in CPPFLAGS.
18589 ($(objpfx)bench-%.c): Remove *-ITER.
18590 * benchtests/bench-modf.c: Remove definition of ITER.
18591 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18592 (main): Loop for DURATION seconds instead of fixed number of
18593 iterations.
18594 * scripts/bench.pl: Don't expect iterations in parameters.
18595
a6a242fe
RM
185962013-04-29 Roland McGrath <roland@hack.frob.com>
18597
18598 * io/fchdir.c (__fchdir): Renamed from fchdir.
18599 (fchdir): Define as weak alias.
18600
f2da7793
JM
186012013-04-29 Joseph Myers <joseph@codesourcery.com>
18602
18603 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18604 (ERRNO_EDOM): Likewise.
18605 (ERRNO_ERANGE): Likewise.
18606 (noErrnoTests): New variable.
18607 (init_max_error): Set errno to 0.
18608 (test_single_errno): New function.
18609 (test_errno): Likewise.
18610 (check_float_internal): Call test_errno. Set errno to 0.
18611 (check_complex): Refer to errno tests in comment.
18612 (check_int): Call test_errno. Set errno to 0.
18613 (check_long): Likewise.
18614 (check_bool): Likewise.
18615 (check_longlong): Likewise.
18616 (cos_test): Use ERRNO_* flags for errno tests instead of
18617 check_int.
18618 (expm1_test): Likewise.
18619 (fmod_test): Likewise.
18620 (ilogb_test): Likewise.
18621 (lgamma_test): Likewise.
18622 (pow_test): Likewise.
18623 (remainder_test): Likewise.
18624 (sin_test): Likewise.
18625 (tan_test): Likewise.
18626 (yn_test): Likewise.
18627 (initialize): Set errno to 0.
18628 (main): Print number of errno tests.
18629 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18630
b1a36ceb
AJ
186312013-04-29 Andreas Jaeger <aj@suse.de>
18632
c3ed8088
AJ
18633 [BZ #15084]
18634 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18635 and RES_USEVC.
18636
f1a24198
AJ
18637 [BZ #15085]
18638 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18639 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18640 unimplemented.
18641
9ce3b2cb
AJ
18642 [BZ #15380]
18643 * stdlib/random.c (__initstate): Return NULL if
18644 __initstate fails.
18645
f1a24198 18646 [BZ #15086]
b1a36ceb
AJ
18647 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18648 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18649 RES_SNGLKUPREOP.
18650
7e7b6f36
AZ
186512013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18652
18653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18654
4d14f449
JM
186552013-04-29 Joseph Myers <joseph@codesourcery.com>
18656
18657 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18658 of individual tests.
18659 (casin_test): Likewise.
18660 (casinh_test): Likewise.
18661
5b4217d7
JM
186622013-04-27 Joseph Myers <joseph@codesourcery.com>
18663
18664 [BZ #15409]
18665 * math/s_catan.c (__catan): Handle arguments with large real or
18666 imaginary part separately without squaring.
18667 * math/s_catanf.c (__catanf): Likewise.
18668 * math/s_catanh.c (__catanh): Likewise.
18669 * math/s_catanhf.c (__catanhf): Likewise.
18670 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18671 and redefine.
18672 (__catanhl): Handle arguments with large real or imaginary part
18673 separately without squaring.
18674 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18675 and redefine.
18676 (__catanl): Handle arguments with large real or imaginary part
18677 separately without squaring.
18678 * math/libm-test.inc (catan_test): Add more tests.
18679 (catanh_test): Likewise.
18680 * sysdeps/i386/fpu/libm-test-ulps: Update.
18681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18682
4220c3ef
AJ
186832013-04-27 Andreas Jaeger <aj@suse.de>
18684
18685 [BZ #15007]
18686 * stdlib/stdlib.h: Update guards for qecvt.
18687 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18688 <stdlib.h>.
18689
4721b2d1
AM
186902013-04-27 Allan McRae <allan@archlinux.org>
18691
18692 * sysdeps/i386/fpu/libm-test-ulps: Update.
18693
f0302940
JM
186942013-04-26 Joseph Myers <joseph@codesourcery.com>
18695
9457fd95
JM
18696 [BZ #15406]
18697 * math/s_catan.c: Include <float.h>.
18698 (__catan): Ensure underflow exception occurs for underflowed
18699 result.
18700 * math/s_catanf.c: Include <float.h>.
18701 (__catanf): Ensure underflow exception occurs for underflowed
18702 result.
18703 * math/s_catanh.c: Include <float.h>.
18704 (__catanh): Ensure underflow exception occurs for underflowed
18705 result.
18706 * math/s_catanhf.c: Include <float.h>.
18707 (__catanhf): Ensure underflow exception occurs for underflowed
18708 result.
18709 * math/s_catanhl.c: Include <float.h>.
18710 (__catanhl): Ensure underflow exception occurs for underflowed
18711 result.
18712 * math/s_catanl.c: Include <float.h>.
18713 (__catanl): Ensure underflow exception occurs for underflowed
18714 result.
18715 * math/libm-test.inc (catan_test): Add more tests.
18716 (catanh_test): Likewise.
18717
f0302940
JM
18718 [BZ #15405]
18719 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18720 underflowed result.
18721 * math/s_ccoshf.c (__ccoshf): Likewise.
18722 * math/s_ccoshl.c (__ccoshl): Likewise.
18723 * math/s_csin.c (__csin): Likewise.
18724 * math/s_csinf.c (__csinf): Likewise.
18725 * math/s_csinh.c (__csinh): Likewise.
18726 * math/s_csinhf.c (__csinhf): Likewise.
18727 * math/s_csinhl.c (__csinhl): Likewise.
18728 * math/s_csinl.c (__csinl): Likewise.
18729 * math/libm-test.inc (ccos_test): Add more tests.
18730 (ccosh_test): Likewise.
18731 (csin_test): Likewise.
18732 (csinh_test): Likewise.
18733
aa630f59
AZ
187342013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18735
18736 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18737 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18738 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18739 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18740 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18741 powerpc/power5+/fpu folders.
18742 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18743
18744
1b835983
MT
187452013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18746
18747 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18748
73709b26
JM
187492013-04-25 Joseph Myers <joseph@codesourcery.com>
18750
18751 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18752 additions to variable.
18753 [$(config-machine) = x86_64] (modules-names): Likewise.
18754 ($(objpfx)tst-audit3): Remove dependency.
18755 ($(objpfx)tst-audit3.out): Likewise.
18756 ($(objpfx)tst-audit4): Likewise.
18757 ($(objpfx)tst-audit4.out): Likewise.
18758 ($(objpfx)tst-audit5): Likewise.
18759 ($(objpfx)tst-audit5.out): Likewise.
18760 ($(objpfx)tst-audit6): Likewise.
18761 ($(objpfx)tst-audit6.out): Likewise.
18762 ($(objpfx)tst-audit7): Likewise.
18763 ($(objpfx)tst-audit7.out): Likewise.
18764 (tst-audit3-ENV): Remove variable.
18765 (tst-audit4-ENV): Likewise.
18766 (tst-audit5-ENV): Likewise.
18767 (tst-audit6-ENV): Likewise.
18768 (tst-audit7-ENV): Likewise.
18769 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18770 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18771 addition to variable.
18772 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18773 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18774 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18775 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18776 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18777 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18778 tst-audit3, tst-audit4 and tst-audit5.
18779 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18780 tst-audit6 and tst-audit7.
18781 [$(subdir) = elf] (modules-names): Add audit modules for those
18782 tests.
18783 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18784 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18785 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18786 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18787 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18788 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18789 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18790 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18791 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18792 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18793 [$(subdir) = elf] (tst-audit3-ENV): New variable.
18794 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18795 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18796 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18797 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18798 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18799 Likewise.
18800 [$(subdir) = elf && $(config-cflags-avx) = yes]
18801 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18802 [$(subdir) = elf && $(config-cflags-avx) = yes]
18803 (CFLAGS-tst-auditmod4a.c): Likewise.
18804 [$(subdir) = elf && $(config-cflags-avx) = yes]
18805 (CFLAGS-tst-auditmod4b.c): Likewise.
18806 [$(subdir) = elf && $(config-cflags-avx) = yes]
18807 (CFLAGS-tst-auditmod6b.c): Likewise.
18808 [$(subdir) = elf && $(config-cflags-avx) = yes]
18809 (CFLAGS-tst-auditmod6c.c): Likewise.
18810 [$(subdir) = elf && $(config-cflags-avx) = yes]
18811 (CFLAGS-tst-auditmod7b.c): Likewise.
18812 * elf/tst-audit3.c: Move to ...
18813 * sysdeps/x86_64/tst-audit3.c: ... here.
18814 * elf/tst-audit4.c: Move to ...
18815 * sysdeps/x86_64/tst-audit4.c: ... here.
18816 * elf/tst-audit5.c: Move to ...
18817 * sysdeps/x86_64/tst-audit5.c: ... here.
18818 * elf/tst-audit6.c: Move to ...
18819 * sysdeps/x86_64/tst-audit6.c: ... here.
18820 * elf/tst-audit7.c: Move to ...
18821 * sysdeps/x86_64/tst-audit7.c: ... here.
18822 * elf/tst-auditmod3a.c: Move to ...
18823 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18824 * elf/tst-auditmod3b.c: Move to ...
18825 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18826 * elf/tst-auditmod4a.c: Move to ...
18827 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18828 * elf/tst-auditmod4b.c: Move to ...
18829 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18830 * elf/tst-auditmod5a.c: Move to ...
18831 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18832 * elf/tst-auditmod5b.c: Move to ...
18833 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18834 * elf/tst-auditmod6a.c: Move to ...
18835 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18836 * elf/tst-auditmod6b.c: Move to ...
18837 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18838 * elf/tst-auditmod6c.c: Move to ...
18839 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18840 * elf/tst-auditmod7a.c: Move to ...
18841 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18842 * elf/tst-auditmod7b.c: Move to ...
18843 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18844
1ef74943
PP
188452013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
18846
18847 [BZ #15366]
18848 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18849 define unconditionally.
18850 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18851 define unconditionally.
18852 (INT8_C, INT16_C, etc.): Likewise.
18853
93fd48c5
MR
188542013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
18855
ae9552cf
MR
18856 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18857 __ehdr_start with hidden visibility.
18858
93fd48c5
MR
18859 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18860
418601aa
CD
188612013-04-24 Carlos O'Donell <carlos@redhat.com>
18862
18863 * math/libm-test.inc (cos_test): Use accurate hex constants.
18864 (sincost_test): Likewise.
18865
2f38fbfe
JM
188662013-04-24 Joseph Myers <joseph@codesourcery.com>
18867
5e221800
JM
18868 * math/libm-test.inc (catan_test): Add more tests.
18869 (catanh_test): Likewise.
18870
77f143fd
JM
18871 * math/s_catanf.c (__catanf): Use suffixed floating-point
18872 constants.
18873 * math/s_catanhf.c (__catanhf): Likewise.
18874 * math/s_catanhl.c (__catanhl): Likewise.
18875 * math/s_catanl.c (__catanl): Likewise.
18876
2f38fbfe
JM
18877 [BZ #15394]
18878 * math/s_catan.c (__catan): Calculate imaginary part of result
18879 with log1p not log unless computing log of number close to 0.
18880 * math/s_catanf.c (__catanf): Likewise.
18881 * math/s_catanl.c (__catanl): Likewise.
18882 * math/s_catanh.c (__catanh): Calculate real part of result with
18883 log1p not log unless computing log of number close to 0.
18884 * math/s_catanhf.c (__catanhf): Likewise.
18885 * math/s_catanhl.c (__catanhl): Likewise.
18886 * math/libm-test.inc (catan_test): Add more tests.
18887 (catanh_test): Likewise.
18888 * sysdeps/i386/fpu/libm-test-ulps: Update.
18889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18890
45d69176
SP
188912013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18892
18893 * benchtests/Makefile: Mention files in which fast and slow
18894 paths of math functions are implemented.
18895
87f51853
RM
188962013-04-23 Roland McGrath <roland@hack.frob.com>
18897
18898 * sysdeps/posix/timespec_get.c: New file.
18899
3c026539
AZ
189002013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18901
18902 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18903 POWER.
18904 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18905 for POWER.
18906 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18907 powerpc/power5/fpu folders.
18908 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18909 * benchtests/Makefile: Add modf testcase.
18910 * benchtests/bench-modf.c: New file: Benchmark test for mo
18911
ff491d14
SP
189122013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18913
18914 [BZ #14888]
18915 * time/Makefile (tests): Add tst-strptime-whitespace.
18916 * time/strptime_l.c (get_number): Use ISSPACE.
18917 (__strptime_internal): Likewise.
18918 * time/tst-strptime-whitespace.c: New test case.
18919
7ed3f4e8
AS
189202013-04-23 Andreas Schwab <schwab@linux-m68k.org>
18921
18922 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18923 member.
18924 (_nss_files_init): Set it here.
18925
5c95f7b6
HC
189262013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
18927
18928 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18929 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18930 unsigned.
18931
d34c9158
JBG
189322013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
18933
18934 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18935
2169712d
SP
189362013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18937
18938 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18939 size just once.
18940
29c5de99
DM
189412013-04-21 David S. Miller <davem@davemloft.net>
18942
18943 * po/ru.po: Update Russion translation from translation project.
18944
ccdad15d
AC
189452013-04-17 Adam Conrad <adconrad@0c3.net>
18946
18947 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18948 and setfsgid.
18949
0f122b8d
CD
189502013-04-17 Carlos O'Donell <carlos@redhat.com>
18951
5c5b07da 18952 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 18953 * configure: Regenerate.
5c5b07da 18954 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
18955 Add example to error message.
18956 * sysdeps/i386/configure: Regenerate.
18957
037714dd
SP
189582013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18959
18960 * benchtests/Makefile (bench): Add cos, tan, slowcos and
18961 slowtan.
18962 * benchtests/cos-inputs: New file.
18963 * benchtests/slowcos-inputs: New file.
18964 * benchtests/slowcos.c: New file.
18965 * benchtests/slowtan-inputs: New file.
18966 * benchtests/slowtan.c: New file.
18967 * benchtests/tan-inputs: New file.
18968
e913141d
RM
189692013-04-16 Roland McGrath <roland@hack.frob.com>
18970
18971 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18972 considered kosher.
18973
a2964074
SP
189742013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18975
4856bcd2
SP
18976 * benchtests/Makefile: Include cppflags-iterator.mk to add
18977 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18978
a2964074
SP
18979 * Makefile.in (bench-clean): New target.
18980 * benchtests/Makefile (bench-clean): Likewise.
18981
9fbf9aca
DH
189822013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
18983
18984 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18985
207d1e2a
TS
189862013-04-15 Thomas Schwinge <thomas@codesourcery.com>
18987
18988 * stdio-common/tstdiomisc.c: Fix coding-style violation.
18989
306dfba9
AS
189902013-04-15 Andreas Schwab <schwab@suse.de>
18991
18992 * nscd/grpcache.c (cache_addgr): Properly check for short write.
18993 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18994 * nscd/pwdcache.c (cache_addpw): Likewise.
18995 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
18996 more than recsize.
18997
206a6699
SP
189982013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18999
19000 * benchtests/Makefile (bench): Write all output to
19001 bench-out.tmp together.
19002
0582f6b3
AS
190032013-04-15 Andreas Schwab <schwab@suse.de>
19004
19005 * nscd/nscd.c (main): Don't fork again after closing files.
19006
acb4325f
SP
190072013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19008
5cb26d0a
SP
19009 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
19010
acb4325f
SP
19011 * benchtests/Rules (bench-deps): Collect dependencies into a
19012 single variable. Add Makefile to dependencies.
19013 ($(objpfx)bench-%.c): Depend on bench-deps.
19014
47792506
RM
190152013-04-12 Roland McGrath <roland@hack.frob.com>
19016 Xavier Roche <roche+kml2@exalead.com>
19017
19018 [BZ #15361]
19019 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19020 just that it's a file descriptor.
19021 * manual/llio.texi (Synchronizing AIO Operations): Update description
19022 for EBADF error from aio_fsync.
19023
8fc1bee5
SP
190242013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19025
19026 * Rules (bench): Move target definition...
19027 * benchtests/Makefile: ... here.
19028
aba5e333
CD
190292013-04-11 Carlos O'Donell <carlos@redhat.com>
19030
19031 * math/libm-test.inc (cos_test): Fix PI/2 test.
19032 (sincos_test): Likewise.
19033 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19034 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19035
273cdee8
AS
190362013-04-11 Andreas Schwab <schwab@suse.de>
19037
6ecec3b6
AS
19038 [BZ #13988]
19039 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19040 accept exponent character only when digits were seen.
19041 * stdio-common/Makefile (tests): Add bug26.
19042 * stdio-common/bug26.c: New file.
19043
273cdee8
AS
19044 [BZ #14293]
19045 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19046 non-freeable.
19047
8da491f5
SP
190482013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19049
01dc6df9
SP
19050 * Makeconfig (rtld-prefix): Define built linker prefix.
19051 * Rules (run-bench): Use it.
19052 * math/Makefile (run-regen-ulps): Likewise.
19053
8da491f5
SP
19054 * Rules (bench): Remove eval.
19055
abe7f530
SP
190562013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19057 Roland McGrath <roland@hack.frob.com>
19058 Ondrej Bilka <neleai@seznam.cz>
19059
19060 [BZ #15346]
19061 * time/getdate.c: Include ctype.h and alloca.h.
19062 (__getdate_r): Trim leading and trailing spaces of input.
19063 * time/tst-getdate.c (tests): Add tests with leading and
19064 trailing spaces.
19065
61c23e62
RM
190662013-04-08 Roland McGrath <roland@hack.frob.com>
19067
19068 [BZ #14280]
19069 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19070 when computing value.
19071
7208a313
CD
190722013-04-06 Carlos O'Donell <carlos@redhat.com>
19073
085b2d41
CD
19074 * math/README.libm-test (How can I generate "libm-test-ulps"?):
19075 Use testrun.sh to run libm tests.
19076
7208a313
CD
19077 [BZ #15309]
19078 * elf/dl-open.c (dl_open_worker): memset all of seen array.
19079
872c0acd
MM
190802013-04-06 Marko Myllynen <myllynen@redhat.com>
19081
19082 [BZ #15264]
19083 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19084
26510bdd
CD
190852013-04-06 Carlos O'Donell <carlos@redhat.com>
19086
19087 * Makefile.in (regen-ulps): New target.
19088 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19089 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19090 [ifneq (no,$(PERL)] (regen-ulps): New target.
19091 [ifeq (no,$(PERL)] (regen-ulps): New target.
19092 * math/libm-test.inc (ulps_file_name): Define.
19093 (output_dir): New variable.
19094 (options): Add "output-dir" option.
19095 (parse_opt): Handle 'o' case.
19096 (main): If output_dir is non-NULL use it as a prefix
19097 otherwise use "".
19098 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19099
a01f19c8
CD
191002013-04-06 Carlos O'Donell <carlos@redhat.com>
19101
19102 [BZ #10060, #10062]
19103 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19104 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19105 fail configure if __sync_val_compare_and_swap is not inlined.
19106 * sysdeps/i386/configure: Regenerate.
19107 * configure.in: Build for i686 when configured for i386.
19108 * configure: Regenerate.
19109 * README: Remove i386 reference.
19110
b7a329a5
CD
191112013-04-06 Carlos O'Donell <carlos@redhat.com>
19112
19113 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19114 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19115
bf0f50df
TS
191162013-04-05 Thomas Schwinge <thomas@codesourcery.com>
19117
ee091edf
TS
19118 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19119 (lmsnanval): New variables.
19120 (F): Add conversion tests.
19121 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19122 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19123
a8b792d6
TS
19124 * stdio-common/tstdiomisc.c (F): Properly collect individual
19125 tests' results.
19126
a1cbf437
TS
19127 [BZ #14686, #15336]
19128 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19129 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19130 Instead, use input NaN values or generate a qNaN by arithmetic
19131 operation. Also fix bugs to comply with the standard.
19132 * math/libm-test.inc (remainder_test): Add more tests.
19133
8b43a0c9
TS
19134 [BZ #15335, #15342]
19135 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19136 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19137 input NaN values or generate a qNaN by arithmetic operation.
19138
d91da4ce
TS
19139 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19140 unreachable code.
19141
bf0f50df
TS
19142 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19143 definitions.
19144
05e166c8
JM
191452013-04-03 Joseph Myers <joseph@codesourcery.com>
19146
19147 [BZ #14478]
19148 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19149 underflowed result.
19150 * math/s_cexpf.c (__cexpf): Likewise.
19151 * math/s_cexpl.c (__cexpl): Likewise.
19152 * math/libm-test.inc (cexp_test): Add more tests.
19153
1cef1b19
AS
191542013-04-03 Andreas Schwab <schwab@suse.de>
19155
19156 [BZ #15330]
19157 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19158 order arrays from heap if bigger than alloca cutoff.
19159
74d87055
TS
191602013-04-03 Thomas Schwinge <thomas@codesourcery.com>
19161
19162 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19163 (SNAN_TESTS_double): Refer to GCC PR56831.
19164 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19165 GCC PR56828.
19166
d755bba4
SP
191672013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19168
90d5d5bb
SP
19169 * Rules (bench): Move bench.out after the run is complete.
19170
73e0cd5d
SP
19171 * Rules (bench): Echo currently running benchmark.
19172
64aabd4b
SP
19173 * benchtests/Makefile (bench): Add atan and slowatan.
19174 * benchtests/atan-inputs: New file.
19175 * benchtests/slowatan-inputs: New file.
19176 * benchtests/slowatan.c: New file.
19177
c871eccd
SP
19178 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19179 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19180 its value.
19181
d755bba4
SP
19182 [BZ #15305]
19183 * sysdeps/unix/sysv/linux/kernel-features.h
19184 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19185 __ASSUME_XFS_RESTRICTED_CHOWN.
19186 * sysdeps/unix/sysv/linux/pathconf.c
19187 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19188 Save and restore errno.
19189
52ce4860
JM
191902013-04-02 Joseph Myers <joseph@codesourcery.com>
19191
19192 [BZ #15327]
19193 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19194 arguments using __kernel_casinh.
19195 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19196 arguments using __kernel_casinhf.
19197 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19198 arguments using __kernel_casinhl.
19199 * math/libm-test.inc (cacosh_test): Add more tests.
19200 * sysdeps/i386/fpu/libm-test-ulps: Update.
19201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19202
81f311c2
SP
192032013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19204
e7906a47
SP
19205 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19206 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19207
92e3664b
SP
19208 * bench/Makefile (bench): Add sin and slowsin.
19209 * benchtests/sin-inputs: New file.
19210 * benchtests/slowsin-inputs: New file.
19211 * benchtests/slowsin.c: New file.
19212
81f311c2
SP
19213 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19214 (bench): Add slowexp and slowpow.
19215 (exp-ITER): Increase iterations.
19216 (pow-ITER): Likewise.
19217 * benchtests/exp-inputs: Change input.
19218 * benchtests/pow-inputs: Likewise.
19219 * benchtests/slowexp-inputs: New file.
19220 * benchtests/slowexp.c: New file.
19221 * benchtests/slowpow-inputs: New file.
19222 * benchtests/slowpow.c: New file.
19223
ab0f1aa9
AZ
192242013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19225
19226 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19227 instructions.
19228 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19229 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19230 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19231 * benchtests/Makefile: Add rint benchtest.
19232 * benchtests/rint-inputs: Input for rint benchtest.
19233
57267616
TS
192342013-04-02 Thomas Schwinge <thomas@codesourcery.com>
19235
19236 * Versions.def (libm): Add GLIBC_2.18.
19237 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19238 hidden libm prototypes.
19239 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19240 * math/Makefile (libm-calls): Add s_issignaling.
19241 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19242 __issignalingf, __issignalingl. Adjust all libm.abilist files.
19243 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19244 declaration.
19245 * math/math.h [__USE_GNU] (issignaling): New macro.
19246 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19247 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19248 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19249 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19250 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19251 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19252 * manual/arith.texi (issignaling): New section.
19253 * manual/libm-err-tab.pl (@all_functions): Update comment.
19254 * math/gen-libm-test.pl (parse_args): Apply special handling for
19255 issignaling.
19256 * math/libm-test.inc (print_float, issignaling_test): New
19257 functions.
19258 (check_float_internal): Add issignaling checks.
19259 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19260 default definition.
19261 * sysdeps/powerpc/math-tests.h: New file.
19262 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19263 tests.
19264 * math/test-snan.c (TEST_FUNC): Likewise.
19265
6142896d
DM
192662013-03-30 David S. Miller <davem@davemloft.net>
19267
19268 * po/de.po: Update from translation team.
19269
ccc8cadf
JM
192702013-03-30 Joseph Myers <joseph@codesourcery.com>
19271
19272 [BZ #10357]
19273 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19274 imaginary part less than 1.0 and real part less than 0.5
19275 specially.
19276 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19277 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19278 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19279 (cacos_test): Add more tests.
19280 (casin_test): Likewise.
19281 (casinh_test): Likewise.
19282 * sysdeps/i386/fpu/libm-test-ulps: Update.
19283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19284
0f6a8d4b
SP
192852013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19286
0d1029de
SP
19287 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19288 ONE with its value.
19289
c2d94018
SP
19290 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19291 (__pow_mp): Replace ONE and MONE with their values.
19292 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19293 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19294 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19295 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19296 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19297 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19298
27ec37f1
SP
19299 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19300
a64d7e0e
SP
19301 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19302 (__pow_mp): Replace ZERO and MZERO with their values.
19303 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19304 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19305 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19306 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19307 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19308 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19309 (__sqr): Likewise.
19310
d26dd3eb
SP
19311 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19312
0f6a8d4b
SP
19313 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19314
e57b0c61
RM
193152013-03-28 Roland McGrath <roland@hack.frob.com>
19316
19317 * include/stdlib.h [!SHARED] (__call_tls_dtors):
19318 Declare with __attribute__ ((weak)).
19319 * stdlib/exit.c (__libc_atexit) [!SHARED]:
19320 Call __call_tls_dtors only if it's not NULL.
19321
356b3480
RM
193222013-03-28 Roland McGrath <roland@hack.frob.com>
19323
288f7d79
RM
19324 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19325 didn't do it already, then set _dl_phdr and _dl_phnum based on the
19326 magic __ehdr_start linker symbol if it's defined.
19327 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19328 them up here if it was already done.
19329
dc0a0263
RM
19330 * elf/dl-support.c (_dl_phdr): Make pointer to const.
19331 (_dl_aux_init): Use const in cast when setting it.
19332 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19333 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19334 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19335
3d3436ae
RM
19336 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19337 Declare them here.
19338 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19339 * csu/libc-tls.c: Nor here.
19340 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19341
356b3480
RM
19342 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19343 (__libc_message): Never call vsyslog.
19344
b0f1246a
AM
193452013-03-28 Alan Modra <amodra@gmail.com>
19346
19347 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19348 Define as empty.
19349 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19350 Likewise.
19351
fbbe2b9a
AZ
193522013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19353
19354 [BZ #15214]
19355 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19356 underflow.
19357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19358
1728ab37
SP
193592013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19360
7a86be6e
SP
19361 [BZ #15304]
19362 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19363 Don't add gid passed as argument.
19364
1728ab37
SP
19365 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19366
3a7182a1
JM
193672013-03-27 Joseph Myers <joseph@codesourcery.com>
19368
19369 [BZ #15307]
19370 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19371 imaginary part between 1.0 and 1.5 and real part less than 0.5
19372 specially.
19373 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19374 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19375 * math/libm-test.inc (cacos_test): Add more tests.
19376 (casin_test): Likewise.
19377 (casinh_test): Likewise.
19378 * sysdeps/i386/fpu/libm-test-ulps: Update.
19379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19380
6f2e90e7
SP
193812013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19382
5739f705
SP
19383 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19384 constants.
19385 (norm): Likewise.
19386 (denorm): Likewise.
19387 (__dbl_mp): Likewise.
19388 (add_magnitudes): Likewise.
19389 (sub_magnitudes): Likewise.
19390 (__add): Likewise.
19391 (__sub): Likewise.
19392 (__mul): Likewise.
19393 (__sqr): Likewise.
19394 (__inv): Likewise.
19395 (__dvd): Likewise.
19396
e375e83d
SP
19397 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19398 commented code.
19399 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19400 (__dubcos): Likewise.
19401 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19402 (__ieee754_acos): Likewise.
19403 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19404 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19405 (__exp1): Likewise.
19406 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19407 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19408 (log1): Likewise.
19409 (my_log2): Likewise.
19410 (checkint): Likewise.
19411 * sysdeps/ieee754/dbl-64/e_remainder.c
19412 (__ieee754_remainder): Likewise.
19413 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19414 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19415 (bsloww): Likewise.
19416 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19417
6f2e90e7
SP
19418 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19419 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19420 MANTISSA_STORE_T to store computations on mantissa. Use
19421 macros for rounding and division.
19422 (denorm): Likewise.
19423 (__dbl_mp): Likewise.
19424 (add_magnitudes): Likewise.
19425 (sub_magnitudes): Likewise.
19426 (__mul): Likewise.
19427 (__sqr): Likewise.
19428 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19429 powers of two in terms of TWOPOW macro.
19430 (mp_no): Make type of mantissa as MANTISSA_T.
19431 [!RADIXI]: Define RADIXI.
19432 [!TWO52]: Define TWO52.
19433 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19434
fce14d4e
AZ
194352013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19436
19437 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19438 llroundl symbol when building for PPC32.
19439
9ad027fb
MW
194402013-03-24 Mark H Weaver <mhw@netris.org>
19441
19442 * manual/arith.texi (Normalization Functions): Fix prototypes for
19443 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19444
e42a38dd
AZ
194452013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19446
19447 [BZ #13889]
19448 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19449 high value to check if expl overflow.
19450 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19451 to check for underflow and overflow.
19452 * math/libm-test.inc: Add exp test.
19453
2e0fb521
DL
194542013-03-21 Dmitry V. Levin <ldv@altlinux.org>
19455
19456 [BZ #11120]
19457 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19458 with NOT_IN_libc.
19459
b5784d95
AZ
194602013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19461
19462 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19463 symbol.
19464
5aa4a1a1
TS
194652013-03-21 Thomas Schwinge <thomas@codesourcery.com>
19466
bdef0be7
TS
19467 * math/gen-libm-test.pl (parse_args, special_functions): Properly
19468 wrap blocks consisting of several statements.
19469
5aa4a1a1
TS
19470 * sysdeps/generic/math-tests.h: New file.
19471 * sysdeps/i386/fpu/math-tests.h: Likewise.
19472 * math/test-snan.c: Include it.
19473 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19474
98c48fe5
JM
194752013-03-21 Joseph Myers <joseph@codesourcery.com>
19476
19477 [BZ #15285]
19478 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19479 (__ieee754_j0l): Do not improve calculations using cos of twice
19480 input for inputs above LDBL_MAX / 2.0L.
19481 (__ieee754_y0l): Likewise.
19482 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19483 (__ieee754_j1l): Do not improve calculations using cos of twice
19484 input for inputs above LDBL_MAX / 2.0L.
19485 (__ieee754_y1l): Likewise.
19486 * math/libm-test.inc (j0_test): Add another test.
19487 (j1_test): Likewise.
19488 (y0_test): Likewise.
19489 (y1_test): Likewise.
19490 * sysdeps/i386/fpu/libm-test-ulps: Update.
19491
3775a8bc
SP
194922013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19493
19494 * Rules ($(objpfx)bench-%.c): Include code from a C source
19495 file.
19496
0a1b2ae6
JM
194972013-03-21 Joseph Myers <joseph@codesourcery.com>
19498
19499 [BZ #15287]
19500 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19501 imaginary part 1.0 and real part less than 0.5 specially.
19502 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19503 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19504 * math/libm-test.inc (cacos_test): Add more tests.
19505 (casin_test): Likewise.
19506 (casinh_test): Likewise.
19507 * sysdeps/i386/fpu/libm-test-ulps: Update.
19508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19509
b33d4ce4
SP
195102013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19511
19512 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19513 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19514
bef0b507
JM
195152013-03-20 Joseph Myers <joseph@codesourcery.com>
19516
19517 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19518 * config.make.in (config-cflags-sse4): Remove variable.
19519 (config-cflags-avx): Likewise.
19520 (config-cflags-sse2avx): Likewise.
19521 (config-cflags-novzeroupper): Likewise.
19522 (config-asflags-i686): Likewise.
19523 (have-mfma4): Likewise.
19524 (have-as-vis3): Likewise.
19525 (MIG): Likewise.
19526 * configure.in (MIG): Do not AC_SUBST.
19527 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19528 (libc_cv_cc_sse4): Do not AC_SUBST.
19529 (libc_cv_cc_avx): Likewise.
19530 (libc_cv_cc_sse2avx): Likewise.
19531 (libc_cv_cc_novzeroupper): Likewise.
19532 (libc_cv_cc_fma4): Likewise.
19533 (libc_cv_as_i686): Likewise.
19534 (libc_cv_sparc_as_vis3): Likewise.
19535 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19536 LIBC_CONFIG_VAR.
19537 (config-asflags-i686): Likewise.
19538 (config-cflags-avx): Likewise.
19539 (config-cflags-sse2avx): Likewise.
19540 (have-mfma4): Likewise.
19541 (config-cflags-novzeroupper): Likewise.
19542 * sysdeps/mach/configure.in (MIG): Likewise.
19543 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19544 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19545 LIBC_CONFIG_VAR.
19546 (config-cflags-avx): Likewise.
19547 (config-cflags-sse2avx): Likewise.
19548 (have-mfma4): Likewise.
19549 (config-cflags-novzeroupper): Likewise.
19550 * configure: Regenerated.
19551 * sysdeps/i386/configure: Likewise.
19552 * sysdeps/mach/configure: Likewise.
19553 * sysdeps/sparc/configure: Likewise.
19554 * sysdeps/x86_64/configure: Likewise.
19555
912cc4b3
RM
195562013-03-20 Roland McGrath <roland@hack.frob.com>
19557
19558 [BZ #14812]
19559 * locale/programs/localedef.c (options): Put N_ translation marker
19560 on argument names, not just descriptions.
19561
04eed2b0
MS
195622013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19563
19564 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19565
a065ceff
OB
195662013-03-20 Ondřej Bílka <neleai@seznam.cz>
19567
9bb2a810 19568 [BZ #14176]
a065ceff
OB
19569 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19570
a600e5ce
RM
195712013-03-19 Roland McGrath <roland@hack.frob.com>
19572
19573 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19574 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19575 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19576 [!BEFORE_ABORT] (before_abort): New function.
19577 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19578 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19579 (writev_for_fatal): New function.
19580 (WRITEV_FOR_FATAL): New macro; call that.
19581 (backtrace_and_maps): New function.
19582 (BEFORE_ABORT): New macro; call that.
19583 (struct str_list): Type removed.
19584 (__libc_message, __libc_fatal): Functions removed.
19585 Include <sysdeps/posix/libc_fatal.c> instead.
19586
6b18bea6
JM
195872013-03-19 Joseph Myers <joseph@codesourcery.com>
19588
19589 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19590 constants.
19591 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19592 double constants.
19593
aaa8cb4b
AS
195942013-03-19 Andreas Schwab <schwab@suse.de>
19595
44673770
AS
19596 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19597 * sysdeps/gnu/configure: Regenerate.
19598
aaa8cb4b
AS
19599 * configure.in: Substitute libc_cv_rtlddir.
19600 * configure: Regenerate.
19601 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19602 * Makeconfig (rtlddir, inst_rtlddir): New variables.
19603 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19604 * elf/Makefile (install-others, CFLAGS-interp.c)
19605 (ldso_install, common-ldd-rewrite): Likewise.
19606 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19607 $(inst_slibdir)/$(rtld-installed-name).
19608 * scripts/rellns-sh: Add -p option.
19609 * Makerules (make-shlib-link): Use rellns-sh to get relative name
19610 for source.
19611
d3cfc668
SP
196122013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19613
19614 * manual/nptl.texi: Renamed to ...
19615 * manual/threads.texi: ... this.
19616 * manual/Makefile (chapters): Update.
19617
0e2b9cdd
RM
196182013-03-18 Roland McGrath <roland@hack.frob.com>
19619
19620 [BZ #14812]
19621 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19622 on argument names, not just descriptions.
0e2b9cdd
RM
19623 * malloc/memusagestat.c (options): Likewise.
19624 * nss/getent.c (options): Likewise.
63270c24
RM
19625
196262013-03-18 Benno Schulenberg <bensberg@justemail.net>
19627
19628 [BZ #14812]
19629 * iconv/iconv_prog.c (options): Put N_ translation marker
19630 on argument names, not just descriptions.
19631 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 19632
b2e1393c
OB
196332013-03-18 Ondrej Bilka <neleai@seznam.cz>
19634
19635 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19636 implementation which is faster on all x86_64 architectures.
19637 Tested on AMD, Intel Nehalem, SNB, IVB.
19638 * sysdeps/x86_64/strnlen.S: Likewise.
19639
19640 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19641 Remove all multiarch strlen and strnlen versions.
19642 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19643 Remove strlen and strnlen related parts.
19644
19645 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19646 Inline strlen part.
19647 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19648
19649 * sysdeps/x86_64/multiarch/strlen.S: Remove.
19650 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19651 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19652 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19653 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19654 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19655
ec4ff04d
CD
196562013-03-17 Carlos O'Donell <carlos@redhat.com>
19657
19658 * manual/memory.texi (Malloc Tunable Parameters):
19659 Sort parameters alphabetically. Add comments for missing entries.
19660
cd18e90a
DM
196612013-03-17 David S. Miller <davem@davemloft.net>
19662
19663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19664
2a185d32
JM
196652013-03-16 Joseph Myers <joseph@codesourcery.com>
19666
d2f9799e
JM
19667 [BZ #15283]
19668 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19669 for arguments at most half maximum finite value.
19670 * math/libm-test.inc (j0_test): Add more tests.
19671 (j1_test): Likewise.
19672 (y0_test): Likewise.
19673 (y1_test): Likewise.
19674 * sysdeps/i386/fpu/libm-test-ulps: Update.
19675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19676
2a185d32
JM
19677 [BZ #14155]
19678 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19679 1 / x and functions P and Q for arguments above 0x1p256L.
19680 (__ieee754_y0l): Likewise.
19681 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19682 (__ieee754_y1l): Likewise.
19683 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19684 (j1_test): Likewise.
19685 (y0_test): Likewise.
19686 (y1_test): Likewise.
19687
6cbec759
TS
196882013-03-16 Thomas Schwinge <thomas@codesourcery.com>
19689
19690 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19691 variable.
19692
bc16e260
RM
196932013-03-15 Roland McGrath <roland@hack.frob.com>
19694
aefc9b8c
RM
19695 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19696 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19697 zero since it's initialized to EXEC_PAGESIZE.
19698
bc16e260
RM
19699 * sysdeps/unix/sysv/linux/ldsodefs.h
19700 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19701 * sysdeps/generic/ldsodefs.h: ... here.
19702
a57da955
TS
197032013-03-15 Thomas Schwinge <thomas@codesourcery.com>
19704
af00a34d
TS
19705 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19706
495ded2c
TS
19707 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19708 math/test-snan.c.
19709 * math/test-snan.c: Renamed from
19710 sysdeps/powerpc/fpu/test-powerpc-snan.c.
19711 * math/Makefile (tests): Add test-snan.
19712 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19713 test-powerpc-snan.
19714
777b0332
TS
19715 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19716 SUFFIX. Initialize qNaN_var with __builtin_nan family of
19717 functions.
19718 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
19719 __builtin_nan family of functions.
19720 * math/libm-test.inc (initialize): Initialize qnan_value with
19721 __builtin_nan family of functions.
19722 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19723 Remove variables.
19724 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19725 Remove functions.
19726 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
19727 storage class. Initialize qNaN_var and sNaN_var with
19728 __builtin_nan and __builtin_nans families of functions,
19729 respectively.
19730
64d063b8
TS
19731 * math/libm-test.inc (acosh_test): Also test with qNaN input.
19732 (sqrt_test): Remove duplicate test with qNaN input.
19733 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19734 (round_test, signbit_test, significand_test): Note missing +/-Inf
19735 as well as qNaN tests.
19736
67e971f1
TS
19737 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19738 qNaN_var. Fix a few strings, too.
19739 * math/libm-test.inc (nan_value): Rename to qnan_value.
19740 * math/gen-libm-test.pl (%beautify): Adjust to that.
19741 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19742 * math/test-misc.c (main): Likewise.
19743 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19744 to __qnan_bytes, and __qnan_union, respectively.
19745 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19746 Likewise.
19747 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19748 and lqnanval, respectively.
19749 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19750 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19751 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19752 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19753
64487e12
TS
19754 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19755 * math/test-misc.c (main) [__x86_64__]: Enable test for long
19756 doubles.
19757
e015e27b
TS
19758 * math/test-misc.c (main): Fix copy'n'pastos.
19759 * misc/tst-efgcvt.c (special): Likewise.
19760
a57da955
TS
19761 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19762 Remove declarations.
19763
1e380345
SP
197642013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19765
19766 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19767 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19768 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19769 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19770
ef26eece
AZ
197712013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19772
19773 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19774 macro to return vdso values correctly in IFUNC implementations.
19775 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19776 Optimization by using IFUNC.
19777
8cfdb7e0
SP
197782013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19779 Richard Henderson <rth@redhat.com>
19780 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19781
19782 * Makefile.in (bench): New target.
19783 * NEWS: Mention the benchmark framework.
19784 * Rules (bench): Likewise.
19785 (binaries-bench): Generate binaries for functions to
19786 benchmark.
19787 * benchtests/Makefile: New makefile for benchmark tests.
19788 * benchtests/bench-skeleton.c: New skeleton file for benchmark
19789 programs.
19790 * benchtests/exp-inputs: New input file for EXP function.
19791 * benchtests/pow-inputs: New input file for POW function.
19792 * scripts/bench.pl: New script to generate source files for
19793 benchmark programs.
19794
bcda9880
SP
197952013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19796
d22ca8cd
SP
19797 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19798 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19799 computations on mantissa. Use macros for rounding and
19800 division.
19801 (denorm): Likewise.
19802 (__dbl_mp): Likewise.
19803 (add_magnitudes): Likewise.
19804 (sub_magnitudes): Likewise.
19805 (__mul): Likewise.
19806 (__sqr): Likewise.
19807 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19808 powers of two in terms of TWOPOW macro.
19809 (mp_no): Make type of mantissa as MANTISSA_T.
19810 [!RADIXI]: Define RADIXI.
19811 [!TWO52]: Define TWO52.
19812 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19813
bcda9880
SP
19814 * manual/nptl.texi (cindex): Modify threads to pthreads.
19815
06d5adfb
JM
198162013-03-15 Joseph Myers <joseph@codesourcery.com>
19817
19818 * sysdeps/x86_64/preconfigure: Regenerated.
19819
41c7328e
JM
198202013-03-14 Joseph Myers <joseph@codesourcery.com>
19821
19822 [BZ #14155]
19823 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19824 0x1p28 and above.
19825 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19826 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19827 0x1p28 and above.
19828 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19829 * math/libm-test.inc (j0_test): Do not allow one spurious
19830 underflow exception.
19831 (y1_test): Likewise.
19832
e25cfa60
SP
198332013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19834
0409959c
SP
19835 * manual/Makefile (chapters): Add nptl.
19836 * manual/debug.texi (Debugging Support): Add link to Threads
19837 chapter.
19838 * manual/nptl.texi: New file.
19839
e25cfa60
SP
19840 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19841
58a1335e
PB
198422013-03-14 Petr Baudis <pasky@ucw.cz>
19843
19844 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19845 for non-NULL pointer before the memory validity test. Pointed
19846 out by Holger Brunck <holger.brunck@keymile.com>.
19847
9dc7c64f
AS
198482013-03-13 Andreas Schwab <schwab@suse.de>
19849
19850 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19851 instead of .os.
19852
54206aa6
JM
198532013-03-13 Joseph Myers <joseph@codesourcery.com>
19854
19855 * timezone/zic.c: Update from tzcode 2013b.
19856
e98cdb38
CD
198572013-03-12 Carlos O'Donell <carlos@redhat.com>
19858
19859 * manual/install.texi (Configuring and compiling):
19860 Mention i686 and i586.
19861 * INSTALL: Regenerate.
19862
9967e003
RM
198632013-03-12 Roland McGrath <roland@hack.frob.com>
19864
19865 * sysdeps/init_array/elf-init.c: New file.
19866 * csu/elf-init.c
19867 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19868 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19869
19870 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19871 __gmon_start__ as global, but as static with a .preinit_array pointer.
19872 * sysdeps/init_array/gmon-start.c: New file. Use that.
19873 * sysdeps/init_array/crti.S: New file, empty except for comments.
19874 * sysdeps/init_array/crtn.S: Likewise.
19875
e6b5a293 198762013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
19877
19878 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19879 definining bcopy.
80f844c9
OB
19880 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19881 Remove Prefer_SSE_for_memop.
19882 * sysdeps/x86_64/multiarch/init-arch.h: Remove
19883 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19884 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
19885 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19886 memset-x86-64.
80f844c9 19887 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 19888 Remove bzero, memset ifunc support.
80f844c9
OB
19889 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19890 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19891 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19892 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19893
fb6b0fcb
AS
198942013-03-11 Andreas Schwab <schwab@suse.de>
19895
19896 [BZ #15234]
19897 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19898 by SHLIB_COMPAT.
19899 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19900 (GLIBC_2.16): Remove pthread_atfork.
19901
3e6bd4b1
PP
199022013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
19903
19904 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19905 (ptestcases.h): Likewise.
19906
222d7f00
RM
199072013-03-08 Roland McGrath <roland@hack.frob.com>
19908
19909 * Makeconfig ($(common-objpfx)config.status): Depend on
19910 sysdeps/*/preconfigure{,.in} too.
19911
1ba4f030
JM
199122013-03-08 Joseph Myers <joseph@codesourcery.com>
19913
a222d91a
JM
19914 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19915 (__free_hook): Use void * instead of __malloc_ptr_t.
19916 (__malloc_hook): Likewise.
19917 (__realloc_hook): Likewise.
19918 (__memalign_hook): Likewise.
19919 (__after_morecore_hook): Likewise.
19920 * malloc/arena.c (save_malloc_hook): Likewise.
19921 (save_free_hook): Likewise.
19922 * malloc/hooks.c (malloc_hook_ini): Likewise.
19923 (realloc_hook_ini): Likewise.
19924 (memalign_hook_ini): Likewise.
19925 * malloc/malloc.c (malloc_hook_ini): Likewise.
19926 (realloc_hook_ini): Likewise.
19927 (memalign_hook_ini): Likewise.
19928 (__free_hook): Likewise.
19929 (__malloc_hook): Likewise.
19930 (__realloc_hook): Likewise.
19931 (__memalign_hook): Likewise.
19932 (__libc_malloc): Likewise.
19933 (__libc_free): Likewise.
19934 (__libc_realloc): Likewise.
19935 (__libc_memalign): Likewise.
19936 (__libc_valloc): Likewise.
19937 (__libc_pvalloc): Likewise.
19938 (__libc_calloc): Likewise.
19939 (__posix_memalign): Likewise.
19940 * malloc/morecore.c (__sbrk): Likewise.
19941 (__default_morecore): Likewise.
19942
5cc45e10
JM
19943 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19944
dd54b864
JM
19945 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19946 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19947 __malloc_ptrdiff_t.
19948
1ba4f030
JM
19949 * malloc/malloc.h (__malloc_size_t): Remove macro.
19950 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19951 __malloc_size_t.
19952 (old_memalign_hook): Likewise.
19953 (old_realloc_hook): Likewise.
19954 (struct hdr): Likewise.
19955 (flood): Likewise.
19956 (mallochook): Likewise.
19957 (memalignhook): Likewise.
19958 (reallochook): Likewise.
19959 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19960 (tr_old_realloc_hook): Likewise.
19961 (tr_old_memalign_hook): Likewise.
19962 (tr_mallochook): Likewise.
19963 (tr_reallochook): Likewise.
19964 (tr_memalignhook): Likewise.
19965
edf66e57
AZ
199662013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19967
19968 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19969 default_ldbl_pack and using as default implementation.
19970 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19971 implementation.
19972 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19973 redundant definition.
19974 (ldbl_insert_mantissa): Likewise.
19975 (ldbl_canonicalize): Likewise.
19976 (ldbl_nearbyint): Likewise.
19977 (ldbl_pack): Rename to ldbl_pack_ppc.
19978 (ldbl_unpack): Rename to ldbl_unpack_ppc.
19979 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19980 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19981
6d9145d8
SP
199822013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19983
19984 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19985 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19986 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19987 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19988 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19989 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19990 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19991 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19992
4dd4e157
AJ
199932013-03-07 Andreas Jaeger <aj@suse.de>
19994
19995 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19996 bits/mman-linux.h.
19997
adbb8027
SP
199982013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19999
ce544b5b
SP
20000 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
20001 Include mpa.h and declare __MPEXP.
20002 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
20003 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20004 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20005 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
20006 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20007 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20008 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
20009
4cc149fd
SP
20010 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
20011 (__slowpow): Use long double EXPL and LOGL functions to
20012 compute POW.
20013 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20014 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20015 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20016 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20017 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20018 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20019
e6ebd4a7
SP
20020 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20021 intermediate variable to calculate exponent.
20022 (__sqr): Likewise.
20023 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20024 Likewise.
20025 (__sqr): Likewise.
20026
82a9811d
SP
20027 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20028 [!NO__SQR]: Define __sqr.
20029 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20030 and NO__SQR. Remove all code except __mul and __sqr. Include
20031 sysdeps/ieee754/dbl-64/mpa.c.
20032 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20033
adbb8027
SP
20034 [BZ #12723]
20035 * posix/Makefile (tests): Add tst-pathconf.
20036 * posix/tst-pathconf.c: New test case.
20037 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20038 _PC_PIPE_BUF.
20039 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20040
39120df9
PF
200412013-03-06 Patsy Franklin <pfrankli@redhat.com>
20042
20043 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20044
67525cb8
AJ
200452013-03-06 Andreas Jaeger <aj@suse.de>
20046
664a9ce4
AJ
20047 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20048 definition via __MAP_ANONYMOUS.
20049
8e39047d
AJ
20050 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20051 it's not part of Linux headers.
20052
67525cb8
AJ
20053 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20054 (MAP_HUGE_MASK): Define.
20055
20056 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20057 Define.
20058 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20059 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20060 Define.
20061 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20062 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20063 Define.
20064 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20065 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20066 Define.
20067 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20068
20069 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20070 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20071 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20072 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20073 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20074 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20075
20076 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20077 Handle f2fs.
20078
20079 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20080 Handle f2fs and efivarfs.
20081
20082 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20083 f2fs.
20084
20085 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20086 (EFIVARFS_MAGIC): Add.
20087 (F2FS_LINK_MAX): Add.
20088
e1b42695
PP
200892013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20090
20091 * stdio-common/vfprintf.c: Replace __builtin_expect with
20092 __glibc_unlikely.
20093
2d67d91a
JM
200942013-03-06 Joseph Myers <joseph@codesourcery.com>
20095
20096 [BZ #13550]
20097 * sysdeps/generic/bp-sym.h: Remove file.
20098 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20099 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20100 <bp-sym.h> and <bp-asm.h>.
20101 (__longjmp): Don't use BP_SYM.
20102 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20103 and <bp-asm.h>.
20104 (memcpy): Don't use BP_SYM.
20105 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20106 <bp-sym.h> and <bp-asm.h>.
20107 (memcpy): Don't use BP_SYM.
20108 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20109 <bp-asm.h>.
20110 (memcpy): Don't use BP_SYM.
20111 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20112 <bp-asm.h>.
20113 (memset): Don't use BP_SYM.
20114 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20115 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20116 (__bzero): Don't use BP_SYM.
20117 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20118 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20119 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20120 <bp-sym.h> and <bp-asm.h>.
20121 (memcmp): Don't use BP_SYM. Remove comment about bounded
20122 pointers.
20123 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20124 <bp-sym.h> and <bp-asm.h>.
20125 (memcpy): Don't use BP_SYM.
20126 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20127 <bp-sym.h> and <bp-asm.h>.
20128 (memset): Don't use BP_SYM.
20129 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20130 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20131 (__bzero): Don't use BP_SYM.
20132 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20133 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20134 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20135 <bp-sym.h> and <bp-asm.h>.
20136 (strncmp): Don't use BP_SYM. Remove comment about bounded
20137 pointers.
20138 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20139 <bp-sym.h> and <bp-asm.h>.
20140 (memcpy): Don't use BP_SYM.
20141 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20142 <bp-sym.h> and <bp-asm.h>.
20143 (memset): Don't use BP_SYM.
20144 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20145 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20146 (__bzero): Don't use BP_SYM.
20147 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20148 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20149 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20150 <bp-sym.h> and <bp-asm.h>.
20151 (__memchr): Don't use BP_SYM.
20152 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20153 <bp-sym.h> and <bp-asm.h>.
20154 (memcmp): Don't use BP_SYM. Remove comment about bounded
20155 pointers.
20156 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20157 <bp-sym.h> and <bp-asm.h>.
20158 (memcpy): Don't use BP_SYM.
20159 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20160 <bp-sym.h> and <bp-asm.h>.
20161 (__mempcpy): Don't use BP_SYM.
20162 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20163 <bp-sym.h> and <bp-asm.h>.
20164 (__memrchr): Don't use BP_SYM.
20165 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20166 <bp-sym.h> and <bp-asm.h>.
20167 (memset): Don't use BP_SYM.
20168 (__bzero): Likewise.
20169 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20170 <bp-sym.h> and <bp-asm.h>.
20171 (__rawmemchr): Don't use BP_SYM.
20172 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20173 <bp-sym.h> and <bp-asm.h>.
20174 (__STRCMP): Don't use BP_SYM.
20175 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20176 <bp-sym.h> and <bp-asm.h>.
20177 (strchr): Don't use BP_SYM.
20178 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20179 <bp-sym.h> and <bp-asm.h>.
20180 (__strchrnul): Don't use BP_SYM.
20181 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20182 <bp-sym.h> and <bp-asm.h>.
20183 (strlen): Don't use BP_SYM.
20184 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20185 <bp-sym.h> and <bp-asm.h>.
20186 (strncmp): Don't use BP_SYM. Remove comment about bounded
20187 pointers.
20188 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20189 <bp-sym.h> and <bp-asm.h>.
20190 (__strnlen): Don't use BP_SYM.
20191 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20192 <bp-sym.h> and <bp-asm.h>.
20193 (__GI__setjmp): Don't use BP_SYM.
20194 (_setjmp): Likewise.
20195 (__sigsetjmp): Likewise.
20196 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20197 (L(start_addresses)): Don't use BP_SYM.
20198 (_start): Likewise.
20199 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20200 <bp-asm.h>.
20201 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20202 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20203 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20204 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20205 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20206 <bp-asm.h>.
20207 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20208 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
20209 about bounded pointers.
20210 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20211 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20212 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20213 <bp-asm.h>.
20214 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20215 about bounded pointers. Remove GKM FIXME comments.
20216 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20217 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20218 <bp-asm.h>.
20219 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20220 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
20221 Remove GKM FIXME comments.
20222 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20223 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20224 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20225 <bp-asm.h>.
20226 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20227 about bounded pointers. Remove GKM FIXME comment.
20228 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20229 and <bp-asm.h>.
20230 (strncmp): Don't use BP_SYM. Remove comment about bounded
20231 pointers.
20232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20233 <bp-sym.h> and <bp-asm.h>.
20234 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20236 <bp-sym.h> and <bp-asm.h>.
20237 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20238 comment.
20239
cdcf361f
PP
202402013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20241
20242 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20243 call free(NULL).
20244
3c4a2b15
DM
202452013-03-05 David S. Miller <davem@davemloft.net>
20246
20247 * po/es.po: Update from translation team.
20248
cdcf361f 202492013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
20250
20251 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20252 <bits/mman-linux.h>.
20253 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20254 is fine.
20255 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20256 <bits/mman-linux.h> to end of file.
20257 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20258 is fine.
20259 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20260 <bits/mman-linux.h> to end of file.
20261 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20262 is fine.
20263 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20264 <bits/mman-linux.h> to end of file.
20265
20266 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20267 (MCL_CURRENT, MCL_FUTURE): Define here.
20268
5f67c04f
AK
202692013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20270
8a4473cc 20271 [BZ #15232]
5f67c04f
AK
20272 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20273 attribute_hidden.
20274 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20275
c3e94a95
AK
202762013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20277
20278 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20279 fourth parameter needed for rt_sigprocmask syscall.
20280 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20281 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20282 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20283 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20284 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20285 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20286
cfb6382a
JM
202872013-03-04 Joseph Myers <joseph@codesourcery.com>
20288
20289 [BZ #13550]
20290 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20291 comment about bounded pointers.
20292 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20293 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20294
539d8e01
AJ
202952013-03-04 Andreas Jaeger <aj@suse.de>
20296
20297 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20298 common definitions.
20299
20300 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20301 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20302 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20303 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20304 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
20305 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20306
2e167a70 203072013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
20308
20309 [BZ #15055]
20310 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20311 __ieee754_sqrl instead of __sqrl.
20312
68508633
JM
203132013-03-01 Joseph Myers <joseph@codesourcery.com>
20314
20315 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20316 * sysdeps/powerpc/fpu_control.h: ... here.
20317 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20318 * sysdeps/powerpc/bits/fenvinline.h: ... here.
20319 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20320 * sysdeps/powerpc/bits/mathinline.h: ... here.
20321
7775448e
RM
203222013-03-01 Roland McGrath <roland@hack.frob.com>
20323
20324 * elf/dl-hwcaps.c (_dl_important_hwcaps):
20325 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20326 to just [NEED_DL_SYSINFO_DSO].
20327 * elf/dl-support.c: Likewise.
20328 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20329 * elf/rtld.c (dl_main): Likewise.
20330 * elf/setup-vdso.h (setup_vdso): Likewise.
20331 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20332 * sysdeps/unix/sysv/linux/dl-sysdep.c
20333 (_dl_discover_osversion): Likewise.
20334
4e9b5995
CD
203352013-03-01 Carlos O'Donell <carlos@redhat.com>
20336
20337 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20338 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20339
e23872c8
SP
203402013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
20341
e5c74c63
SP
20342 * NEWS: Mention libm performance improvements and non-x86 PI
20343 futex support.
20344
e23872c8
SP
20345 * csu/libc-start.c (__pthread_initialize_minimal): Change
20346 function arguments.
20347 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20348
b5510883
JM
203492013-02-28 Joseph Myers <joseph@codesourcery.com>
20350
20351 [BZ #13550]
20352 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20353 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20354 <bp-sym.h> and <bp-asm.h>.
20355 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20356 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20357 and <bp-asm.h>.
20358 (memcpy): Don't use BP_SYM.
20359 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20360 <bp-asm.h>.
20361 (__mpn_add_n): Don't use BP_SYM.
20362 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20363 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20364 and <bp-asm.h>.
20365 (__mpn_addmul_1): Don't use BP_SYM.
20366 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20367 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20368 <bp-sym.h>.
20369 (_setjmp): Don't use BP_SYM.
20370 (__novmx_setjmp): Likewise.
20371 (__GI__setjmp): Likewise.
20372 (__vmx_setjmp): Likewise.
20373 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20374 <bp-sym.h>.
20375 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20376 (__bzero): Don't use BP_SYM.
20377 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20378 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20379 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20380 <bp-sym.h> and <bp-asm.h>.
20381 (memcpy): Don't use BP_SYM.
20382 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20383 <bp-sym.h> and <bp-asm.h>.
20384 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20385 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20386 <bp-sym.h> and <bp-asm.h>.
20387 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20388 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20389 <bp-asm.h>.
20390 (__mpn_lshift): Don't use BP_SYM.
20391 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20392 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20393 <bp-asm.h>.
20394 (memset): Don't use BP_SYM.
20395 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20396 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20397 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20398 <bp-asm.h>.
20399 (__mpn_mul_1): Don't use BP_SYM.
20400 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20401 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20402 <bp-sym.h> and <bp-asm.h>.
20403 (memcmp): Don't use BP_SYM.
20404 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20405 <bp-sym.h> and <bp-asm.h>.
20406 (memcpy): Don't use BP_SYM.
20407 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20408 <bp-sym.h> and <bp-asm.h>.
20409 (memset): Don't use BP_SYM.
20410 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20411 <bp-sym.h> and <bp-asm.h>.
20412 (strncmp): Don't use BP_SYM.
20413 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20414 <bp-sym.h> and <bp-asm.h>.
20415 (memcpy): Don't use BP_SYM.
20416 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20417 <bp-sym.h> and <bp-asm.h>.
20418 (memset): Don't use BP_SYM.
20419 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20420 <bp-sym.h> and <bp-asm.h>.
20421 (__memchr): Don't use BP_SYM.
20422 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20423 <bp-sym.h> and <bp-asm.h>.
20424 (memcmp): Don't use BP_SYM.
20425 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20426 <bp-sym.h> and <bp-asm.h>.
20427 (memcpy): Don't use BP_SYM.
20428 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20429 <bp-sym.h> and <bp-asm.h>.
20430 (__mempcpy): Don't use BP_SYM.
20431 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20432 <bp-sym.h> and <bp-asm.h>.
20433 (__memrchr): Don't use BP_SYM.
20434 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20435 <bp-sym.h> and <bp-asm.h>.
20436 (memset): Don't use BP_SYM.
20437 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20438 <bp-sym.h> and <bp-asm.h>.
20439 (__rawmemchr): Don't use BP_SYM.
20440 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20441 <bp-sym.h> and <bp-asm.h>.
20442 (__STRCMP): Don't use BP_SYM.
20443 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20444 <bp-sym.h> and <bp-asm.h>.
20445 (strchr): Don't use BP_SYM.
20446 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20447 <bp-sym.h> and <bp-asm.h>.
20448 (__strchrnul): Don't use BP_SYM.
20449 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20450 <bp-sym.h> and <bp-asm.h>.
20451 (strlen): Don't use BP_SYM.
20452 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20453 <bp-sym.h> and <bp-asm.h>.
20454 (strncmp): Don't use BP_SYM.
20455 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20456 <bp-sym.h> and <bp-asm.h>.
20457 (__strnlen): Don't use BP_SYM.
20458 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20459 <bp-asm.h>.
20460 (__mpn_rshift): Don't use BP_SYM.
20461 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20462 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20463 <bp-sym.h> and <bp-asm.h>.
20464 (__sigsetjmp): Don't use BP_SYM.
20465 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20466 (L(start_addresses)): Don't use BP_SYM.
20467 (_start): Likewise.
20468 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20469 <bp-asm.h>.
20470 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20471 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20472 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20473 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20474 <bp-asm.h>.
20475 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20476 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20477 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20478 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20479 <bp-asm.h>.
20480 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20481 comments.
20482 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20483 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20484 <bp-asm.h>.
20485 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
20486 FIXME comments.
20487 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20488 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20489 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20490 <bp-asm.h>.
20491 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20492 comment.
20493 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20494 and <bp-asm.h>.
20495 (strncmp): Don't use BP_SYM,
20496 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20497 <bp-asm.h>.
20498 (__mpn_sub_n): Don't use BP_SYM.
20499 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20500 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20501 and <bp-asm.h>.
20502 (__mpn_submul_1): Don't use BP_SYM.
20503 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20505 <bp-sym.h> and <bp-asm.h>.
20506 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20508 <bp-sym.h> and <bp-asm.h>.
20509 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20510 comment.
20511
8d19fe64
SP
205122013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20513
20514 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20515 Use ZK to minimize writes to Z.
20516 (sub_magnitudes): Simplify code a bit.
20517 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20518 Use ZK to minimize writes to Z.
20519 (sub_magnitudes): Simplify code a bit.
20520
85bd816a
RM
205212013-02-27 Roland McGrath <roland@hack.frob.com>
20522
20523 * csu/gmon-start.c: Add special exception to license text.
20524
b5977bf2
RH
205252013-02-27 Richard Henderson <rth@redhat.com>
20526
20527 * scripts/config.guess: Update from config.git.
20528 * scripts/config.sub: Likewise.
20529
11d6e2f2
SP
205302013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20531
09c14ed2
SP
20532 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20533
a688864e
SP
20534 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20535
6295157a
SP
20536 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20537
b8de2202
SP
20538 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20539
11d6e2f2
SP
20540 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20541
7e80ddb8
RM
205422013-02-26 Roland McGrath <roland@hack.frob.com>
20543
20544 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20545 [$(build-shared = yes].
7e80ddb8 20546
7da6d9ed
SP
205472013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20548
45f05884
SP
20549 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20550 (__mul): Reduce iterations for calculating mantissa.
20551
2236d359
SP
20552 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20553 MPTWO.
20554 (__mpranred): Likewise.
20555
7da6d9ed
SP
20556 [BZ #15160]
20557 * malloc/memusagestat.c (main): Draw graphs for heap and stack
20558 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20559
b7688c42
PE
205602013-02-26 Paul Eggert <eggert@cs.ucla.edu>
20561
20562 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20563 Define __attribute__.
20564
53a5c423
SP
205652013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20566
20567 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20568 unused.
20569 * posix/regex_internal.h (__attribute): Remove.
20570 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20571 (re_string_context_at): Likewise.
20572 (bitset_not): Use __attribute__ and mark function as possibly
20573 unused.
20574 (bitset_merge): Likewise.
20575 (bitset_mask): Likewise.
20576 (re_string_char_size_at): Likewise.
20577 (re_string_wchar_at): Likewise.
20578 (re_string_elem_size_at): Likewise.
20579
60f5a8b5
SP
205802013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20581
2a983a2e
SP
20582 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20583 code.
20584 (cc32): Likewise.
20585
e69804d1
SP
20586 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20587 (__acr): Likewise.
20588 (__cpy): Likewise.
20589 (norm): Likewise.
20590 (denorm): Likewise.
20591 (__dbl_mp): Likewise.
20592 (add_magnitudes): Likewise.
20593 (sub_magnitudes): Likewise.
20594 (__mul): Likewise.
20595 (__inv): Likewise.
20596
2f22a1e8
SP
20597 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20598 style.
20599
8930ddc7
SP
20600 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20601 style.
20602
dc60cb11
SP
20603 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20604 code.
20605
60f5a8b5
SP
20606 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20607 up changes with default code.
20608 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20609 Likewise.
20610
b4d1fd33
AM
206112013-02-24 Allan McRae <allan@archlinux.org>
20612
faf6f8bc
AM
20613 * manual/socket.texi (The Internet Namespace): Order menu items
20614 to match that in the file.
20615
b4d1fd33
AM
20616 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20617 node listing of the info page menu.
20618
2366713d
JM
206192013-02-21 Joseph Myers <joseph@codesourcery.com>
20620
20621 [BZ #13550]
20622 * sysdeps/i386/bp-asm.h: Remove file.
20623 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20624 (PARMS): Do not use macros from bp-asm.h.
20625 (S1): Likewise.
20626 (S2): Likewise.
20627 (SIZE): Likewise.
20628 (__mpn_add_n): Do not use BP_SYM
20629 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20630 "bp-asm.h".
20631 (PARMS): Do not use macros from bp-asm.h.
20632 (S1): Likewise.
20633 (SIZE): Likewise.
20634 (__mpn_addmul_1): 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/bsd-setjmp.S: Do not include "bp-sym.h" and
20641 "bp-asm.h".
20642 (PARMS): Do not use macros from bp-asm.h.
20643 (SIGMSK): Likewise.
20644 (setjmp): Likewise. Do not use BP_SYM.
20645 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20646 "bp-asm.h".
20647 (PARMS): Do not use macros from bp-asm.h.
20648 (__frexp): Do not use BP_SYM.
20649 (frexp): Likewise.
20650 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20651 "bp-asm.h".
20652 (PARMS): Do not use macros from bp-asm.h.
20653 (__frexpf): Do not use BP_SYM.
20654 (frexpf): Likewise.
20655 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20656 "bp-asm.h".
20657 (PARMS): Do not use macros from bp-asm.h.
20658 (__frexpl): Do not use BP_SYM.
20659 (frexpl): Likewise.
20660 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20661 "bp-asm.h".
20662 (PARMS): Do not use macros from bp-asm.h.
20663 (__remquo): Do not use BP_SYM.
20664 (remquo): Likewise.
20665 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20666 "bp-asm.h".
20667 (PARMS): Do not use macros from bp-asm.h.
20668 (__remquof): Do not use BP_SYM.
20669 (remquof): Likewise.
20670 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20671 "bp-asm.h".
20672 (PARMS): Do not use macros from bp-asm.h.
20673 (__remquol): Do not use BP_SYM.
20674 (remquol): Likewise.
20675 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20676 "bp-asm.h".
20677 (PARMS): Do not use macros from bp-asm.h.
20678 (DEST): Likewise.
20679 (SRC): Likewise.
20680 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
20681 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20682 "bp-asm.h".
20683 (PARMS): Do not use macros from bp-asm.h.
20684 (strlen): Do not use BP_SYM.
20685 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20686 "bp-asm.h".
20687 (PARMS): Do not use macros from bp-asm.h.
20688 (S1): Likewise.
20689 (S2): Likewise.
20690 (SIZE): Likewise.
20691 (__mpn_add_n): Do not use BP_SYM.
20692 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20693 "bp-asm.h".
20694 (PARMS): Do not use macros from bp-asm.h.
20695 (S1): Likewise.
20696 (SIZE): Likewise.
20697 (__mpn_addmul_1): Do not use BP_SYM.
20698 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20699 weak_alias.
20700 (bzero): Likewise.
20701 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20702 "bp-asm.h".
20703 (PARMS): Do not use macros from bp-asm.h.
20704 (S): Likewise.
20705 (SIZE): Likewise.
20706 (__mpn_lshift): Do not use BP_SYM.
20707 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20708 "bp-asm.h".
20709 (PARMS): Do not use macros from bp-asm.h.
20710 (DEST): Likewise.
20711 (SRC): Likewise.
20712 (LEN): Likewise.
20713 (memcpy): Likewise. Do not use BP_SYM.
20714 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20715 libc_hidden_def and weak_alias.
20716 (mempcpy): Do not use BP_SYM in weak_alias.
20717 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20718 "bp-asm.h".
20719 (PARMS): Do not use macros from bp-asm.h.
20720 (DEST): Likewise.
20721 (LEN): Likewise.
20722 [!BZERO_P] (CHR): Likewise.
20723 (memset): Likewise. Do not use BP_SYM.
20724 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20725 "bp-asm.h".
20726 (PARMS): Do not use macros from bp-asm.h.
20727 (S1): Likewise.
20728 (SIZE): Likewise.
20729 (__mpn_mul_1): Do not use BP_SYM.
20730 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20731 "bp-asm.h".
20732 (PARMS): Do not use macros from bp-asm.h.
20733 (S): Likewise.
20734 (SIZE): Likewise.
20735 (__mpn_rshift): Do not use BP_SYM.
20736 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20737 "bp-asm.h".
20738 (PARMS): Do not use macros from bp-asm.h.
20739 (STR): Likewise.
20740 (CHR): Likewise.
20741 (strchr): Likewise. Do not use BP_SYM.
20742 (index): Do not use BP_SYM in weak_alias.
20743 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20744 "bp-asm.h".
20745 (PARMS): Do not use macros from bp-asm.h.
20746 (DEST): Likewise.
20747 (SRC): Likewise.
20748 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
20749 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20750 "bp-asm.h".
20751 (PARMS): Do not use macros from bp-asm.h.
20752 (strlen): Do not use BP_SYM.
20753 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20754 "bp-asm.h".
20755 (PARMS): Do not use macros from bp-asm.h.
20756 (S1): Likewise.
20757 (S2): Likewise.
20758 (SIZE): Likewise.
20759 (__mpn_sub_n): Do not use BP_SYM.
20760 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20761 "bp-asm.h".
20762 (PARMS): Do not use macros from bp-asm.h.
20763 (S1): Likewise.
20764 (SIZE): Likewise.
20765 (__mpn_submul_1): Do not use BP_SYM.
20766 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20767 "bp-asm.h".
20768 (PARMS): Do not use macros from bp-asm.h.
20769 (S1): Likewise.
20770 (S2): Likewise.
20771 (SIZE): Likewise.
20772 (__mpn_add_n): Do not use BP_SYM.
20773 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20774 weak_alias.
20775 (bzero): Likewise.
20776 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20777 "bp-asm.h".
20778 (PARMS): Do not use macros from bp-asm.h.
20779 (BLK2): Likewise.
20780 (LEN): Likewise.
20781 (memcmp): Do not use BP_SYM.
20782 (bcmp): Do not use BP_SYM in weak_alias.
20783 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20784 "bp-asm.h".
20785 (PARMS): Do not use macros from bp-asm.h.
20786 (DEST): Likewise.
20787 (SRC): Likewise.
20788 (LEN): Likewise.
20789 (memcpy): Likewise. Do not use BP_SYM.
20790 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20791 "bp-asm.h".
20792 (PARMS): Do not use macros from bp-asm.h.
20793 (DEST): Likewise.
20794 (SRC): Likewise.
20795 (LEN): Likewise.
20796 (memmove): Likewise. Do not use BP_SYM.
20797 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20798 "bp-asm.h".
20799 (PARMS): Do not use macros from bp-asm.h.
20800 (DEST): Likewise.
20801 (SRC): Likewise.
20802 (LEN): Likewise.
20803 (__mempcpy): Likewise. Do not use BP_SYM.
20804 (mempcpy): Do not use BP_SYM in weak_alias.
20805 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20806 "bp-asm.h".
20807 (PARMS): Do not use macros from bp-asm.h.
20808 (DEST): Likewise.
20809 (LEN): Likewise.
20810 [!BZERO_P] (CHR): Likewise.
20811 (memset): Likewise. Do not use BP_SYM.
20812 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20813 "bp-asm.h".
20814 (PARMS): Do not use macros from bp-asm.h.
20815 (STR2): Likewise.
20816 (strcmp): Do not use BP_SYM.
20817 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20818 "bp-asm.h".
20819 (PARMS): Do not use macros from bp-asm.h.
20820 (STR): Likewise.
20821 (DELIM): Likewise.
20822 [USE_AS_STRTOK_R] (SAVE): Likewise.
20823 (FUNCTION): Likewise. Do not use BP_SYM.
20824 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20825 aliases.
20826 (strtok_r): Likewise.
20827 (__GI___strtok_r): Likewise.
20828 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20829 (PARMS): Do not use macros from bp-asm.h.
20830 (S): Likewise.
20831 (SIZE): Likewise.
20832 (__mpn_lshift): Do not use BP_SYM.
20833 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20834 (PARMS): Do not use macros from bp-asm.h.
20835 (STR): Likewise.
20836 (CHR): Likewise.
20837 (__memchr): Do not use BP_SYM.
20838 (memchr): Do not use BP_SYM in weak_alias.
20839 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20840 (PARMS): Do not use macros from bp-asm.h.
20841 (BLK2): Likewise.
20842 (LEN): Likewise.
20843 (memcmp): Do not use BP_SYM.
20844 (bcmp): Do not use BP_SYM in weak_alias.
20845 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20846 (PARMS): Do not use macros from bp-asm.h.
20847 (S1): Likewise.
20848 (SIZE): Likewise.
20849 (__mpn_mul_1): Do not use BP_SYM.
20850 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20851 "bp-asm.h".
20852 (PARMS): Do not use macros from bp-asm.h.
20853 (STR): Likewise.
20854 (CHR): Likewise.
20855 (__rawmemchr): Do not use BP_SYM.
20856 (rawmemchr): Do not use BP_SYM in weak_alias.
20857 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20858 (PARMS): Do not use macros from bp-asm.h.
20859 (S): Likewise.
20860 (SIZE): Likewise.
20861 (__mpn_rshift): Do not use BP_SYM.
20862 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20863 (PARMS): Do not use macros from bp-asm.h.
20864 (SIGMSK): Likewise.
20865 (__sigsetjmp): Likewise. Do not use BP_SYM.
20866 * sysdeps/i386/start.S: Do not include "bp-sym.h".
20867 (_start): Do not use BP_SYM.
20868 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20869 (PARMS): Do not use macros from bp-asm.h.
20870 (DEST): Likewise.
20871 (SRC): Likewise.
20872 (__stpcpy): Likewise. Do not use BP_SYM.
20873 (stpcpy): Do not use BP_SYM in weak_alias.
20874 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20875 "bp-asm.h".
20876 (PARMS): Do not use macros from bp-asm.h.
20877 (DEST): Likewise.
20878 (SRC): Likewise.
20879 (LEN): Likewise.
20880 (__stpncpy): Likewise. Do not use BP_SYM.
20881 (stpncpy): Do not use BP_SYM in weak_alias.
20882 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20883 (PARMS): Do not use macros from bp-asm.h.
20884 (STR): Likewise.
20885 (CHR): Likewise.
20886 (strchr): Likewise. Do not use BP_SYM.
20887 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20888 "bp-asm.h".
20889 (PARMS): Do not use macros from bp-asm.h.
20890 (STR): Likewise.
20891 (CHR): Likewise.
20892 (__strchrnul): Likewise. Do not use BP_SYM.
20893 (strchrnul): Do not use BP_SYM in weak_alias.
20894 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20895 "bp-asm.h".
20896 (PARMS): Do not use macros from bp-asm.h.
20897 (STOP): Likewise.
20898 (strcspn): Do not use BP_SYM.
20899 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20900 "bp-asm.h".
20901 (PARMS): Do not use macros from bp-asm.h.
20902 (STR): Likewise.
20903 (STOP): Likewise.
20904 (strpbrk): Likewise. Do not use BP_SYM.
20905 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20906 "bp-asm.h".
20907 (PARMS): Do not use macros from bp-asm.h.
20908 (STR): Likewise.
20909 (CHR): Likewise.
20910 (strrchr): Likewise. Do not use BP_SYM.
20911 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20912 (PARMS): Do not use macros from bp-asm.h.
20913 (SKIP): Likewise.
20914 (strspn): Do not use BP_SYM.
20915 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20916 (PARMS): Do not use macros from bp-asm.h.
20917 (STR): Likewise.
20918 (DELIM): Likewise.
20919 (SAVE): Likewise.
20920 (FUNCTION): Likewise. Do not use BP_SYM.
20921 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20922 aliases.
20923 (strtok_r): Likewise.
20924 (__GI___strtok_r): Likewise.
20925 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20926 (PARMS): Do not use macros from bp-asm.h.
20927 (S1): Likewise.
20928 (S2): Likewise.
20929 (SIZE): Likewise.
20930 (__mpn_sub_n): Do not use BP_SYM.
20931 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20932 "bp-asm.h".
20933 (PARMS): Do not use macros from bp-asm.h.
20934 (S1): Likewise.
20935 (SIZE): Likewise.
20936 (__mpn_submul_1): Do not use BP_SYM.
20937 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20938 <bp-sym.h>.
20939 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20940 and <bp-asm.h>.
20941 (PARMS): Do not use macros from bp-asm.h.
20942 (FLAGS): Likewise.
20943 (PTID): Likewise.
20944 (TLS): Likewise.
20945 (CTID): Likewise.
20946 (__clone): Do not use BP_SYM.
20947 (clone): Do not use BP_SYM in weak_alias.
20948 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20949 and <bp-asm.h>.
20950 (PARMS): Do not use macros from bp-asm.h.
20951 (LEN): Likewise.
20952 (__mmap64): Do not use BP_SYM.
20953 (mmap64): Do not use BP_SYM in weak_alias.
20954 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20955 <bp-sym.h> and <bp-asm.h>.
20956 (PARMS): Do not use macros from bp-asm.h.
20957 (__posix_fadvise64_l64): Do not use BP_SYM.
20958 * sysdeps/unix/sysv/linux/i386/semtimedop.S
20959 (PARMS): Do not use macros from bp-asm.h.
20960 (NSOPS): Likewise.
20961 (semtimedop): Do not use BP_SYM.
20962 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20963 and <bp-asm.h>.
20964
582a3cff
AM
209652013-02-21 Allan McRae <allan@archlinux.org>
20966
20967 * manual/message.texi (Charset conversion in gettext):
20968 Move @end statement to beginning of line.
20969
bab8a695
SP
209702013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20971
80945231
SP
20972 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20973 static.
20974 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20975 Likewise.
20976
bab8a695
SP
20977 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20978 (denorm): Likewise.
20979 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20980 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20981
e21d7aa7
AK
209822013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20983
20984 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20985 tail-call to the resolved function if pltexit isn't needed.
20986
4c7a4263
SP
209872013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20988
20989 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20990 or Y being zero as being unlikely.
20991 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20992 Likewise.
20993
41f49342
CD
209942013-02-20 Carlos O'Donell <carlos@redhat.com>
20995
20996 * manual/nss.texi (System Databases and Name Service Switch):
20997 Remove frobnicate @pxref.
20998
50022a93
TS
209992013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21000
21001 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21002 __attribute__ ((unused)) to __attribute__ ((__unused__)).
21003
08cbd996
PM
210042013-02-20 Petr Machata <pmachata@redhat.com>
21005
21006 * elf/elf.h (R_ARM_TARGET1): New macro.
21007 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
21008 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
21009 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
21010 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
21011 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
21012 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21013 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21014 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21015 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21016 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21017 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21018 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21019 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21020 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21021 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21022 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21023 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21024 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21025 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21026 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21027 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21028 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21029 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21030 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21031 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21032 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21033 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21034 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21035 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21036 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21037 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21038 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21039 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21040 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21041 (R_ARM_THM_GOT_BREL12): Likewise.
21042 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21043 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21044 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21045 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21046 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21047 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21048 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21049 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21050 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21051
c7b275d6
TS
210522013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21053
21054 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21055 __attribute_used__ to __attribute__ ((unused)).
21056
20cd7fb3
SP
210572013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21058
21059 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21060 powerpc mpa.c.
21061 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21062 comment formatting.
21063 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21064
92945b52
JM
210652013-02-19 Joseph Myers <joseph@codesourcery.com>
21066
21067 [BZ #13550]
21068 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21069 Remove macro.
21070 (ENTER): Remove both macro definitions.
21071 (LEAVE): Likewise.
21072 (CHECK_BOUNDS_LOW): Likewise.
21073 (CHECK_BOUNDS_HIGH): Likewise.
21074 (CHECK_BOUNDS_BOTH): Likewise.
21075 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21076 (RETURN_BOUNDED_POINTER): Likewise.
21077 (RETURN_NULL_BOUNDED_POINTER): Likewise.
21078 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21079 (POP_ERRNO_LOCATION_RETURN): Likewise.
21080 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21081 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21082 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21083 macros.
21084 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21085 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21086 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21087 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21088 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21089 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21090 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21091 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21092 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21093 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21094 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21095 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21096 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21097 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21098 removed macros.
21099 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21100 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21101 macros.
21102 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21103 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21104 * sysdeps/i386/i586/memset.S (memset): Likewise.
21105 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21106 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21107 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21108 macros.
21109 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21110 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21111 Change uses of L(2) to L(out).
21112 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21113 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21114 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21115 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21116 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21117 removed macros.
21118 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21119 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21120 macros.
21121 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21122 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21123 (RETURN): Do not use macro LEAVE.
21124 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21125 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21126 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21127 * sysdeps/i386/i686/memset.S (memset): Likewise.
21128 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21129 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21130 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21131 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21132 Likewise.
21133 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21134 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
21135 L(1_2) and L(1_3) into L(1).
21136 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21137 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21138 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21139 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21140 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21141 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21142 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21143 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21144 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21145 macros.
21146 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21147 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21148 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21149 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21150 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21151 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21152 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21153 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21154 * sysdeps/i386/strcspn.S (strcspn): Likewise.
21155 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21156 * sysdeps/i386/strrchr.S (strrchr): Likewise.
21157 * sysdeps/i386/strspn.S (strspn): Likewise.
21158 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21159 conditional code.
21160 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21161 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21162 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21163 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
21164 L(1_3) into L(1_1).
21165 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21166 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21167 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21168 macros.
21169 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21170
2389741a
JJ
211712013-02-19 Jakub Jelinek <jakub@redhat.com>
21172
21173 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21174 macro.
21175
2016b3cd
SP
211762013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21177
e4f22324
SP
21178 * math/atest-exp.c (exp_mpn): Remove ROUND.
21179 * math/atest-exp2.c (exp_mpn): Likewise.
21180 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21181
2016b3cd
SP
21182 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21183 * stdlib/tst-tls-atexit-lib.c: Likewise.
21184 * stdlib/tst-tls-atexit.c: Likewise.
21185
4be9b544
MF
211862013-02-18 Mike Frysinger <vapier@gentoo.org>
21187
21188 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21189 and __attribute_alloc_size__.
21190
2f62b9ee
MF
211912013-02-18 Mike Frysinger <vapier@gentoo.org>
21192
21193 * include/programs/xmalloc.h: Change __attribute_alloc_size to
21194 __attribute_alloc_size__.
21195 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21196 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21197
6ff444c4
MF
211982013-02-18 Mike Frysinger <vapier@gentoo.org>
21199
21200 * include/programs/xmalloc.h: New file.
21201 * catgets/gencat.c: Include it.
21202 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21203 * elf/pldd.c: Likewise.
21204 * iconv/iconv_charmap.c: Likewise.
21205 * iconv/iconvconfig.c: Likewise.
21206 * iconv/strtab.c: Likewise.
21207 * locale/programs/locale.c: Likewise.
21208 * locale/programs/localedef.h: Likewise.
21209 * locale/programs/simple-hash.c: Likewise.
21210 * nscd/nscd.h: Likewise.
21211 * nss/makedb.c: Likewise.
21212 * sysdeps/generic/ldconfig.h: Likewise.
21213
be179c8a
SP
212142013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21215
ba384f6e
SP
21216 * Versions.def: Add GLIBC_2.18.
21217 * include/link.h (struct link_map): New member l_tls_dtor_count.
21218 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21219 (__call_tls_dtors): Likewise.
21220 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21221 __cxa_thread_atexit_impl.
21222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21223 Likewise.
21224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21225 Likewise.
21226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21227 Likewise.
21228 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21229 Likewise.
21230 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21231 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21232 Likewise.
21233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21234 Likewise.
21235 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21236 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21237 Likewise.
21238 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21239 (tests): Add test case tst-tls-atexit.
21240 (modules-names): Add shared library for tst-tls-atexit.
85891aca 21241 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
21242 (GLIBC_PRIVATE): Add __call_tls_dtors.
21243 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21244 for libstdc++.
21245 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21246 * stdlib/tst-tls-atexit.c: New test case.
21247 * stdlib/tst-tls-atexit-lib.c: New test case.
21248
ffaa74cf 21249 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 21250
be179c8a
SP
21251 * elf/Versions (ld): Add _dl_find_dso_for_object.
21252 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21253 * elf/dl-open.c (_dl_find_dso_for_object): New function.
21254 (dl_open_worker): Use _dl_find_dso_for_object.
21255 * elf/dl-sym.c (do_sym): Likewise.
21256 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21257
f78b5caa
AK
212582013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21259
21260 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21261 Syntactic changes only.
21262 (_dl_runtime_profile): Do a tail-call to the resolved function.
21263
29691210
JM
212642013-02-17 Joseph Myers <joseph@codesourcery.com>
21265
21266 [BZ #13550]
21267 * sysdeps/x86_64/bp-asm.h: Remove file.
21268 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21269 <bp-sym.h> and <bp-asm.h>.
21270 (__clone): Do not use BP_SYM.
21271 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21272 <bp-sym.h> and <bp-asm.h>.
21273 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21274 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21275 "bp-asm.h".
21276 (_setjmp): Do not use BP_SYM.
21277 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21278 "bp-asm.h".
21279 (setjmp): Do not use BP_SYM.
21280 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21281 libc_hidden_def.
21282 (mempcpy): Do not use BP_SYM in weak_alias.
21283 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21284 "bp-asm.h".
21285 (strchr): Do not use BP_SYM.
21286 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21287 "bp-asm.h".
21288 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21289 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21290 (_start): Do not use BP_SYM.
21291 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21292 "bp-asm.h".
21293 (strcat): Do not use BP_SYM.
21294 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21295 "bp-asm.h".
21296 (STRCMP): Do not use BP_SYM.
21297 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21298 "bp-asm.h".
21299 (STRCPY): Do not use BP_SYM.
21300 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21301 "bp-asm.h".
21302 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21303 "bp-asm.h".
21304 (FUNCTION): Do not use BP_SYM.
21305 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21306 weak_alias.
21307 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21308
f238fd19
AJ
213092013-02-17 Andreas Jaeger <aj@suse.de>
21310
21311 * time/Versions: Sort entries.
21312 * string/Versions: Likewise.
21313 * resolv/Versions: Likewise.
21314 * posix/Versions: Likewise.
21315 * iconv/Versions: Likewise.
21316 * elf/Versions: Likewise.
21317 * wcsmbs/Versions: Likewise.
21318
bd07f23c 213192013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 21320
22af19f9
SP
21321 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21322 loop termination condition.
21323
4709fe76
SP
21324 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21325 variable to calculate EZ.
21326 (__sqr): Likewise.
2d0e0f29
SP
21327
21328 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21329 the lower precision input.
21330
daaa7713
JM
213312013-02-15 Joseph Myers <joseph@codesourcery.com>
21332
21333 [BZ #13550]
21334 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21335 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21336 (run-via-rtld-prefix): Do not handle %-bp tests.
21337 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21338 (all-object-suffixes): Remove .ob.
21339 (bppfx): Remove variable.
21340 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21341 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21342 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21343 [$(build-bounded) = yes] (libtype.ob): Likewise.
21344 * Makerules (elide-routines.ob): Remove variable.
21345 (do-tests-clean): Do not handle *-bp.out.
21346 (common-mostlyclean): Do not handle *-bp and *-bp.out.
21347 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21348 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21349 (tests): Do not include $(tests-bp.out).
21350 (xtests): Do not include $(xtests-bp.out).
21351 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21352 [$(build-bounded) = yes] ($(addprefix
21353 $(objpfx),$(binaries-bounded))): Remove rule.
21354 ($(objpfx)%-bp.out): Remove rule.
21355 * config.make.in (build-bounded): Remove variable.
21356 * crypt/Makefile [$(build-bounded) = yes]
21357 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21358 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21359 append to variable.
21360 [$(build-bounded) = yes] (install-lib): Likewise.
21361 [$(build-bounded) = yes] (generated): Likewise.
21362 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21363 Remove rule.
21364 * intl/Makefile [$(build-bounded) = yes]
21365 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21366 * math/Makefile [$(build-bounded) = yes]
21367 ($(tests:%=$(objpfx)%-bp): Likewise.
21368 * misc/Makefile [$(build-bounded) = yes]
21369 ($(objpfx)tst-tsearch-bp): Likewise.
21370 * nptl/Makeconfig (bounded-thread-library): Remove variable.
21371 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21372 Remove dependency.
21373 * string/Makefile (o-objects.ob): Remove variable.
21374 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21375 (CFLAGS-.ob): Remove variable.
21376 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21377 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21378 both definitions of variable.
21379 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21380 (ASFLAGS-.ob): Remove variable.
21381
e97ed6dd
JM
213822013-02-14 Joseph Myers <joseph@codesourcery.com>
21383
2bdd4ca6
JM
21384 [BZ #13550]
21385 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21386 Remove __BOUNDED_POINTERS__ from condition.
21387 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21388 * string/bits/string2.h [!__NO_STRING_INLINES &&
21389 !__BOUNDED_POINTERS__]: Likewise.
21390 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21391 Likewise.
21392 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21393 Remove conditional code.
21394 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21395 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21396 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21397 condition.
21398
e97ed6dd
JM
21399 [BZ #13550]
21400 * csu/libc-start.c: Do not include <bp-sym.h>.
21401 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21402 * elf/dl-open.c: Do not include <bp-sym.h>.
21403 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21404 * math/fegetenv.c: Do not include <bp-sym.h>.
21405 (fegetenv): Do not use BP_SYM in versioned symbols.
21406 * nptl/sysdeps/pthread/bits/libc-lockP.h
21407 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21408 <bp-sym.h>.
21409 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21410 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21411 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21412 (__pthread_mutex_destroy): Likewise.
21413 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21414 (__pthread_mutex_lock): Likewise.
21415 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21416 (__pthread_mutex_trylock): Likewise.
21417 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21418 (__pthread_mutex_unlock): Likewise.
21419 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21420 (__pthread_mutexattr_init): Likewise.
21421 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21422 (__pthread_mutexattr_destroy): Likewise.
21423 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21424 (__pthread_mutexattr_settype): Likewise.
21425 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21426 (__pthread_rwlock_init): Likewise.
21427 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21428 (__pthread_rwlock_destroy): Likewise.
21429 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21430 (__pthread_rwlock_rdlock): Likewise.
21431 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21432 (__pthread_rwlock_tryrdlock): Likewise.
21433 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21434 (__pthread_rwlock_wrlock): Likewise.
21435 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21436 (__pthread_rwlock_trywrlock): Likewise.
21437 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21438 (__pthread_rwlock_unlock): Likewise.
21439 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21440 (__pthread_key_create): Likewise.
21441 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21442 (__pthread_setspecific): Likewise.
21443 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21444 (__pthread_getspecific): Likewise.
21445 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21446 Likewise.
21447 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21448 (_pthread_cleanup_push_defer): Likewise.
21449 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21450 (_pthread_cleanup_pop_restore): Likewise.
21451 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21452 (pthread_setcancelstate): Likewise.
21453 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21454 <bp-sym.h>.
21455 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21456 (memchr): Do not use BP_SYM in weak_alias.
21457 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21458 (fegetenv): Do not use BP_SYM in versioned symbols.
21459 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21460 (fesetenv): Do not use BP_SYM in versioned symbols.
21461 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21462 (feupdateenv): Do not use BP_SYM in versioned symbols.
21463 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21464 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21465 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21466 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21467 (open64): Do not use BP_SYM in weak_alias.
21468 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21469 (fegetenv): Do not use BP_SYM in versioned symbols.
21470 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21471 (fesetenv): Do not use BP_SYM in versioned symbols.
21472 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21473 (feupdateenv): Do not use BP_SYM in versioned symbols.
21474 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21475 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21476 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21477 (feraiseexcept): Do not use BP_SYM in versioned symbols.
21478 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21479 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21480 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21481 <bp-sym.h>.
21482 (__libc_start_main): Do not use BP_SYM.
21483
d6752ccd
SP
214842013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21485
cb57ce60
SP
21486 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21487 redundant return line.
21488 (norm): Likewise.
21489 (denorm): Likewise.
21490 (dbl_mp): Likewise.
21491 (sub_magnitudes): Likewise.
21492 (__add): Likewise.
21493 (__sub): Likewise.
21494 (__mul): Likewise.
21495 (__inv): Likewise.
21496 (__dvd): Likewise.
21497 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21498 (norm): Likewise.
21499 (denorm): Likewise.
21500 (dbl_mp): Likewise.
21501 (sub_magnitudes): Likewise.
21502 (__add): Likewise.
21503 (__sub): Likewise.
21504 (__mul): Likewise.
21505 (__inv): Likewise.
21506 (__dvd): Likewise.
21507
f414520d
SP
21508 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21509 instead of __mul.
21510 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21511 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21512 (cc32): Likewise.
21513
d6752ccd
SP
21514 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21515 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21516 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21517 of __mul for squares.
21518 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21519 function
21520 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21521 Likewise.
21522 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21523 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21524
70d9946a
JM
215252013-02-13 Joseph Myers <joseph@codesourcery.com>
21526
21527 [BZ #13550]
21528 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21529 code.
21530 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21531 prototype or function definition. Rename ubp_* variables and
21532 parameters. Remove argv definitions conditional on
21533 [__BOUNDED_POINTERS__].
21534 * debug/backtrace.c (__backtrace): Do not use __unbounded.
21535 * elf/dl-runtime.c (_dl_fixup): Likewise.
21536 * include/set-hooks.h (RUN_HOOK): Likewise.
21537 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21538 definition.
21539 * string/strcpy.c (strcpy): Do not use __unbounded.
21540 * sysdeps/generic/frame.h (struct layout): Likewise.
21541 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21542 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21543 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21544 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21545 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21546 (__backtrace): Likewise.
21547 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21548 use __ptrvalue.
21549 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21550 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21551 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21552 Likewise.
21553 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21554 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21555 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21556 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21557 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21558 Do not use __unbounded.
21559 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21560 Rename __unboundedrlimits parameter to rlimits in prototype.
21561 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21562 Do not use __unbounded.
21563 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21564 not use __ptrvalue.
21565 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21566 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21567 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21568 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21569 __ptrvalue or __unbounded.
21570 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21571 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21572 use __unbounded.
21573 (__new_msgctl): Do not use __ptrvalue.
21574 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21575 __unbounded.
21576 (__libc_msgrcv): Do not use __ptrvalue.
21577 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21578 startup_info): Do not use __unbounded.
21579 (__libc_start_main): Likewise. Rename ubp_* variables and
21580 parameters. Remove argv definitions conditional on
21581 [__BOUNDED_POINTERS__].
21582 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21583 __ptrvalue.
21584 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21585 use __unbounded.
21586 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21587 or __ptrvalue.
21588 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21589 use __unbounded.
21590 (__new_shmctl): Do not use __ptrvalue.
21591 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21592 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21593 Likewise.
21594 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21595 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21596 (__libc_sigaction): Likewise.
21597 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21598 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21599 Likewise.
21600 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21601
cc7834d6
OB
216022013-02-13 Ondřej Bílka <neleai@seznam.cz>
21603
ffb1ec7b 21604 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
21605
21606 * string/mempcpy.c: Implement by calling memcpy.
21607
bdf02814
SP
216082013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21609
c2af38aa
SP
21610 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21611
4e92d59e
SP
21612 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21613 evaluation.
21614
909279a5
SP
21615 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21616 values in the mantissa.
21617
bdf02814
SP
21618 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21619 minimize writes to Z.
21620 (sub_magnitudes): Simplify code a bit.
21621
cd525923
RM
216222013-02-12 Roland McGrath <roland@hack.frob.com>
21623
21624 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21625 from the message. The linker prefixes all warnings with that already.
21626
7e2f0d2d
AS
216272013-02-12 Andreas Schwab <schwab@suse.de>
21628
a445af0b
AS
21629 [BZ #15078]
21630 * posix/regexec.c (extend_buffers): Add parameter min_len.
21631 (check_matching): Pass minimum needed length.
21632 (clean_state_log_if_needed): Likewise.
21633 (get_subexp): Likewise.
21634 * posix/Makefile (tests): Add bug-regex34.
21635 (bug-regex34-ENV): Define.
21636 * posix/bug-regex34.c: New file.
21637
7e2f0d2d
AS
21638 [BZ #11561]
21639 * posix/regcomp.c (parse_bracket_exp): When looking up collating
21640 elements compare against the byte sequence of it, not its name.
21641 * posix/Makefile (tests): Add bug-regex35.
21642 (bug-regex35-ENV): Define.
21643 * posix/bug-regex35.c: New file.
21644
a175b684
TV
216452013-02-11 Tom de Vries <tom@codesourcery.com>
21646
21647 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
21648 comment.
21649 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21650 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21651 (CHECK_EOL): Add undef.
21652
310998fe 216532013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
21654
21655 * bits/stdlib-bsearch.h: New file.
21656 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 21657 * stdlib/stdlib.h: Likewise.
41eda41d 21658
8ded91fb
RM
216592013-02-11 Roland McGrath <roland@hack.frob.com>
21660
21661 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21662 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21663 declaration.
21664 * manual/search.texi (Array Search Function): Add missing const in
21665 lfind prototype.
21666 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21667 declaration to use rlim_t.
21668 (Basic Scheduling Functions): Remove erroneous const from
21669 sched_getparam prototype. Remove erroneous * from
21670 sched_get_priority_max and sched_get_priority_min prototypes.
21671 (Resource Usage): Fix summary @comment on vtimes to refer to
21672 sys/vtimes.h rather than vtimes.h.
21673 Add missing *s in vtimes prototype.
21674 (Limits on Resources): Fix ulimit prototype to return long int.
21675 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21676 prototypes to use long int rather than double.
21677 (BSD Random): Fix initstate and setstate to use char *, not void *.
21678 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21679 prototype to make second argument 'struct aiocb64 *const[]'.
21680 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21681 (Status of AIO Operations): Remove erroneous const in aio_return and
21682 aio_return64 prototypes.
21683 (Synchronizing I/O): Fix sync prototype to return void.
21684 * manual/startup.texi (Suboptions): Remove an erroneous const in
21685 getsubopt prototype.
21686 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21687 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21688 use size_t rather than int.
21689 (Scanning All Users): Likewise for getpwent_r.
21690 (Setting Groups): Add missing const to setgroups prototype.
21691 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21692 * manual/socket.texi (Host Names): Fix gethostbyaddr and
21693 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21694 'const void *' rather than 'const char *'.
21695 (Host Address Functions): Likewise for inet_ntop.
21696 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21697 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21698 ssize_t for return value.
21699 (Sending Data): Likewise for send, sendto, sendmsg.
21700 (Socket Option Functions): Add a missing const in setsockopt prototype.
21701 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21702 use wchar_t for the argument.
21703 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21704 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21705 take no arguments.
21706 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21707 double/float/long double for second argument.
21708 Fix return types of significand, significandf, significandl.
21709 * manual/filesys.texi (Setting Permissions): Use mode_t for second
21710 argument in fchmod prototype.
21711 (File Owner): Use uid_t and gid_t in fchown prototype.
21712 (File Times): Add const to utimes, futimes, and lutimes prototypes.
21713 (Making Special Files): Use mode_t and dev_t in mknod prototype.
21714 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21715 use 'const struct dirent **' as argument types to CMP function pointer
21716 argument.
21717 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21718 (File Times): Fix summary magic @comment for struct utimbuf and utime
21719 to refer to utime.h, not time.h.
21720 * manual/string.texi (Argz Functions): Add missing const in
21721 argz_extract and argz_next prototypes.
21722 (Finding Tokens in a String): Likewise for basename.
21723 (String/Array Comparison): Fix typo in wcscasecmp prototype.
21724 (Copying and Concatenation): Fix typo in wmemmove prototype.
21725 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21726 (Signal Stack): Remove erroneous const in sigstack prototype.
21727 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21728 prototype.
21729 (Simple Calendar Time): Likewise for stime.
21730 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21731 prototype.
21732 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21733 say sys/sysctl.h instead.
21734 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21735 and vsyslog prototypes.
21736
fe77fe6d
TV
217372013-02-11 Tom de Vries <tom@codesourcery.com>
21738
21739 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21740 Remove.
21741
3a09b620
RM
217422013-02-11 Roland McGrath <roland@hack.frob.com>
21743
21744 * misc/sys/mman.h: Fix typo in mremap comment.
21745
550a0b89
RM
217462013-02-08 Roland McGrath <roland@hack.frob.com>
21747
21748 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21749 the '\0' terminator.
21750
a2da1673
JM
217512013-02-08 Joseph Myers <joseph@codesourcery.com>
21752
21753 [BZ #13550]
21754 * debug/segfault.c: Don't include <bp-checks.h>.
21755 * sysdeps/generic/bp-checks.h: Remove file.
21756 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21757 (__GETDENTS): Don't use CHECK_N.
21758 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21759 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21760 (__getgroups): Don't use CHECK_N.
21761 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21762 (setgroups): Don't use CHECK_N.
21763 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21764 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21765 (__libc_msgrcv): Don't use CHECK_N.
21766 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21767 (__libc_msgsnd): Don't use CHECK_N.
21768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21769 <bp-checks.h>.
21770 (__libc_pread): Don't use CHECK_N.
21771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21772 include <bp-checks.h>.
21773 (__libc_pread64): Don't use CHECK_N.
21774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21775 include <bp-checks.h>.
21776 (__libc_pwrite): Don't use CHECK_N.
21777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21778 include <bp-checks.h>.
21779 (__libc_pwrite64): Don't use CHECK_N.
21780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21781 <bp-checks.h>.
21782 (__libc_pread): Don't use CHECK_N.
21783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21784 include <bp-checks.h>.
21785 (__libc_pread64): Don't use CHECK_N.
21786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21787 include <bp-checks.h>.
21788 (__libc_pwrite): Don't use CHECK_N.
21789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21790 include <bp-checks.h>.
21791 (__libc_pwrite64): Don't use CHECK_N.
21792 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21793 (do_pread): Don't use CHECK_N.
21794 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21795 (do_pread64): Don't use CHECK_N.
21796 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21797 (do_pwrite): Don't use CHECK_N.
21798 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21799 (do_pwrite64): Don't use CHECK_N.
21800 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21801 (__libc_readv): Don't use CHECK_N.
21802 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21803 (semop): Don't use CHECK_N.
21804 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21805 <bp-checks.h>.
21806 (semtimedop): Don't use CHECK_N.
21807 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21808 (__libc_pread): Don't use CHECK_N.
21809 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21810 <bp-checks.h>.
21811 (__libc_pread64): Don't use CHECK_N.
21812 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21813 <bp-checks.h>.
21814 (__libc_pwrite): Don't use CHECK_N.
21815 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21816 <bp-checks.h>.
21817 (__libc_pwrite64): Don't use CHECK_N.
21818 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21819 <bp-checks.h>.
21820 (__libc_msgrcv): Don't use CHECK_N.
21821 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21822 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
21823 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21824 (__libc_writev): Don't use CHECK_N.
21825
b84660a8
RM
218262013-02-08 Roland McGrath <roland@hack.frob.com>
21827
7f3e75f8
RM
21828 * string/strcpy.c: Removed unused variable.
21829
b84660a8
RM
21830 * Makeconfig (+sysdep-includes): Define with := rather than =.
21831 Use an existing include/ subdir of each sysdeps dir before it.
21832
471514d3
CD
218332013-02-08 Carlos O'Donell <carlos@redhat.com>
21834
21835 * nscd/connection.c (register_traced_file): Comment function.
21836 [HAVE_INOTIFY] (union __inev): Define.
21837 [HAVE_INOTIFY] (inotify_check_files): New function.
21838 [HAVE_INOTIFY] (clear_db_cache): Likewise.
21839 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21840 clear_db_cache.
21841 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21842
b2d3c3be
CD
218432013-02-08 Carlos O'Donell <carlos@redhat.com>
21844
21845 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21846 loaded if not already and that a failure is permanent.
21847
b39949d2
CD
218482013-02-08 Carlos O'Donell <carlos@redhat.com>
21849
ddacd1db 21850 [BZ #15006]
b39949d2
CD
21851 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21852 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21853
b2c9eff4
JM
218542013-02-08 Joseph Myers <joseph@codesourcery.com>
21855
f3aae3f3
JM
21856 [BZ #13550]
21857 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21858 (CHECK_1_NULL_OK): Likewise.
21859 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21860 (__fxstat): Do not use CHECK_1.
21861 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21862 <bp-checks.h>.
21863 (___fxstat64): Do not use CHECK_1.
21864 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21865 <bp-checks.h>.
21866 (__fxstatat): Do not use CHECK_1.
21867 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21868 <bp-checks.h>.
21869 (__fxstatat64): Do not use CHECK_1.
21870 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21871 <bp-checks.h>.
21872 (__fxstat): Do not use CHECK_1.
21873 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21874 <bp-checks.h>.
21875 (__fxstatat): Do not use CHECK_1.
21876 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21877 <bp-checks.h>.
21878 (__getresgid): Do not use CHECK_1.
21879 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21880 <bp-checks.h>.
21881 (__getresuid): Do not use CHECK_1.
21882 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21883 <bp-checks.h>.
21884 (__lxstat): Do not use CHECK_1.
21885 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21886 <bp-checks.h>.
21887 (__old_msgctl): Do not use CHECK_1.
21888 (__new_msgctl): Likewise.
21889 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21890 <bp-checks.h>.
21891 (__new_setrlimit): Do not use CHECK_1.
21892 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21893 <bp-checks.h>.
21894 (__old_shmctl): Do not use CHECK_1.
21895 (__new_shmctl): Likewise.
21896 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21897 <bp-checks.h>.
21898 (__xstat): Do not use CHECK_1.
21899 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21900 (__lxstat): Do not use CHECK_1.
21901 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21902 <bp-checks.h>.
21903 (___lxstat64): Do not use CHECK_1.
21904 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21905 (__old_msgctl): Do not use CHECK_1.
21906 (__new_msgctl): Likewise.
21907 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21908 <bp-checks.h>.
21909 (__gettimeofday): Do not use CHECK_1.
21910 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21911 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21912 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21913 <bp-checks.h>.
21914 (__gettimeofday): Do not use CHECK_1.
21915 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21916 (__old_shmctl): Do not use CHECK_1_NULL_OK.
21917 (__new_shmctl): Do not use CHECK_1.
21918 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21919 <bp-checks.h>.
21920 (do_sigtimedwait): Do not use CHECK_1.
21921 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21922 <bp-checks.h>.
21923 (do_sigwaitinfo): Do not use CHECK_1.
21924 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21925 <bp-checks.h>.
21926 (msgctl): Do not use CHECK_1.
21927 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21928 <bp-checks.h>.
21929 (shmctl): Do not use CHECK_1.
21930 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21931 (ustat): Do not use CHECK_1.
21932 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21933 <bp-checks.h>.
21934 (__fxstat): Do not use CHECK_1.
21935 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21936 <bp-checks.h>.
21937 (__fxstatat): Do not use CHECK_1.
21938 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21939 <bp-checks.h>.
21940 (__lxstat): Do not use CHECK_1.
21941 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21942 <bp-checks.h>.
21943 (__xstat): Do not use CHECK_1.
21944 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21945 (__xstat): Do not use CHECK_1.
21946 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21947 (___xstat64): Do not use CHECK_1.
21948
b2c9eff4
JM
21949 [BZ #13550]
21950 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21951 definitions.
21952 (CHECK_BOUNDS_HIGH): Likewise.
21953 * string/strcpy.c: Do not include <bp-checks.h>.
21954 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21955
f1d70dad
RM
219562013-02-07 Roland McGrath <roland@hack.frob.com>
21957
21958 * nscd/nscd-client.h (__nscd_drop_map_ref):
21959 Add __attribute__ ((unused)).
21960 * nis/nss-nisplus.h (niserr2nss): Likewise.
21961
21962 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21963 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21964
21965 * csu/libc-tls.c (init_static_tls, init_slotinfo):
21966 Remove inline keyword.
21967 * include/rounding-mode.h (round_away): Likewise.
21968 * libio/wfileops.c (adjust_wide_data): Likewise.
21969 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21970 (__m128i_strloadu_tolower): Likewise.
21971 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21972 (__m128i_strloadu_tolower): Likewise.
21973 * time/mktime.c (ydhms_diff): Likewise.
21974 * locale/elem-hash.h (elem_hash): Likewise.
21975 * locale/setlocale.c (setdata): Likewise.
21976 * posix/regex_internal.h (re_string_char_size_at): Likewise.
21977 (re_string_wchar_at): Likewise.
21978 (bitset_not, bitset_merge, bitset_mask): Likewise.
21979 [!(__GNUC__ > 3)] (inline): Remove macro.
21980 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21981 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21982 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21983 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21984 * string/memcmp.c (memcmp_bytes): Likewise.
21985 * locale/programs/locarchive.c (compute_hashval): Likewise.
21986 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21987 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21988 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21989 * nss/getent.c (print_rpc, print_protocols): Likewise.
21990 (print_passwd, print_group, print_aliases): Likewise.
21991 * nis/nss-nisplus.h (niserr2nss): Likewise.
21992 * nscd/connections.c (restart_p): Likewise.
21993 Change return type to bool.
21994
eab55bfb
RM
219952013-02-05 Roland McGrath <roland@hack.frob.com>
21996
7bd642f5
RM
21997 * Makeconfig (all-Depend-files): Add existing
21998 $(sorted-subdirs:=/Depend) files.
21999 (all-subdirs): Remove nss.
22000 * sysdeps/unix/inet/Subdirs: Add it here instead.
22001 * hesiod/Depend: New file.
22002
573c29b2
RM
22003 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
22004 instead of calling alloca.
22005
b2e25af0
RM
22006 * io/lseek.c (__lseek): Rename to __libc_lseek.
22007 Define __lseek as an alias.
22008
eab55bfb
RM
22009 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
22010
9a0d1941
CD
220112013-02-04 Carlos O'Donell <carlos@redhat.com>
22012
22013 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22014 else clause and remove check for non-standard endianness.
22015
b83bbec4
DM
220162013-02-04 David S. Miller <davem@davemloft.net>
22017
22018 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22019
6277fdab
JM
220202013-02-04 Joseph Myers <joseph@codesourcery.com>
22021
22022 [BZ #13550]
22023 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22024 (__ubp_memchr): Remove prototype.
22025 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22026 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22027 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22028 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22029 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22030 Remove alias.
22031 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22032 (__ubp_memchr): Likewise.
22033 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22034 (__ubp_memchr): Likewise.
22035 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22036 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22037 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22038 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22039 CHECK_STRING.
22040 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22041 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22042 (__getcwd): Do not use CHECK_STRING.
22043 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22044 <bp-checks.h>.
22045 (__real_chown): Do not use CHECK_STRING.
22046 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22047 <bp-checks.h>.
22048 (fchownat): Do not use CHECK_STRING.
22049 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22050 CHECK_STRING.
22051 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22052 <bp-checks.h>.
22053 (__lchown): Do not use CHECK_STRING.
22054 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22055 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22056 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22057 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22059 include <bp-checks.h>.
22060 (truncate64): Do not use CHECK_STRING.
22061 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22062 <bp-checks.h>.
22063 (__real_chown): Do not use CHECK_STRING.
22064 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22065 <bp-checks.h>.
22066 (__lchown): Do not use CHECK_STRING.
22067 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22068 <bp-checks.h>.
22069 (__chown): Do not use CHECK_STRING.
22070 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22071 <bp-checks.h>.
22072 (truncate64): Do not use CHECK_STRING.
22073 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22074 Likewise.
22075 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22076 (__xmknod): Do not use CHECK_STRING.
22077 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22078 <bp-checks.h>.
22079 (__xmknodat): Do not use CHECK_STRING.
22080 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22081 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22082
903ae060
AS
220832013-02-04 Andreas Schwab <schwab@suse.de>
22084
22085 [BZ #14142]
22086 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22087 * include/netdb.h: Likewise for h_errno.
22088 * elf/tst-stackguard1.c: Include <tls.h>.
22089
542f9466
JK
220902013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
22091
22092 * elf/link.h (struct link_map): Extend the l_addr comment.
22093 * include/link.h (struct link_map): Likewise.
22094
e782a927
JM
220952013-02-01 Joseph Myers <joseph@codesourcery.com>
22096
22097 [BZ #13550]
22098 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22099 (BOUNDED_1): Remove macro.
22100 * debug/backtrace.c: Don't include <bp-checks.h>.
22101 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22102 (__backtrace): Likewise.
22103 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22104 <bp-checks.h>.
22105 (__backtrace): Don't use BOUNDED_1.
22106 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22107 <bp-checks.h>.
22108 (__backtrace): Don't use BOUNDED_1.
22109 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22110 (__backtrace): Don't use BOUNDED_1.
22111 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22112 (shmat): Don't use BOUNDED_N.
22113
8cf28c5e
JM
221142013-01-31 Joseph Myers <joseph@codesourcery.com>
22115
3a7ac8a0
JM
22116 [BZ #13550]
22117 * sysdeps/generic/bp-start.h: Remove file.
22118 * csu/libc-start.c: Don't include <bp-start.h>.
22119 (LIBC_START_MAIN): Set up __environ directly instead of using
22120 INIT_ARGV_and_ENVIRON.
22121 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22122 <bp-start.h>.
22123
f3499f95
JM
22124 [BZ #13550]
22125 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22126 definitions.
22127 (CHECK_FCNTL): Likewise.
22128 (CHECK_N_PAGES): Likewise.
22129
32a45bea
JM
22130 [BZ #13550]
22131 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22132 definitions.
22133 (CHECK_SIGSET_NULL_OK): Likewise.
22134 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22135 <bp-checks.h>.
22136 (sigpending): Don't use CHECK_SIGSET.
22137 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22138 <bp-checks.h>.
22139 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22140 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22141 <bp-checks.h>.
22142 (do_sigsuspend): Don't use CHECK_SIGSET.
22143 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22144 use CHECK_SIGSET.
22145 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22146 (do_sigwait): Don't use CHECK_SIGSET.
22147 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22148 use CHECK_SIGSET.
22149 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22150 include <bp-checks.h>.
22151 (sigpending): Don't use CHECK_SIGSET.
22152 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22153 include <bp-checks.h>.
22154 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22155 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22156 <bp-checks.h>.
22157 (sigpending): Don't use CHECK_SIGSET.
22158 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22159 <bp-checks.h>.
22160 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22161
2e8a5c8c
JM
22162 [BZ #13550]
22163 * sysdeps/generic/bp-semctl.h: Remove file.
22164 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22165 <bp-checks.h> and <bp-semctl.h>.
22166 (__old_semctl): Don't use CHECK_SEMCTL.
22167 (__new_semctl): Likewise.
22168 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22169 and <bp-semctl.h>.
22170 (__old_semctl): Don't use CHECK_SEMCTL.
22171 (__new_semctl): Likewise.
22172 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22173 <bp-checks.h> and <bp-semctl.h>.
22174 (__old_semctl): Don't use CHECK_SEMCTL.
22175 (__new_semctl): Likewise.
22176 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22177 <bp-checks.h> and <bp-semctl.h>.
22178 (semctl): Don't use CHECK_SEMCTL.
22179
c2d54929
JM
22180 [BZ #13550]
22181 * Makerules (elide-bp-thunks): Remove variable.
22182 (elide-routines.oS): Don't use $(elide-bp-thunks).
22183 (elide-routines.os): Likewise.
22184 (elide-routines.o): Likewise.
22185 (elide-routines.op): Likewise.
22186 (elide-routines.og): Likewise.
22187 (objects): Don't use $(bp-thunks).
22188 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22189 include.
22190 (common-generated): Do not add s-proto-bp.d.
22191 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22192 (int): Likewise.
22193 (typ): Likewise.
22194 Do not generate makefile rules for bounded-pointer thunks.
22195 * sysdeps/generic/bp-thunks.h: Remove file.
22196 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22197 * sysdeps/unix/s-proto-bp.S: Likewise.
22198
8cf28c5e
JM
22199 [BZ #15062]
22200 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22201 parts of result separately when argument is not close to line from
22202 -i to i and one part of argument is small.
22203 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22204 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22205 * math/libm-test.inc (cacos_test): Add more tests.
22206 (casin_test): Likewise.
22207 (casinh_test): Likewise.
22208 * sysdeps/i386/fpu/libm-test-ulps: Update.
22209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22210
c4e33b8d
DM
222112013-01-31 David S. Miller <davem@davemloft.net>
22212
22213 * po/de.po: Update from translation team.
22214
3b60b421
MK
222152013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
22216
22217 * time/tzfile.c: Include stdint.h for SIZE_MAX.
22218
bb931195
TS
222192013-01-25 Thomas Schwinge <thomas@codesourcery.com>
22220
b5a5da23
TS
22221 * configure.in (_AC_PROG_CC_C89): New definition.
22222 * configure: Regenerate.
22223
bb931195
TS
22224 * configure.in (AC_PROG_CPP): New definition.
22225 * configure: Regenerate.
22226
8c53a12c
JM
222272013-01-23 Joseph Myers <joseph@codesourcery.com>
22228
22229 * debug/tst-backtrace.h: New file.
22230 * debug/tst-backtrace2.c: Include tst-backtrace.h.
22231 (ret): Remove variable.
22232 (x): Likewise.
22233 (FAIL): Remove macro.
22234 (NO_INLINE): Likewise.
22235 (fn1): Use match function instead of strstr.
22236 * debug/tst-backtrace3.c: Include tst-backtrace.h.
22237 (ret): Remove variable.
22238 (x): Likewise.
22239 (FAIL): Remove macro.
22240 (NO_INLINE): Likewise.
22241 (fn): Use match function instead of strstr.
22242 * debug/tst-backtrace4.c: Include tst-backtrace.h.
22243 (ret): Remove variable.
22244 (x): Likewise.
22245 (FAIL): Remove macro.
22246 (NO_INLINE): Likewise.
22247 (handle_signal): Use match function instead of strstr.
22248 * debug/tst-backtrace5.c: Include tst-backtrace.h.
22249 (ret): Remove variable.
22250 (x): Likewise.
22251 (FAIL): Remove macro.
22252 (NO_INLINE): Likewise.
22253 (handle_signal): Use match function instead of strstr.
22254
4858fa2a
RM
222552013-01-23 Roland McGrath <roland@hack.frob.com>
22256
22257 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22258
bae8e7f5
DM
222592013-01-23 David S. Miller <davem@davemloft.net>
22260
22261 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22262 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22263 argument of CAS if possible.
22264 * sysdeps/sparc/sparc64/bits/atomic.h
22265 (__arch_compare_and_exchange_val_32_acq): Likewise.
22266 (__arch_compare_and_exchange_val_64_acq): Likewise.
22267
9cbbc4ae
PT
222682013-01-23 Pino Toscano <toscano.pino@tiscali.it>
22269
22270 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22271 * sysdeps/posix/ulimit.c: ... this.
92a601b8 22272 Include <limits.h>.
67b3f58c 22273 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 22274
5655a0b5
AC
222752013-01-23 Adam Conrad <adconrad@0c3.net>
22276
22277 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22278 (LDFLAGS-tst-array5): Likewise.
22279
052aff95
JM
222802013-01-23 Joseph Myers <joseph@codesourcery.com>
22281
22282 [BZ #15036]
22283 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22284 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22285 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22286 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22287
7c1e01aa
DM
222882013-01-21 David S. Miller <davem@davemloft.net>
22289
22290 * sysdeps/sparc/backtrace.c: New file.
22291 * sysdeps/sparc/sparc32/backtrace.h: New file.
22292 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22293 * sysdeps/sparc/sparc64/backtrace.h: New file.
22294 * sysdeps/sparc/sparc64/backtrace.c: Delete.
22295 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22296 -funwind-tables.
22297
ab087e0a
AS
222982013-01-21 Andreas Schwab <schwab@suse.de>
22299
22300 [BZ #15020]
22301 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22302 closed its stdout.
22303
ed689c2f
AS
223042013-01-20 Andreas Schwab <schwab@linux-m68k.org>
22305
22306 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22307 "mpa2.h".
22308 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22309
31d470ac
JM
223102013-01-18 Joseph Myers <joseph@codesourcery.com>
22311 Mark Mitchell <mark@codesourcery.com>
22312 Tom de Vries <tom@codesourcery.com>
22313 Paul Pluzhnikov <ppluzhnikov@google.com>
22314
22315 * debug/tst-backtrace2.c: New file.
22316 * debug/tst-backtrace3.c: Likewise.
22317 * debug/tst-backtrace4.c: Likewise.
22318 * debug/tst-backtrace5.c: Likewise.
22319 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22320 (CFLAGS-tst-backtrace3.c): Likewise.
22321 (CFLAGS-tst-backtrace4.c): Likewise.
22322 (CFLAGS-tst-backtrace5.c): Likewise.
22323 (LDFLAGS-tst-backtrace2): Likewise.
22324 (LDFLAGS-tst-backtrace3): Likewise.
22325 (LDFLAGS-tst-backtrace4): Likewise.
22326 (LDFLAGS-tst-backtrace5): Likewise.
22327 (tests): Add new tests tst-backtrace2, tst-backtrace3,
22328 tst-backtrace4 and tst-backtrace5.
22329
90567f30 223302013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
22331 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22332
22333 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22334 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22335 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22336 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22338 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22339 "+r" and remove output regs list as redundant. Add explicit inline
22340 asm to specify register of return val to work around compiler codegen
22341 bug. Remove (int) cast on return value. Add return type parameter to
22342 use in macro so that this macro does not truncate return value for
22343 64-bit values.
22344 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22345 pass to INTERNAL_VSYSCALL_NCS.
22346 (INLINE_VSYSCALL): Add 'long int' as return type to
22347 INTERNAL_VSYSCALL_NCS macro invocation.
22348 (INTERNAL_VSYSCALL): Add 'long int' as return type to
22349 INTERNAL_VSYSCALL_NCS macro invocation.
22350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22351
d3b9ea61
SP
223522013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22353
0b57daeb
SP
22354 [BZ #14496]
22355 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22356 Fix application of SIMD FP exception mask.
22357
caa99d06
SP
22358 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22359 mp_no from a power of two.
22360 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22361 __mpexp_twomm1. Use __pow_mp.
22362
d3b9ea61
SP
22363 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22364 multiplication.
22365
1dbaee3c
DM
223662013-01-17 David S. Miller <davem@davemloft.net>
22367
22368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22369
728d7b43
JM
223702013-01-17 Joseph Myers <joseph@codesourcery.com>
22371
22372 [BZ #15023]
22373 * include/complex.h: Condition contents on [!_COMPLEX_H].
22374 (__kernel_casinhf): New prototype.
22375 (__kernel_casinh): Likewise.
22376 (__kernel_casinhl): Likewise.
22377 * math/Makefile (libm_calls): Add k_casinh.
22378 * math/k_casinh.c: New file.
22379 * math/k_casinhf.c: Likewise.
22380 * math/k_casinhl.c: Likewise.
22381 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22382 finite nonzero arguments.
22383 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22384 finite nonzero arguments.
22385 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22386 finite nonzero arguments.
22387 * math/s_casinh.c: Do not include <float.h>.
22388 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22389 * math/s_casinhf.c: Do not include <float.h>.
22390 (__casinhf): Move code for finite nonzero arguments to
22391 k_casinhf.c.
22392 * math/s_casinhl.c: Do not include <float.h>.
22393 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22394 redefine.
22395 (__casinhl): Move code for finite nonzero arguments to
22396 k_casinhl.c.
22397 * math/libm-test.inc (cacos_test): Add more tests.
22398 * sysdeps/i386/fpu/libm-test-ulps: Update.
22399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22400
2a26ef3a
PT
224012013-01-17 Pino Toscano <toscano.pino@tiscali.it>
22402
22403 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22404 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22405 [!HAVE_MREMAP]: Remove [defined linux] case.
22406 * malloc/arena.c: Do not include <malloc-sysdep.h>.
22407
a897655d
SP
224082013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22409
22410 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22411
881ebe89 224122013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
22413
22414 * elf/elf.h (R_386_SIZE32): New relocation.
22415 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22416 R_386_SIZE32.
22417 (elf_machine_rela): Likewise.
22418 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22419 R_X86_64_SIZE64 and R_X86_64_SIZE32.
22420
59981e9b
JM
224212013-01-17 Joseph Myers <joseph@codesourcery.com>
22422
22423 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22424 (FP_FAST_FMA): Do not define.
22425 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22426 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22427 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22428 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22429 !_SOFT_FLOAT]: Likewise.
22430 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22431 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22432 value.
22433 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22434 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22435 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22436 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22437 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22438 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22439 file.
22440
cfa8054f
AS
224412013-01-16 Andreas Schwab <schwab@suse.de>
22442
22443 [BZ #14327]
22444 * include/stdlib.h (__mktemp): Add declaration.
22445 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22446 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22447
dd930cc5
SP
224482013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22449
881ebe89
SP
22450 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22451 definitions.
22452 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22453 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22454 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22455 definitions here.
22456 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22457 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22458 definitions.
22459 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22460 and ONE.
22461 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22462 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22463 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22464 definitions.
22465 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22466 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22467 definitions.
22468 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 22469
dd930cc5
SP
22470 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22471
c19a9f89
DM
224722013-01-15 David S. Miller <davem@davemloft.net>
22473
1aa61767
DM
22474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22475 trunc{,f} to libm-sysdep_routes.
22476 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22478 file.
22479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22481 file.
22482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22483 file.
22484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22486 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22487 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22488 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22489 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22490 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22491 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22492
c42d5e98
DM
22493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22494 nearbyint{,f} to libm-sysdep_routes.
22495 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22497 New file.
22498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22499 file.
22500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22501 New file.
22502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22503 file.
22504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22506 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22507 file.
22508 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22509 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22510 file.
22511 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22512 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22513 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22514
c19a9f89
DM
22515 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22516 libc_feholdexcept and libc_fesetenv.
22517
357679d2
MF
225182013-01-15 Mike Frysinger <vapier@gentoo.org>
22519
22520 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22521
65a82e3d
DM
225222013-01-14 David S. Miller <davem@davemloft.net>
22523
8b954ab9
DM
22524 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22525 (SPARC_ASM_VIS2_IFUNC): Likewise.
22526 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22528 use of 'siam' instruction.
22529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22530 Likewise.
22531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22532 Likewise.
22533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22534 Likewise.
22535 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22536 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22537 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22538 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22540 file.
22541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22542 file.
22543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22544 file.
22545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22546 file.
22547 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22548 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22549 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22550 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22552 new VIS2 routines.
22553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22556 Likewise.
22557 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22558 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22559 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22560 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22562 routines to libm-sysdep_routines.
22563 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22564
65a82e3d
DM
22565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22566 fdim/fdimf to libm-sysdep_routines.
22567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22568 file.
22569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22571 file.
22572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22575 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22576 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22577 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22578 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22579
e34ab705
SP
225802013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22581
2a91b573
SP
22582 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22583 to optimize copies.
22584
1066a534
SP
22585 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22586 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22587 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22588
e34ab705
SP
22589 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22590 local variable MPTWO.
22591 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22592 Likewise.
22593
aba5e596
MF
225942013-01-13 Mike Frysinger <vapier@gentoo.org>
22595
22596 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22597 GLOB_NOESCAPE.
22598
e557e9e5
MF
225992013-01-13 Mike Frysinger <vapier@gentoo.org>
22600
22601 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22602
0428cec9
MF
226032013-01-13 Mike Frysinger <vapier@gentoo.org>
22604
22605 * manual/pattern.texi (glob_t): Document gl_flags.
22606 (glob64_t): Likewise.
22607
8794a964
DM
226082013-01-11 David S. Miller <davem@davemloft.net>
22609
66438c3f
RM
22610 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22611 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22612 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
22613 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22614 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22615 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22616 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22617 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22618 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22619 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22620 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22621 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22622 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22623
4ae4244d
DM
22624 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22625 sparc V9 rather than using V8 code.
22626 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22627 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22628
8794a964
DM
22629 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22630 Move to...
22631 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22632 Here.
22633
6270516e
RM
226342013-01-11 Roland McGrath <roland@hack.frob.com>
22635
22636 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22637 not in the main loop.
22638 * configure: Regenerated.
22639
6a57d931
JM
226402013-01-11 Joseph Myers <joseph@codesourcery.com>
22641
22642 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22643 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22644 to just #else.
22645 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
22646 [!__GLIBC_HAVE_LONG_LONG] case.
22647 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22648 condition to just #else.
22649 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22650 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22651 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22652 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22653 unconditional.
22654 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22655 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22656 #elif condition to just #else.
22657 * sysdeps/unix/sysv/linux/sys/sysmacros.h
22658 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22659 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22660 #elif condition to just #else.
22661
0e8529e9
SE
226622013-01-11 Steve Ellcey <sellcey@mips.com>
22663
22664 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22665 (EF_MIPS_ARCH_64): Fix value.
22666 (EF_MIPS_ARCH_32R2): New.
22667 (EF_MIPS_ARCH_64R2): New.
22668
740b3dbe
L
226692013-01-11 H.J. Lu <hongjiu.lu@intel.com>
22670
22671 * Makeconfig (+link-pie-before-libc): New.
22672 (+link-pie-after-libc): Likewise.
22673 (+link-pie-tests): Likewise.
22674 (+link-pie): Rewritten.
22675 (link-before-libc): Remove $(config-LDFLAGS).
22676 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22677 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22678 (config-LDFLAGS): Renamed to ...
22679 (rtld-LDFLAGS): This.
22680 (rtld-tests-LDFLAGS): New macro.
22681 (link-libc-rpath-link): Likewise.
22682 (link-libc-tests-rpath-link): Likewise.
22683 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22684 (link-libc): Prepand $(link-libc-rpath-link).
22685 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22686 (test-program-prefix): New macro.
22687 (test-via-rtld-prefix): Likewise.
22688 (test-program-cmd): Likewise.
22689 (host-test-program-cmd): Likewise.
22690 * Makefile ($(common-objpfx)testrun.sh): Replace
22691 $(run-program-prefix) with $(test-program-prefix).
22692 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22693 $(rtld-LDFLAGS).
22694 ($(common-objpfx)shlib.lds): Likewise.
22695 (build-module-helper): Likewise.
22696 ($(common-objpfx)format.lds): Likewise.
22697 * Rules (binaries-pie-tests): New.
22698 (binaries-pie-notests): Likewise.
22699 (binaries-pie): Rewritten.
22700 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22701 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22702 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22703 (make-test-out): Replace $(host-built-program-cmd) with
22704 $(host-test-program-cmd).
22705 * config.make.in (build-hardcoded-path-in-tests): New variable.
22706 * configure.in (--enable-hardcoded-path-in-tests): New configure
22707 option.
22708 (hardcoded_path_in_tests): New AC_SUBST.
22709 * configure: Regenerated.
22710 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22711 $(built-program-cmd) with $(test-program-cmd).
22712 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22713 (test_program_cmd): This.
22714 * elf/Makefile ($(objpfx)order.out): Run test with
22715 $(test-program-prefix).
22716 ($(objpfx)order2.out): Likewise.
22717 ($(objpfx)tst-initorder.out): Likewise.
22718 ($(objpfx)tst-initorder2.out): Likewise.
22719 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22720 $(test-program-cmd).
22721 ($(objpfx)tst-array1-static.out): Likewise.
22722 ($(objpfx)tst-array2.out): Likewise.
22723 ($(objpfx)tst-array3.out): Likewise.
22724 ($(objpfx)tst-array4.out): Likewise.
22725 ($(objpfx)tst-array5.out): Likewise.
22726 ($(objpfx)tst-array5-static.out): Likewise.
22727 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22728 $(test-program-cmd).
22729 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22730 $(run-program-prefix) with $(test-program-prefix).
22731 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22732 (test_program_prefix): This.
22733 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22734 $(run-program-prefix) with $(test-program-prefix).
22735 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22736 (test_program_prefix): This.
22737 * iconvdata/tst-tables.sh: Likewise.
22738 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22739 $(run-program-prefix) with $(test-program-prefix).
22740 ($(objpfx)tst-translit.out): Likewise.
22741 ($(objpfx)tst-gettext2.out): Likewise.
22742 ($(objpfx)tst-gettext4.out): Likewise.
22743 ($(objpfx)tst-gettext6.out): Likewise.
22744 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22745 (test_program_prefix): This.
22746 * intl/tst-gettext2.sh: Likewise.
22747 * intl/tst-gettext4.sh Likewise.
22748 * intl/tst-gettext6.sh: Likewise.
22749 * intl/tst-translit.sh: Likewise.
22750 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22751 with $(test-program-cmd).
22752 * libio/Makefile ($(objpfx)test-freopen.out): Replace
22753 $(run-program-prefix) with $(test-program-prefix).
22754 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22755 (test_program_prefix): This.
22756 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22757 $(run-program-prefix) with $(test-program-prefix).
22758 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22759 (test_program_prefix): This.
22760 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22761 * posix/Makefile ($(objpfx)globtest.out): Replace
22762 $(run-via-rtld-prefix) and $(test-wrapper) with
22763 $(test-program-prefix) and $(test-via-rtld-prefix).
22764 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22765 $(test-program-prefix).
22766 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22767 $(host-test-program-cmd).
22768 (tst-spawn-ARGS): Likewise.
22769 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22770 $(test-program-prefix).
22771 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22772 (test_via_rtld_prefix): This.
22773 (test_wrapper): Renamed to ...
22774 (test_program_prefix): This.
22775 (run_program_prefix): Replaced by test_program_prefix.
22776 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22777 (test_program_prefix): This.
22778 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22779 with $(host-test-program-cmd).
22780 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22781 $(run-program-prefix) with $(test-program-prefix).
22782 ($(objpfx)tst-printf.out): Likewise.
22783 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22784 $(test-program-cmd).
22785 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22786 (test_program_prefix): This.
22787 * stdio-common/tst-unbputc.sh: Likewise.
22788 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22789 $(run-program-prefix) with $(test-program-prefix).
22790 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22791 (test_program_prefix): This.
22792 * string/Makefile ($(objpfx)tst-svc.out): Replace
22793 $(built-program-cmd) with $(test-program-cmd).
22794
c6fe55cf
AJ
227952013-01-11 Andreas Jaeger <aj@suse.de>
22796
22797 [BZ #15003]
22798 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22799 value. Sync with Linux 3.7.
22800
9e6919c8
DM
228012013-01-10 David S. Miller <davem@davemloft.net>
22802
22803 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22804 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22805 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22806
1c9f1a02
RM
228072013-01-10 Roland McGrath <roland@hack.frob.com>
22808
22809 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22810 never set.
22811 * configure: Regenerated.
22812
b9de2dde
DM
228132013-01-10 David S. Miller <davem@davemloft.net>
22814
22815 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22816 sparc V9 rather than using V8 code.
22817 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22818 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22819
e7f68ef4
RM
228202013-01-10 Roland McGrath <roland@hack.frob.com>
22821
22822 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22823 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22824 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22825 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22826 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22827 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22828 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22829 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22830 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22831 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22832 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22833 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22834 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22835 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22836 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22837 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22838 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22839 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22840 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22841 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22842 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22843 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22844 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22845 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22846 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22847 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22848 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22849
5a47cc9c
DM
228502013-01-10 David S. Miller <davem@davemloft.net>
22851
22852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22853
4cf8f209
L
228542013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22855
22856 * posix/Makefile (tests-static): New variable.
22857 (tests): Add $(tests-static).
22858 (tst-exec-static-ARGS): New variable.
22859 (tst-spawn-static-ARGS): Likewise.
22860 * posix/tst-exec-static.c: New file.
22861 * posix/tst-spawn-static.c: Likewise.
22862 * posix/tst-exec.c: Support run directly.
22863 * posix/tst-spawn.c: Likewise.
22864
fed0faa1
JM
228652013-01-10 Joseph Myers <joseph@codesourcery.com>
22866
828beb13
JM
22867 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22868 long.
22869 * math/bits/mathcalls.h (llrint): Likewise.
22870 (llround): Likewise.
22871 * stdlib/stdlib.h (struct drand48_data): Likewise.
22872 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22873 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22874 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22875 Likewise.
22876 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22877 Likewise.
22878 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22879 (elf_greg_t): Likewise.
22880 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22881 (__jmp_buf): Likewise.
22882 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22883 definitions.
22884 (llrint): Likewise, for all definitions.
22885 (llrintl): Likewise.
22886
fed0faa1
JM
22887 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22888 Remove [__GNUC__] condition.
22889 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22890 condition to just [__USE_ISOC99].
22891 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22892
1a20cb20
L
228932013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22894
22895 [BZ #14200]
22896 * sysdeps/unix/sysv/linux/x86/bits/environments.h
22897 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22898 defined.
22899 (_POSIX_V6_ILP32_OFF32): Likewise.
22900 (_XBS5_ILP32_OFF32): Likewise.
22901 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22902 (__ILP32_OFFBIG_LDFLAGS): Likewise.
22903
751b85f7
SP
229042013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22905
7490eb81
SP
22906 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22907
751b85f7
SP
22908 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22909 doubles __mpexp_twomm1. Adjust usage.
22910 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22911 Remove.
22912
988197f0
AS
229132013-01-10 Andreas Schwab <schwab@suse.de>
22914
22915 [BZ #14964]
22916 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22917 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22918
e83d7298
DM
229192013-01-09 David S. Miller <davem@davemloft.net>
22920
034ed64b 22921 [BZ #15003]
57f41c40
AS
22922 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22923 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22924 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22925 (TCP_FASTOPEN): Define.
e83d7298
DM
22926 (tcp_repair_opt): New structure.
22927 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22928 enum values.
57f41c40
AS
22929 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22930 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22931 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
22932 (tcp_cookie_transactions): New structure.
22933
d5e0b9bd
AB
229342013-01-09 Anton Blanchard <anton@samba.org>
22935
22936 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22937 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22938 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22939 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22940
0c07e3ea
JM
229412013-01-09 Joseph Myers <joseph@codesourcery.com>
22942
22943 * include/features.h (__USE_ANSI): Remove.
22944
232f7002
RM
229452013-01-09 Roland McGrath <roland@hack.frob.com>
22946
ad98e30c
RM
22947 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22948
232f7002
RM
22949 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22950
950c99ca
SP
229512013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
22952
b5792741
SP
22953 * sysdeps/s390/fpu/libm-test-ulps: Update.
22954
47cf2278
SP
22955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22956
950c99ca
SP
22957 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22958 (__acr): Likewise.
22959 (__cpy): Likewise.
22960 (norm): Likewise.
22961 (denorm): Likewise.
22962 (__mp_dbl): Likewise.
22963 (__dbl_mp): Likewise.
22964 (add_magnitudes): Likewise.
22965 (sub_magnitudes): Likewise.
22966 (__add): Likewise.
22967 (__sub): Likewise.
22968 (__mul): Likewise.
22969 (__inv): Likewise.
22970 (__dvd): Likewise.
22971 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22972 (__acr): Likewise.
22973 (__cpy): Likewise.
22974 (norm): Likewise.
22975 (denorm): Likewise.
22976 (__mp_dbl): Likewise.
22977 (__dbl_mp): Likewise.
22978 (add_magnitudes): Likewise.
22979 (sub_magnitudes): Likewise.
22980 (__add): Likewise.
22981 (__sub): Likewise.
22982 (__mul): Likewise.
22983 (__inv): Likewise.
22984 (__dvd): Likewise.
22985 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22986 (__acr): Likewise.
22987 (__cpy): Likewise.
22988 (norm): Likewise.
22989 (denorm): Likewise.
22990 (__mp_dbl): Likewise.
22991 (__dbl_mp): Likewise.
22992 (add_magnitudes): Likewise.
22993 (sub_magnitudes): Likewise.
22994 (__add): Likewise.
22995 (__sub): Likewise.
22996 (__mul): Likewise.
22997 (__inv): Likewise.
22998 (__dvd): Likewise.
22999
eede9df9
JM
230002013-01-08 Joseph Myers <joseph@codesourcery.com>
23001
23002 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
23003 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
23004 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
23005 2 && __USE_EXTERN_INLINES]: Likewise.
23006
c40ea3d9
AJ
230072013-01-08 Andreas Jaeger <aj@suse.de>
23008
23009 [BZ# 14985]
23010 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
23011 Remove.
23012 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23013 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23014
2ccdea26
AB
230152013-01-07 Anton Blanchard <anton@samba.org>
23016
23017 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23018 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23019 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23020 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23021 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23022 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23023 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23024 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23025 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23026 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23027 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23028 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23029 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23030 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23031 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23032 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23033 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23034 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23035 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23036 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23037 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23038 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23039 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23040 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23041 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23042 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23043 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23044 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23045 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23046 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23047 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23048 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23049 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23050 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23051 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23052 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23053 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23054 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23055 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23056 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23057 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23058 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23059 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23060
a9708fed
JM
230612013-01-07 Joseph Myers <joseph@codesourcery.com>
23062
375607b9
JM
23063 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23064 (__MALLOC_PMT): Likewise.
23065 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23066 [__GNUC__], only on [_LIBC].
23067 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23068 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23069 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23070 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23071 forward declaration.
23072 (realloc_hook_ini): Likewise.
23073 (memalign_hook_ini): Likewise.
23074 (__libc_memalign): Do not use __MALLOC_PMT in variable
23075 declaration.
23076 (__libc_valloc): Likewise.
23077 (__libc_pvalloc): Likewise.
23078 (__libc_calloc): Likewise.
23079 (__posix_memalign): Likewise.
23080
a9708fed
JM
23081 [BZ #14996]
23082 * math/s_casinh.c: Include <float.h>.
23083 (__casinh): Do not do computation with squaring and square root
23084 for large arguments.
23085 * math/s_casinhf.c: Include <float.h>.
23086 (__casinhf): Do not do computation with squaring and square root
23087 for large arguments.
23088 * math/s_casinhl.c: Include <float.h>.
23089 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23090 (__casinhl): Do not do computation with squaring and square root
23091 for large arguments.
23092 * math/libm-test.inc (casin_test): Add more tests.
23093 (casinh_test): Likewise.
23094 * sysdeps/i386/fpu/libm-test-ulps: Update.
23095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23096
afec409a
L
230972013-01-04 H.J. Lu <hongjiu.lu@intel.com>
23098
23099 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23100 (__x86_64_raw_data_cache_size): Likewise.
23101 (__x86_64_data_cache_size_half): Likewise.
23102 (__x86_64_raw_data_cache_size_half): Likewise.
23103 (__x86_64_shared_cache_size): Likewise.
23104 (__x86_64_raw_shared_cache_size): Likewise.
23105 (__x86_64_shared_cache_size_half): Likewise.
23106 (__x86_64_raw_shared_cache_size_half): Likewise.
23107 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23108 to ...
23109 (__x86_data_cache_size): This.
23110 (__x86_64_raw_data_cache_size): Renamed to ...
23111 (__x86_raw_data_cache_size): This.
23112 (__x86_64_data_cache_size_half): Renamed to ...
23113 (__x86_data_cache_size_half): This.
23114 (__x86_64_raw_data_cache_size_half): Renamed to ...
23115 (__x86_raw_data_cache_size_half): This.
23116 (__x86_64_shared_cache_size): Renamed to ...
23117 (__x86_shared_cache_size): This.
23118 (__x86_64_raw_shared_cache_size): Renamed to ...
23119 (__x86_raw_shared_cache_size): This.
23120 (__x86_64_shared_cache_size_half): Renamed to ...
23121 (__x86_shared_cache_size_half): This.
23122 (__x86_64_raw_shared_cache_size_half): Renamed to ...
23123 (__x86_raw_shared_cache_size_half): This.
23124 * sysdeps/x86_64/memcpy.S: Updated.
23125 * sysdeps/x86_64/memset.S: Likewise.
23126 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23127 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23128 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23129
0b3986d0
DM
231302013-01-04 David S. Miller <davem@davemloft.net>
23131
23132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23133
e47686e9
AS
231342013-01-04 Andreas Schwab <schwab@linux-m68k.org>
23135
d643bac1
AS
23136 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23137 1 to avoid redefinition warning.
23138 (__USE_GNU): Don't define.
23139 (init_signaling_nan): Protoize.
23140
e47686e9
AS
23141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23142
b18decba
SP
231432013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23144
fffb407f
SP
23145 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23146 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23147 (__cpymn): Likewise.
23148 (norm): Remove commented code.
23149 (denorm): Likewise.
23150 (__mp_dbl): Likewise.
23151 (__inv): Likewise.
23152 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23153 (__cpymn): Likewise.
23154 (norm): Remove commented code.
23155 (denorm): Likewise.
23156 (__mp_dbl): Likewise.
23157 (__inv): Likewise.
23158
b18decba
SP
23159 * sysdeps/powerpc/powerpc32/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 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23165 mp_no value for 1.0 and 2.0.
23166 (norm): Use RADIXI instead of radixi.d.
23167 (denorm): Likewise.
23168 (__mul): Use 0.0 instead of zero.d.
23169
cdc1c96f
JM
231702013-01-04 Joseph Myers <joseph@codesourcery.com>
23171
23172 [BZ #14994]
23173 * math/s_casinh.c (__casinh): Reduce finite argument to first
23174 quadrant then set signs of results at the end.
23175 * math/s_casinhf.c (__casinhf): Likewise.
23176 * math/s_casinhl.c (__casinhl): Likewise.
23177 * math/libm-test.inc (casin_test): Add more tests.
23178 (casinh_test): Likewise.
23179 * sysdeps/i386/fpu/libm-test-ulps: Update.
23180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23181
302913e1
SP
231822013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23183
6420d207
SP
23184 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23185
a9e48ab4
SP
23186 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23187
b7837264
SP
23188 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23189 declarations.
23190 (denorm): Likewise.
23191 (__mp_dbl): Likewise.
23192 (__inv): Likewise.
23193
f8af25d2
SP
23194 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23195 and adjust the header comment.
23196
302913e1
SP
23197 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23198 variable name from declaration.
23199
5d7dd1ca
L
232002013-01-03 H.J. Lu <hongjiu.lu@intel.com>
23201
23202 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23203 Initialize COMMON_CPUID_INDEX_7 element.
23204 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23205 (CPUID_RTM): Likewise.
23206 (HAS_RTM): Likewise.
23207 (COMMON_CPUID_INDEX_7): New enum.
23208
2f5f40f4
AS
232092013-01-03 Andreas Schwab <schwab@linux-m68k.org>
23210
23211 [BZ #14981]
23212 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23213 size is zero, record memory as freed.
23214
4056f4a0
AJ
232152013-01-03 Andreas Jaeger <aj@suse.de>
23216
23217 * po/ia.po: Add new Interlingua translation.
23218
ab15736f 232192012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
23220
23221 * locale/programs/localedef.c: Fix description of '--posix' flag.
23222
568035b7
JM
232232013-01-02 Joseph Myers <joseph@codesourcery.com>
23224
e6898b8d
JM
23225 * NEWS: Update dates in second copyright notice.
23226 * README: Update copyright dates in example.
23227 * manual/libc.texinfo: Update copyright dates.
23228 * scripts/test-installation.pl: Update copyright date in --version
23229 output.
23230
0e2f9562
JM
23231 * hurd/ctty-input.c: Fix copyright notice formatting.
23232 * hurd/ctty-output.c: Likewise.
23233 * hurd/dtable.c: Likewise.
23234 * hurd/hurd-raise.c: Likewise.
23235 * hurd/hurdprio.c: Likewise.
23236 * hurd/msgportdemux.c: Likewise.
23237 * misc/sys/file.h: Likewise.
23238 * misc/sys/ioctl.h: Likewise.
23239 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23240 * sysdeps/mach/hurd/chdir.c: Likewise.
23241 * sysdeps/mach/hurd/fchdir.c: Likewise.
23242 * sysdeps/mach/hurd/rename.c: Likewise.
23243 * sysdeps/mach/hurd/rmdir.c: Likewise.
23244 * sysdeps/mach/hurd/seekdir.c: Likewise.
23245 * sysdeps/mach/hurd/setsid.c: Likewise.
23246 * sysdeps/posix/wait3.c: Likewise.
23247
568035b7
JM
23248 * All files with FSF copyright notices: Update copyright dates
23249 using scripts/update-copyrights.
23250 * intl/plural.c: Regenerated.
23251 * locale/programs/charmap-kw.h: Likewise.
23252 * locale/programs/locfile-kw.h: Likewise.
23253
da08f647
SP
232542013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23255
0f5477af
SP
23256 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23257 four values.
23258
44e0d4c2
SP
23259 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23260 calculation loop and add branch prediction.
23261
4d55b4e5
SP
23262 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23263 check access beyond bounds of m1np.
23264
da08f647
SP
23265 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23266 MPTWO.
23267 (__inv): Remove local variable MPTWO to use the global
23268 constant.
23269 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23270 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23271 variable MPTWO.
23272 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23273 MP3HALFS static const.
23274
8e051029
DM
232752013-01-01 David S. Miller <davem@davemloft.net>
23276
23277 * po/ca.po: Update from translation team.
23278
f4cf5f2d
JM
232792013-01-01 Joseph Myers <joseph@codesourcery.com>
23280
23281 * scripts/update-copyrights: New file.
23282 * Makeconfig: Reformat copyright notice.
23283 * ctype/ctype.h: Likewise.
23284 * debug/swprintf_chk.c: Likewise.
23285 * elf/dl-cache.c: Likewise.
23286 * elf/dl-debug.c: Likewise.
23287 * elf/dl-object.c: Likewise.
23288 * grp/initgroups.c: Likewise.
23289 * hurd/Makefile: Likewise.
23290 * hurd/hurd/signal.h: Likewise.
23291 * hurd/hurdfault.c: Likewise.
23292 * hurd/hurdioctl.c: Likewise.
23293 * hurd/hurdlookup.c: Likewise.
23294 * hurd/intr-msg.c: Likewise.
23295 * iconv/gconv_open.c: Likewise.
23296 * libio/swprintf.c: Likewise.
23297 * locale/lc-ctype.c: Likewise.
23298 * locale/nl_langinfo.c: Likewise.
23299 * mach/Machrules: Likewise.
23300 * mach/Makefile: Likewise.
23301 * malloc/obstack.h: Likewise.
23302 * manual/Makefile: Likewise.
23303 * manual/tsort.awk: Likewise.
23304 * misc/bits/stab.def: Likewise.
23305 * nis/nis_print_group_entry.c: Likewise.
23306 * nis/nis_table.c: Likewise.
23307 * nis/nss_compat/compat-pwd.c: Likewise.
23308 * nis/nss_compat/compat-spwd.c: Likewise.
23309 * po/Makefile: Likewise.
23310 * posix/fnmatch.c: Likewise.
23311 * posix/regex.h: Likewise.
23312 * resolv/Makefile: Likewise.
23313 * resolv/nss_dns/dns-network.c: Likewise.
23314 * resolv/res_hconf.c: Likewise.
23315 * scripts/gen-sorted.awk: Likewise.
23316 * soft-fp/soft-fp.h: Likewise.
23317 * stdio-common/printf.h: Likewise.
23318 * stdlib/monetary.h: Likewise.
23319 * stdlib/random.c: Likewise.
23320 * stdlib/random_r.c: Likewise.
23321 * sysdeps/generic/Makefile: Likewise.
23322 * sysdeps/gnu/Makefile: Likewise.
23323 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23324 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23325 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23326 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23327 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23328 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23329 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23330 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23331 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23332 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23333 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23334 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23335 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23336 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23337 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23338 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23339 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23340 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23341 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23342 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23343 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23344 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23345 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23346 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23347 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23348 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23349 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23350 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23351 * sysdeps/mach/hurd/errnos.awk: Likewise.
23352 * sysdeps/mach/hurd/fork.c: Likewise.
23353 * sysdeps/mach/hurd/getcwd.c: Likewise.
23354 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23355 * sysdeps/mach/hurd/mmap.c: Likewise.
23356 * sysdeps/mach/hurd/utimes.c: Likewise.
23357 * sysdeps/mach/hurd/xmknod.c: Likewise.
23358 * sysdeps/posix/profil.c: Likewise.
23359 * sysdeps/posix/readdir_r.c: Likewise.
23360 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23361 * sysdeps/powerpc/bits/setjmp.h: Likewise.
23362 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23363 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23364 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23365 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23366 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23367 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23368 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23369 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23370 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23371 * sysdeps/pthread/lio_listio.c: Likewise.
23372 * sysdeps/sparc/dl-procinfo.h: Likewise.
23373 * sysdeps/unix/i386/sysdep.S: Likewise.
23374 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23375 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23376 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23377 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23379 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23380 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23381 * sysdeps/unix/sysv/linux/speed.c: Likewise.
23382 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23383 * sysdeps/wordsize-32/divdi3.c: Likewise.
23384 * time/sys/time.h: Likewise.
23385 * wcsmbs/Makefile: Likewise.
23386
0549fbba
DM
233872013-01-01 David S. Miller <davem@davemloft.net>
23388
a141f1a7
DM
23389 * po/fr.po: Update from translation team.
23390
0549fbba
DM
23391 * catgets/gencat.c: Update copyright year.
23392 * csu/version.c: Likewise.
23393 * debug/catchsegv.sh: Likewise.
23394 * debug/pcprofiledump.c: Likewise.
23395 * debug/xtrace.sh: Likewise.
23396 * elf/ldconfig.c: Likewise.
23397 * elf/ldd.bash.in: Likewise.
23398 * elf/pldd.c: Likewise.
23399 * elf/sotruss.ksh: Likewise.
23400 * elf/sprof.c: Likewise.
23401 * iconv/iconv_prog.c: Likewise.
23402 * iconv/iconvconfig.c: Likewise.
23403 * locale/programs/locale.c: Likewise.
23404 * locale/programs/localedef.c: Likewise.
23405 * login/programs/pt_chown.c: Likewise.
23406 * malloc/memusage.sh: Likewise.
23407 * malloc/memusagestat.c: Likewise.
23408 * malloc/mtrace.pl: Likewise.
23409 * nscd/nscd.c: Likewise.
23410 * nss/getent.c: Likewise.
23411 * nss/makedb.c: Likewise.
23412 * posix/getconf.c: Likewise.
23413
18ea052c
SP
234142012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23415
23416 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23417 numbers.
23418
9c89fca6
MF
234192012-12-30 Mike Frysinger <vapier@gentoo.org>
23420
23421 * math/bits/mathcalls.h (modf): Use __nonnull.
23422
085ec079
SP
234232012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23424
23425 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23426 (split): Use macro CN instead of the bare value.
23427 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23428 could be used.
23429 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23430 instead of the bare value.
23431 (power1): Likewise.
23432
6d9f97e1
SP
234332012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23434
d63f73be
SP
23435 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23436 __ATAN_TWOM.
23437 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23438
6d9f97e1
SP
23439 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23440 their values.
23441 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23442 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23443 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23444 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23445
4c4febf5
AJ
234462012-12-28 Andreas Jaeger <aj@suse.de>
23447
af5843ef
AJ
23448 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
23449 values are from Linux 3.7.
23450
4c4febf5
AJ
23451 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23452 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
23453
99136f82
SP
234542012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23455
2f216c3c 23456 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
23457 TRUE case.
23458
99136f82
SP
23459 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23460 (norm): Likewise.
23461 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23462 variables with preprocessor constants.
23463 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23464 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23465 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23466
7fffbdff
BH
234672012-12-27 Bruno Haible <bruno@clisp.org>
23468
23469 [BZ #14317]
23470 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23471 only if needed.
23472
b76eb5f0
SP
234732012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23474
31a7fe5c
SP
23475 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23476 and use variable directly.
23477 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23478
b76eb5f0
SP
23479 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23480 MPONE.
23481 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23482 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23483 variable MPONE.
23484 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23485 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23486 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23487 include directive. Remove local variable MPONE.
23488 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23489 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23490 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23491
2c8bfe7d
DM
234922012-12-25 David S. Miller <davem@davemloft.net>
23493
23494 * version.h (RELEASE): Set to "development".
23495 (VERSION): Set to "2.17.90".
23496 * NEWS: Add 2.18 section.
23497
147d03b0
DM
234982012-12-21 David S. Miller <davem@davemloft.net>
23499
23500 * po/hr.po: Update from translation team.
23501
a8ebb2b9
AK
235022012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23503
23504 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23505
95b4f1b6
SE
235062012-12-19 Steve Ellcey <sellcey@mips.com>
23507
b2d94007 23508 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 23509
cedb2a90
MS
235102012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23511
23512 * manual/contrib.texi (Contributors): Spelling correction.
23513
bbf527d6
DM
235142012-12-15 David S. Miller <davem@davemloft.net>
23515
23516 * po/ru.po: Update from translation team.
23517
bc38c906
DM
235182012-12-13 David S. Miller <davem@davemloft.net>
23519
85429b1a
DM
23520 * NEWS: Mention IFUNC testsuite enhancements.
23521
d283e353
DM
23522 * po/pl.po: Update from translation team.
23523 * po/bg.po: Likewise.
23524
bc38c906
DM
23525 * manual/contrib.texi (Contributors): Update entries for Hongjiu
23526 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
23527
a181b0d7
DM
235282012-12-11 David S. Miller <davem@davemloft.net>
23529
4641d57e
DM
23530 * po/sv.po: Update from translation team.
23531
f7bc6495
DM
23532 * po/vi.po: Update from translation team.
23533
6fc9048f
DM
23534 * po/cs.po: Update from translation team.
23535
a181b0d7
DM
23536 * po/de.po: Update from translation team.
23537 * po/eo.po: Likewise.
23538 * po/nl.po: Likewise.
23539
f70bfe80
SP
235402012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23541
3c8b4190
SP
23542 [BZ #14246]
23543 * manual/argp.texi (Argp Helper Functions): Move node to follow
23544 Argp Parsing State.
23545
f70bfe80
SP
23546 [BZ #14872]
23547 * manual/conf.texi (Limits on File System Capacity): Mention if
23548 terminating null is included in the max size.
23549
188f0adf
AJ
235502012-12-10 Andreas Jaeger <aj@suse.de>
23551
23552 * po/cs.po: Update from translation team.
23553
56e7d3ad
SP
235542012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23555
23556 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23557 void pointer and cast to uintptr_t.
23558 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23559 path.
23560 * sysdeps/s390/s390-64/memcpy.S: Likewise.
23561 * sysdeps/s390/s390-64/memset.S: Likewise.
23562
76f2d2ea 235632012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
23564
23565 [BZ #14833]
23566 * menual/message.texi (Message Translation): Fix typos.
23567 (Helper programs for gettext): Likewise.
23568
67cbf9a2
AS
235692012-12-07 Andreas Schwab <schwab@linux-m68k.org>
23570
23571 [BZ #14898]
23572 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23573 Change to -1.
23574
682d0e9a
DM
235752012-12-07 David S. Miller <davem@davemloft.net>
23576
23577 * po/libc.pot: Update.
23578
573cd484
RH
235792012-12-07 Richard Henderson <rth@redhat.com>
23580
7e9da188 23581 [BZ #10114]
573cd484
RH
23582 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23583 normal/normal case to before the switch.
23584 (_FP_DIV): Likewise.
23585
e933a943
MF
235862012-12-06 Carlos O'Donell <carlos@systemhalted.org>
23587 Mike Frysinger <vapier@gentoo.org>
23588
23589 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23590 check for __NR_fadvise64_64.
23591
82123268
CM
235922012-12-06 Chris Metcalf <cmetcalf@tilera.com>
23593
23594 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23595 0, not just to plain "0" as a statement.
23596 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23597 with cw.
23598
d9814526
JM
235992012-12-06 Joseph Myers <joseph@codesourcery.com>
23600
23601 * NEWS: Use sourceware.org in Bugzilla URL.
23602
7728c574
SP
236032012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23604
f16946dd
SP
23605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23606 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23607
5704bbcb
SP
23608 * stdio-common/tst-put-error.c (do_test): Add newline to the
23609 padded test to ensure flush.
23610
17aa0516
JL
236112012-12-05 Jeff Law <law@redhat.com>
23612
23613 * sunrpc/etc.rpc (fedfs_admin): Add entry.
23614
363313b5
JM
236152012-12-05 Joseph Myers <joseph@codesourcery.com>
23616
effbd42a
JM
23617 * README: Don't refer to ports add-on as distributed separately.
23618 Mention AArch64 in list of systems supported in the ports add-on.
23619
87600365
JM
23620 * LICENSES: Add more non-FSF copyright and license notices.
23621
a0d7066a
JM
23622 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23623 ((unused)).
23624
66ca5a5b
JM
23625 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23626
363313b5
JM
23627 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23628 10000 as width of padded output.
23629
b37984ad
JM
236302012-12-04 Joseph Myers <joseph@codesourcery.com>
23631
9003570a
JM
23632 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23633
b37984ad
JM
23634 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23635 variable LX with __attribute__ ((unused)).
23636 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23637 Likewise.
23638 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23639 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23640 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23641 with __attribute__ ((unused)).
23642
c8df52ec
DM
236432012-12-04 David S. Miller <davem@abraco.davemloft.net>
23644
23645 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23646
b3b099af
JM
236472012-12-04 Joseph Myers <joseph@codesourcery.com>
23648
c33aa6e3
JM
23649 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23650 (CFLAGS-nldbl-acos.c): New variable.
23651 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23652 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23653 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23654 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23655 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23656 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23657 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23658 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23659 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23660 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23661 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23662 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23663 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23664 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23665 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23666 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23667 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23668 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23669 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23670 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23671 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23672 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23673 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23674 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23675 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23676 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23677 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23678 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23679 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23680 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23681 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23682 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23683 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23684 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23685 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23686 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23687 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23688 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23689 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23690 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23691 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23692 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23693 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23694 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23695 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23696 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23697 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23698 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23699 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23700 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23701 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23702 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23703 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23704 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23705 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23706 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23707 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23708 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23709 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23710 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23711 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23712 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23713 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23714 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23715 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23716 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23717 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23718 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23719 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23720 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23721 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23722 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23723 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23724 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23725 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23726 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23727 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23728 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23729 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23730 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23731 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23732 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23733 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23734 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23735 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23736 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23737 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23738 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23739 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23740 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23741 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23742 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23743 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23744 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23745 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23746 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23747 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23748
20f0018d
JM
23749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23750 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23751
b3b099af
JM
23752 [BZ #14914]
23753 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23754 whole low double instead of just low 47 bits when splitting values
23755 into two parts.
23756
029264d1
AM
237572012-12-03 Allan McRae <allan@archlinux.org>
23758
23759 * manual/stdio.texi (Predefined Printf Handlers): Remove
23760 @hsep and @vsep usage.
23761
c9d6789e
MF
237622012-12-03 Mike Frysinger <vapier@gentoo.org>
23763
23764 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23765 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23766
4b7634a5
JL
237672012-12-03 Jeff Law <law@redhat.com>
23768
23769 * time/sys/time.h (settimeofday): Do not mark TV argument
23770 as __nonnull.
23771
eb6cbd24
MF
237722012-12-01 Mike Frysinger <vapier@gentoo.org>
23773
23774 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23775 when currently writing and seek to current position when not.
23776 * libio/Makefile (tests): Remove bug-fclose1.
23777 * libio/bug-fclose1.c: Delete.
23778
f638872a
JM
237792012-12-01 Joseph Myers <joseph@codesourcery.com>
23780
23781 * manual/arith.texi (feenableexcept): Fix typo.
23782 (fedisableexcept): Likewise.
23783
48085d14
RM
237842012-11-30 Roland McGrath <roland@hack.frob.com>
23785
23786 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23787 second, differently-typed declaration, rather than a cast.
23788
1a538b9f
SP
237892012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23790
23791 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23792 * include/rpc/svc.h: ... here.
23793
d07f2ff1 237942012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
23795
23796 [BZ #13013]
23797 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23798 depending n and resplen2 to catch cases where answer
23799 equals answerp2.
23800
c93ec1f0
CD
238012012-11-29 Carlos O'Donell <carlos@systemhalted.org>
23802
23803 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23804 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23805
37db69de
MF
238062012-11-29 Mike Frysinger <vapier@gentoo.org>
23807
23808 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23809
e10c4e4f
RM
238102012-11-29 Roland McGrath <roland@hack.frob.com>
23811
23812 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23813
2af1b328
JL
238142012-11-28 Jeff Law <law@redhat.com>
23815
23816 [BZ #13761]
23817 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23818 dataset_temporary. Track alloca usage into alloca_used.
23819 If dataset is large allocate and release it via malloc/free.
23820
111db5b1
FW
238212012-06-04 Florian Weimer <fweimer@redhat.com>
23822
f06cc227 23823 [BZ #14197]
111db5b1
FW
23824 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23825
dd694abd
DM
238262012-11-28 David S. Miller <davem@davemloft.net>
23827
23828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23829
9984dd01
JM
238302012-11-28 Joseph Myers <joseph@codesourcery.com>
23831
23832 [BZ #14803]
23833 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23834 of pi/2 rounded to nearest to 64 bits.
23835 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23836 nearest to 64 bits.
23837 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23838 bits.
23839
14bc93a9
JL
238402012-11-28 Jeff Law <law@redhat.com>
23841 Martin Osvald <mosvald@redhat.com>
23842
23843 [BZ #14889]
23844 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23845 * sunrpc/svc.c: Include time.h.
23846 (__svc_accept_failed): New function.
23847 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23848 any reason other than EINTR, call __svc_accept_failed.
23849 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23850 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23851
e3c6aa3a
AS
238522012-11-28 Andreas Schwab <schwab@suse.de>
23853
23854 * scripts/abilist.awk: Also handle indirect functions in .opd
23855 section.
23856
1bead169
JM
238572012-11-28 Joseph Myers <joseph@codesourcery.com>
23858
23859 [BZ #13881]
23860 * sysdeps/x86/fpu/powl_helper.c: New file.
23861 * sysdeps/x86/fpu/Makefile: Likewise.
23862 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23863 (p3): New object.
23864 (__ieee754_powl): Use __powl_helper for finite arguments except
23865 integer exponents below 8.
23866 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23867 (p3): New object.
23868 (__ieee754_powl): Use __powl_helper for finite arguments except
23869 integer exponents below 8.
23870 * math/libm-test.inc (pow_test): Add more tests and enable some
23871 previously disabled tests.
23872 * sysdeps/i386/fpu/libm-test-ulps: Update.
23873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23874
0817d63d
SP
238752012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23876 Carlos O'Donell <carlos_odonell@mentor.com>
23877
23878 * nss/makedb.c (is_prime): Assert that input is odd and greater
23879 than 4. Note that fact in a comment too.
23880 (next_prime): Add 4 to input.
23881
de2fd463
SP
238822012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23883
23884 [BZ #11741]
23885 * libio/Makefile (tests): Add test case tst-fwrite-error.
23886 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23887 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23888 * libio/tst-fwrite-error.c: New test case.
23889
c515fb51
L
238902012-11-26 H.J. Lu <hongjiu.lu@intel.com>
23891
23892 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23893 before casting to void *.
23894 * include/libc-internal.h (__pointer_type): New macro.
23895 (__integer_if_pointer_type_sub): Likewise.
23896 (__integer_if_pointer_type): Likewise.
23897 (cast_to_integer): Likewise.
23898 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23899 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23900 before casting to atomic64_t.
23901 (atomic_exchange_acq): Likewise.
23902 (__arch_exchange_and_add_body): Likewise.
23903 (__arch_add_body): Likewise.
23904 (atomic_add_negative): Likewise.
23905 (atomic_add_zero): Likewise.
23906
4cf77aa9
JM
239072012-11-26 Joseph Myers <joseph@codesourcery.com>
23908
23909 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23910 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23911 (add_fdes): Likewise.
23912 (linear_search_fdes): Likewise.
23913 (binary_search_unencoded_fdes): Likewise.
23914
d260b3b4
AS
239152012-11-26 Andreas Schwab <schwab@linux-m68k.org>
23916
23917 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23918
67060746
AC
239192012-11-24 Adam Conrad <adconrad@0c3.net>
23920
23921 * configure.in: Autodetect C++ header directories.
23922 * configure: Regenerated.
23923
800938a1
MF
239242012-11-23 Mike Frysinger <vapier@gentoo.org>
23925
23926 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23927
4e6e34e6
AS
239282012-11-23 Andreas Schwab <schwab@linux-m68k.org>
23929
23930 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23931
7c7feb47
JM
239322012-11-22 Joseph Myers <joseph@codesourcery.com>
23933
7184dcdf
JM
23934 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23935 LDBL_MANT_DIG == 106]: Disable some tests.
23936 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23937 Likewise.
23938 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23939 Likewise.
23940
0a42601f
JM
23941 [BZ #14871]
23942 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23943 input for small inputs. Return +/- pi/2 for large inputs.
23944 * math/libm-test.inc (atan_test): Add more tests.
23945
79c9b9fe
JM
23946 * sysdeps/generic/unwind-dw2-fde-glibc.c
23947 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23948 __attribute__ ((unused)).
23949
c60d3bf2
JM
23950 [BZ #14645]
23951 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23952 x * y if x and y are nonzero and z is zero.
23953
ef1e0867
JM
23954 [BZ #14811]
23955 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23956 nonzero exponents with absolute value below 0x1p-117 to +/-
23957 0x1p-117.
23958
1468ded3
JM
23959 [BZ #14869]
23960 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23961 up arguments below 2**-450, not just those below 2**-500.
23962 * math/libm-test.inc (hypot_test): Add another test.
23963
8e27e3cc
JM
23964 [BZ #14868]
23965 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23966 Return a+b for ratio over 2**120, not 2**60.
23967 * math/libm-test.inc (hypot_test): Add another test.
23968
c9c0279b
JM
23969 * math/libm-test.inc (clog_test): Use
23970 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23971 (clog10_test): Likewise.
23972
7c7feb47
JM
23973 [BZ #6778]
23974 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23975
fff1530e
AS
239762012-11-22 Andreas Schwab <schwab@suse.de>
23977
23978 * sysdeps/i386/fpu/libm-test-ulps: Update.
23979
94558d30
PT
239802012-11-22 Pino Toscano <toscano.pino@tiscali.it>
23981
23982 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23983 printf output with newline.
23984
7e1be741
L
239852012-11-21 H.J. Lu <hongjiu.lu@intel.com>
23986
6bfea974
L
23987 [BZ #14865]
23988 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23989 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23990 -z nodlopen, -z initfirst and -z execstack support.
23991 * configure: Regenerated.
23992
7e1be741
L
23993 * elf/elf.h (DF_1_NODIRECT): New macro.
23994 (DF_1_IGNMULDEF): Likewise.
23995 (DF_1_NOKSYMS): Likewise.
23996 (DF_1_NOHDR): Likewise.
23997 (DF_1_EDITED): Likewise.
23998 (DF_1_NORELOC): Likewise.
23999 (DF_1_SYMINTPOSE): Likewise.
24000 (DF_1_GLOBAUDIT): Likewise.
24001 (DF_1_SINGLETON): Likewise.
24002 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
24003 DT_1_SUPPORTED_MASK bits.
24004 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
24005
105ce2ce
CD
240062012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
24007
24008 * sysdeps/unix/make-syscalls.sh: Document prefixes.
24009
123be9de
TS
240102012-11-20 Thomas Schwinge <thomas@codesourcery.com>
24011
d072f3f7
TS
24012 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24013 macro.
24014
123be9de
TS
24015 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24016 (sendmmsg): Move declarations...
24017 * socket/sys/socket.h: ... here.
24018 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24019 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24020 include it from...
24021 * socket/recvmmsg.c: ... this new file.
24022 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24023 (sendmmsg): Rename to __sendmmsg, create weak alias and make
24024 definition of __sendmmsg hidden.
24025 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24026 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24027 Move ENOSYS stub into and include it from...
24028 * socket/sendmmsg.c: ... this new file.
24029 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24030 (sysdep_routines): Move recvmmsg and sendmmsg...
24031 * socket/Makefile (routines): ... here.
24032 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24033 (GLIBC_PRIVATE): Add __sendmmsg.
24034 * include/sys/socket.h (__sendmmsg): Add declarations.
24035 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24036 sendmmsg.
24037
cf9a5d18
JM
240382012-11-20 Joseph Myers <joseph@codesourcery.com>
24039
24040 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24041 variable I1 with __attribute__ ((unused)).
24042 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24043
ecd4caf9
JM
240442012-11-19 Joseph Myers <joseph@codesourcery.com>
24045
be14d48f
JM
24046 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24047 DUMMY variables with __attribute__ ((unused)).
24048
ecd4caf9
JM
24049 * bits/byteswap.h: Include <bits/types.h>.
24050 (__bswap_64): Use __uint64_t instead of unsigned long long int.
24051
986cab95
PT
240522012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24053
24054 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24055 string_t. Do not manually set errno.
24056 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24057 length with __strnlen. Make sure to both set errno and return it on
24058 failure.
24059
6d33cc9d
DM
240602012-11-19 David S. Miller <davem@davemloft.net>
24061
24062 With help from Joseph Myers.
24063 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24064 very large arguments properly.
24065 * math/libm-test.inc (atan_test): New tests.
24066 (atan2_test): New tests.
24067 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24068 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24069
ee663277
JM
240702012-11-19 Joseph Myers <joseph@codesourcery.com>
24071
877f2d8e
JM
24072 [BZ #14856]
24073 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24074 Define to 3.
24075
116fc08a
JM
24076 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24077 [POSIX] (EADDRNOTAVAIL): Likewise.
24078 [POSIX] (EAFNOSUPPORT): Likewise.
24079 [POSIX] (EALREADY): Likewise.
24080 [POSIX] (ECONNABORTED): Likewise.
24081 [POSIX] (ECONNREFUSED): Likewise.
24082 [POSIX] (ECONNRESET): Likewise.
24083 [POSIX] (EDESTADDRREQ): Likewise.
24084 [POSIX] (EDQUOT): Likewise.
24085 [POSIX] (EHOSTUNREACH): Likewise.
24086 [POSIX] (EIDRM): Likewise.
24087 [POSIX] (EISCONN): Likewise.
24088 [POSIX] (ELOOP): Likewise.
24089 [POSIX] (EMULTIHOP): Likewise.
24090 [POSIX] (ENETDOWN): Likewise.
24091 [POSIX] (ENETUNREACH): Likewise.
24092 [POSIX] (ENOBUFS): Likewise.
24093 [POSIX] (ENODATA): Likewise.
24094 [POSIX] (ENOLINK): Likewise.
24095 [POSIX] (ENOMSG): Likewise.
24096 [POSIX] (ENOPROTOOPT): Likewise.
24097 [POSIX] (ENOSR): Likewise.
24098 [POSIX] (ENOSTR): Likewise.
24099 [POSIX] (ENOTCONN): Likewise.
24100 [POSIX] (ENOTSOCK): Likewise.
24101 [POSIX] (EOPNOTSUPP): Likewise.
24102 [POSIX] (EOVERFLOW): Likewise.
24103 [POSIX] (EPROTO): Likewise.
24104 [POSIX] (EPROTONOSUPPORT): Likewise.
24105 [POSIX] (EPROTOTYPE): Likewise.
24106 [POSIX] (ESTALE): Likewise.
24107 [POSIX] (ETIME): Likewise.
24108 [POSIX] (ETXTBSY): Likewise.
24109 [POSIX] (EWOULDBLOCK): Likewise.
24110 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24111 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24112 [POSIX] (SEEK_CUR): Likewise.
24113 [POSIX] (SEEK_END): Likewise.
24114 [POSIX || UNIX98] (mode_t): Do not require.
24115 [POSIX] (off_t): Likewise.
24116 [POSIX] (pid_t): Likewise.
24117 [POSIX] (sys/stat.h): Do not allow header.
24118 [POSIX] (unistd.h): Likewise.
24119 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24120 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24121 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24122 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24123 require.
24124 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24125 sigevent): Specify elements.
24126 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24127 entry.
24128 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24129 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24130
a483863f
JM
24131 * conform/data/cpio.h-data [POSIX]: Disable whole file.
24132 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24133 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24134 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24135 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24136 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24137 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24138 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24139 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24140 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24141 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24142 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24143 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24144 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24145 Likewise.
24146 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24147 Likewise.
24148 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24149 Likewise.
24150 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24151 Likewise.
24152 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24153 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24154 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24155 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24156 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24157 Specify lower bound on value.
24158 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24159 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24160 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24161 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24162 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24163 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24164 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24165 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24166 value.
24167 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24168 as optional.
24169 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24170 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24171 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24172 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24173 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24174 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24175 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24176 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24177 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24178 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24179 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24180 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24181 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24182 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24183 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24184 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24185 entry.
24186 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24187 optional.
24188 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24189 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24190 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24191 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24192 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24193 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24194 Likewise.
24195 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24196 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24197 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24198 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24199 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
24200 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24201 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24202 as optional.
24203 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24204 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24205 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24206 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24207 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24208 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24209 specify as optional.
24210 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24211 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24212 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24213 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24214 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24215 [XPG3] (NL_LANGMAX): Likewise.
24216 [POSIX || XPG3] (NL_MSGMAX): Likewise.
24217 [POSIX || XPG3] (NL_NMAX): Likewise.
24218 [POSIX || XPG3] (NL_SETMAX): Likewise.
24219 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24220 [XPG3] (NZERO): Likewise.
24221 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24222 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24223 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24224 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24225 (REG_ERANGE): Expect.
24226 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24227 optional-constant.
24228 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24229 Use (void) in prototype.
24230 [POSIX] (*_t): Allow.
24231 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24232 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24233 (WRDE_BADVAL): Expect.
24234
5ba924e3
JM
24235 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24236 expect.
24237 [XPG3 || XPG4] (O_RSYNC): Likewise.
24238 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24239 Likewise.
24240 [XPG3 || XPG4] (pthread_sigmask): Likewise.
24241 [XPG3 || XPG4] (sigqueue): Likewise.
24242 [XPG3 || XPG4] (sigtimedwait): Likewise.
24243 [XPG3 || XPG4] (sigwaitinfo): Likewise.
24244 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24245 [XPG3 || XPG4] (vsnprintf): Likewise.
24246 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24247 Likewise.
24248 [XPG3 || XPG4] (blksize_t): Likewise.
24249 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24250 Likewise.
24251 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24252 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24253 [XPG3 || XPG4] (struct itimerspec): Likewise.
24254 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24255 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24256 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24257 [XPG3 || XPG4] (clockid_t): Likewise.
24258 [XPG3 || XPG4] (timer_t): Likewise.
24259 [XPG3 || XPG4] (clock_getres): Likewise.
24260 [XPG3 || XPG4] (clock_gettime): Likewise.
24261 [XPG3 || XPG4] (clock_settime): Likewise.
24262 [XPG3 || XPG4] (nanosleep): Likewise.
24263 [XPG3 || XPG4] (timer_create): Likewise.
24264 [XPG3 || XPG4] (timer_delete): Likewise.
24265 [XPG3 || XPG4] (timer_gettime): Likewise.
24266 [XPG3 || XPG4] (timer_getoverrun): Likewise.
24267 [XPG3 || XPG4] (timer_settime): Likewise.
24268 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24269 [XPG3 || XPG4] (getlogin_r): Likewise.
24270 [XPG3 || XPG4] (pread): Likewise.
24271 [XPG3 || XPG4] (pthread_atfork): Likewise.
24272 [XPG3 || XPG4] (pwrite): Likewise.
24273
ee663277
JM
24274 [BZ #14835]
24275 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24276 <bits/siginfo.h>.
24277
942caa16
PT
242782012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24279
e19af380
PT
24280 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24281 finalizing MALLSTREAM.
24282
942caa16
PT
24283 * sysdeps/mach/hurd/syncfs.c: New file.
24284
cfde9b46
SP
242852012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24286
24287 [BZ #14719]
24288 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24289 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24290 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24291 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24292 (_nss_dns_gethostbyname4_r): Likewise.
24293 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24294 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24295
f6da27e5
PH
242962012-11-19 Peng Haitao <penght@cn.fujitsu.com>
24297
24298 [BZ #13763]
24299 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24300
6665d4a2
SM
243012012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
24302
1f51ee92
SM
24303 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24304 * elf/cache.c (print_entry): Print ",AArch64" for
24305 FLAG_AARCH64_LIB64
24306
6665d4a2
SM
24307 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24308 * elf/cache.c (print_entry): Print ",hard-float" for
24309 FLAG_ARM_LIBHF.
24310
05b227bd
DM
243112012-11-18 David S. Miller <davem@davemloft.net>
24312
24313 With help from Joseph Myers.
24314 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24315 cutoff to 2**-13.
24316 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24317 cutoff to 2**-25.
24318 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24319 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24320 small.
24321 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24322 * math/libm-test.inc (y0_test): New tests.
24323 (y1_test): New tests.
24324 * sysdeps/i386/fpu/libm-test-ulps: Update.
24325 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24327
786b0b67
AS
243282012-11-18 Andreas Schwab <schwab@linux-m68k.org>
24329
24330 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24331 64-bit targets.
24332 * configure: Regenerated.
24333
8e18b86d
DM
243342012-11-17 David S. Miller <davem@davemloft.net>
24335
24336 [BZ #14811]
24337 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24338 nonzero exponents with absolute value below 0x1p-128 to +/-
24339 0x1p-128.
24340
531f1ae0
JM
243412012-11-17 Joseph Myers <joseph@codesourcery.com>
24342
12df29e2
JM
24343 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24344
150dc1a0
JM
24345 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24346
531f1ae0
JM
24347 * posix/getconf-speclist.c: New file.
24348 * posix/posix-envs.def: Likewise.
24349 * posix/confstr.c (START_ENV_GROUP): New macro.
24350 (END_ENV_GROUP): Likewise.
24351 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24352 (KNOWN_PRESENT_ENV_STRING): Likewise.
24353 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24354 (UNKNOWN_ENVIRONMENT): Likewise.
24355 (confstr): Include posix-envs.def instead of handling
24356 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24357 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24358 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24359 (END_ENV_GROUP): Likewise.
24360 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24361 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24362 (UNKNOWN_ENVIRONMENT): Likewise.
24363 (__sysconf): Include posix-envs.def instead of handling associated
24364 cases directly here.
24365 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24366 preprocessing getconf-speclist.c rather than running getconf or
24367 generating empty file.
24368
a93f9cbc
PT
243692012-11-16 Pino Toscano <toscano.pino@tiscali.it>
24370
24371 * scripts/check-local-headers.sh: Ignore 'mach' headers.
24372
d64d9f87
AL
243732012-11-16 Andrej Lajovic <natrij@gmail.com>
24374
24375 [BZ #14672]
24376 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24377
447885eb
DM
243782012-11-16 David S. Miller <davem@davemloft.net>
24379
24380 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24381 smaller than LDBL_EPSILON/2.0L, just return xm1.
24382
bcbf9830
L
243832012-11-16 H.J. Lu <hongjiu.lu@intel.com>
24384
24385 * elf/tst-array1.c (init): Set constructor priority to 1000.
24386 (fini): Set destructor priority to 1000.
24387 * elf/tst-array2dep.c: Likewise.
24388
2b766585
SP
243892012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24390
24391 [BZ #11741]
24392 * libio/fileops.c (_IO_new_file_write): Correctly return error.
24393 (_IO_new_file_xsputn): Also return EOF if none of the input
24394 data was written when overflow failed.
24395 * libio/iopadn.c (_IO_padn): Likewise.
24396 * libio/iowpadn.c (_IO_wpadn): Likewise.
24397 * stdio-common/tst-put-error.c: Add copyright notice.
24398 (do_test): Add case for printing padded string.
24399 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24400 _IO_padn returned error.
24401 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24402 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24403 return EOF.
24404
b1848fde
SP
244052012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24406
24407 * libio/libioP.h: Add comment note that the references to C++
24408 bits are now obsolete.
24409
2fd89785
MS
244102012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24411
24412 * math/libm-test.inc (check_complex): Use asprintf.
24413
e3ea5409
JM
244142012-11-14 Joseph Myers <joseph@codesourcery.com>
24415
24416 * debug/pcprofiledump.c (print_version): Update copyright year.
24417 * malloc/memusagestat.c (print_version): Likewise.
24418
2e64d265
L
244192012-11-14 H.J. Lu <hongjiu.lu@intel.com>
24420
24421 [BZ #14831]
24422 * elf/Makefile (tests): Add tst-audit8.
24423 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24424 ($(objpfx)tst-audit8.out): New target.
24425 (tst-audit8-ENV): New variable.
24426 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24427 audit if l_reloc_result is NULL.
24428 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24429 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24430 * elf/tst-audit8.c: New file.
24431
c485e4d2
MS
244322012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24433
24434 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24435 * misc/Makefile (CFLAGS-select.c): Define.
24436 * posix/Makefile (CFLAGS-pause.c): Define.
24437
3a0d900a
DM
244382012-11-13 David S. Miller <davem@davemloft.net>
24439
24440 * crypt/Makefile: Move test targets after toplevel Rules
24441 inclusion. Grab any necessary sysdep routines when linking.
24442 * crypt/md5.c (md5_process_block): Remove define, we will always
24443 name it __md5_process_block.
24444 (md5_finish_ctx): Update md5_process_block call.
24445 (md5_stream): Likewise.
24446 (md5_process_bytes): Likewise.
24447 (md5_process_block): Rename to __md5_process_block and move to ...
24448 * crypt/md5-block.c: ... here.
24449 * crypt/sha256.c (sha256_process_block): Move to ...
24450 * crypt/sha256-block.c: ... here.
24451 * crypt/sha512.c (sha512_process_block): Move to ...
24452 * crypt/sha512-block.c: ... here.
24453 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24454 path.
24455 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24456 * sysdeps/sparc/sparc64/multiarch/Makefile
24457 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24458 crypt subdir.
24459 (localedef-aux): Add md5 crypto assembler when in locale subdir.
24460 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24461 multiarch changes.
24462 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24463 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24464 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24465 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24466 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24467 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24468 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24469 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24470 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24471 file.
24472 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24473 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24474 file.
24475 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24476
8ca89318
JM
244772012-11-13 Joseph Myers <joseph@codesourcery.com>
24478
e27d476a
JM
24479 * timezone/tzselect.ksh: Update from tzcode git revision
24480 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24481 * timezone/zdump.c: Likewise.
24482 * timezone/zic.c: Likewise.
24483 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24484 in TZVERSION setting, not $(PKGVERSION).
24485 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
24486 REPORT_BUGS_TO settings.
24487
8ca89318
JM
24488 [BZ #14838]
24489 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24490 macro.
24491
47594329
MS
244922012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24493
24494 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24495 detection to immediately after _FP_ROUND().
24496 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24497 bits are 0.
24498
640ac3f1
DM
244992012-11-11 David S. Miller <davem@davemloft.net>
24500
24501 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24502 inttypes.h
24503 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24504 __close rather than their public counterparts.
24505
3d2577bb
JM
245062012-11-10 Joseph Myers <joseph@codesourcery.com>
24507
24508 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24509 file.
24510 [UNIX98] (sem_timedwait): Do not expect.
24511 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24512 [XPG4 || UNIX98] (sockatmark): Do not expect.
24513 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24514 (clock_getcpuclockid): Do not expect.
24515 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24516 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24517 Do not expect.
24518 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24519 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24520 [UNIX98] (vwscanf): Likewise.
24521 [UNIX98] (vswscanf): Likewise.
24522
fb1ae1ee
JM
245232012-11-09 Joseph Myers <joseph@codesourcery.com>
24524
9ec6f8bd
JM
24525 * timezone/version.h: Remove file.
24526 * timezone/README: Do not refer to version.h.
24527 * timezone/Makefile ($(objpfx)zic.o): New dependency on
24528 $(objpfx)version.h.
24529 ($(objpfx)zdump.o): Likewise.
c3f81911 24530 ($(objpfx)version.h): New target.
9ec6f8bd 24531
0aa8f8a1
JM
24532 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24533 2012i.
24534 * timezone/README: Don't mention modification to tzselect.ksh.
24535 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24536 work on unmodified tzselect.ksh. Substitute version numbers in
24537 tzselect.ksh.
24538
4e87147f
JM
24539 * Makefile (format-me): Remove.
24540 (INSTALL): Adjust indentation. Use commands directly instead of
24541 using $(format-me).
24542
8b748aed
JM
24543 * aclocal.m4 (ACX_PKGVERSION): New macro.
24544 (ACX_BUGURL): Likewise.
24545 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24546 (PKGVERSION): New AC_DEFINE_UNQUOTED.
24547 (REPORT_BUGS_TO): Likewise.
24548 * configure: Regenerated.
24549 * config.h.in (PKGVERSION): New macro.
24550 (REPORT_BUGS_TO): Likewise.
24551 * config.make.in (PKGVERSION): New variable.
24552 (PKGVERSION_TEXI): Likewise.
24553 (REPORT_BUGS_TO): Likewise.
24554 (REPORT_BUGS_TEXI): Likewise.
24555 * Makefile (format-me): Use -I$(common-objpfx)manual.
24556 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24557 ($(common-objpfx)manual/%): New target.
24558 (manual/%): Remove target.
24559 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24560 (print_version): Use PKGVERSION.
24561 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24562 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24563 and REPORT_BUGS_TO.
24564 ($(objpfx)xtrace): Likewise.
24565 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24566 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24567 (print_version): Use PKGVERSION.
24568 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24569 (do_version): Use PKGVERSION.
24570 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24571 REPORT_BUGS_TO.
24572 (common-ldd-rewrite): Likewise.
24573 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24574 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24575 (print_version): Use PKGVERSION.
24576 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24577 * elf/pldd.c (argp_program_bug_address): Remove variable.
24578 (more_help): New function.
24579 (argp): Use more_help.
24580 (print_version): Use PKGVERSION.
24581 * elf/sln.c (main): Use PKGVERSION.
24582 (usage): Use REPORT_BUGS_TO.
24583 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24584 (top level): Use PKGVERSION.
24585 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24586 (print_version): Use PKGVERSION.
24587 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24588 (print_version): Use PKGVERSION.
24589 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24590 (print_version): Use PKGVERSION.
24591 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24592 (print_version): Use PKGVERSION.
24593 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24594 (print_version): Use PKGVERSION.
24595 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24596 (print_version): Use PKGVERSION.
24597 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24598 and BUGURL.
24599 ($(objpfx)memusage): Likewise.
24600 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24601 (do_version): Use PKGVERSION.
24602 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24603 (print_version): Use PKGVERSION.
24604 * malloc/mtrace.pl ($PACKAGE): Remove variable.
24605 ($PKGVERSION): New variable.
24606 ($REPORT_BUGS_TO): Likewise.
24607 (usage): Use $REPORT_BUGS_TO.
24608 (top level): Use $PKGVERSION.
24609 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24610 ($(objpfx)pkgvers.texi): New rule.
24611 ($(objpfx)stamp-pkgvers): Likewise.
24612 * manual/install.texi: Include pkgvers.texi.
24613 (--with-pkgversion): Document new configure option.
24614 (--with-bugurl): Likewise.
24615 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24616 than necessarily for this particular distribution. Use
24617 REPORT_BUGS_TO for where to report bugs.
24618 * INSTALL: Regenerated.
24619 * manual/libc.texinfo: Include pkgvers.texi.
24620 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24621 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24622 (print_version): Use PKGVERSION.
24623 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24624 (print_version): Use PKGVERSION.
24625 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24626 (print_version): Use PKGVERSION.
24627 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24628 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24629 macro.
24630 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24631 (print_version): Use PKGVERSION.
24632 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24633 (print_version): Use PKGVERSION.
24634 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24635 and PKGVERSION.
24636
92e4b6a9
JM
24637 * timezone/checktab.awk: Update from tzcode 2012i.
24638 * timezone/ialloc.c: Likewise.
24639 * timezone/private.h: Likewise.
24640 * timezone/scheck.c: Likewise.
24641 * timezone/tzfile.h: Likewise.
24642 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24643 (TZVERSION): Hardcode tzcode version number.
24644 * timezone/zdump.c: Update from tzcode 2012i.
24645 * timezone/zic.c: Likewise.
24646 * timezone/version.h: New file.
24647 * timezone/README: Describe version.h. Update upstream location.
24648
9bde902c
JM
24649 [BZ #14824]
24650 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24651 (mktemp): Enable declaration.
24652 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24653 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24654 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24655 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24656 Likewise.
24657 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24658 Likewise.
24659 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24660 Likewise.
24661 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24662 Likewise.
24663 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24664 Likewise.
24665 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24666 Likewise.
24667
fb1ae1ee
JM
24668 [BZ #14821]
24669 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24670 offset in buffer as u_int32_t not u_long. Consistently use memcpy
24671 for copies of such integer values.
24672 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24673 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24674
2c1adbcb
AJ
246752012-11-09 Andreas Jaeger <aj@suse.de>
24676
24677 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24678 definitions and declarations that are provided by
24679 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24680
d0f8457e
AK
246812012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24682
3a235abb 24683 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
24684 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24685 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24686 definition.
24687
57241e26
MS
246882012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24689
24690 * elf/elf.h: Update comment before AArch64 relocations.
24691
60e8270d
DM
246922012-11-07 David S. Miller <davem@davemloft.net>
24693
24694 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24695 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24696 (__start_context): Declare.
24697 (__makecontext_ret): Delete.
24698 (__makecontext): Hook up __start_context instead of
24699 __makecontext_ret.
24700 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24701 (sysdep_routines): Add __start_context when in stdlib.
24702
0fbb0fbc
JM
247032012-11-07 Joseph Myers <joseph@codesourcery.com>
24704
24705 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24706 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24707 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
24708 hardcoded "nm".
24709 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
24710 (READELF): New variable. Use it instead of hardcoded "readelf".
24711
eb48db7e
L
247122012-11-07 H.J. Lu <hongjiu.lu@intel.com>
24713
24714 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24715 * sysdeps/x86/Makefile: Here.
24716 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24717 * sysdeps/x86/tst-xmmymm.sh: This.
24718
05bcf62a
JM
247192012-11-07 Joseph Myers <joseph@codesourcery.com>
24720
c4b6cf53
JM
24721 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24722 expectations.
24723 [UNIX98] (pthread_barrier_t): Do not expect.
24724 [UNIX98] (pthread_barrierattr_t): Likewise.
24725 [UNIX98] (pthread_spinlock_t): Likewise.
24726 [UNIX98] (pthread_barrier_destroy): Likewise.
24727 [UNIX98] (pthread_barrier_init): Likewise.
24728 [UNIX98] (pthread_barrier_wait): Likewise.
24729 [UNIX98] (pthread_barrierattr_destroy): Likewise.
24730 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24731 [UNIX98] (pthread_barrierattr_init): Likewise.
24732 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24733 [UNIX98] (pthread_getcpuclockid): Likewise.
24734 [UNIX98] (pthread_mutex_timedlock): Likewise.
24735 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24736 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24737 [UNIX98] (pthread_sigmask): Likewise.
24738 [UNIX98] (pthread_spin_destroy): Likewise.
24739 [UNIX98] (pthread_spin_init): Likewise.
24740 [UNIX98] (pthread_spin_lock): Likewise.
24741 [UNIX98] (pthread_spin_trylock): Likewise.
24742 [UNIX98] (pthread_spin_unlock): Likewise.
24743 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24744 Do not expect.
24745 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24746 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24747 [XPG3 || XPG4] (pthread_cond_t): Likewise.
24748 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24749 [XPG3 || XPG4] (pthread_key_t): Likewise.
24750 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24751 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24752 [XPG3 || XPG4] (pthread_once_t): Likewise.
24753 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24754 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24755 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24756 [XPG3 || XPG4] (pthread_t): Likewise.
24757
cbe6e120
JM
24758 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24759 not expect.
24760 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24761
1b126443
JM
24762 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24763 Change function return type to int.
24764
b961a573
JM
24765 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24766 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24767 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24768 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24769 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24770 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24771 [!POSIX] (posix_madvise): Likewise.
24772 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24773 && !UNIX98].
24774 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24775 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24776 (mode_t): Likewise.
24777 (posix_mem_offset): Likewise.
24778 (posix_typed_mem_get_info): Likewise.
24779 (posix_typed_mem_open): Likewise.
24780
9e188909
JM
24781 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24782 Change condition to [XOPEN2K8].
24783
05bcf62a
JM
24784 * conform/conformtest.pl: Preprocess allow-header data with -x c
24785 instead of from stdin.
24786 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24787 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24788 [C99-based standards] (cerfc): Likewise.
24789 [C99-based standards] (cexp2): Likewise.
24790 [C99-based standards] (cexpm1): Likewise.
24791 [C99-based standards] (clog10): Likewise.
24792 [C99-based standards] (clog1p): Likewise.
24793 [C99-based standards] (clog2): Likewise.
24794 [C99-based standards] (clgamma): Likewise.
24795 [C99-based standards] (ctgamma): Likewise.
24796 [C99-based standards] (cerff): Likewise.
24797 [C99-based standards] (cerfcf): Likewise.
24798 [C99-based standards] (cexp2f): Likewise.
24799 [C99-based standards] (cexpm1f): Likewise.
24800 [C99-based standards] (clog10f): Likewise.
24801 [C99-based standards] (clog1pf): Likewise.
24802 [C99-based standards] (clog2f): Likewise.
24803 [C99-based standards] (clgammaf): Likewise.
24804 [C99-based standards] (ctgammaf): Likewise.
24805 [C99-based standards] (cerfl): Likewise.
24806 [C99-based standards] (cerfcl): Likewise.
24807 [C99-based standards] (cexp2l): Likewise.
24808 [C99-based standards] (cexpm1l): Likewise.
24809 [C99-based standards] (clog10l): Likewise.
24810 [C99-based standards] (clog1pl): Likewise.
24811 [C99-based standards] (clog2l): Likewise.
24812 [C99-based standards] (clgammal): Likewise.
24813 [C99-based standards] (ctgammal): Likewise.
24814 * conform/data/inttypes.h-data [C99-based standards]: Include
24815 stdint.h-data. Remove all expectations for stdint.h contents.
24816 [C99-based standards] (PRI*): Do not allow.
24817 [C99-based standards] (SCN*): Likewise.
24818 [C99-based standards] (*_t): Likewise.
24819 [C99-based-standards] (PRId8): Expect macro.
24820 [C99-based-standards] (PRIi8): Likewise.
24821 [C99-based-standards] (PRIo8): Likewise.
24822 [C99-based-standards] (PRIu8): Likewise.
24823 [C99-based-standards] (PRIx8): Likewise.
24824 [C99-based-standards] (PRIX8): Likewise.
24825 [C99-based-standards] (SCNd8): Likewise.
24826 [C99-based-standards] (SCNi8): Likewise.
24827 [C99-based-standards] (SCNo8): Likewise.
24828 [C99-based-standards] (SCNu8): Likewise.
24829 [C99-based-standards] (SCNx8): Likewise.
24830 [C99-based-standards] (PRIdLEAST8): Likewise.
24831 [C99-based-standards] (PRIiLEAST8): Likewise.
24832 [C99-based-standards] (PRIoLEAST8): Likewise.
24833 [C99-based-standards] (PRIuLEAST8): Likewise.
24834 [C99-based-standards] (PRIxLEAST8): Likewise.
24835 [C99-based-standards] (PRIXLEAST8): Likewise.
24836 [C99-based-standards] (SCNdLEAST8): Likewise.
24837 [C99-based-standards] (SCNiLEAST8): Likewise.
24838 [C99-based-standards] (SCNoLEAST8): Likewise.
24839 [C99-based-standards] (SCNuLEAST8): Likewise.
24840 [C99-based-standards] (SCNxLEAST8): Likewise.
24841 [C99-based-standards] (PRIdFAST8): Likewise.
24842 [C99-based-standards] (PRIiFAST8): Likewise.
24843 [C99-based-standards] (PRIoFAST8): Likewise.
24844 [C99-based-standards] (PRIuFAST8): Likewise.
24845 [C99-based-standards] (PRIxFAST8): Likewise.
24846 [C99-based-standards] (PRIXFAST8): Likewise.
24847 [C99-based-standards] (SCNdFAST8): Likewise.
24848 [C99-based-standards] (SCNiFAST8): Likewise.
24849 [C99-based-standards] (SCNoFAST8): Likewise.
24850 [C99-based-standards] (SCNuFAST8): Likewise.
24851 [C99-based-standards] (SCNxFAST8): Likewise.
24852 [C99-based-standards] (PRId16): Likewise.
24853 [C99-based-standards] (PRIi16): Likewise.
24854 [C99-based-standards] (PRIo16): Likewise.
24855 [C99-based-standards] (PRIu16): Likewise.
24856 [C99-based-standards] (PRIx16): Likewise.
24857 [C99-based-standards] (PRIX16): Likewise.
24858 [C99-based-standards] (SCNd16): Likewise.
24859 [C99-based-standards] (SCNi16): Likewise.
24860 [C99-based-standards] (SCNo16): Likewise.
24861 [C99-based-standards] (SCNu16): Likewise.
24862 [C99-based-standards] (SCNx16): Likewise.
24863 [C99-based-standards] (PRIdLEAST16): Likewise.
24864 [C99-based-standards] (PRIiLEAST16): Likewise.
24865 [C99-based-standards] (PRIoLEAST16): Likewise.
24866 [C99-based-standards] (PRIuLEAST16): Likewise.
24867 [C99-based-standards] (PRIxLEAST16): Likewise.
24868 [C99-based-standards] (PRIXLEAST16): Likewise.
24869 [C99-based-standards] (SCNdLEAST16): Likewise.
24870 [C99-based-standards] (SCNiLEAST16): Likewise.
24871 [C99-based-standards] (SCNoLEAST16): Likewise.
24872 [C99-based-standards] (SCNuLEAST16): Likewise.
24873 [C99-based-standards] (SCNxLEAST16): Likewise.
24874 [C99-based-standards] (PRIdFAST16): Likewise.
24875 [C99-based-standards] (PRIiFAST16): Likewise.
24876 [C99-based-standards] (PRIoFAST16): Likewise.
24877 [C99-based-standards] (PRIuFAST16): Likewise.
24878 [C99-based-standards] (PRIxFAST16): Likewise.
24879 [C99-based-standards] (PRIXFAST16): Likewise.
24880 [C99-based-standards] (SCNdFAST16): Likewise.
24881 [C99-based-standards] (SCNiFAST16): Likewise.
24882 [C99-based-standards] (SCNoFAST16): Likewise.
24883 [C99-based-standards] (SCNuFAST16): Likewise.
24884 [C99-based-standards] (SCNxFAST16): Likewise.
24885 [C99-based-standards] (PRId32): Likewise.
24886 [C99-based-standards] (PRIi32): Likewise.
24887 [C99-based-standards] (PRIo32): Likewise.
24888 [C99-based-standards] (PRIu32): Likewise.
24889 [C99-based-standards] (PRIx32): Likewise.
24890 [C99-based-standards] (PRIX32): Likewise.
24891 [C99-based-standards] (SCNd32): Likewise.
24892 [C99-based-standards] (SCNi32): Likewise.
24893 [C99-based-standards] (SCNo32): Likewise.
24894 [C99-based-standards] (SCNu32): Likewise.
24895 [C99-based-standards] (SCNx32): Likewise.
24896 [C99-based-standards] (PRIdLEAST32): Likewise.
24897 [C99-based-standards] (PRIiLEAST32): Likewise.
24898 [C99-based-standards] (PRIoLEAST32): Likewise.
24899 [C99-based-standards] (PRIuLEAST32): Likewise.
24900 [C99-based-standards] (PRIxLEAST32): Likewise.
24901 [C99-based-standards] (PRIXLEAST32): Likewise.
24902 [C99-based-standards] (SCNdLEAST32): Likewise.
24903 [C99-based-standards] (SCNiLEAST32): Likewise.
24904 [C99-based-standards] (SCNoLEAST32): Likewise.
24905 [C99-based-standards] (SCNuLEAST32): Likewise.
24906 [C99-based-standards] (SCNxLEAST32): Likewise.
24907 [C99-based-standards] (PRIdFAST32): Likewise.
24908 [C99-based-standards] (PRIiFAST32): Likewise.
24909 [C99-based-standards] (PRIoFAST32): Likewise.
24910 [C99-based-standards] (PRIuFAST32): Likewise.
24911 [C99-based-standards] (PRIxFAST32): Likewise.
24912 [C99-based-standards] (PRIXFAST32): Likewise.
24913 [C99-based-standards] (SCNdFAST32): Likewise.
24914 [C99-based-standards] (SCNiFAST32): Likewise.
24915 [C99-based-standards] (SCNoFAST32): Likewise.
24916 [C99-based-standards] (SCNuFAST32): Likewise.
24917 [C99-based-standards] (SCNxFAST32): Likewise.
24918 [C99-based-standards] (PRId64): Likewise.
24919 [C99-based-standards] (PRIi64): Likewise.
24920 [C99-based-standards] (PRIo64): Likewise.
24921 [C99-based-standards] (PRIu64): Likewise.
24922 [C99-based-standards] (PRIx64): Likewise.
24923 [C99-based-standards] (PRIX64): Likewise.
24924 [C99-based-standards] (SCNd64): Likewise.
24925 [C99-based-standards] (SCNi64): Likewise.
24926 [C99-based-standards] (SCNo64): Likewise.
24927 [C99-based-standards] (SCNu64): Likewise.
24928 [C99-based-standards] (SCNx64): Likewise.
24929 [C99-based-standards] (PRIdLEAST64): Likewise.
24930 [C99-based-standards] (PRIiLEAST64): Likewise.
24931 [C99-based-standards] (PRIoLEAST64): Likewise.
24932 [C99-based-standards] (PRIuLEAST64): Likewise.
24933 [C99-based-standards] (PRIxLEAST64): Likewise.
24934 [C99-based-standards] (PRIXLEAST64): Likewise.
24935 [C99-based-standards] (SCNdLEAST64): Likewise.
24936 [C99-based-standards] (SCNiLEAST64): Likewise.
24937 [C99-based-standards] (SCNoLEAST64): Likewise.
24938 [C99-based-standards] (SCNuLEAST64): Likewise.
24939 [C99-based-standards] (SCNxLEAST64): Likewise.
24940 [C99-based-standards] (PRIdFAST64): Likewise.
24941 [C99-based-standards] (PRIiFAST64): Likewise.
24942 [C99-based-standards] (PRIoFAST64): Likewise.
24943 [C99-based-standards] (PRIuFAST64): Likewise.
24944 [C99-based-standards] (PRIxFAST64): Likewise.
24945 [C99-based-standards] (PRIXFAST64): Likewise.
24946 [C99-based-standards] (SCNdFAST64): Likewise.
24947 [C99-based-standards] (SCNiFAST64): Likewise.
24948 [C99-based-standards] (SCNoFAST64): Likewise.
24949 [C99-based-standards] (SCNuFAST64): Likewise.
24950 [C99-based-standards] (SCNxFAST64): Likewise.
24951 [C99-based-standards] (PRIdMAX): Likewise.
24952 [C99-based-standards] (PRIiMAX): Likewise.
24953 [C99-based-standards] (PRIoMAX): Likewise.
24954 [C99-based-standards] (PRIuMAX): Likewise.
24955 [C99-based-standards] (PRIxMAX): Likewise.
24956 [C99-based-standards] (PRIXMAX): Likewise.
24957 [C99-based-standards] (SCNdMAX): Likewise.
24958 [C99-based-standards] (SCNiMAX): Likewise.
24959 [C99-based-standards] (SCNoMAX): Likewise.
24960 [C99-based-standards] (SCNuMAX): Likewise.
24961 [C99-based-standards] (SCNxMAX): Likewise.
24962 [C99-based-standards] (PRIdPTR): Likewise.
24963 [C99-based-standards] (PRIiPTR): Likewise.
24964 [C99-based-standards] (PRIoPTR): Likewise.
24965 [C99-based-standards] (PRIuPTR): Likewise.
24966 [C99-based-standards] (PRIxPTR): Likewise.
24967 [C99-based-standards] (PRIXPTR): Likewise.
24968 [C99-based-standards] (SCNdPTR): Likewise.
24969 [C99-based-standards] (SCNiPTR): Likewise.
24970 [C99-based-standards] (SCNoPTR): Likewise.
24971 [C99-based-standards] (SCNuPTR): Likewise.
24972 [C99-based-standards] (SCNxPTR): Likewise.
24973 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24974 allow.
24975 * conform/data/stdint.h-data: Update comments to clarify
24976 requirements.
24977 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
24978 type.
24979 [C99-based standards] (INT8_MAX): Likewise.
24980 [C99-based standards] (INT16_MIN): Likewise.
24981 [C99-based standards] (INT16_MAX): Likewise.
24982 [C99-based standards] (INT32_MIN): Likewise.
24983 [C99-based standards] (INT32_MAX): Likewise.
24984 [C99-based standards] (INT64_MIN): Likewise.
24985 [C99-based standards] (INT64_MAX): Likewise.
24986 [C99-based standards] (UINT8_MAX): Likewise.
24987 [C99-based standards] (UINT16_MAX): Likewise.
24988 [C99-based standards] (UINT32_MAX): Likewise.
24989 [C99-based standards] (UINT64_MAX): Likewise.
24990 [C99-based standards] (INT_LEAST8_MIN): Likewise.
24991 [C99-based standards] (INT_LEAST8_MAX): Likewise.
24992 [C99-based standards] (INT_LEAST16_MIN): Likewise.
24993 [C99-based standards] (INT_LEAST16_MAX): Likewise.
24994 [C99-based standards] (INT_LEAST32_MIN): Likewise.
24995 [C99-based standards] (INT_LEAST32_MAX): Likewise.
24996 [C99-based standards] (INT_LEAST64_MIN): Likewise.
24997 [C99-based standards] (INT_LEAST64_MAX): Likewise.
24998 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24999 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
25000 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
25001 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
25002 [C99-based standards] (INT_FAST8_MIN): Likewise.
25003 [C99-based standards] (INT_FAST8_MAX): Likewise.
25004 [C99-based standards] (INT_FAST16_MIN): Likewise.
25005 [C99-based standards] (INT_FAST16_MAX): Likewise.
25006 [C99-based standards] (INT_FAST32_MIN): Likewise.
25007 [C99-based standards] (INT_FAST32_MAX): Likewise.
25008 [C99-based standards] (INT_FAST64_MIN): Likewise.
25009 [C99-based standards] (INT_FAST64_MAX): Likewise.
25010 [C99-based standards] (UINT_FAST8_MAX): Likewise.
25011 [C99-based standards] (UINT_FAST16_MAX): Likewise.
25012 [C99-based standards] (UINT_FAST32_MAX): Likewise.
25013 [C99-based standards] (UINT_FAST64_MAX): Likewise.
25014 [C99-based standards] (INTPTR_MIN): Likewise.
25015 [C99-based standards] (INTPTR_MAX): Likewise.
25016 [C99-based standards] (UINTPTR_MAX): Likewise.
25017 [C99-based standards] (INTMAX_MIN): Likewise.
25018 [C99-based standards] (INTMAX_MAX): Likewise.
25019 [C99-based standards] (UINTMAX_MAX): Likewise.
25020 [C99-based standards] (PTRDIFF_MIN): Likewise.
25021 [C99-based standards] (PTRDIFF_MAX): Likewise.
25022 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25023 [C99-based standards] (SIZE_MAX): Likewise.
25024 [C99-based standards] (WCHAR_MAX): Likewise.
25025 [C99-based standards] (WINT_MAX): Likewise.
25026 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
25027 constraint on value.
25028 [C99-based standards] (WCHAR_MIN): Likewise.
25029 [C99-based standards] (WINT_MIN): Likewise.
25030 [C99-based standards] (*_t): Allow.
25031 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25032 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25033 Include math.h-data and complex.h-data. Remove all expectations
25034 of math.h and complex.h contents.
25035 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25036 at end of line.
25037 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25038 (struct tm): Expect tag.
25039 [C99-based-standards] (wcstof): Expect function.
25040 [C99-based-standards] (wcstold): Likewise.
25041 [C99-based-standards] (wcstoll): Likewise.
25042 [C99-based-standards] (wcstoull): Likewise.
25043 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25044 macro-int-constant. Specify type.
25045 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
25046 constraint on value.
25047 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25048 Specify type.
25049 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25050 Specify value.
25051 [ISO C standards]: Do not allow headers.
25052 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25053 wcs[abcdefghijklmnopqrstuvwxyz]*.
25054 [ISO C standards] (*_t): Do not allow.
25055 * conform/data/wctype.h-data [C99-based standards] (iswblank):
25056 Expect function.
25057 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25058 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25059 Specify type.
25060 [ISO C standards]: Do not allow headers.
25061 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25062 is[abcdefghijklmnopqrstuvwxyz]*.
25063 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25064 to[abcdefghijklmnopqrstuvwxyz]*.
25065 [ISO C standards] (*_t): Do not allow.
25066 * conform/data/stdalign.h-data: New file.
25067 * conform/data/stdbool.h-data: Likewise.
25068 * conform/data/stdnoreturn.h-data: Likewise.
25069
7514feb8
RM
250702012-11-07 Roland McGrath <roland@hack.frob.com>
25071
25072 [BZ #14815]
25073 * manual/filesys.texi (Directory Entries): Typo fix.
25074 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25075
19b2ecfc
MS
250762012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25077
25078 * elf/elf.h (EM_AARCH64): New macro.
25079 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25080 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25081 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25082 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25083 (R_AARCH64_TLSDESC): Likewise.
25084 (NT_ARM_TLS): Likewise.
25085 (NT_ARM_HW_BREAK): Likewise.
25086 (NT_ARM_HW_WATCH): Likewise.
25087
60e235ee
JM
250882012-11-07 Joseph Myers <joseph@codesourcery.com>
25089
25090 [BZ #14811]
25091 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25092 (__ieee754_powl): Saturate nonzero exponents with absolute value
25093 below 0x1p-79 to +/- 0x1p-79.
25094 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25095 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25096 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25097 nonzero exponents with absolute value below 0x1p-32 to +/-
25098 0x1p-32.
25099 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25100 (__ieee754_powl): Saturate nonzero exponents with absolute value
25101 below 0x1p-79 to +/- 0x1p-79.
25102 * math/libm-test.inc (pow_test): Add more tests.
25103
0ab234b7
AK
251042012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25105
25106 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25107 _dl_s390_cap_flags with kernel. Increase string length.
25108 (_dl_s390_platforms): Add z196 and zEC12.
25109
45832f74
JM
251102012-11-07 Joseph Myers <joseph@codesourcery.com>
25111
25112 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25113 Change XOPEN21K to XOPEN2K.
25114
19218757
MK
251152012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
25116
25117 * string/memmove.c: Use memcpy when possible.
25118
c5f45721
AJ
251192012-11-06 Andreas Jaeger <aj@suse.de>
25120
25121 * po/eo.po: Update from translation team.
25122
82477c28
JM
251232012-11-06 Joseph Myers <joseph@codesourcery.com>
25124
25125 [BZ #14793]
25126 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25127 exponent and small x and y exponents, scale x or y up. Increase
25128 by 2 the exponent used in scaling up.
25129 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25130 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25131 * math/libm-test.inc (fma_test): Add more tests.
25132 (fma_test_towardzero): Likewise.
25133 (fma_test_downward): Likewise.
25134 (fma_test_upward): Likewise.
25135
99252c8c
JM
251362012-11-05 Joseph Myers <joseph@codesourcery.com>
25137
acfa885f
JM
25138 [BZ #14805]
25139 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25140 fenv_t *.
25141
99252c8c
JM
25142 [BZ #14801]
25143 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25144 namespace for names of struct fields.
25145 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25146 fenv_t fields.
25147 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25148 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25149
d6d98dea
ST
251502012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25151
25152 [BZ #3665]
25153 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25154
e10bb107
TS
251552012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25156
25157 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25158 PTR_DEMANGLE.
25159
25160 [BZ #5246]
25161 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25162 PTR_DEMANGLE.
25163
a0c2940d
JM
251642012-11-04 Joseph Myers <joseph@codesourcery.com>
25165
25166 [BZ #14797]
25167 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25168 definitely overflow as x * y not x * y + z.
25169 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25170 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25171 * math/libm-test.inc (fma_test): Add more tests.
25172 (fma_test_towardzero): Likewise.
25173 (fma_test_downward): Likewise.
25174 (fma_test_upward): Likewise.
25175
b830319d
TS
251762012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25177
25178 [BZ #157]
25179
25180 * include/stub-tag.h: Remove file.
25181 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25182 '#include' of it.
25183 * manual/maint.texi (Porting): Don't reference it.
25184 * Makerules ($(objpfx)stubs): Likewise.
25185 * dirent/closedir.c: Don't include <stub-tag.h>.
25186 * dirent/dirfd.c: Likewise.
25187 * dirent/fdopendir.c: Likewise.
25188 * dirent/getdents.c: Likewise.
25189 * dirent/getdents64.c: Likewise.
25190 * dirent/opendir.c: Likewise.
25191 * dirent/readdir.c: Likewise.
25192 * dirent/readdir64.c: Likewise.
25193 * dirent/readdir64_r.c: Likewise.
25194 * dirent/readdir_r.c: Likewise.
25195 * dirent/rewinddir.c: Likewise.
25196 * dirent/seekdir.c: Likewise.
25197 * dirent/telldir.c: Likewise.
25198 * gmon/profil.c: Likewise.
25199 * grp/setgroups.c: Likewise.
25200 * inet/if_index.c: Likewise.
25201 * io/access.c: Likewise.
25202 * io/chdir.c: Likewise.
25203 * io/chmod.c: Likewise.
25204 * io/chown.c: Likewise.
25205 * io/close.c: Likewise.
25206 * io/dup.c: Likewise.
25207 * io/dup2.c: Likewise.
25208 * io/dup3.c: Likewise.
25209 * io/euidaccess.c: Likewise.
25210 * io/faccessat.c: Likewise.
25211 * io/fchdir.c: Likewise.
25212 * io/fchmod.c: Likewise.
25213 * io/fchmodat.c: Likewise.
25214 * io/fchown.c: Likewise.
25215 * io/fchownat.c: Likewise.
25216 * io/fcntl.c: Likewise.
25217 * io/flock.c: Likewise.
25218 * io/fstatfs.c: Likewise.
25219 * io/fstatfs64.c: Likewise.
25220 * io/fstatvfs.c: Likewise.
25221 * io/fstatvfs64.c: Likewise.
25222 * io/futimens.c: Likewise.
25223 * io/fxstat.c: Likewise.
25224 * io/fxstat64.c: Likewise.
25225 * io/fxstatat.c: Likewise.
25226 * io/fxstatat64.c: Likewise.
25227 * io/getcwd.c: Likewise.
25228 * io/isatty.c: Likewise.
25229 * io/lchmod.c: Likewise.
25230 * io/lchown.c: Likewise.
25231 * io/link.c: Likewise.
25232 * io/linkat.c: Likewise.
25233 * io/lseek.c: Likewise.
25234 * io/lseek64.c: Likewise.
25235 * io/lxstat64.c: Likewise.
25236 * io/mkdir.c: Likewise.
25237 * io/mkdirat.c: Likewise.
25238 * io/mkfifo.c: Likewise.
25239 * io/mkfifoat.c: Likewise.
25240 * io/open.c: Likewise.
25241 * io/open64.c: Likewise.
25242 * io/openat.c: Likewise.
25243 * io/openat64.c: Likewise.
25244 * io/pipe.c: Likewise.
25245 * io/pipe2.c: Likewise.
25246 * io/poll.c: Likewise.
25247 * io/posix_fadvise.c: Likewise.
25248 * io/posix_fadvise64.c: Likewise.
25249 * io/posix_fallocate.c: Likewise.
25250 * io/posix_fallocate64.c: Likewise.
25251 * io/read.c: Likewise.
25252 * io/readlink.c: Likewise.
25253 * io/readlinkat.c: Likewise.
25254 * io/rmdir.c: Likewise.
25255 * io/sendfile.c: Likewise.
25256 * io/sendfile64.c: Likewise.
25257 * io/statfs.c: Likewise.
25258 * io/statfs64.c: Likewise.
25259 * io/statvfs.c: Likewise.
25260 * io/statvfs64.c: Likewise.
25261 * io/symlink.c: Likewise.
25262 * io/symlinkat.c: Likewise.
25263 * io/ttyname.c: Likewise.
25264 * io/ttyname_r.c: Likewise.
25265 * io/umask.c: Likewise.
25266 * io/unlink.c: Likewise.
25267 * io/unlinkat.c: Likewise.
25268 * io/utime.c: Likewise.
25269 * io/utimensat.c: Likewise.
25270 * io/write.c: Likewise.
25271 * io/xmknod.c: Likewise.
25272 * io/xmknodat.c: Likewise.
25273 * io/xstat.c: Likewise.
25274 * io/xstat64.c: Likewise.
25275 * login/getpt.c: Likewise.
25276 * login/grantpt.c: Likewise.
25277 * login/unlockpt.c: Likewise.
25278 * math/e_acoshl.c: Likewise.
25279 * math/e_acosl.c: Likewise.
25280 * math/e_asinl.c: Likewise.
25281 * math/e_atan2l.c: Likewise.
25282 * math/e_atanhl.c: Likewise.
25283 * math/e_coshl.c: Likewise.
25284 * math/e_expl.c: Likewise.
25285 * math/e_fmodl.c: Likewise.
25286 * math/e_gammal_r.c: Likewise.
25287 * math/e_hypotl.c: Likewise.
25288 * math/e_j0l.c: Likewise.
25289 * math/e_j1l.c: Likewise.
25290 * math/e_jnl.c: Likewise.
25291 * math/e_lgammal_r.c: Likewise.
25292 * math/e_log10l.c: Likewise.
25293 * math/e_log2l.c: Likewise.
25294 * math/e_logl.c: Likewise.
25295 * math/e_powl.c: Likewise.
25296 * math/e_rem_pio2l.c: Likewise.
25297 * math/e_sinhl.c: Likewise.
25298 * math/e_sqrtl.c: Likewise.
25299 * math/fclrexcpt.c: Likewise.
25300 * math/fedisblxcpt.c: Likewise.
25301 * math/feenablxcpt.c: Likewise.
25302 * math/fegetenv.c: Likewise.
25303 * math/fegetexcept.c: Likewise.
25304 * math/fegetround.c: Likewise.
25305 * math/feholdexcpt.c: Likewise.
25306 * math/fesetenv.c: Likewise.
25307 * math/fesetround.c: Likewise.
25308 * math/feupdateenv.c: Likewise.
25309 * math/fgetexcptflg.c: Likewise.
25310 * math/fraiseexcpt.c: Likewise.
25311 * math/fsetexcptflg.c: Likewise.
25312 * math/ftestexcept.c: Likewise.
25313 * math/k_cosl.c: Likewise.
25314 * math/k_rem_pio2l.c: Likewise.
25315 * math/k_sinl.c: Likewise.
25316 * math/k_tanl.c: Likewise.
25317 * math/s_asinhl.c: Likewise.
25318 * math/s_atanl.c: Likewise.
25319 * math/s_cbrtl.c: Likewise.
25320 * math/s_erfl.c: Likewise.
25321 * math/s_expm1l.c: Likewise.
25322 * math/s_log1pl.c: Likewise.
25323 * math/s_tanhl.c: Likewise.
25324 * misc/acct.c: Likewise.
25325 * misc/brk.c: Likewise.
25326 * misc/chflags.c: Likewise.
25327 * misc/chroot.c: Likewise.
25328 * misc/fchflags.c: Likewise.
25329 * misc/fgetxattr.c: Likewise.
25330 * misc/flistxattr.c: Likewise.
25331 * misc/fremovexattr.c: Likewise.
25332 * misc/fsetxattr.c: Likewise.
25333 * misc/fsync.c: Likewise.
25334 * misc/ftruncate.c: Likewise.
25335 * misc/futimes.c: Likewise.
25336 * misc/futimesat.c: Likewise.
25337 * misc/getdomain.c: Likewise.
25338 * misc/getdtsz.c: Likewise.
25339 * misc/gethostid.c: Likewise.
25340 * misc/gethostname.c: Likewise.
25341 * misc/getloadavg.c: Likewise.
25342 * misc/getpagesize.c: Likewise.
25343 * misc/getsysstats.c: Likewise.
25344 * misc/getxattr.c: Likewise.
25345 * misc/gtty.c: Likewise.
25346 * misc/ioctl.c: Likewise.
25347 * misc/lgetxattr.c: Likewise.
25348 * misc/listxattr.c: Likewise.
25349 * misc/llistxattr.c: Likewise.
25350 * misc/lremovexattr.c: Likewise.
25351 * misc/lsetxattr.c: Likewise.
25352 * misc/lutimes.c: Likewise.
25353 * misc/madvise.c: Likewise.
25354 * misc/mincore.c: Likewise.
25355 * misc/mlock.c: Likewise.
25356 * misc/mlockall.c: Likewise.
25357 * misc/mmap.c: Likewise.
25358 * misc/mprotect.c: Likewise.
25359 * misc/msync.c: Likewise.
25360 * misc/munlock.c: Likewise.
25361 * misc/munlockall.c: Likewise.
25362 * misc/munmap.c: Likewise.
25363 * misc/preadv.c: Likewise.
25364 * misc/preadv64.c: Likewise.
25365 * misc/ptrace.c: Likewise.
25366 * misc/pwritev.c: Likewise.
25367 * misc/pwritev64.c: Likewise.
25368 * misc/readv.c: Likewise.
25369 * misc/reboot.c: Likewise.
25370 * misc/remap_file_pages.c: Likewise.
25371 * misc/removexattr.c: Likewise.
25372 * misc/revoke.c: Likewise.
25373 * misc/select.c: Likewise.
25374 * misc/setdomain.c: Likewise.
25375 * misc/setegid.c: Likewise.
25376 * misc/seteuid.c: Likewise.
25377 * misc/sethostid.c: Likewise.
25378 * misc/sethostname.c: Likewise.
25379 * misc/setregid.c: Likewise.
25380 * misc/setreuid.c: Likewise.
25381 * misc/setxattr.c: Likewise.
25382 * misc/sstk.c: Likewise.
25383 * misc/stty.c: Likewise.
25384 * misc/swapoff.c: Likewise.
25385 * misc/swapon.c: Likewise.
25386 * misc/sync.c: Likewise.
25387 * misc/syncfs.c: Likewise.
25388 * misc/syscall.c: Likewise.
25389 * misc/truncate.c: Likewise.
25390 * misc/ualarm.c: Likewise.
25391 * misc/usleep.c: Likewise.
25392 * misc/ustat.c: Likewise.
25393 * misc/utimes.c: Likewise.
25394 * misc/vhangup.c: Likewise.
25395 * misc/writev.c: Likewise.
25396 * posix/_exit.c: Likewise.
25397 * posix/alarm.c: Likewise.
25398 * posix/execve.c: Likewise.
25399 * posix/fexecve.c: Likewise.
25400 * posix/fork.c: Likewise.
25401 * posix/fpathconf.c: Likewise.
25402 * posix/getaddrinfo.c: Likewise.
25403 * posix/getegid.c: Likewise.
25404 * posix/geteuid.c: Likewise.
25405 * posix/getgid.c: Likewise.
25406 * posix/getgroups.c: Likewise.
25407 * posix/getlogin.c: Likewise.
25408 * posix/getlogin_r.c: Likewise.
25409 * posix/getpgid.c: Likewise.
25410 * posix/getpid.c: Likewise.
25411 * posix/getppid.c: Likewise.
25412 * posix/getresgid.c: Likewise.
25413 * posix/getresuid.c: Likewise.
25414 * posix/getsid.c: Likewise.
25415 * posix/getuid.c: Likewise.
25416 * posix/glob64.c: Likewise.
25417 * posix/nanosleep.c: Likewise.
25418 * posix/pathconf.c: Likewise.
25419 * posix/pause.c: Likewise.
25420 * posix/posix_madvise.c: Likewise.
25421 * posix/pread.c: Likewise.
25422 * posix/pread64.c: Likewise.
25423 * posix/pwrite.c: Likewise.
25424 * posix/pwrite64.c: Likewise.
25425 * posix/sched_getaffinity.c: Likewise.
25426 * posix/sched_getp.c: Likewise.
25427 * posix/sched_gets.c: Likewise.
25428 * posix/sched_primax.c: Likewise.
25429 * posix/sched_primin.c: Likewise.
25430 * posix/sched_rr_gi.c: Likewise.
25431 * posix/sched_setaffinity.c: Likewise.
25432 * posix/sched_setp.c: Likewise.
25433 * posix/sched_sets.c: Likewise.
25434 * posix/sched_yield.c: Likewise.
25435 * posix/setgid.c: Likewise.
25436 * posix/setlogin.c: Likewise.
25437 * posix/setpgid.c: Likewise.
25438 * posix/setresgid.c: Likewise.
25439 * posix/setresuid.c: Likewise.
25440 * posix/setsid.c: Likewise.
25441 * posix/setuid.c: Likewise.
25442 * posix/sleep.c: Likewise.
25443 * posix/spawni.c: Likewise.
25444 * posix/sysconf.c: Likewise.
25445 * posix/times.c: Likewise.
25446 * posix/wait.c: Likewise.
25447 * posix/wait3.c: Likewise.
25448 * posix/wait4.c: Likewise.
25449 * posix/waitpid.c: Likewise.
25450 * resolv/gai_sigqueue.c: Likewise.
25451 * resource/getpriority.c: Likewise.
25452 * resource/getrlimit.c: Likewise.
25453 * resource/getrusage.c: Likewise.
25454 * resource/nice.c: Likewise.
25455 * resource/setpriority.c: Likewise.
25456 * resource/setrlimit.c: Likewise.
25457 * resource/ulimit.c: Likewise.
25458 * rt/aio_cancel.c: Likewise.
25459 * rt/aio_fsync.c: Likewise.
25460 * rt/aio_read.c: Likewise.
25461 * rt/aio_sigqueue.c: Likewise.
25462 * rt/aio_suspend.c: Likewise.
25463 * rt/aio_write.c: Likewise.
25464 * rt/clock_getres.c: Likewise.
25465 * rt/clock_gettime.c: Likewise.
25466 * rt/clock_nanosleep.c: Likewise.
25467 * rt/clock_settime.c: Likewise.
25468 * rt/lio_listio.c: Likewise.
25469 * rt/mq_close.c: Likewise.
25470 * rt/mq_getattr.c: Likewise.
25471 * rt/mq_notify.c: Likewise.
25472 * rt/mq_open.c: Likewise.
25473 * rt/mq_receive.c: Likewise.
25474 * rt/mq_send.c: Likewise.
25475 * rt/mq_setattr.c: Likewise.
25476 * rt/mq_timedreceive.c: Likewise.
25477 * rt/mq_timedsend.c: Likewise.
25478 * rt/mq_unlink.c: Likewise.
25479 * rt/shm_open.c: Likewise.
25480 * rt/shm_unlink.c: Likewise.
25481 * rt/timer_create.c: Likewise.
25482 * rt/timer_delete.c: Likewise.
25483 * rt/timer_getoverr.c: Likewise.
25484 * rt/timer_gettime.c: Likewise.
25485 * rt/timer_settime.c: Likewise.
25486 * setjmp/__longjmp.c: Likewise.
25487 * setjmp/setjmp.c: Likewise.
25488 * signal/kill.c: Likewise.
25489 * signal/killpg.c: Likewise.
25490 * signal/raise.c: Likewise.
25491 * signal/sigaction.c: Likewise.
25492 * signal/sigaltstack.c: Likewise.
25493 * signal/sigblock.c: Likewise.
25494 * signal/sigignore.c: Likewise.
25495 * signal/sigintr.c: Likewise.
25496 * signal/signal.c: Likewise.
25497 * signal/sigpause.c: Likewise.
25498 * signal/sigpending.c: Likewise.
25499 * signal/sigqueue.c: Likewise.
25500 * signal/sigreturn.c: Likewise.
25501 * signal/sigset.c: Likewise.
25502 * signal/sigsetmask.c: Likewise.
25503 * signal/sigstack.c: Likewise.
25504 * signal/sigsuspend.c: Likewise.
25505 * signal/sigtimedwait.c: Likewise.
25506 * signal/sigvec.c: Likewise.
25507 * signal/sigwait.c: Likewise.
25508 * signal/sigwaitinfo.c: Likewise.
25509 * signal/sysv_signal.c: Likewise.
25510 * socket/accept.c: Likewise.
25511 * socket/accept4.c: Likewise.
25512 * socket/bind.c: Likewise.
25513 * socket/connect.c: Likewise.
25514 * socket/getpeername.c: Likewise.
25515 * socket/getsockname.c: Likewise.
25516 * socket/getsockopt.c: Likewise.
25517 * socket/isfdtype.c: Likewise.
25518 * socket/listen.c: Likewise.
25519 * socket/recv.c: Likewise.
25520 * socket/recvfrom.c: Likewise.
25521 * socket/recvmsg.c: Likewise.
25522 * socket/send.c: Likewise.
25523 * socket/sendmsg.c: Likewise.
25524 * socket/sendto.c: Likewise.
25525 * socket/setsockopt.c: Likewise.
25526 * socket/shutdown.c: Likewise.
25527 * socket/sockatmark.c: Likewise.
25528 * socket/socket.c: Likewise.
25529 * socket/socketpair.c: Likewise.
25530 * stdio-common/ctermid.c: Likewise.
25531 * stdio-common/cuserid.c: Likewise.
25532 * stdio-common/remove.c: Likewise.
25533 * stdio-common/rename.c: Likewise.
25534 * stdio-common/renameat.c: Likewise.
25535 * stdio-common/tempname.c: Likewise.
25536 * stdlib/getcontext.c: Likewise.
25537 * stdlib/makecontext.c: Likewise.
25538 * stdlib/setcontext.c: Likewise.
25539 * stdlib/swapcontext.c: Likewise.
25540 * stdlib/system.c: Likewise.
25541 * streams/fattach.c: Likewise.
25542 * streams/fdetach.c: Likewise.
25543 * streams/getmsg.c: Likewise.
25544 * streams/getpmsg.c: Likewise.
25545 * streams/putmsg.c: Likewise.
25546 * streams/putpmsg.c: Likewise.
25547 * sysdeps/unix/bsd/getpt.c: Likewise.
25548 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25549 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25550 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25552 Likewise.
25553 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25554 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25555 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25556 * sysvipc/msgctl.c: Likewise.
25557 * sysvipc/msgget.c: Likewise.
25558 * sysvipc/msgrcv.c: Likewise.
25559 * sysvipc/msgsnd.c: Likewise.
25560 * sysvipc/semctl.c: Likewise.
25561 * sysvipc/semget.c: Likewise.
25562 * sysvipc/semop.c: Likewise.
25563 * sysvipc/semtimedop.c: Likewise.
25564 * sysvipc/shmat.c: Likewise.
25565 * sysvipc/shmctl.c: Likewise.
25566 * sysvipc/shmdt.c: Likewise.
25567 * sysvipc/shmget.c: Likewise.
25568 * termios/tcdrain.c: Likewise.
25569 * termios/tcflow.c: Likewise.
25570 * termios/tcflush.c: Likewise.
25571 * termios/tcgetattr.c: Likewise.
25572 * termios/tcgetpgrp.c: Likewise.
25573 * termios/tcsendbrk.c: Likewise.
25574 * termios/tcsetattr.c: Likewise.
25575 * termios/tcsetpgrp.c: Likewise.
25576 * time/adjtime.c: Likewise.
25577 * time/clock.c: Likewise.
25578 * time/getitimer.c: Likewise.
25579 * time/gettimeofday.c: Likewise.
25580 * time/setitimer.c: Likewise.
25581 * time/settimeofday.c: Likewise.
25582 * time/stime.c: Likewise.
25583 * time/time.c: Likewise.
25584
255852012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 25586
a20492cf
PT
25587 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25588 /usr/old/bin.
25589
72e182e3
PT
25590 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25591 instead of spaces.
25592 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25593
fbeafede
JM
255942012-11-03 Joseph Myers <joseph@codesourcery.com>
25595
5b5b04d6
JM
25596 [BZ #14796]
25597 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25598 FE_TONEAREST before applying Dekker multiplication and Knuth
25599 addition. Clear inexact exceptions and check for exact zero
25600 results afterwards.
25601 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25602 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25603 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25604 * math/libm-test.inc (fma_test): Add more tests.
25605 (fma_test_towardzero): Likewise.
25606 (fma_test_downward): Likewise.
25607 (fma_test_upward): Likewise.
25608 * sysdeps/generic/math_private.h (default_libc_fesetround): New
25609 function.
25610 (libc_fesetround): New macro.
25611 (libc_fesetroundf): Likewise.
25612 (libc_fesetroundl): Likewise.
25613 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25614 function.
25615 (libc_fesetround_387): Likewise.
25616 (libc_fesetroundf): New macro.
25617 (libc_fesetround): Likewise.
25618 (libc_fesetroundl): Likewise.
25619 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25620 function.
25621 (libc_fesetroundf): New macro.
25622 (libc_fesetround): Likewise.
25623 (libc_fesetroundl): Likewise.
25624 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25625 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25626 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25627 libm_hidden_ver.
25628 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25629 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25630 libm_hidden_def.
25631 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25632 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25633 libm_hidden_ver.
25634 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25635 libm_hidden_def.
25636
fbeafede
JM
25637 [BZ #3439]
25638 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25639 integer constant usable in #if and use that to give value to enum
25640 constant.
25641 (FE_DIVBYZERO): Likewise.
25642 (FE_UNDERFLOW): Likewise.
25643 (FE_OVERFLOW): Likewise.
25644 (FE_INVALID): Likewise.
25645 (FE_INVALID_SNAN): Likewise.
25646 (FE_INVALID_ISI): Likewise.
25647 (FE_INVALID_IDI): Likewise.
25648 (FE_INVALID_ZDZ): Likewise.
25649 (FE_INVALID_IMZ): Likewise.
25650 (FE_INVALID_COMPARE): Likewise.
25651 (FE_INVALID_SOFTWARE): Likewise.
25652 (FE_INVALID_SQRT): Likewise.
25653 (FE_INVALID_INTEGER_CONVERSION): Likewise.
25654 (FE_TONEAREST): Likewise.
25655 (FE_TOWARDZERO): Likewise.
25656 (FE_UPWARD): Likewise.
25657 (FE_DOWNWARD): Likewise.
25658 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25659 (FE_DIVBYZERO): Likewise.
25660 (FE_OVERFLOW): Likewise.
25661 (FE_UNDERFLOW): Likewise.
25662 (FE_INEXACT): Likewise.
25663 (FE_TONEAREST): Likewise.
25664 (FE_DOWNWARD): Likewise.
25665 (FE_UPWARD): Likewise.
25666 (FE_TOWARDZERO): Likewise.
25667 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25668 (FE_UNDERFLOW): Likewise.
25669 (FE_OVERFLOW): Likewise.
25670 (FE_DIVBYZERO): Likewise.
25671 (FE_INVALID): Likewise.
25672 (FE_TONEAREST): Likewise.
25673 (FE_TOWARDZERO): Likewise.
25674 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25675 (FE_OVERFLOW): Likewise.
25676 (FE_UNDERFLOW): Likewise.
25677 (FE_DIVBYZERO): Likewise.
25678 (FE_INEXACT): Likewise.
25679 (FE_TONEAREST): Likewise.
25680 (FE_TOWARDZERO): Likewise.
25681 (FE_UPWARD): Likewise.
25682 (FE_DOWNWARD): Likewise.
25683 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25684 (FE_DIVBYZERO): Likewise.
25685 (FE_OVERFLOW): Likewise.
25686 (FE_UNDERFLOW): Likewise.
25687 (FE_INEXACT): Likewise.
25688 (FE_TONEAREST): Likewise.
25689 (FE_DOWNWARD): Likewise.
25690 (FE_UPWARD): Likewise.
25691 (FE_TOWARDZERO): Likewise.
25692
105ca950
CM
256932012-11-02 Chris Metcalf <cmetcalf@tilera.com>
25694
25695 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25696
a542b389
AS
256972012-11-03 Andreas Schwab <schwab@linux-m68k.org>
25698
25699 * scripts/cross-test-ssh.sh (command): Use newlines to separate
25700 commands. Quote $PWD.
25701 (blacklist_exports): Don't use remove_newlines. Replace "declare
25702 -x" by "export".
25703 (remove_newlines): Remove.
25704
f62c8abc
L
257052012-11-02 H.J. Lu <hongjiu.lu@intel.com>
25706
25707 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25708 * stdlib/stdlib.h (atof): Moved to ...
25709 * include/bits/stdlib-float.h: Here. New file.
25710 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25711 * stdlib/bits/stdlib-float.h: New file.
25712 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25713 -mno-sse -mno-mmx.
25714 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25715 <xmmintrin.h>.
25716
0155d5b2
JM
257172012-11-02 Joseph Myers <joseph@codesourcery.com>
25718
a68d0680
JM
25719 * conform/conformtest.pl (@headers): Add fenv.h.
25720 * conform/data/fenv.h-data: New file.
25721 * include/fenv.h [_ISOMAC]: Disable all contents of file except
25722 include of <math/fenv.h>.
25723
caf7f573
JM
25724 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25725 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25726 && !UNIX98]. Enables tests for XOPEN2K8.
25727 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25728 POSIX2008]: Likewise.
25729
6c073ad6
JM
25730 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25731 (struct rusage): Do not expect type or its members.
25732
0155d5b2
JM
25733 [BZ #3439]
25734 * math/math.h (FP_NAN): Define macro to integer constant usable in
25735 #if and use that to give value to enum constant.
25736 (FP_INFINITE): Likewise.
25737 (FP_ZERO): Likewise.
25738 (FP_SUBNORMAL): Likewise.
25739 (FP_NORMAL): Likewise.
25740
b5dcacb4
AS
257412012-11-02 Andreas Schwab <schwab@linux-m68k.org>
25742
25743 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25744 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25745 arguments.
25746
f7934be8
RM
257472012-11-02 Roland McGrath <roland@hack.frob.com>
25748
25749 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25750 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25751 autoconf-time if not.
25752 * configure.in: Remove AC_PREREQ.
25753
d7d08bde
TMQMF
257542012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25755
25756 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25757 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25758 of the internal implementation.
25759
dcdae19a
JM
257602012-11-02 Joseph Myers <joseph@codesourcery.com>
25761
25762 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25763 except include of <misc/sys/syslog.h>.
25764
d6cffd3e
AS
257652012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25766
25767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25768 function returns with a NULL context exit with zero.
25769
b3563932
TMQMF
257702012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25771
25772 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25773
b288a93d
L
257742012-11-01 H.J. Lu <hongjiu.lu@intel.com>
25775
25776 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25777 (run_program_cmd): This.
25778 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25779 (tst_langinfo): New variable. Use it.
25780
a2421a68
SAS
257812012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
25782
25783 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25784 floating point opcodes.
25785
6f796e1b
TS
257862012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25787
7402596b
TS
25788 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25789 variable.
25790
d0d4f868
TS
25791 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25792
6f796e1b
TS
25793 * sysdeps/mach/hurd/powerpc: Remove directory.
25794 * sysdeps/mach/powerpc: Likewise.
25795
4da224a2
AS
257962012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25797
25798 * scripts/check-local-headers.sh: Ignore c++ headers.
25799
341dd673
TS
258002012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25801
25802 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25803 __libc_cleanup_region_start argument.
25804
473611b2
JM
258052012-11-01 Joseph Myers <joseph@codesourcery.com>
25806
25807 [BZ #14784]
25808 [BZ #14785]
25809 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25810 x * y using scaling, not as x * y + z.
25811 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25812 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25813 * math/libm-test.inc (fma_test): Add more tests.
25814 (fma_test_towardzero): Likewise.
25815 (fma_test_downward): Likewise.
25816 (fma_test_upward): Likewise.
25817
4078da3d
TS
258182012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25819
25820 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25821
903252aa
JM
258222012-10-31 Joseph Myers <joseph@codesourcery.com>
25823
25824 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25825 New variable.
25826
cbc818d0
TS
258272012-10-31 Thomas Schwinge <thomas@codesourcery.com>
25828
25829 * rt/tst-shm.c (worker): Correct checking for mmap failure.
25830
5a03cb1e
AS
258312012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25832
25833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25834 Fix sort order.
25835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25836 Likewise.
25837
90aff2ff
TMQMF
258382012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25839
25840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25841 Fix the order of the list for glibc 2.17.
25842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25843 Likewise.
25844
1818fcb7
AS
258452012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25846
25847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25848
ef82f4da
JM
258492012-10-31 Joseph Myers <joseph@codesourcery.com>
25850
16a0e2ec
JM
25851 [BZ #14610]
25852 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25853 for low part of x being zero before using __atanl (y).
25854 * math/libm-test.inc (atan2_test): Add another test.
25855
0eb69512
JM
25856 * manual/install.texi (Configuring and compiling): Document
25857 general use of test-wrapper and test-wrapper-env.
25858 * INSTALL: Regenerated.
25859
ef82f4da
JM
25860 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25861 (__fma): Do not extract and scale down low bits on after-rounding
25862 systems when result rounded to normal precision would have normal
25863 exponent.
25864 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25865 (__fmal): Do not extract and scale down low bits on after-rounding
25866 systems when result rounded to normal precision would have normal
25867 exponent.
25868 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25869 (__fmal): Do not extract and scale down low bits on after-rounding
25870 systems when result rounded to normal precision would have normal
25871 exponent.
25872 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25873 macro.
25874 (fma_test): Add more tests.
25875 (fma_test_towardzero): Likewise.
25876 (fma_test_downward): Likewise.
25877 (fma_test_upward): Likewise.
25878
954ef0d9
L
258792012-10-30 H.J. Lu <hongjiu.lu@intel.com>
25880
25881 * sysdeps/i386/tininess.h: Renamed to ...
25882 * sysdeps/x86/tininess.h: This.
25883 * sysdeps/x86_64/tininess.h: Removed.
25884
df61ffb2
JM
258852012-10-30 Joseph Myers <joseph@codesourcery.com>
25886
25887 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25888 input. Use $(build-program-cmd).
25889 ($(objpfx)tst-array1-static.out): Likewise.
25890 ($(objpfx)tst-array2.out): Likewise.
25891 ($(objpfx)tst-array3.out): Likewise.
25892 ($(objpfx)tst-array4.out): Likewise.
25893 ($(objpfx)tst-array5.out): Likewise.
25894 ($(objpfx)tst-array5-static.out): Likewise.
25895
01767843
CM
258962012-10-30 Chris Metcalf <cmetcalf@tilera.com>
25897
47cc1490
CM
25898 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25899 if defined.
25900
01767843
CM
25901 * nss/nsswitch.h (nss_interface_function): Provide new
25902 macro for use with NSS functions.
25903 * grp/initgroups.c: Use new macro.
25904 * nss/getXXbyYY.c: Likewise.
25905 * nss/getXXbyYY_r.c: Likewise.
25906 * nss/getXXent.c: Likewise.
25907 * nss/getXXent_r.c: Likewise.
25908 * sysdeps/posix/getaddrinfo.c: Likewise.
25909
8321aa97
AJ
259102012-10-30 Andreas Jaeger <aj@suse.de>
25911
25912 * po/ru.po: Update Russion translation from translation project.
25913
2a27fd6d
JM
259142012-10-30 Joseph Myers <joseph@codesourcery.com>
25915
8627a232
JM
25916 [BZ #14152]
25917 [BZ #14783]
25918 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25919 result and shift together with sticky bit instead of replicating
25920 round-to-nearest rounding.
25921 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25922 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25923 * math/libm-test.inc (fma_test): Add more tests. Do not permit
25924 missing underflow exceptions.
25925 (fma_test_towardzero): Add more tests.
25926 (fma_test_downward): Likewise.
25927 (fma_test_upward): Likewise.
25928
2a27fd6d
JM
25929 [BZ #14047]
25930 * sysdeps/generic/tininess.h: New file.
25931 * sysdeps/i386/tininess.h: Likewise.
25932 * sysdeps/sh/tininess.h: Likewise.
25933 * sysdeps/x86_64/tininess.h: Likewise.
25934 * stdlib/tst-strtod-underflow.c: Likewise.
25935 * stdlib/tst-tininess.c: Likewise.
25936 * stdlib/strtod_l.c: Include <tininess.h>.
25937 (round_and_return): Do not set errno for exact underflow cases.
25938 Force an underflow exception when setting errno for underflow.
25939 Determine underflow based on rounding to normal precision if
25940 TININESS_AFTER_ROUNDING.
25941 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25942 ERANGE for exact underflow cases.
25943 * stdlib/Makefile (tests): Add tst-tininess and
25944 tst-strtod-underflow.
25945 ($(objpfx)tst-tininess): Use $(link-libm).
25946 ($(objpfx)tst-strtod-underflow): Likewise.
25947
e7170363
AJ
259482012-10-30 Andreas Jaeger <aj@suse.de>
25949
e5088dc6
AJ
25950 [BZ#14767]
25951 * elf/Makefile (tests): Remove conditional for have-initfini-array
25952 since this is now always required and the variable does not exist
25953 anymore.
25954 (tests-static): Likewise.
25955 (modules-names): Likewise.
25956
e7170363 25957 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
25958
25959 * elf/tst-array1.c (fini_array): Make writeable so that it can be
25960 merged with constructor/destructor.
25961 (init_array): Likewise.
25962 * elf/tst-array2dep.c (fini_array): Likewise.
25963 (init_array): Likewise.
25964
60457d8a
MF
259652012-10-29 Mike Frysinger <vapier@gentoo.org>
25966
25967 * manual/message.texi: Delete @cartouche tags.
25968
8bece752
PT
259692012-10-29 Pino Toscano <toscano.pino@tiscali.it>
25970
94ce799f
PT
25971 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25972 EOPNOTSUPP.
25973 * sysdeps/mach/hurd/fsync.c: Likewise.
25974
8bece752
PT
25975 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25976 [_POSIX_REALTIME_SIGNALS]: Change condition to
25977 [_POSIX_REALTIME_SIGNALS > 0].
25978
86ebe6b1
AJ
259792012-10-27 Andreas Jaeger <aj@suse.de>
25980
25981 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25982 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25983 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25984 [__WORDSIZE != 64]: Likewise.
25985
54399c08
L
259862012-10-26 H.J. Lu <hongjiu.lu@intel.com>
25987
25988 * iconvdata/tst-table.sh: Remove ${SHELL}.
25989 * iconvdata/tst-tables.sh: Likewise.
25990
e2211bed
DM
259912012-10-25 David S. Miller <davem@davemloft.net>
25992
25993 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25994 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25995 of strtoull.
25996
f303f97c
DM
25997 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25998 ifunc-impl-list.c
25999 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26000 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
26001 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
26002 file.
26003
1e9d84cd
RM
260042012-10-25 Roland McGrath <roland@hack.frob.com>
26005
26006 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26007 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
26008 __getdirentries.
26009
df381762
JM
260102012-10-25 Joseph Myers <joseph@codesourcery.com>
26011 Jim Blandy <jimb@codesourcery.com>
26012
26013 * scripts/cross-test-ssh.sh: New file.
26014 * manual/install.texi (Configuring and compiling): Document use of
26015 cross-test-ssh.sh.
26016 * INSTALL: Regenerated.
26017
bff64913
PT
260182012-10-25 Pino Toscano <toscano.pino@tiscali.it>
26019
26020 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26021 EOPNOTSUPP.
26022
25fe8932
JM
260232012-10-25 Joseph Myers <joseph@codesourcery.com>
26024
26025 * Makeconfig (run-program-prefix): Fix comment.
26026
cc1290d0
JM
260272012-10-24 Joseph Myers <joseph@codesourcery.com>
26028 Jim Blandy <jimb@codesourcery.com>
26029
26030 * Makeconfig (test-wrapper): New variable,
26031 (test-wrapper-env): Likewise.
26032 [$(cross-compiling) = yes && $(test-wrapper) != ""]
26033 (run-built-tests): Define to yes.
26034 (run-program-prefix): Use $(test-wrapper).
26035 (built-program-cmd): Likewise.
26036 * Rules (make-test-out): Use $(test-wrapper-env) and
26037 $(host-built-program-cmd).
26038 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26039 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26040 tst-pathopt.sh.
26041 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26042 $(test-wrapper-env) to tst-rtld-load-self.sh.
26043 ($(objpfx)order2.out): Use $(test-wrapper).
26044 ($(objpfx)tst-initorder.out): Likewise.
26045 ($(objpfx)tst-initorder2.out): Likewise.
26046 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26047 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26048 (test_wrapper_env): New variable. Use it to run ld.so.
26049 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26050 Use it to run ld.so.
26051 (test_wrapper_env): Likewise.
26052 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26053 $(test-wrapper) to run-iconv-test.sh.
26054 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26055 (ICONV): Use $test_wrapper.
26056 * posix/Makefile ($(objpfx)globtest.out): Pass
26057 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26058 globtest.sh, not $(run-program-prefix).
26059 * posix/globtest.sh (run_via_rtld_prefix): New variable.
26060 (test_wrapper): Likewise.
26061 (test_wrapper_env): Likewise. Use it to run globtest with HOME
26062 set together with run_via_rtld_prefix.
26063 (run_program_prefix): Define in terms of test_wrapper and
26064 run_via_rtld_prefix.
26065
6e6249d0
RM
260662012-10-24 Roland McGrath <roland@hack.frob.com>
26067
26068 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26069 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26070 Targets removed.
26071
26072 [BZ #14743]
26073 * include/time.h: Remove librt_hidden_proto (clock_gettime).
26074 Declare __clock_getres, __clock_gettime, __clock_settime,
26075 __clock_nanosleep, and __clock_getcpuclockid.
26076 * rt/clock_gettime.c: Define __clock_gettime as an alias.
26077 Remove librt_hidden_def (clock_gettime).
26078 * sysdeps/unix/clock_gettime.c: Likewise.
26079 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26080 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26081 * rt/clock_getres.c: Define __clock_getres as an alias.
26082 * sysdeps/posix/clock_getres.c: Likewise.
26083 * rt/clock_settime.c: Define __clock_settime as an alias.
26084 * sysdeps/unix/clock_settime.c: Likewise.
26085 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26086 * sysdeps/unix/clock_nanosleep.c: Likewise.
26087 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26088 * rt/clock-compat.c: New file.
26089 * rt/Makefile (librt-routines): Add clock-compat and move
26090 $(clock-routines) to ...
26091 (routines): ... here, new variable.
26092 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26093 Don't add get_clockfreq here.
26094 * rt/Versions (libc: GLIBC_2.17): New version set.
26095 Add clock_* symbols here.
26096 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
26097 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26098 (GLIBC_2.17): Add clock_* symbols.
26099 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26101 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26103 Likewise.
26104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26105 Likewise.
26106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26107 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26108 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26110 * NEWS: Mention the move.
26111
26112 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26113 Use __open, __read, __close rather than their public counterparts.
26114 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26115 (__get_clockfreq_via_cpuinfo): Likewise.
26116 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26117 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26118
26119 * config.h.in (HAVE_IFUNC): New #undef.
26120 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26121 was successful.
26122 * configure: Regenerated.
26123
0cae3f4b
MF
261242012-10-24 Mike Frysinger <vapier@gentoo.org>
26125
26126 * configure.in: Move READELF check to start of file.
26127 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26128 libc_cv_asm_gnu_indirect_function in the process.
26129 * configure: Regenerated.
26130
8175a253
MF
261312012-10-24 Mike Frysinger <vapier@gentoo.org>
26132
26133 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26134 send the output to /dev/null.
26135 (libc_cv_cc_with_libunwind): Likewise.
26136 (libc_cv_as_noexecstack): Likewise.
26137 * configure: Regenerate.
26138
0708a7d1
JM
261392012-10-24 Joseph Myers <joseph@codesourcery.com>
26140
10b40d85
JM
26141 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26142
0708a7d1
JM
26143 * posix/globtest.sh (TMPDIR): Do not set.
26144 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26145 (testout): Likewise.
26146
9fddec1a
AJ
261472012-10-24 Andreas Jaeger <aj@suse.de>
26148
3a8db22f
AJ
26149 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26150 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26151 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26152 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26153 posix_fadvise64, posix_fallocate64.
26154
9fddec1a
AJ
26155 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26156 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26157 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26158 Likewise.
26159 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26160 Likewise.
26161 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26162
26163 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26164 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26165 <bits/fcntl-linux.h>.
26166 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26167
26168 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26169 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26170 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26171 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26172 [__WORDSIZE != 64]: Likewise.
26173
ebfd1bbd
JM
261742012-10-23 Joseph Myers <joseph@codesourcery.com>
26175
03ac099f
JM
26176 * Makeconfig (run-built-tests): New variable.
26177 * Rules [$(cross-compiling) = yes]: Change condition to
26178 [$(run-built-tests) = no].
26179 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26180 to [$(run-built-tests) = yes].
26181 * elf/Makefile [$(cross-compiling) = no]: Likewise
26182 * grp/Makefile [$(cross-compiling) = no]: Likewise.
26183 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26184 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26185 * intl/Makefile [$(cross-compiling) = no]: Likewise.
26186 * io/Makefile [$(cross-compiling) = no]: Likewise.
26187 * libio/Makefile [$(cross-compiling) = no]: Likewise.
26188 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26189 * misc/Makefile [$(cross-compiling) = no]: Likewise.
26190 * posix/Makefile [$(cross-compiling) = no]: Likewise.
26191 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26192 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26193 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26194 * string/Makefile [$(cross-compiling) = no]: Likewise.
26195
ebfd1bbd
JM
26196 * posix/Makefile ($(objpfx)globtest.out): Pass
26197 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26198 $(rtld-installed-name).
26199 * posix/globtest.sh (elf_objpfx): Remove variable.
26200 (rtld_installed_name): Likewise.
26201 (library_path): Likewise.
26202 (run_program_prefix): New variable. Use for running globtest
26203 binary.
26204
166bca24
JB
262052012-10-23 Jim Blandy <jimb@codesourcery.com>
26206 Joseph Myers <joseph@codesourcery.com>
26207
26208 * Makeconfig (host-built-program-cmd): New variable.
26209 * elf/Makefile (tst-stackguard1-ARGS): Use
26210 $(host-built-program-cmd).
26211 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26212 (tst-spawn-ARGS): Likewise.
26213 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26214
88866099
JM
262152012-10-23 Joseph Myers <joseph@codesourcery.com>
26216 Jim Blandy <jimb@codesourcery.com>
26217
26218 * Makeconfig (run-via-rtld-prefix): New variable.
26219 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26220 (built-program-cmd): Likewise.
26221
b4b4c296
AJ
262222012-10-22 Andreas Jaeger <aj@suse.de>
26223
26224 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26225 __O_RSYNC if it exists, otherwise to O_SYNC.
26226
6fb54a22
JB
262272012-10-22 Jim Blandy <jimb@codesourcery.com>
26228 Joseph Myers <joseph@codesourcery.com>
26229
26230 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26231 /dev/null.
26232 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26233 from /dev/null
26234 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26235 /dev/null.
26236
481b90b9
AJ
262372012-10-22 Andreas Jaeger <aj@suse.de>
26238
2a0e2669
AJ
26239 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26240 Define always.
26241 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26242
76e38f9a
AJ
26243 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26244 bits/fcntl-linux.h.
26245
7cd37b43
AJ
26246 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26247 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26248
481b90b9
AJ
26249 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26250 to __O_LARGEFILE.
26251 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26252 to __O_LARGEFILE.
26253
aba75984
JB
262542012-10-21 Jim Blandy <jimb@codesourcery.com>
26255 Joseph Myers <joseph@codesourcery.com>
26256
26257 * config.make.in (NM): New variable.
26258
88d4247f
AJ
262592012-10-21 Andreas Jaeger <aj@suse.de>
26260
26261 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26262 definitions and declarations that are provided by
26263 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26264
f2eed205
L
262652012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26266
26267 [BZ #14683]
26268 * elf/Makefile (tests-static): Add tst-leaks1-static.
26269 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26270 ($(objpfx)tst-leaks1-static): New rule.
26271 ($(objpfx)tst-leaks1-static-mem): Likewise.
26272 (tst-leaks1-static-ENV): New macro.
26273 * elf/dl-open.c (dl_open_worker): Check the main application
26274 only if SHARED is defined.
26275 * elf/tst-leaks1-static.c: New file.
26276
335e6931
AJ
262772012-10-20 Andreas Jaeger <aj@suse.de>
26278
26279 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26280 generic values for Linux.
26281 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26282 and declarations that are provided by <bits/fcntl-linux.h> and
26283 include <bits/fcntl-linux.h>.
26284 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26285 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26286
ac5c94d3
RM
262872012-10-20 Roland McGrath <roland@hack.frob.com>
26288
26289 * io/fcntl.h: Move include of <bits/types.h> to the top and
26290 include it unconditionally.
26291
de54b33a
L
262922012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26293
228cfb01
L
26294 * wcsmbs/Makefile (tests-ifunc): New variable.
26295 (tests): Add $(tests-ifunc).
26296 * wcsmbs/test-wcschr-ifunc.c: New file.
26297 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26298 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26299 * wcsmbs/test-wcslen-ifunc.c: Likewise.
26300 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26301 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26302
69f07e5f
L
26303 * string/Makefile (tests-ifunc): New variable.
26304 (tests): Add $(tests-ifunc).
26305 * string/test-memccpy.c (TEST_NAME): New macro.
26306 * string/test-memchr.c (TEST_NAME): Likewise.
26307 * string/test-memcmp.c (TEST_NAME): Likewise.
26308 * string/test-memcpy.c (TEST_NAME): Likewise.
26309 * string/test-memmem.c (TEST_NAME): Likewise.
26310 * string/test-memmove.c (TEST_NAME): Likewise.
26311 * string/test-memset.c (TEST_NAME): Likewise.
26312 * string/test-rawmemchr.c (TEST_NAME): Likewise.
26313 * string/test-stpcpy.c (TEST_NAME): Likewise.
26314 * string/test-stpncpy.c (TEST_NAME): Likewise.
26315 * string/test-strcasecmp.c (TEST_NAME): Likewise.
26316 * string/test-strcasestr.c (TEST_NAME): Likewise.
26317 * string/test-strcat.c (TEST_NAME): Likewise.
26318 * string/test-strchr.c (TEST_NAME): Likewise.
26319 * string/test-strcmp.c(TEST_NAME): Likewise.
26320 * string/test-strcpy.c (TEST_NAME): Likewise.
26321 * string/test-strcspn.c (TEST_NAME): Likewise.
26322 * string/test-strlen.c (TEST_NAME): Likewise.
26323 * string/test-strncasecmp.c (TEST_NAME): Likewise.
26324 * string/test-strncmp.c (TEST_NAME): Likewise.
26325 * string/test-strncpy.c (TEST_NAME): Likewise.
26326 * string/test-strnlen.c (TEST_NAME): Likewise.
26327 * string/test-strpbrk.c (TEST_NAME): Likewise.
26328 * string/test-strrchr.c (TEST_NAME): Likewise.
26329 * string/test-strspn.c (TEST_NAME): Likewise.
26330 * string/test-strstr.c (TEST_NAME): Likewise.
26331 * string/test-bcopy-ifunc.c: New file.
26332 * string/test-bzero-ifunc.c: Likewise.
26333 * string/test-memccpy-ifunc.c: Likewise.
26334 * string/test-memchr-ifunc.c: Likewise.
26335 * string/test-memcmp-ifunc.c: Likewise.
26336 * string/test-memcpy-ifunc.c: Likewise.
26337 * string/test-memmem-ifunc.c: Likewise.
26338 * string/test-memmove-ifunc.c: Likewise.
26339 * string/test-mempcpy-ifunc.c: Likewise.
26340 * string/test-memset-ifunc.c: Likewise.
26341 * string/test-rawmemchr-ifunc.c: Likewise.
26342 * string/test-stpcpy-ifunc.c: Likewise.
26343 * string/test-stpncpy-ifunc.c: Likewise.
26344 * string/test-strcasecmp-ifunc.c: Likewise.
26345 * string/test-strcasestr-ifunc.c: Likewise.
26346 * string/test-strcat-ifunc.c: Likewise.
26347 * string/test-strchr-ifunc.c: Likewise.
26348 * string/test-strchrnul-ifunc.c: Likewise.
26349 * string/test-strcmp-ifunc.c: Likewise.
26350 * string/test-strcpy-ifunc.c: Likewise.
26351 * string/test-strcspn-ifunc.c: Likewise.
26352 * string/test-strlen-ifunc.c: Likewise.
26353 * string/test-strncasecmp-ifunc.c: Likewise.
26354 * string/test-strncat-ifunc.c: Likewise.
26355 * string/test-strncmp-ifunc.c: Likewise.
26356 * string/test-strncpy-ifunc.c: Likewise.
26357 * string/test-strnlen-ifunc.c: Likewise.
26358 * string/test-strpbrk-ifunc.c: Likewise.
26359 * string/test-strrchr-ifunc.c: Likewise.
26360 * string/test-strspn-ifunc.c: Likewise.
26361 * string/test-strstr-ifunc.c: Likewise.
26362
de54b33a
L
26363 * debug/Makefile (tests-ifunc): New variable.
26364 (tests): Add $(tests-ifunc).
26365 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26366 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26367 * debug/test-stpcpy_chk-ifunc.c: New file.
26368 * debug/test-strcpy_chk-ifunc.c: Likewise.
26369
88481c16
SP
263702012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26371
26372 [BZ #13601]
26373 * elf/dl-load.c (open_verify): Retry read if the entire ELF
26374 header is not read in.
26375
135948bd
JM
263762012-10-19 Joseph Myers <joseph@codesourcery.com>
26377
89f1c388
JM
26378 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
26379 script to $(SHELL) as $<. Pass $(common-objpfx) to script
26380 directly. Pass built executable to script as
26381 $(built-program-cmd).
26382 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
26383 $testprogram without using LD_LIBRARY_PATH and $ldso.
26384
e40a0d21
JM
26385 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26386 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26387 $(rtld-installed-name).
26388 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26389 (rtld_installed_name): Likewise.
26390 (library_path): Likewise.
26391 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
26392 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26393 $(run-program-prefix) to tst-tables.sh.
26394 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
26395 it to run tst-table-from and tst-table-to.
26396 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26397 Pass it to tst-table.sh.
26398 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26399 $(run-program-prefix) to tst-gettext.sh.
26400 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26401 tst-translit.sh.
26402 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26403 tst-gettext2.sh.
26404 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
26405 to run tst-gettext.
26406 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
26407 to run tst-gettext2.
26408 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
26409 to run tst-translit.
26410 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26411 $(run-program-prefix) to tst-mtrace.sh.
26412 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
26413 to run tst-mtrace.
26414 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26415 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26416 $(rtld-installed-name).
26417 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26418 (rtld_installed_name): Likewise.
26419 (run_program_prefix): New variable. Use it to run wordexp-test.
26420
728e272a
JM
26421 * Makeconfig (ARCH): Remove all definitions.
26422 (machine): Likewise.
26423 [ARCH]: Remove conditional code.
26424 [!objdir]: Give error.
26425 [!objdir] (objpfx): Remove.
26426 [!objdir] (common-objpfx): Likewise.
26427 [!objdir] (common-objdir): Likewise.
26428 * configure.in (config_makefile): Remove. Hardcode Makefile in
26429 AC_CONFIG_FILES call.
26430 * configure: Regenerated.
26431
d528cdcf
JM
26432 [BZ #13888]
26433 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26434 or TMPDIR.
26435 (testout): Likewise.
26436
135948bd
JM
26437 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26438 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26439 $(rtld-installed-name).
26440 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26441 (rtld_installed_name): Likwise.
26442 (runit): Remove function.
26443 (run_getconf): New variable, Use it for running getconf binary.
26444
38c78296
L
264452012-10-18 H.J. Lu <hongjiu.lu@intel.com>
26446
26447 [BZ #14716]
26448 * string/test-memmem.c (check_result): New function.
26449 (do_one_test): Use it.
26450 (check1): New function.
26451 (test_main): Use it.
26452
d077f65f
MT
264532012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
26454
26455 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26456
ced52c71
JM
264572012-10-18 Joseph Myers <joseph@codesourcery.com>
26458
26459 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26460 (_G_LSEEK64): Likewise.
26461 (_G_MMAP64): Likewise.
26462 (_G_FSTAT64): Likewise.
26463 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26464 (_G_LSEEK64): Likewise.
26465 (_G_MMAP64): Likewise.
26466 (_G_FSTAT64): Likewise.
26467 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26468 unconditional. Call __mmap64 directly.
26469 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26470 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
26471 __lseek64 directly.
26472 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26473 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
26474 __mmap64 directly.
26475 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26476 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
26477 __lseek64 directly.
26478 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26479 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
26480 __lseek64 directly.
26481 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26482 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
26483 __lseek64 directly.
26484 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26485 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
26486 __fxstat64 directly.
26487 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26488 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26489 unconditional.
26490 (freopen64) [!_G_OPEN64]: Remove conditional code.
26491 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26492 unconditional.
26493 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26494 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26495 unconditional.
26496 (ftello64) [!_G_LSEEK64]: Remove conditional code.
26497 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26498 unconditional.
26499 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26500 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26501 unconditional.
26502 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26503 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26504 unconditional.
26505 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26506 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26507 unconditional.
26508 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26509 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26510 unconditional.
26511 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26512
b741de23
SP
265132012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26514
26515 [BZ #12140]
26516 * manual/memory.texi (Malloc Tunable Parameters): Add note
26517 about free list pointers overwriting some perturb bytes.
26518 Wording suggested by Roland McGrath.
26519
f9b9d9c9
JM
265202012-10-17 Joseph Myers <joseph@codesourcery.com>
26521
26522 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26523 (lgamma_test): Likewise.
26524 (tgamma_test): Likewise.
26525
172a631a
FW
265262012-10-16 Florian Weimer <fweimer@redhat.com>
26527
26528 [BZ #14700]
26529 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26530 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26531
e9f37252
MK
265322012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
26533
26534 * NEWS: Mention BZ #14716.
26535 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26536 when removing AVAILABLE1_USES_J macro.
26537
d394eb74
L
265382012-10-12 H.J. Lu <hongjiu.lu@intel.com>
26539
26540 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26541 (__bswap_64): __uint64_t for unsigned 64-bit int.
26542
ca38dc17
AS
265432012-10-12 Andreas Schwab <schwab@linux-m68k.org>
26544
26545 * include/string.h (memmem): Declare libc hidden alias.
26546 * string/memmem.c (memmem): Define libc hidden alias.
26547 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26548 __read, __close instead of open, read, close.
26549
9a387d1f
L
265502012-10-11 H.J. Lu <hongjiu.lu@intel.com>
26551
ac49ecaf
L
26552 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26553 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26554 global and hidden.
26555 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26556 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26557 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26558 Likewise.
26559 (__rawmemchr_sse2): Likewise.
26560 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26561 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26562 (__strchr_sse2): Likewise.
26563 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26564 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26565 (__strcasecmp_sse2): Likewise.
26566 (__strncasecmp_sse2): Likewise.
26567 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26568 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26569 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26570 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26571 (__strrchr_sse2): Likewise.
26572 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26573 ifunc-impl-list.c.
26574 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26575 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26576 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26577 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26578 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26579 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26580 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26581 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26582 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26583 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26584 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26585 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26586 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26587 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26588 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26589 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26590 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26591 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26592 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26593 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26594 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26595 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26596 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26597 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26598 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26599 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26600 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26601 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26602 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26603 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26604
b090e8ea
L
26605 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26606 global and hidden.
26607 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26608 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26609 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26610 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26611 Likewise.
26612 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26613 Likewise.
26614 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26615 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26616 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26617 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26618 ifunc-impl-list.c.
26619 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26620 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26621 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26622 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26623 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26624 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26625 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26626 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26627 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26628 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26629 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26630 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26631 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26632 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26633 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26634 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26635 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26636 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26637 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26638 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26639 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26640 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26641 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26642 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26643 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26644 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26645 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26646 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26647 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26648 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26649 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26650 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26651 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26652 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26653 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26654 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26655 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26656 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26657 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26658 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26659 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26660
11dd4af6
L
26661 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26662 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26663 * include/ifunc-impl-list.h: New file.
26664 * misc/ifunc-impl-list.c: Likewise.
26665 * misc/Makefile (routines): Add ifunc-impl-list.
26666 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26667 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
26668 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26669 TEST_NAME]: New variables.
11dd4af6
L
26670 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26671 are defined.
26672 (test_init): Call __libc_ifunc_impl_list to initialize
26673 func_list if TEST_IFUNC and TEST_NAME are defined.
26674
9a387d1f
L
26675 * string/Makefile (strop-tests): Add bcopy and bzero.
26676 * string/test-bcopy.c: New file.
26677 * string/test-bzero.c: Likewise.
26678 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26679 defined.
26680 * string/test-memset.c: Support bzero test if TEST_BZERO is
26681 defined.
26682 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26683 __libc_memmove.
26684 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26685 __libc_memset.
26686 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26687 of memset.
26688
472371b9
JM
266892012-10-10 Joseph Myers <joseph@codesourcery.com>
26690
1e4a9536
JM
26691 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26692 * configure: Regenerated.
26693
d173d12e
JM
26694 * Makeconfig (+link-static-before-libc): Don't include
26695 $(link-static-libc).
26696
472371b9
JM
26697 * libio/libio.h (_IO_pos_t): Remove.
26698
89a3ad0b
AO
266992012-10-10 Alexandre Oliva <aoliva@redhat.com>
26700
26701 * NEWS: Add note about FIPS mode. Wording suggested by Roland
26702 McGrath.
26703
e7451425
AO
267042012-10-10 Alexandre Oliva <aoliva@redhat.com>
26705
26706 * crypt/crypt-entry.c: Include fips-private.h.
26707 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26708 * crypt/md5c-test.c (main): Tolerate disabled MD5.
26709 * sysdeps/unix/sysv/linux/fips-private.h: New file.
26710 * sysdeps/generic/fips-private.h: New file, dummy fallback.
26711
4ba74a35
AO
267122012-10-10 Alexandre Oliva <aoliva@redhat.com>
26713
26714 * crypt/crypt-private.h: Include stdbool.h.
26715 (_ufc_setup_salt_r): Return bool.
26716 * crypt/crypt-entry.c: Include errno.h.
26717 (__crypt_r): Return NULL with EINVAL for bad salt.
26718 * crypt/crypt_util.c (bad_for_salt): New.
26719 (_ufc_setup_salt_r): Check that salt is long enough and within
26720 the specified alphabet.
26721 * crypt/badsalttest.c: New file.
26722 * crypt/Makefile (tests): Add it.
26723 ($(objpfx)badsalttest): New.
26724
f96f1242
MK
267252012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
26726
26727 * NEWS: Add entry for BZ #14602.
26728
0e8e0c1c
JM
267292012-10-09 Joseph Myers <joseph@codesourcery.com>
26730
26731 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26732 type-generic.
26733 * math/libm-test.inc: Update comment listing what functions and
26734 macros are tested.
26735 (isgreater_test): New function.
26736 (isgreaterequal_test): Likewise.
26737 (isless_test): Likewise.
26738 (islessequal_test): Likewise.
26739 (islessgreater_test): Likewise.
26740 (isunordered_test): Likewise.
26741 (main): Call the new functions.
26742
273edc5e
RM
267432012-10-09 Roland McGrath <roland@hack.frob.com>
26744
b8493de0
RM
26745 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26746 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26747 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26748 * sysdeps/i386/configure: Regenerated.
26749 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26750 * sysdeps/mach/configure: Regenerated.
26751 * sysdeps/mach/hurd/configure: Regenerated.
26752 * sysdeps/powerpc/configure: Regenerated.
26753 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26754 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26755 * sysdeps/s390/s390-32/configure: Regenerated.
26756 * sysdeps/s390/s390-64/configure: Regenerated.
26757 * sysdeps/sh/configure: Regenerated.
26758 * sysdeps/sparc/configure: Regenerated.
26759 * sysdeps/unix/sysv/linux/configure: Regenerated.
26760 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26761 * sysdeps/x86_64/configure: Regenerated.
26762
273edc5e
RM
26763 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26764 defined. Don't check if MAP is NULL.
26765
c8450f70
JM
267662012-10-09 Joseph Myers <joseph@codesourcery.com>
26767
26768 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26769 (_G_stat64): Likewise.
26770 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26771 (_G_stat64): Likewise.
26772 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26773 instead of struct _G_stat64.
26774 * libio/fileops.c (mmap_remap_check): Likewise.
26775 (decide_maybe_mmap): Likewise.
26776 (_IO_new_file_seekoff): Likewise.
26777 (_IO_file_stat): Likewise.
26778 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26779 _G_off64_t.
26780 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26781 instead of struct _G_stat64.
26782 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26783
57e605ba
MK
267842012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
26785
26786 [BZ #14602]
26787 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26788 Replace with ...
26789 (CHECK_EOL): New macro.
26790 (two_way_short_needle): Check beginning of haystack for EOL. Use
26791 CHECK_EOL.
26792 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26793 Replace with CHECK_EOL.
26794 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26795 Replace with CHECK_EOL.
26796
ef1bb361
JM
267972012-10-08 Joseph Myers <joseph@codesourcery.com>
26798
26799 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26800 type-generic.
26801 * math/libm-test.inc: Update comment listing what functions and
26802 macros are tested.
26803 (finite_test): New function.
26804 (isinf_test): Likewise.
26805 (isnan_test): Likewise.
26806 (fpclassify_test): Test subnormal input.
26807 (isfinite_test): Likewise.
26808 (isnormal_test): Likewise.
26809 (main): Call the new functions.
26810
55f11534
JN
268112012-10-08 Jonathan Nieder <jrnieder@gmail.com>
26812
26813 [BZ #14660]
26814 * Makerules (%.dynsym): Force C locale when running
26815 $(OBJDUMP) --dynamic-syms.
26816
1ab29350
AS
268172012-10-08 Andreas Schwab <schwab@linux-m68k.org>
26818
26819 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26820 <stdint.h>.
26821
f1ecb7ef
DM
268222012-10-06 David S. Miller <davem@davemloft.net>
26823
26824 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26825 upper 32-bits of the length value in %o2 since we use branch-on-register
26826 tests which consider the entire 64-bit register.
26827
5d41d91a
L
268282012-10-06 H.J. Lu <hongjiu.lu@intel.com>
26829
26830 * string/test-strstr.c (check2): Add a test for page boundary.
26831
3baddb72
DM
268322012-10-05 David S. Miller <davem@davemloft.net>
26833
26834 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26835 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26836 file.
26837 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26838 sysdep_routines.
26839 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26840 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26841 and bzero when HWCAP_SPARC_CRYPTO is present.
26842
9cee5585
L
268432012-10-05 H.J. Lu <hongjiu.lu@intel.com>
26844
d7e0dab9
L
26845 [BZ #14602]
26846 * string/test-strstr.c (check2): New function.
26847 (test_main): Call check2.
26848
03759f47
L
26849 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26850 and bug-strchr1.
26851 * string/bug-strcasestr1.c (do_test): Moved to ...
26852 * string/test-strcasestr.c (check1): Here. New function.
26853 (do_one_test): Break out result checking code into ...
26854 (check_result): This. New function.
26855 (do_one_test): Call check_result.
26856 (test_main): Call check1.
26857 * string/bug-strchr1.c (do_test): Moved to ...
26858 * string/test-strchr.c (check1): Here. New function.
26859 (do_one_test): Break out result checking code into ...
26860 (check_result): This. New function.
26861 (do_one_test): Call check_result.
26862 (test_main): Call check1.
26863 * string/bug-strstr1.c (main): Moved to ...
046f153e 26864 * string/test-strstr.c (check1): Here. New function.
03759f47
L
26865 (do_one_test): Break out result checking code into ...
26866 (check_result): This. New function.
26867 (do_one_test): Call check_result.
26868 (test_main): Call check1.
26869 * string/bug-strcasestr1.c: Removed.
26870 * string/bug-strchr1.c: Likewise.
26871 * string/bug-strstr1.c: Likewise.
26872
53cea63e
L
26873 * elf/Makefile (dl-routines): Add hwcaps.
26874 * elf/dl-support.c (_dl_important_hwcaps): Removed.
26875 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26876 (_dl_important_hwcaps): Moved to ...
26877 * elf/dl-hwcaps.c: Here. New file.
26878 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26879
9cee5585 26880 [BZ #14557]
bb859b06
L
26881 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26882 if IS_IN_rtld isn't defined.
26883
9cee5585
L
26884 * elf/dl-support.c (_dl_sysinfo_map): New.
26885 Include "get-dynamic-info.h" and "setup-vdso.h".
26886 (_dl_non_dynamic_init): Call setup_vdso.
26887 * elf/dynamic-link.h: Don't include <assert.h>.
26888 (elf_get_dynamic_info): Moved to ...
26889 * elf/get-dynamic-info.h: Here. New file.
26890 * elf/dynamic-link.h: Include "get-dynamic-info.h".
26891 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26892 * elf/setup-vdso.h: Here. New file.
26893 * elf/rtld.c: Include "setup-vdso.h".
26894 (dl_main): Call setup_vdso.
26895
23c31b76
JM
268962012-10-05 Joseph Myers <joseph@codesourcery.com>
26897
28234b07
JM
26898 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26899 creal in comment listing functions tested. List finite, isinf,
26900 isnan, isless, islessequal, isgreater, isgreaterequal,
26901 islessgreater, isunordered, lgamma_r and pow10 as functions and
26902 macros not tested. Mention which functions not tested are aliases
26903 for other functions. Fix typo. Note that signs of NaNs are not
26904 tested.
26905
23c31b76
JM
26906 * scripts/config.guess: Update from config.git.
26907 * scripts/config.sub: Likewise.
26908
9043e228
RM
269092012-10-04 Roland McGrath <roland@hack.frob.com>
26910
26911 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26912 * misc/madvise.c (madvise): Renamed to __madvise.
26913 Make madvise a weak alias.
26914 * include/sys/mman.h: Declare __madvise.
26915 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26916 * sysdeps/unix/syscalls.list
26917 (madvise): Make __madvise the strong name, and madvise a weak alias.
26918 * sysdeps/unix/sysv/linux/syscalls.list
26919 (madvise, mmap): Remove redundant entries.
26920 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26921 * malloc/malloc.c (mtrim): Likewise.
26922 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26923
f57f8055
RM
269242012-10-03 Roland McGrath <roland@hack.frob.com>
26925
26926 * sysdeps/mach/hurd/dl-cache.c: File removed.
26927 * config.h.in (USE_LDCONFIG): New #undef.
26928 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26929 * configure: Regenerated.
26930 * elf/Makefile (dl-routines): Add dl-cache only under
26931 [$(use-ldconfig) = yes].
26932 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26933 cache on [USE_LDCONFIG].
26934 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26935 [USE_LDCONFIG].
26936 * elf/rtld.c (dl_main): Likewise.
26937
5bb0c10a
PT
269382012-10-03 Pino Toscano <toscano.pino@tiscali.it>
26939
26940 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26941 _SC_LEVEL4_CACHE_LINESIZE.
26942
010188c6
RM
269432012-10-03 Roland McGrath <roland@hack.frob.com>
26944
26945 * sysdeps/unix/bsd/confstr.h: File removed.
26946
b6c5ec07
AO
269472012-10-02 Alexandre Oliva <aoliva@redhat.com>
26948
26949 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26950 sys/sdt-config.h.
26951
408223d4
RM
269522012-10-02 Roland McGrath <roland@hack.frob.com>
26953
26954 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26955 Make 'mapoff' field ElfW(Off) rather than off_t.
26956
bb9510dc
DL
269572012-10-02 Dmitry V. Levin <ldv@altlinux.org>
26958
fc997c6e
DL
26959 * nscd/Makefile: Remove nscd-cflags and all its users.
26960 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26961 (CFLAGS-nonlib): Add compiler flags for nscd modules.
26962
bb9510dc
DL
26963 [BZ #10631]
26964 * malloc.c (malloc_printerr): Clarify error message.
26965
05699367
L
269662012-10-02 H.J. Lu <hongjiu.lu@intel.com>
26967
26968 [BZ #14648]
26969 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26970 Set bit_FMA_Usable if FMA is supported.
26971 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26972 macro.
26973 (bit_FMA4_Usable): Updated.
26974 (index_FMA_Usable): New macro.
26975 (CPUID_FMA): Likewise
26976 (HAS_FMA): Defined with bit_FMA_Usable.
26977
51367701
RM
269782012-10-01 Roland McGrath <roland@hack.frob.com>
26979
26980 * bits/types.h (__swblk_t): Type removed.
26981 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26982 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26983 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26984 (__SWBLK_T_TYPE): Likewise.
26985 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26986 (__SWBLK_T_TYPE): Likewise.
26987 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26988 (__SWBLK_T_TYPE): Likewise.
26989 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26990 (__SWBLK_T_TYPE): Likewise.
26991
4d57bf63 269922012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 26993 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
26994
26995 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26996 (xdr_mapname): Use YPMAXMAP as maxsize.
26997 (xdr_peername): Use YPMAXPEER as maxsize.
26998 (xdr_keydat): Use YPAXRECORD as maxsize.
26999 (xdr_valdat): Use YPMAXRECORD as maxsize.
27000
93c65d43
RM
270012012-10-01 Roland McGrath <roland@hack.frob.com>
27002
497a03d6
RM
27003 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
27004
93c65d43
RM
27005 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
27006 * csu/init-first.c: ... here.
27007 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
27008 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27009 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27010 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27011 * sysdeps/i386/init-first.c: File removed.
27012 * sysdeps/sh/init-first.c: File removed.
27013
bec749fd
JM
270142012-10-01 Joseph Myers <joseph@codesourcery.com>
27015
27016 [BZ #14645]
27017 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27018 if x * y might underflow to zero and z is zero.
27019 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27020 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27021 * math/libm-test.inc (min_subnorm_value): New variable.
27022 (fma_test): Add more tests.
27023 (fma_test_towardzero): Likewise.
27024 (fma_test_downward): Likewise
27025 (fma_test_upward): Likewise.
27026 (initialize): Set min_subnorm_value.
27027
8ec5b013
JM
270282012-09-29 Joseph Myers <joseph@codesourcery.com>
27029
27030 [BZ #14638]
27031 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27032 0 + 0.
27033 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27034 mode for addition resulting in exact zero.
27035 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27036 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27037 exact 0 + 0.
27038 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27039 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27040 * math/libm-test.inc (fma_test): Add more tests.
27041 (fma_test_towardzero): New function.
27042 (fma_test_downward): Likewise.
27043 (fma_test_upward): Likewise.
27044 (main): Call the new functions.
27045
b1fa802e
DM
270462012-09-28 David S. Miller <davem@davemloft.net>
27047
27048 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27049
d3b9fd9e
RM
270502012-09-28 Roland McGrath <roland@hack.frob.com>
27051
ea4d37b3
RM
27052 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27053 instead of SIGALRM.
27054
ac51c949
RM
27055 * sysdeps/gnu/_G_config.h: Moved to ...
27056 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27057 * sysdeps/mach/hurd/_G_config.h: Moved to ...
27058 * sysdeps/generic/_G_config.h: ... here.
27059
28c195f7
RM
27060 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
27061
848917f9
RM
27062 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27063
6bacf05b
RM
27064 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27065 Conditionalize target on [libnss_test1.so-version].
27066
91363dbb
RM
27067 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27068
cc87f7d8
RM
27069 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27070 (elfobjdir): Move out of conditionals.
27071
b1c608fe
RM
27072 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27073 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27074 (__nss_lookup_function): Conditionalize label remove_from_tree on
27075 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 27076
1d9a6d96
DM
270772012-09-28 David S. Miller <davem@davemloft.net>
27078
27079 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27080 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27081 file.
27082 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27083 sysdep_routines.
27084 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27085 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27086 when HWCAP_SPARC_CRYPTO is present.
27087
72581615
PT
270882012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27089
27090 * io/tst-mknodat.c: Create a FIFO instead of a socket.
27091
715a900c
JL
270922012-09-28 Andreas Schwab <schwab@linux-m68k.org>
27093
27094 [BZ #6530]
27095 * stdio-common/vfprintf.c (process_string_arg): Revert
27096 2000-07-22 change.
27097
270982011-09-28 Jonathan Nieder <jrnieder@gmail.com>
27099
27100 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27101 for testcase.
27102 * stdio-common/tst-sprintf.c: Include <locale.h>
27103 (main): Test sprintf's handling of incomplete multibyte
27104 characters.
27105
9bac1d86
L
271062012-09-28 H.J. Lu <hongjiu.lu@intel.com>
27107
27108 * elf/dl-runtime.c (VERSYMIDX): Removed.
27109 * elf/dl-version.c (VERSYMIDX): Likewise.
27110 * elf/do-rel.h (VERSYMIDX): Likewise.
27111 (VALIDX): Likewise.
27112 * elf/dynamic-link.h (VERSYMIDX): Likewise.
27113 * elf/rtld.c (VALIDX): Likewise.
27114 (ADDRIDX): Likewise.
9bac1d86
L
27115 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27116 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27117 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
27118 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27119 (VALIDX): Likewise.
27120 (ADDRIDX): Likewise.
9bac1d86 27121
b31606c0
PT
271222012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27123
27124 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27125
11541177
JL
271262012-09-28 Dmitry V. Levin <ldv@altlinux.org>
27127
27128 [BZ #11438]
27129 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27130 to global scope.
27131 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27132 addresses are in the same scope as 192.0.2/24.
27133 * posix/gai.conf: Document new scope table defaults.
27134
adb26fae
SP
271352012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27136
27137 [BZ #5298]
27138 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27139 for ftell. Compute offsets from write pointers instead.
27140 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27141
4573c6b0
SP
271422012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27143
27144 [BZ #14543]
27145 * libio/Makefile (tests): New test case tst-fseek.
27146 * libio/tst-fseek.c: New test case to verify that fseek/ftell
27147 combination works in wide mode.
27148 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27149 state when the external buffer state changes.
27150
aa9bbfe6
DM
271512012-09-27 David S. Miller <davem@davemloft.net>
27152
27153 [BZ #14376]
27154 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27155 pass reloc->r_addend in as the 'high' argument to
27156 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27157
784421e7
DM
27158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27159
c39bc8b8
PT
271602012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27161
27162 * rt/tst-aio2.c: Include <pthread.h>.
27163 * rt/tst-aio3.c: Likewise.
27164
1ccc2399
SE
271652012-09-27 Steve Ellcey <sellcey@mips.com>
27166
27167 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27168
31ed4153
L
271692012-09-27 H.J. Lu <hongjiu.lu@intel.com>
27170
25f5f885
L
27171 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27172 contents on [SHARED].
31ed4153 27173
b7bfe116
MP
271742012-09-26 Marek Polacek <polacek@redhat.com>
27175
27176 [BZ #14530]
27177 [BZ #13741]
27178 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27179 for C++ and GCC <4.3 as well as for non GCC compilers.
27180
43c4edba
MT
271812012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27182
27183 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27184
6a1bf82f
RM
271852012-09-25 Roland McGrath <roland@hack.frob.com>
27186
27187 * Makefile.in (all, install): Declare with .PHONY.
27188 Reported by Michael Hope <michael.hope@linaro.org>.
27189
8ad11b9a
TMQMF
271902012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27191
27192 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27193 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27194 system header.
27195 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27196 Likewise.
27197 (sydep_routines): Add the new and the internal functions.
27198 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27199 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27201 (GLIBC_2.17): Add the new function.
27202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27203 (GLIBC_2.17): Likewise.
27204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27205 (GLIBC_2.17): Likewise.
27206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27207 (GLIBC_2.17): Likewise.
27208 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27209
7e2fca8d
AM
272102012-09-25 Alan Modra <amodra@gmail.com>
27211
27212 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27213 Add release barrier before setting once_control to say
27214 initialisation is done. Add hints on lwarx. Use macro in
27215 place of isync.
27216 (clear_once_control): Add release barrier.
27217
b87c4b24
JM
272182012-09-25 Joseph Myers <joseph@codesourcery.com>
27219
d032e0d2
JM
27220 [BZ #13629]
27221 * math/s_clog.c (__clog): Handle more values close to |z| = 1
27222 specially.
27223 * math/s_clog10.c (__clog10): Likewise.
27224 * math/s_clog10f.c (__clog10f): Likewise.
27225 * math/s_clog10l.c (__clog10l): Likewise.
27226 * math/s_clogf.c (__clogf): Likewise.
27227 * math/s_clogl.c (__clogl): Likewise.
27228 * math/Makefile (libm-calls): Add x2y2m1.
27229 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27230 (__x2y2m1): Likewise.
27231 (__x2y2m1l): Likewise.
27232 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27233 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27234 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27235 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27236 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27237 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27238 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27239 * sysdeps/i386/fpu/libm-test-ulps: Update.
27240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27241
b87c4b24
JM
27242 [BZ #14621]
27243 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27244 int as type of variable DEPTH.
27245 (glob): Use size_t instead of int as type of variables NEWCOUNT
27246 and OLD_PATHC.
27247
6d3bf199
LD
272482012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27249
22bf5c17
LD
27250 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27251 Add s_sincosf-sse2.
27252 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27253 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27254 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27255 macros for using routine as __sincosf_ia32.
27256 Use macro for function declaration and weak_alias.
27257 * sysdeps/i386/fpu/libm-test-ulps: Update.
27258
27259 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27260 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27261
27262 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
27263 subnormal argument.
27264 * math/s_cexpf.c (__cexpf): Likewise.
27265 * math/s_csinf.c (__csinf): Likewise.
27266 * math/s_csinhf.c (__csinhf): Likewise.
27267 * math/s_ctanf.c (__ctanf): Likewise.
27268 * math/s_ctanhf.c (__ctanhf): Likewise.
27269 * math/s_ccosh.c (__ccoshf): Likewise.
27270 * math/s_cexp.c (__cexpl): Likewise.
27271 * math/s_csin.c (__csin): Likewise.
27272 * math/s_csinh.c (__csinh): Likewise.
27273 * math/s_ctan.c (__ctan): Likewise.
27274 * math/s_ctanh.c (ctanh): Likewise.
27275 * math/s_ccoshl.c (__ccoshl): Likewise.
27276 * math/s_cexpl.c (__cexpl): Likewise.
27277 * math/s_csinl.c (__csinl): Likewise.
27278 * math/s_csinhl.c (__csinhl): Likewise.
27279 * math/s_ctanl.c (__ctanl): Likewise.
27280 * math/s_ctanhl.c (__ctanhl): Likewise.
27281
203e5603
JM
272822012-09-25 Joseph Myers <joseph@codesourcery.com>
27283
27284 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27285 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27286 (_IO_off_t): Define to __off_t, not _G_off_t.
27287 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27288 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27289 (_IO_wint_t): Define to wint_t, not _G_wint_t.
27290 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27291 type of __dummy and __dummy2 fields.
27292 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27293 (_G_ssize_t): Likewise.
27294 (_G_off_t): Likewise.
27295 (_G_pid_t): Likewise.
27296 (_G_uid_t): Likewise.
27297 (_G_wchar_t): Likewise.
27298 (_G_wint_t): Likewise.
27299 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27300 (_G_ssize_t): Likewise.
27301 (_G_off_t): Likewise.
27302 (_G_pid_t): Likewise.
27303 (_G_uid_t): Likewise.
27304 (_G_wchar_t): Likewise.
27305 (_G_wint_t): Likewise.
27306 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27307 (_G_ssize_t): Likewise.
27308 (_G_off_t): Likewise.
27309 (_G_pid_t): Likewise.
27310 (_G_uid_t): Likewise.
27311 (_G_wchar_t): Likewise.
27312 (_G_wint_t): Likewise.
27313
9fab36eb
SP
273142012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27315
27316 * malloc/arena.c: Include malloc-sysdep.h.
27317 (shrink_heap): Use check_may_shrink_heap to decide if madvise
27318 is sufficient to shrink the heap or an unmap is needed.
27319 * sysdeps/generic/malloc-sysdep.h: New file. Define
27320 new function check_may_shrink_heap.
27321 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
27322 new function check_may_shrink_heap.
27323
2b4f00d1
SP
273242012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27325
27326 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27327 comments.
27328
9a9028b1
DL
273292012-09-24 Dmitry V. Levin <ldv@altlinux.org>
27330
57c69bef
DL
27331 * catgets/test-gencat.sh: Add "set -e".
27332 * elf/tst-pathopt.sh: Likewise.
27333 * grp/tst_fgetgrent.sh: Likewise.
27334 * iconvdata/run-iconv-test.sh: Likewise.
27335 * intl/tst-gettext.sh: Likewise.
27336 * intl/tst-gettext2.sh: Likewise.
27337 * intl/tst-gettext4.sh: Likewise.
27338 * intl/tst-gettext6.sh: Likewise.
27339 * intl/tst-translit.sh: Likewise.
27340 * io/ftwtest-sh: Likewise.
27341 * libio/test-freopen.sh: Likewise.
27342 * malloc/tst-mtrace.sh: Likewise.
27343 * posix/globtest.sh: Likewise.
27344 * posix/tst-getconf.sh: Likewise.
27345 * posix/wordexp-tst.sh: Likewise.
27346 * stdio-common/tst-printf.sh: Likewise.
27347 * stdio-common/tst-unbputc.sh: Likewise.
27348 * stdlib/tst-fmtmsg.sh: Likewise.
27349 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27350 * catgets/Makefile: Do not specify -e option when running
27351 testsuite shell scripts.
27352 * elf/Makefile: Likewise.
27353 * grp/Makefile: Likewise.
27354 * iconvdata/Makefile: Likewise.
27355 * intl/Makefile: Likewise.
27356 * io/Makefile: Likewise.
27357 * libio/Makefile: Likewise.
27358 * malloc/Makefile: Likewise.
27359 * posix/Makefile: Likewise.
27360 * stdio-common/Makefile: Likewise.
27361 * stdlib/Makefile: Likewise.
27362 * sysdeps/x86_64/Makefile: Likewise.
27363
9a9028b1
DL
27364 * io/ftwtest-sh: Add copyright header.
27365 * posix/globtest.sh: Likewise.
27366 * posix/tst-getconf.sh: Likewise.
27367 * posix/wordexp-tst.sh: Likewise.
27368 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27369
ced6f16e
L
273702012-09-24 H.J. Lu <hongjiu.lu@intel.com>
27371
94b32c39
L
27372 [BZ #13679]
27373 * Makeconfig (+link): Defined as $(+link-static) if
27374 $(build-shared) isn't yes.
27375 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27376 isn't yes.
27377 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27378
189e935b
L
27379 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27380
ced6f16e
L
27381 [BZ #14562]
27382 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27383 new chunk size with MALLOC_ALIGN_MASK.
27384
a9f8e53a
JM
273852012-09-24 Joseph Myers <joseph@codesourcery.com>
27386
27387 [BZ #5044]
27388 * stdio-common/printf_fphex.c: Include <stdbool.h> and
27389 <rounding-mode.h>.
27390 (__printf_fphex): Determine rounding using get_rounding_mode and
27391 round_away.
27392 * stdio-common/tst-printf-round.c (struct hex_test): New
27393 structure.
27394 (hex_tests): New variable.
27395 (test_hex_in_one_mode): New function.
27396 (do_test): Also run tests for hex float output.
27397
43153109
JM
273982012-09-21 Joseph Myers <joseph@codesourcery.com>
27399
27400 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27401 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27402 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27403 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27404 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27405 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27406 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27407 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27408
8a26625d
JM
274092012-09-20 Joseph Myers <joseph@codesourcery.com>
27410
27411 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27412 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27413 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27414 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27415
f3fd569c
DL
274162012-09-19 Dmitry V. Levin <ldv@altlinux.org>
27417
27418 [BZ #14579]
27419 * elf/rtld.c (dl_main): Limit the check for self loading to normal
27420 mode only.
27421 * elf/tst-rtld-load-self.sh: New test.
27422 * elf/Makefile: Run it.
27423
63bbedd4
JM
274242012-09-18 Joseph Myers <joseph@codesourcery.com>
27425
27426 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27427 (tst-writev-ENV): Remove.
27428 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27429
626f8b6a
CM
274302012-09-17 Chris Metcalf <cmetcalf@tilera.com>
27431
27432 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27433
b7aaa4d6
JM
274342012-09-17 Joseph Myers <joseph@codesourcery.com>
27435
27436 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27437 unconditional.
27438 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27439 Likewise.
27440 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27441 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27442 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27443 Likewise.
27444
65513990
L
274452012-09-14 H.J. Lu <hongjiu.lu@intel.com>
27446
27447 [BZ #14587]
27448 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27449 * config.make.in (have-cpp-asm-debuginfo): Removed.
27450 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27451 * configure: Regenerated.
27452
784761be
JM
274532012-09-14 Joseph Myers <joseph@codesourcery.com>
27454
27455 [BZ #5044]
27456 * stdio-common/printf_fp.c: Include <stdbool.h> and
27457 <rounding-mode.h>.
27458 (___printf_fp): Determine rounding using get_rounding_mode and
27459 round_away.
27460 * stdio-common/tst-printf-round.c: New file.
27461 * stdio-common/Makefile (tests): Add tst-printf-round.
27462 (link-libm): New variable.
27463 ($(objpfx)tst-printf-round): Depend in $(link-libm).
27464
9503345f
L
274652012-09-13 H.J. Lu <hongjiu.lu@intel.com>
27466
27467 [BZ #14576]
27468 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27469 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27470 Likewise.
27471 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27472 Likewise.
27473
ad35fc00
JM
274742012-09-13 Joseph Myers <joseph@codesourcery.com>
27475
27476 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27477 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27478 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27479 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27480
6c9b0f68
JM
274812012-09-12 Joseph Myers <joseph@codesourcery.com>
27482
27483 [BZ #14518]
27484 * include/rounding-mode.h: New file.
27485 * sysdeps/generic/get-rounding-mode.h: Likewise.
27486 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27487 * stdlib/strtod_l.c: Include <rounding-mode.h>.
27488 (MAX_VALUE): New macro.
27489 (MIN_VALUE): Likewise.
27490 (overflow_value): New function.
27491 (underflow_value): Likewise.
27492 (round_and_return): Use overflow_value and underflow_value to
27493 determine return values in overflow and underflow cases. Use
27494 round_away to determine rounding depending on rounding mode.
27495 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27496 determine return values in overflow and underflow cases.
27497 * stdlib/tst-strtod-round.c: Include <fenv.h>.
27498 (struct test_results): New structure.
27499 (struct test): Use struct test_results to store expected results
27500 for all rounding modes.
27501 (TEST): Include expected results for all rounding modes.
27502 (test_in_one_mode): New function.
27503 (do_test): Use test_in_one_mode to compute and check results.
27504 Check results for all rounding modes.
27505 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27506 $(link-libm).
27507
19fcedd5
AM
275082012-12-09 Allan McRae <allan@archlinux.org>
27509
1e9d84cd 27510 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 27511
8bbfd2f1
JM
275122012-09-11 Joseph Myers <joseph@codesourcery.com>
27513
27514 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
27515 (_G_int32_t): Likewise.
27516 (_G_uint16_t): Likewise.
27517 (_G_uint32_t): Likewise.
27518 (_G_HAVE_BOOL): Likewise.
27519 (_G_HAVE_ATEXIT): Likewise.
27520 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27521 (_G_HAVE_IO_FILE_OPEN): Likewise.
27522 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
27523 (_G_int32_t): Likewise.
27524 (_G_uint16_t): Likewise.
27525 (_G_uint32_t): Likewise.
27526 (_G_HAVE_BOOL): Likewise.
27527 (_G_HAVE_ATEXIT): Likewise.
27528 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27529 (_G_HAVE_IO_FILE_OPEN): Likewise.
27530 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27531 (_G_int32_t): Likewise.
27532 (_G_uint16_t): Likewise.
27533 (_G_uint32_t): Likewise.
27534 (_G_HAVE_BOOL): Likewise.
27535 (_G_HAVE_ATEXIT): Likewise.
27536 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27537 (_G_HAVE_IO_FILE_OPEN): Likewise.
27538
b1dc5912
L
275392012-09-11 H.J. Lu <hongjiu.lu@intel.com>
27540
27541 * csu/libc-tls.c: Update copyright years.
27542
0e886ef9
JM
275432012-09-10 Joseph Myers <joseph@codesourcery.com>
27544
28361c5e
JM
27545 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27546 [!_G_USING_THUNKS]: Remove conditional code.
27547 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27548 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27549
0e886ef9
JM
27550 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27551 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27552 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27553 (_G_VTABLE_LABEL_PREFIX): Likewise.
27554 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27555 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27556 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27557 (_G_VTABLE_LABEL_PREFIX): Likewise.
27558 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27559 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27560 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27561 (_G_VTABLE_LABEL_PREFIX): Likewise.
27562 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27563
bcba7aa2
L
275642012-09-10 H.J. Lu <hongjiu.lu@intel.com>
27565
27566 * libio/Makefile: Include ../Makeconfig before tests.
27567 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27568 only if $(build-shared) is yes.
27569
06585ee8
L
27570 * iconv/gconv_db.c: Update copyright years.
27571
80ccd52c
LD
275722012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27573
27574 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27575 unwind info if defined PIC. Fix special cases description.
27576 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27577
27578 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27579 DP_HI_MASK entry.
27580 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27581
691bc9c1
L
275822012-09-07 H.J. Lu <hongjiu.lu@intel.com>
27583
3d9b46b3
L
27584 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27585
de2139a9
L
27586 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27587 is NULL.
27588
5ca78dd0
L
27589 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27590 (LDLIBS-tst-chk4): This.
27591 (LDFLAGS-tst-chk5): Renamed to ...
27592 (LDLIBS-tst-chk5): This.
27593 (LDFLAGS-tst-chk6): Renamed to ...
27594 (LDLIBS-tst-chk6): This.
27595 (LDFLAGS-tst-lfschk4): Renamed to ...
27596 (LDLIBS-tst-lfschk4): This.
27597 (LDFLAGS-tst-lfschk5): Renamed to ...
27598 (LDLIBS-tst-lfschk5): This.
27599 (LDFLAGS-tst-lfschk6): Renamed to ...
27600 (LDLIBS-tst-lfschk6): This.
27601
691bc9c1
L
27602 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27603 on $(common-objpfx)soversions.mk.
27604
65cafb1c
JM
276052012-09-07 Joseph Myers <joseph@codesourcery.com>
27606
27607 [BZ #10014]
27608 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27609 example host name.
27610
c78ab094
SP
276112012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27612
27613 * malloc/arena.c (arena_get_retry): New function that gets
27614 another arena for the caller to try its request on.
27615 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27616 current arena cannot fulfill the request.
27617 (__libc_memalign): Likewise.
27618 (__libc_memalign): Likewise.
27619 (__libc_pvalloc): Likewise.
27620 (__libc_calloc): Likewise.
27621
01f49f59
JT
276222012-09-05 John Tobey <john.tobey@gmail.com>
27623
27624 [BZ #13542]
27625 * manual/arith.texi (Operations on Complex): Fix description
27626 of carg branch cut.
27627
4c23fed5
JM
276282012-09-06 Joseph Myers <joseph@codesourcery.com>
27629
1d3c8572
JM
27630 [BZ #10014]
27631 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27632 host name.
27633
4c23fed5
JM
27634 [BZ #10038]
27635 * manual/memory.texi (Memory): Make order of menu items match
27636 order of sections.
27637
04570aaa
L
276382012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27639
27640 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27641 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
27642 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27643
b80af2f4
L
276442012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27645
27646 * csu/libc-tls.c (static_dtv): Renamed to ...
27647 (_dl_static_dtv): This. Make it global.
27648 (_dl_initial_dtv): Removed.
27649 (__libc_setup_tls): Updated.
27650 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27651 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27652 DL_INITIAL_DTV.
27653
2abe9f15
PM
276542012-09-06 Petr Machata <pmachata@redhat.com>
27655
27656 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27657 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27658 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27659 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27660
0948c3af
L
276612012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27662
27663 [BZ #14545]
27664 * csu/libc-tls.c (_dl_initial_dtv): New variable.
27665 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27666 freeing dtv[-1].
27667
a5055ad1
L
276682012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27669
27670 [BZ #14544]
27671 * Makeconfig (link-static-before-libc): Replace $(+prector)
27672 with $(+prectorT).
27673 (link-static-after-libc): Replace $(+postctor) with
27674 $(+postctorT).
27675 (link-bounded): Replace $(+prector)/$(+postctor) with
27676 $(+prectorT)/$(+postctorT).
27677 (+prectorT): New macro.
27678 (+postctorT): Likewise.
27679
ed8c2ecd
JM
276802012-09-06 Joseph Myers <joseph@codesourcery.com>
27681
27682 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27683 (round_str): Handle values above the maximum for IBM long double
27684 as inexact.
27685 * stdlib/tst-strtod-round.c (tests): Regenerated.
27686
14c996c8
AK
276872012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27688
27689 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27690 assembler flag.
27691 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27692 zarch_nohighgprs around the zarch optimized routines.
27693 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27694 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27695 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27696 for zarch.
27697
430d6ce6
DM
276982012-09-05 David S. Miller <davem@davemloft.net>
27699
27700 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27701
57f41c40
AS
27702 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27703 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
27704 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27705 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27706 entries.
27707
24d4e01b
AO
277082012-09-05 Alexandre Oliva <aoliva@redhat.com>
27709
27710 * malloc/arena.c: Fold copyright years.
27711 * malloc/mcheck.c, malloc/memusage.c: Likewise.
27712
61d58174
AO
277132012-09-05 Alexandre Oliva <aoliva@redhat.com>
27714
27715 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27716
20196a5e
AO
277172012-09-05 Alexandre Oliva <aoliva@redhat.com>
27718
27719 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
27720
5c447383
AO
277212012-09-05 Alexandre Oliva <aoliva@redhat.com>
27722
27723 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27724 change internal state upon failure.
27725
fad64255
AO
277262012-09-05 Alexandre Oliva <aoliva@redhat.com>
27727
27728 * malloc/mcheck.c (mcheck_check_all): Fix typo.
27729 * malloc/memusage.c (mmap): Likewise.
27730 (mmap64, mremap): Likewise. Adjust name in comment.
27731
1ffb8c90
SP
277322012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27733
27734 * libio/fileops.c: Fix typos in comments.
27735 * libio/oldfileops.c: Likewise.
27736 * libio/wfileops.c: Likewise.
27737
6ef9cc37
SP
277382012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27739
27740 [BZ #1349]
27741 * malloc/Makefile (tests): Add tst-malloc-usable test case.
27742 (tst-malloc-usable-ENV): Set environment for test case.
27743 * malloc/hooks.c (malloc_check_get_size): New function to get
27744 requested size.
27745 * malloc/malloc.c (musable): Use malloc_check_get_size.
27746 * malloc/tst-malloc-usable.c: New test case.
27747
4d038ae3
AS
277482012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27749
27750 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27751
c4e85184
AM
277522012-09-05 Allan McRae <allan@archlinux.org>
27753
b9dafc56 27754 [BZ #13966]
c4e85184
AM
27755 * configure.in (CXX_SYSINCLUDES): Use compiler output to
27756 determine header location.
27757 * configure: Regenerated.
27758
e1343020
AS
277592012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27760
27761 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27762 float format.
27763 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
27764 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27765 format.
e1343020
AS
27766 (test): Regenerate.
27767
0a9f1987
DM
277682012-09-04 David S. Miller <davem@davemloft.net>
27769
27770 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27771 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27772 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27773
29237804
FW
277742012-09-04 Florian Weimer <fweimer@redhat.com>
27775
27776 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27777 failures.
27778
edb3cb88
FW
27779 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27780
60160d83
JM
277812012-09-04 Joseph Myers <joseph@codesourcery.com>
27782
27783 [BZ #9914]
27784 * libio/iogetdelim.c: Include <limits.h>.
27785 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27786 + len + 1 would overflow.
27787
bcd6c8dc
AJ
277882012-09-03 Andreas Jaeger <aj@suse.de>
27789
27790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27791 * sysdeps/i386/fpu/libm-test-ulps: Update.
27792
4ffffbd2
LD
277932012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27794
27795 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27796 Add s_sinf-sse2, s_conf-sse2.
27797
27798 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27799 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27800 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27801 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27802
27803 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27804 for using routine as __sinf_ia32.
27805 Use macro for function declaration and weak_alias.
27806 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27807 for using routine as __cosf_ia32.
27808 Use macro for function declaration and weak_alias.
27809
27810 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27811 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27812
27813 * sysdeps/x86_64/fpu/s_sinf.S: New file.
27814 * sysdeps/x86_64/fpu/s_cosf.S: New file.
27815 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27816
27817 * math/libm-test.inc (cos_test): Add more test cases.
27818 (sin_test): Likewise.
27819 (sincos_test): Likewise.
27820
511fa286
AK
278212012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27822
27823 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27824 (IFUNC_RESOLVE): Make pointers to the specialized implementations
27825 hidden.
27826 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27827
5f30cfec
L
278282012-09-02 H.J. Lu <hongjiu.lu@intel.com>
27829
27830 [BZ #14538]
27831 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27832 first element of the GOT.
27833 (elf_machine_load_address): Return the difference between
27834 the runtime address of _DYNAMIC and elf_machine_dynamic ().
27835
0786794f
AM
278362012-09-01 Allan McRae <allan@archlinux.org>
27837
5f30cfec
L
27838 [BZ #13412]
27839 * configure.in (AWK): Require gawk version 3.0 or later.
27840 * configure: Regenerated.
0786794f 27841
26889eac
JM
278422012-09-01 Joseph Myers <joseph@codesourcery.com>
27843
27844 * sysdeps/unix/sysv/linux/kernel-features.h
27845 (__ASSUME_POSIX_CPU_TIMERS): Remove.
27846 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27847 [__NR_clock_getres]: Make code unconditional.
27848 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27849 (clock_getcpuclockid): Remove code left unreachable by removal of
27850 conditionals.
27851 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27852 code unconditional.
27853 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27854 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27855 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27856 Make code unconditional.
27857 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27858 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27859 * sysdeps/unix/sysv/linux/clock_settime.c
27860 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27861 conditional code.
27862 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27863 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27864
d22e28b0
L
278652012-08-29 H.J. Lu <hongjiu.lu@intel.com>
27866
27867 [BZ #14476]
27868 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27869 scripts/test-installation.pl.
27870
27871 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27872 and $ld_so_version if it is set.
27873
050af9c4
SP
278742012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27875
27876 [BZ #14516]
27877 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27878 failure if reading from procfs failed.
27879 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27880
ad845c0b
JM
278812012-08-27 Joseph Myers <joseph@codesourcery.com>
27882
27883 * sysdeps/unix/sysv/linux/kernel-features.h
27884 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27885 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27886 Remove conditional code.
27887 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27888 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27889 Remove conditional code.
27890 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27891 * sysdeps/unix/sysv/linux/i386/fxstat.c
27892 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27893 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27894 * sysdeps/unix/sysv/linux/i386/fxstatat.c
27895 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27896 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27897 * sysdeps/unix/sysv/linux/i386/lxstat.c
27898 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27899 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27900 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27901 Remove conditional code.
27902 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27903 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27904 Remove conditional code.
27905 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27906 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27907 <kernel-features.h>.
27908 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27909 Remove.
27910 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27911 Remove conditional code.
27912 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27913 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27914 Remove conditional.
27915
5dbf56af
MF
279162012-08-27 Mike Frysinger <vapier@gentoo.org>
27917
27918 [BZ #5400]
27919 * NEWS: Add fixed bug number.
27920
d6e70f43
JM
279212012-08-27 Joseph Myers <joseph@codesourcery.com>
27922
7efb4737
JM
27923 [BZ #14519]
27924 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27925 underflowing exponent in case of negative sign.
27926 * stdlib/tst-strtod-round-data: Add more tests.
27927 * stdlib/tst-strtod-round.c (tests): Regenerated.
27928
af92131a
JM
27929 [BZ #3479]
27930 * stdlib/strtod_l.c (NDIG): Remove.
27931 (HEXNDIG): Likewise.
27932 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27933 smallest representable value.
27934 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27935 lie within an exact representation of 1/2 ulp of the result.
27936 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27937 unconditionally.
27938 (TENS_P9_IDX): Define unconditionally.
27939 (TENS_P9_SIZE): Likewise.
27940 (TENS_P10_IDX): Likewise.
27941 (TENS_P10_SIZE): Likewise.
27942 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27943 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27944 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27945 entries for 10^2^13 and 10^2^14.
27946 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27947 (TENS_P13_IDX): Define.
27948 (TENS_P13_SIZE): Likewise.
27949 (TENS_P14_IDX): Likewise.
27950 (TENS_P14_SIZE): Likewise.
27951 (_fpioconst_pow10): Change array size to
27952 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
27953 unconditional.
27954 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27955 1024]: Add entries for 10^2^13 and 10^2^14.
27956 [LAST_POW10 > _LAST_POW10]: Remove #error.
27957 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27958 (_fpioconst_pow10): Change array size to
27959 FPIOCONST_POW10_ARRAY_SIZE.
27960 * stdlib/gen-fpioconst.c: New file.
27961 * stdlib/gen-tst-strtod-round.c: Likewise.
27962 * stdlib/tst-strtod-round-data: Likewise.
27963 * stdlib/tst-strtod-round.c: Likewise.
27964 * stdlib/Makefile (tests): Add tst-strtod-round.
27965
d6e70f43
JM
27966 [BZ #14459]
27967 * stdlib/strtod_l.c: Include <stdint.h>.
27968 (NDEBUG): Do not define.
27969 (round_and_return): Change EXPONENT parameter to type intmax_t.
27970 Rearrange calculations to avoid internal overflow possibilities.
27971 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27972 Rearrange calculations to avoid internal overflow possibilities.
27973 Assert that number fits inside MPNSIZE limbs.
27974 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27975 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
27976 calculations and add assertions to avoid internal overflow
27977 possibilities. Add casts to avoid signed/unsigned operations.
27978 * stdlib/tst-strtod-overflow.c: New file.
27979 * stdlib/Makefile (tests): Add tst-strtod-overflow.
27980
1f529f7d
MP
279812012-08-25 Marek Polacek <polacek@redhat.com>
27982
27983 * time/time.h: Fix some typos in comments.
27984
59a629f1
RM
279852012-08-23 Roland McGrath <roland@hack.frob.com>
27986
27987 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27988 * posix/tst-rfc3484-2.c: Likewise.
27989 * posix/tst-rfc3484-3.c: Likewise.
27990
d3bafbc9
SM
279912012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
27992
27993 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27994 (EF_ARM_ABI_FLOAT_HARD): Likewise.
27995
4efcc022
JM
279962012-08-23 Joseph Myers <joseph@codesourcery.com>
27997
27998 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27999 #include of fxstatat64.c.
28000
3cc3ef96
RM
280012012-08-22 Roland McGrath <roland@hack.frob.com>
28002
f04e2132
RM
28003 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
28004 * shadow/getspent_r.c: Likewise.
28005 * shadow/getspnam.c: Likewise.
28006 * shadow/getspnam_r.c: Likewise.
28007 * gshadow/getsgent.c: Likewise.
28008 * gshadow/getsgent_r.c: Likewise.
28009 * gshadow/getsgnam.c: Likewise.
28010 * gshadow/getsgnam_r.c: Likewise.
28011 * inet/getnetbyad.c: Likewise.
28012 * inet/getnetbyad_r.c: Likewise.
28013 * inet/getnetbynm.c: Likewise.
28014 * inet/getnetbynm_r.c: Likewise.
28015 * inet/getnetent.c: Likewise.
28016 * inet/getnetent_r.c: Likewise.
28017 * inet/getproto.c: Likewise.
28018 * inet/getproto_r.c: Likewise.
28019 * inet/getprtent.c: Likewise.
28020 * inet/getprtent_r.c: Likewise.
28021 * inet/getprtname.c: Likewise.
28022 * inet/getprtname_r.c: Likewise.
28023 * inet/getrpcbyname.c: Likewise.
28024 * inet/getrpcbyname_r.c: Likewise.
28025 * inet/getrpcbynumber.c: Likewise.
28026 * inet/getrpcbynumber_r.c: Likewise.
28027 * inet/getrpcent.c: Likewise.
28028 * inet/getrpcent_r.c: Likewise.
28029 * inet/getaliasent.c: Likewise.
28030 * inet/getaliasent_r.c: Likewise.
28031 * inet/getaliasname.c: Likewise.
28032 * inet/getaliasname_r.c: Likewise.
28033 * nscd/getgrgid_r.c: Likewise.
28034 * nscd/getgrnam_r.c: Likewise.
28035 * nscd/gethstbyad_r.c: Likewise.
28036 * nscd/gethstbynm3_r.c: Likewise.
28037 * nscd/getpwnam_r.c: Likewise.
28038 * nscd/getpwuid_r.c: Likewise.
28039 * nscd/getsrvbynm_r.c: Likewise.
28040 * nscd/getsrvbypt_r.c: Likewise.
28041 * nscd/gai.c: Likewise.
28042
c53d909c
RM
28043 * configure.in (build_nscd): New substituted variable, set
28044 by --disable-build-nscd and defaults to $use_nscd.
28045 * configure: Regenerated.
28046 * config.make.in (build-nscd): New substituted variable.
28047 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28048 Change conditional to require [$(build-nscd) = yes] as well.
28049 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28050
3cc3ef96
RM
28051 [BZ# 13696]
28052 * configure.in (use_nscd): New substituted variable, set by
28053 --disable-nscd. If enabled, define USE_NSCD.
28054 * configure: Regenerated.
28055 * config.h.in: Add USE_NSCD.
28056 * config.make.in (use-nscd): New substituted variable.
28057 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28058 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28059 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28060 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28061 (CFLAGS-getgrnam_r.c): Likewise.
28062 (CFLAGS-initgroups.c): Likewise.
28063 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28064 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28065 Variables removed.
28066 * inet/getnetgrent_r.c
28067 (nscd_setnetgrent): New function, broken out of ...
28068 (setnetgrent): ... here. Call it.
28069 (innetgr): Conditionalize nscd bits on [USE_NSCD].
28070 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28071 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28072 * nscd/Makefile (routines, aux): Move definitions after include of
28073 Makeconfig. Conditionalize on [$(use-nscd) != no].
28074 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28075 Conditionalize on [USE_NSCD].
28076 (is_nscd, nscd_init_cb): Likewise.
28077 (nss_load_library): Conditionalize init callback on [USE_NSCD].
28078 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28079 * nss/nss_db/db-init.c: Likewise.
28080 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28081 [USE_NSCD].
28082 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28083 (make_request): Use it.
28084 (cache_valid_p): New function.
28085 (__check_pf): Use it.
28086 * NEWS: Add item for --disable-nscd.
28087
07e51550
DL
280882012-08-22 Dmitry V. Levin <ldv@altlinux.org>
28089
28090 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28091 to support sed >= 4.2.1-20-ga9bf076.
28092 * configure: Regenerated.
28093
35a5b08b
RM
280942012-08-22 Roland McGrath <roland@hack.frob.com>
28095
28096 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28097 Conditionalize whole body on [IREL].
28098
8479f23a
JL
280992012-08-22 Jeff Law <law@redhat.com>
28100
28101 [BZ #14505]
28102 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28103 if the family is PF_UNSPEC.
28104
48da0b21
MF
281052012-08-22 Mike Frysinger <vapier@gentoo.org>
28106
28107 * Makerules (lib-version): Rename from V.
28108 (install-lib-nosubdir): Change V to lib-version.
28109
15d0da8c
WS
281102012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
28111
28112 [BZ #14252]
28113 * powerpc32/power6/wcschr.c: New file.
28114 * powerpc32/power6/wcscpy.c: New file.
28115 * powerpc32/power6/wcsrchr.c: New file.
28116 * powerpc64/power6/wcschr.c: New file.
28117 * powerpc64/power6/wcscpy.c: New file.
28118 * powerpc64/power6/wcsrchr.c: New file.
28119
bcca0895
MK
281202012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28121
28122 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28123 (two_way_short_needle): Use it.
5a4aaa33
RM
28124 * string/strstr.c (AVAILABLE1_USES_J): Define.
28125 * string/strcasestr.c: Likewise.
99677e57
MK
28126
28127 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28128 array references.
28129 * string/strcasestr.c (TOLOWER): Make side-effect safe.
28130
400726de
MK
28131 [BZ #11607]
28132 * NEWS: Add an entry.
28133 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28134 define their defaults.
28135 (two_way_short_needle): Detect end-of-string on-the-fly.
28136 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28137 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28138 * string/bug-strcasestr1.c: New test.
28139 * string/Makefile: Run it.
28140
20a71f2c
MK
281412012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28142
28143 [BZ #11607]
28144 * string/str-two-way.h (two_way_short_needle): Optimize matching of
28145 the first character.
28146
21ad0558
RM
281472012-08-21 Roland McGrath <roland@hack.frob.com>
28148
28149 * csu/elf-init.c (__libc_csu_irel): Function removed.
28150 * csu/libc-start.c (apply_irel): New function.
28151 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28152
0e1d9911
JM
281532012-08-21 Joseph Myers <joseph@codesourcery.com>
28154
28155 * sysdeps/unix/sysv/linux/kernel-features.h
28156 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28157 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28158 <kernel-features.h>.
28159 [__NR_fadvise64_64]: Make code unconditional.
28160 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28161 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28162 !__NR_fadvise64_64)]: Likewise.
28163 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28164 !__NR_fadvise64_64))]: Likewise.
28165 [__NR_fadvise64]: Make code unconditional.
28166 [!__NR_fadvise64]: Remove conditional code.
28167 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28168 <kernel-features.h>.
28169 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28170 unconditional.
28171 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28172 conditional code.
28173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28174 not include <kernel-features.h>.
28175 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28176 unconditional.
28177 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28178 conditional code.
28179 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28180 include <kernel-features.h>.
28181 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28182 unconditional.
28183 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28184 conditional code.
28185
14a50c9d
WS
281862012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28187
28188 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28189 slight instruction rearrangements per scrollpipe analysis.
28190 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28191
c0f4faf0
RM
281922012-08-20 Roland McGrath <roland@hack.frob.com>
28193
696da859
RM
28194 * manual/syslog.texi (syslog; vsyslog, closelog):
28195 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28196 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28197
c0f4faf0
RM
28198 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28199 DSOCAPS to match condition on defining it.
28200
348363b2
JM
282012012-08-20 Joseph Myers <joseph@codesourcery.com>
28202
a35cbf28
JM
28203 * sysdeps/unix/sysv/linux/kernel-features.h
28204 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28206 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28207 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28209 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28210 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28212 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28213 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28214
445f7ecd
JM
28215 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28216 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28217
348363b2
JM
28218 * sysdeps/unix/sysv/linux/kernel-features.h
28219 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28220 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28221 unconditional.
28222 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28223 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28224 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28225 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28226 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28227 Make code unconditional.
28228 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28229 (__mmap64) [!__NR_mmap2]: Likewise.
28230 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28231 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28232 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28233 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28234 [__NR_mmap2]: Make code unconditional.
28235 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28236 (__mmap64) [!__NR_mmap2]: Likewise.
28237
bc5bc0e5
AK
282382012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28239
28240 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28241
88d506de
AJ
282422012-08-18 Andreas Jaeger <aj@suse.de>
28243
28244 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28245
493387d2
MF
282462012-08-18 Mike Frysinger <vapier@gentoo.org>
28247
28248 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28249 * include/unistd.h (__have_sock_cloexec): Likewise.
28250 (__have_pipe2): Likewise.
28251 (__have_dup3): Likewise.
28252
a277af22
MF
282532012-08-18 Mike Frysinger <vapier@gentoo.org>
28254
28255 [BZ #9685]
28256 * include/unistd.h (__have_pipe2): Change define into an extern int.
28257 (__have_dup3): Likewise.
28258 * socket/have_sock_cloexec.c: Include fcntl.h.
28259 (__have_pipe2): New variable.
28260 (__have_dup3): Likewise.
28261
fdab8fd3
MF
282622012-08-17 Mike Frysinger <vapier@gentoo.org>
28263
28264 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28265
31035e80
MP
282662012-08-17 Marek Polacek <polacek@redhat.com>
28267
28268 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28269 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28270
3bd9e993
RM
282712012-08-17 Roland McGrath <roland@hack.frob.com>
28272
c91c505f
RM
28273 * configure.in: Add AC_SUBST for sysheaders.
28274 * configure: Regenerated.
28275 * config.make.in (sysheaders): New substituted variable.
28276
7c6f9d53
RM
28277 * sysdeps/unix/mkfifo.c: Moved ...
28278 * sysdeps/posix/mkfifo.c: ... here.
28279 * sysdeps/unix/mkfifoat.c: Moved ...
28280 * sysdeps/posix/mkfifoat.c: ... here.
28281
28282 * sysdeps/unix/utime.c: Moved ...
28283 * sysdeps/posix/utime.c: ... here.
28284
28285 * sysdeps/unix/time.c: Moved ...
28286 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
28287 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28288 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
28289
28290 * sysdeps/unix/nice.c: Moved ...
28291 * sysdeps/posix/nice.c: ... here.
28292
28293 * sysdeps/unix/alarm.c: Moved ...
28294 * sysdeps/posix/alarm.c: ... here.
28295
3bd9e993
RM
28296 * intl/Makefile ($(codeset_mo)): Depend on the input file.
28297
d1f09384
JL
282982012-08-17 Jeff Law <law@redhat.com>
28299
28300 * intl/Makefile (codeset_mo): New variable.
28301 ($(codeset_mo)): New target.
28302 (tst-codeset.out): Depend on that. Remove explicit rule.
28303 (tst-gettext3.out, tst-gettext5.out): Likewise.
28304 (LOCPATH-ENV, tst-codeset-ENV): New variables.
28305 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28306 * intl/tst-codeset.sh: Remove.
28307 * intl/tst-gettext3.sh: Likewise.
28308 * intl/tst-gettext5.sh: Likewise.
28309
2ae1ae5c
RM
283102012-08-17 Roland McGrath <roland@hack.frob.com>
28311
c31fdb83
RM
28312 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
28313 * sysdeps/unix/syscalls.list: ... here.
28314
a0844057
RM
28315 * sysdeps/posix/getaddrinfo.c
28316 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28317 (gaiconf_init, gaiconf_reload): Use them.
28318 [!_STATBUF_ST_NSEC]
28319 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28320 Define using time_t rather than struct timespec.
28321
750c1f2a
RM
28322 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28323 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28324 Macros removed.
28325 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28326 [!NO_THREADS].
28327 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28328 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28329 Likewise.
28330
2ae1ae5c
RM
28331 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28332 __libc_cleanup_push argument.
28333
e66a42f5
RM
28334 * bits/param.h: New file.
28335 * misc/sys/param.h: New file.
28336 * include/sys/param.h: New file.
28337 * misc/Makefile (headers): Add bits/param.h.
28338 * sysdeps/generic/sys/param.h: File removed.
28339 * sysdeps/unix/sysv/linux/bits/param.h: New file.
28340 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28341 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 28342 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 28343
b7c08a66
RM
28344 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28345 last change.
28346
b2e1c562
RM
28347 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28348 [_IO_MTSAFE_IO].
28349 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28350 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28351 New macros.
28352
c75ccd4c
RM
28353 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28354 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28355 rather than -D_IO_MTSAFE_IO conditionally.
28356 * stdio-common/Makefile (CPPFLAGS): Likewise.
28357 * wcsmbs/Makefile (CPPFLAGS): Likewise.
28358 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28359 Use $(libio-mtsafe).
28360 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28361 of -D_IO_MTSAFE_IO.
28362 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28363 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28364 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28365 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28366 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28367 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28368 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28369 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28370 (CFLAGS-fread_u_chk.c): Likewise.
28371 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28372 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28373 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28374 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28375 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28376 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28377 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28378 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28379 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28380
28381 * libio/Makefile: Test [$(libc-reentrant) = yes]
28382 instead of [$(filter %REENTRANT, $(defines)) nonempty].
28383
28384 * Makeconfig
28385 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28386 * sysdeps/pthread/configure: File removed.
28387 * sysdeps/pthread/Makeconfig: New file.
28388 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28389 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28390
d9195db8
GB
283912012-08-16 Gary Benson <gbenson@redhat.com>
28392
28393 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28394 unmapping the first object in a namespace.
28395
86466cd9
RM
283962012-08-16 Roland McGrath <roland@hack.frob.com>
28397
28398 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28399 (__internal_setnetgrent): ... this. Add internal_function to
28400 definition. Add libc_hidden_def.
28401 (setnetgrent): Update caller.
28402 (internal_endnetgrent): Renamed to ...
28403 (__internal_endnetgrent): ... this. Add internal_function to
28404 definition. Add libc_hidden_def.
28405 (endnetgrent): Update caller.
28406 (internal_getnetgrent_r): Renamed to ...
28407 (__internal_getnetgrent_r): ... this. Add internal_function to
28408 definition. Add libc_hidden_def.
28409 (__getnetgrent_r): Update caller.
28410 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
28411
c3c8283c
JM
284122012-08-16 Joseph Myers <joseph@codesourcery.com>
28413
28414 * stdlib/longlong.h: Update from GCC.
28415
db1ee0a8
RM
284162012-08-16 Roland McGrath <roland@hack.frob.com>
28417
28418 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28419 on _QL, which is set by umul_ppmm but never used.
28420 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28421 variables, which are set by GMP macros but never used.
28422 * stdio-common/_itowa.c (_itowa): Likewise.
28423 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28424 * stdlib/mod_1.c (mpn_mod_1): Likewise.
28425
30f69637
CD
284262012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
28427
28428 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28429 struct La_sh_regs is not constant.
28430 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28431 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28432 and struct La_sparc64_regs are not constant.
28433
93a78ac4
JM
284342012-08-16 Joseph Myers <joseph@codesourcery.com>
28435
28436 * sysdeps/unix/sysv/linux/kernel-features.h
28437 (__ASSUME_POSIX_TIMERS): Remove.
28438 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28439 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28440 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28441 Make code unconditional.
28442 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28443 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28444 Make code unconditional.
28445 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28446 * sysdeps/unix/sysv/linux/clock_nanosleep.c
28447 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28448 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28449 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28450 Make code unconditional.
28451 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28452 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28453 (__libc_missing_posix_timers): Remove.
28454
dd924cd7
RM
284552012-08-15 Roland McGrath <roland@hack.frob.com>
28456
4b4f2771
RM
28457 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28458 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28459
601c888b
RM
28460 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28461
176790a7
RM
28462 * elf/dl-sym.c: Include <stdlib.h>.
28463
329bc018
RM
28464 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28465 constants, which avoids warnings in 32-bit builds.
28466
e04e272d
RM
28467 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28468 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28469
952bf94a
RM
28470 * misc/lseek.c: File moved to ...
28471 * io/lseek.c: ... here.
28472
7c99b50a
RM
28473 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28474
dd924cd7
RM
28475 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28476 shifting LEN more than 31 bits at once.
28477
b3f479a8
LD
284782012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28479
28480 [BZ #14195]
8c4ae0d4
RM
28481 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28482 segmentation fault for a case of two empty input strings.
b3f479a8
LD
28483 * string/test-strncasecmp.c (check1): Renamed to...
28484 (bz12205): ...this.
28485 (bz14195): Add new testcase for two empty input strings and N > 0.
28486 (test_main): Call new testcase, adapt for renamed function.
28487
9c55864e
AJ
284882012-08-15 Andreas Jaeger <aj@suse.de>
28489
28490 [BZ #14090]
28491 * crypt/md5test2.c: New test, based on test supplied by Serge
28492 Belyshev <belyshev@depni.sinp.msu.ru>.
28493 * crypt/Makefile (xtests): Add md5test-giant..
28494 * crypt/Makefile ($(objpfx)md5test-giant): Add.
28495
02dcb6c5
PE
284962012-08-15 Paul Eggert <eggert@cs.ucla.edu>
28497
28498 [BZ #14090]
28499 * crypt/md5.c (md5_process_block): Don't assume the buffer
28500 length is less than 2**32.
28501 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28502 length is less than 2**64.
28503
a3f95dcc
RM
285042012-08-15 Roland McGrath <roland@hack.frob.com>
28505
be75d758
RM
28506 * string/str-two-way.h: Include <sys/param.h>.
28507 (MAX): Macro removed.
28508
7312ca90
RM
28509 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28510 Move #define and #undef of memmove to just before and after
28511 including <string.h>.
28512
9a0a5486
RM
28513 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28514 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28515 and after including <string.h>. Move declarations of
28516 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28517 to before #include "string/memmove.c".
28518
67cc348d
RM
28519 * include/dirent.h: Declare __getdirentries.
28520
a3f95dcc
RM
28521 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28522 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28523
ca98e171
MF
285242012-08-14 Mike Frysinger <vapier@gentoo.org>
28525
28526 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28527 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28528 * sysdeps/i386/configure: Regenerated.
28529 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28530 STABS_CURRENT_FILE, and STABS_FUN.
28531 (END): Remove call to STABS_FUN_END.
28532 (STABS_CURRENT_FILE1): Delete.
28533 (STABS_CURRENT_FILE): Likewise.
28534 (STABS_FUN): Likewise.
28535 (STABS_FUN_END): Likewise.
28536 (STABS_FUN2): Likewise.
28537 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28538 * sysdeps/x86_64/configure: Regenerated.
28539
5908bf46
RM
285402012-08-14 Roland McGrath <roland@hack.frob.com>
28541
28542 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 28543 * elf/dl-lookup.c: Likewise.
5908bf46 28544
f2c05b9e
JM
285452012-08-14 Joseph Myers <joseph@codesourcery.com>
28546
28547 * sysdeps/unix/sysv/linux/kernel-features.h
28548 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28549 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28550 unconditionally.
28551 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28552 unconditionally.
28553 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28554 condition on __ASSUME_CLONE_THREAD_FLAGS.
28555
e11f5155
AJ
285562012-08-14 Andreas Jaeger <aj@suse.de>
28557
28558 * sysdeps/i386/fpu/libm-test-ulps: Update.
28559
51a9ba86
MK
285602012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
28561
2fdd4f78
AJ
28562 * include/atomic.h (atomic_exchange_and_add): Split into ...
28563 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28564 New atomic macros.
51a9ba86 28565
ba6cba9e
MT
285662012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
28567
28568 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28569
42443a47
JL
285702012-08-13 Jeff Law <law@redhat.com>
28571
28572 * manual/stdio.texi (snprintf): Clarify handling of the trailing
28573 null byte in the output string.
28574
121dce05
JM
285752012-08-10 Joseph Myers <joseph@codesourcery.com>
28576
28577 * sysdeps/unix/sysv/linux/kernel-features.h
28578 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28579 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28580 (__ASSUME_ARG_MAX_STACK_BASED): Define.
28581 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28582 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28583 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
28584 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28585
bf51f568
JL
285862012-08-09 Jeff Law <law@redhat.com>
28587
28588 [BZ #13939]
28589 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28590 When avoid_arena is set, don't retry in the that arena. Pick the
28591 next one, whatever it might be.
28592 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28593 (arena_lock): Pass in new parameter to arena_get2.
28594 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28595 arena_get2.
28596 (__libc_malloc): Unify retrying after main arena failure with
28597 __libc_memalign version.
28598 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28599
f85fa270
L
286002012-08-09 H.J. Lu <hongjiu.lu@intel.com>
28601
28602 [BZ #14166]
28603 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28604 to __redirect_strstr.
28605 (__strstr_sse42): Use typeof __redirect_strstr.
28606 (__strstr_ia32): Likewise.
28607 (__libc_strstr): New prototype.
28608 (strstr): Renamed to ...
28609 (__libc_strstr): This.
28610 (strstr): New strong alias of __libc_strstr.
28611 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28612 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28613 __redirect_time.
28614 Include <time.h>.
28615 (__libc_time): New prototype.
28616 (time_ifunc): Replace time with __libc_time.
28617 (time): New strong alias and hidden definition of __libc_time.
28618 (__GI_time): Remove strong alias.
28619 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28620 Include <stddef.h>.
28621 (memmove): Redefined to __redirect_memmove.
28622 (__memmove_sse2): Use typeof __redirect_memmove.
28623 (__memmove_ssse3): Likewise.
28624 (__memmove_ssse3_back): Likewise.
28625 (__libc_memmove): New prototype.
28626 (memmove): Renamed to ...
28627 (__libc_memmove): This.
28628 (memmove): New strong alias of __libc_memmove.
28629
33b4a91e
MS
286302012-08-08 Mark Salter <msalter@redhat.com>
28631
28632 * elf/elf.h
28633 (R_MN10300_TLS_GD): Define.
28634 (R_MN10300_TLS_LD): Likewise.
28635 (R_MN10300_TLS_LDO): Likewise.
28636 (R_MN10300_TLS_GOTIE): Likewise.
28637 (R_MN10300_TLS_IE): Likewise.
28638 (R_MN10300_TLS_LE): Likewise.
28639 (R_MN10300_TLS_DTPMOD): Likewise.
28640 (R_MN10300_TLS_DTPOFF): Likewise.
28641 (R_MN10300_TLS_TPOFF): Likewise.
28642 (R_MN10300_SYM_DIFF): Likewise.
28643 (R_MN10300_ALIGN): Likewise.
28644 (R_MN10300_NUM): Update.
28645
b36137f1
JM
286462012-08-08 Joseph Myers <joseph@codesourcery.com>
28647
28648 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28649 Remove.
28650
cdd915fd
RM
286512012-08-08 Roland McGrath <roland@hack.frob.com>
28652
a2433aac
RM
28653 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28654
cdd915fd
RM
28655 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28656 sysdeps/unix -> sysdeps/posix move.
28657 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28658
bf9b740a
AM
286592012-08-07 Allan McRae <allan@archlinux.org>
28660
28661 [BZ #14303]
28662 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28663 (SUNOS_CPP): Likewise.
28664 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28665 not found.
28666 (open_input): Call CPP using execvp.
28667
93df14ee
JM
286682012-08-07 Joseph Myers <joseph@codesourcery.com>
28669
28670 * sysdeps/unix/sysv/linux/kernel-features.h
28671 (__ASSUME_PROT_GROWSUPDOWN): Remove.
28672 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28673 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28674 (__ASSUME_WAITID_SYSCALL): Likewise.
28675 * sysdeps/unix/sysv/linux/dl-execstack.c
28676 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28677 code unconditional.
28678 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28679 conditional code.
28680 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28681 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28682 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28683 code.
28684 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28685 unconditional.
28686 [__ASSUME_WAITID_SYSCALL]: Likewise.
28687 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28688
d34689de
RM
286892012-08-07 Roland McGrath <roland@hack.frob.com>
28690
a281decc
RM
28691 * sysdeps/unix/closedir.c: Renamed to ...
28692 * sysdeps/posix/closedir.c: ... here.
28693 * sysdeps/unix/dirfd.c: Renamed to ...
28694 * sysdeps/posix/dirfd.c: ... here.
28695 * sysdeps/unix/dirstream.h: Renamed to ...
28696 * sysdeps/posix/dirstream.h: ... here.
28697 * sysdeps/unix/fdopendir.c: Renamed to ...
28698 * sysdeps/posix/fdopendir.c: ... here.
28699 * sysdeps/unix/opendir.c: Renamed to ...
28700 * sysdeps/posix/opendir.c: ... here.
28701 * sysdeps/unix/readdir.c: Renamed to ...
28702 * sysdeps/posix/readdir.c: ... here.
28703 * sysdeps/unix/readdir_r.c: Renamed to ...
28704 * sysdeps/posix/readdir_r.c: ... here.
28705 * sysdeps/unix/rewinddir.c: Renamed to ...
28706 * sysdeps/posix/rewinddir.c: ... here.
28707 * sysdeps/unix/seekdir.c: Renamed to ...
28708 * sysdeps/posix/seekdir.c: ... here.
28709 * sysdeps/unix/telldir.c: Renamed to ...
28710 * sysdeps/posix/telldir.c: ... here.
28711 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28712 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28713 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28714 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28715
22895b47
RM
28716 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28717 * bits/fcntl.h: ... here.
28718
707a53b6
RM
28719 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28720 not 0.
28721 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28722 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28723 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28724 (struct flock): Move l_start, l_len to the beginning.
28725 Use __pid_t for l_pid.
28726 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28727 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28728 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28729 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28730 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28731 [__USE_LARGEFILE64] (struct flock64): New type.
28732 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28733
f0bd3e25
RM
28734 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28735 * bits/dirent.h: ... here.
28736
d34689de
RM
28737 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28738 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28739
6dad2c06
JM
287402012-08-07 Joseph Myers <joseph@codesourcery.com>
28741
28742 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28743 Change from 2.6.0 to 2.6.16.
28744 * sysdeps/unix/sysv/linux/configure: Regenerated.
28745 * sysdeps/unix/sysv/linux/kernel-features.h
28746 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28747 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28748 version.
28749 (__ASSUME_UTIMES): Likewise.
28750 (__ASSUME_CLONE_STOPPED): Remove.
28751 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28752 architectures, not kernel version.
28753 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28754 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28755 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28756 (__ASSUME_WAITID_SYSCALL): Likewise.
28757 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28758 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28759 * README: State 2.6.16 as minimum Linux kernel version. Do not
28760 refer to older versions.
28761
03af9520
RM
287622012-08-06 Roland McGrath <roland@hack.frob.com>
28763
8e49df1d
RM
28764 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28765 Define alphasort64 as an alias.
28766 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28767 Define versionsort64 as an alias.
28768 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28769 Define scandir64 as an alias.
28770 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28771 Define scandirat64 as an alias.
28772 * dirent/alphasort64.c (alphasort64):
28773 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28774 * dirent/versionsort64.c: Likewise.
28775 * dirent/scandir64.c: Likewise.
28776 * dirent/scandirat64.c: Likewise.
28777 * sysdeps/wordsize-64/alphasort.c: File removed.
28778 * sysdeps/wordsize-64/alphasort64.c: File removed.
28779 * sysdeps/wordsize-64/scandir.c: File removed.
28780 * sysdeps/wordsize-64/scandir64.c: File removed.
28781 * sysdeps/wordsize-64/scandirat.c: File removed.
28782 * sysdeps/wordsize-64/scandirat64.c: File removed.
28783 * sysdeps/wordsize-64/versionsort.c: File removed.
28784 * sysdeps/wordsize-64/versionsort64.c: File removed.
28785 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28786 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28787 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28788 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28789 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28790 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28791 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28792 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28793
28794 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28795 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28796 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28797 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28798 [defined __arch64__ || defined __sparcv9]
28799 (__INO_T_MATCHES_INO64_T): New macro.
28800 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28801 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28802 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28803 * sysdeps/unix/sysv/linux/bits/dirent.h
28804 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28805 (_DIRENT_MATCHES_DIRENT64): New macro.
28806
03af9520
RM
28807 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28808 Define lockf64 as an alias.
28809 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28810 Define fseeko64 as an alias.
28811 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28812 Define ftello64 as an alias.
28813 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28814 Define _IO_fgetpos64 and fgetpos64 as aliases.
28815 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28816 Define _IO_fsetpos64 and fsetpos64 as aliases.
28817 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28818 Conditionalize body on this.
28819 * libio/fseeko64.c: Likewise.
28820 * libio/ftello64.c: Likewise.
28821 * libio/iofgetpos64.c: Likewise.
28822 * libio/iofsetpos64.c: Likewise.
28823 * sysdeps/wordsize-64/lockf.c: File removed.
28824 * sysdeps/wordsize-64/lockf64.c: File removed.
28825 * sysdeps/wordsize-64/fseeko.c: File removed.
28826 * sysdeps/wordsize-64/fseeko64.c: File removed.
28827 * sysdeps/wordsize-64/ftello.c: File removed.
28828 * sysdeps/wordsize-64/ftello64.c: File removed.
28829 * sysdeps/wordsize-64/iofgetpos.c: File removed.
28830 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28831 * sysdeps/wordsize-64/iofsetpos.c: File removed.
28832 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28833 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28834 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28835 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28836 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28837 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28838 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28839 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28840 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28841 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28842 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28843
28844 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28845 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28846 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28847 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28848 [defined __arch64__ || defined __sparcv9]
28849 (__OFF_T_MATCHES_OFF64_T): New macro.
28850 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28851 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28852 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28853 (__OFF_T_MATCHES_OFF64_T): New macro.
28854
c5757acd
L
288552012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28856
28857 * stdlib/secure-getenv.c (__secure_getenv): Replace
28858 GLIBC_2_16 with GLIBC_2_17.
28859
3a31811e
L
288602012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28861
28862 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28863 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28864
faa2bccb
DM
288652012-08-03 David S. Miller <davem@davemloft.net>
28866
28867 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28868
85fe1997
JM
288692012-08-03 Joseph Myers <joseph@codesourcery.com>
28870
28871 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28872 Remove.
28873 (__ASSUME_CORRECT_SI_PID): Likewise.
28874 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28875 (__ASSUME_TMPFS_NAME): Likewise.
28876 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28877 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28878 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28879 (HAVE_AUX_SECURE): Make definition unconditional.
28880 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28881 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28882
4f75b7a0
RM
288832012-08-03 Roland McGrath <roland@hack.frob.com>
28884
28885 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28886 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28887 * sysdeps/mach/hurd/eloop-threshold.h: New file.
28888 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28889 __eloop_threshold instead of SYMLOOP_MAX.
28890
28891 * sysdeps/generic/eloop-threshold.h: New file.
28892 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28893 of MAXSYMLINKS.
28894 * elf/chroot_canon.c (chroot_canon): Likewise.
28895
7aab07e4
JM
288962012-08-03 Joseph Myers <joseph@codesourcery.com>
28897
28898 [BZ #13717]
28899 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28900 Change to 2.6.0 everywhere.
28901 * sysdeps/unix/sysv/linux/configure: Regenerated.
28902 * sysdeps/unix/sysv/linux/kernel-features.h
28903 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28904 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28905 kernel versions.
28906 (__ASSUME_POSIX_TIMERS): Define unconditionally.
28907 (__ASSUME_FUTEX_REQUEUE): Remove.
28908 (__ASSUME_STATFS64): Define unconditionally.
28909 (__ASSUME_AT_SECURE): Likewise.
28910 (__ASSUME_CORRECT_SI_PID): Likewise.
28911 (__ASSUME_TGKILL): Define without depending on kernel version for
28912 i386.
28913 (__ASSUME_UTIMES): Likewise.
28914 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28915 kernel version.
28916 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28917 (__ASSUME_TMPFS_NAME): Likewise.
28918 * README: Update reference to Linux kernel versions.
28919
b67e9372
MP
289202012-08-02 Marek Polacek <polacek@redhat.com>
28921
1f529f7d 28922 [BZ# 14150]
b67e9372
MP
28923 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
28924 libc_cv_asm_type_prefix with %.
28925 * configure: Regenerated.
d2441631
RM
28926 * include/libc-symbols.h: Remove comment about
28927 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
28928 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28929 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28930 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28931 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28932 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28933 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28934 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28935 * elf/tst-unique2mod1.c: Likewise.
28936 * elf/tst-unique1mod2.c: Likewise.
28937 * elf/tst-unique1mod1.c: Likewise.
28938 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28939 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28940 Replace ASM_TYPE_DIRECTIVE with .type.
28941 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28942 * sysdeps/i386/sysdep.h: Likewise.
28943 * sysdeps/x86_64/sysdep.h: Likewise.
28944 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
28945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28946 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 28947 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
28948 * sysdeps/powerpc/powerpc32/sysdep.h:
28949 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
28950 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28951 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28952 * sysdeps/i386/fpu/e_powf.S: Likewise.
28953 * sysdeps/i386/fpu/e_expl.S: Likewise.
28954 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28955 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28956 * sysdeps/i386/fpu/e_pow.S: Likewise.
28957 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28958 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28959 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28960 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28961 * sysdeps/i386/fpu/e_log2.S: Likewise.
28962 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28963 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28964 * sysdeps/i386/fpu/e_powl.S: Likewise.
28965 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28966 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28967 * sysdeps/i386/fpu/e_logl.S: Likewise.
28968 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28969 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28970 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28971 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28972 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28973 * sysdeps/i386/fpu/e_log.S: Likewise.
28974 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28975 * sysdeps/i386/fpu/e_logf.S: Likewise.
28976 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28977 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28978 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28979 * sysdeps/i386/fpu/e_log10.S: Likewise.
28980 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28981 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28982 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28983 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28984 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28985 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28986 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28987 * sysdeps/i386/i686/strtok.S: Likewise.
28988 * sysdeps/i386/i386-mcount.S: Likewise.
28989 * sysdeps/i386/strtok.S: Likewise.
28990 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28991 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28992 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28993 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28994 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28995 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28996 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28997 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28998 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28999 * sysdeps/x86_64/_mcount.S: Likewise.
29000 * sysdeps/x86_64/strtok.S: Likewise.
29001 * sysdeps/sh/_mcount.S: Likewise.
29002
2747bf9a
RM
290032012-08-01 Roland McGrath <roland@hack.frob.com>
29004
29005 * libio/iofopen.c: Include <fcntl.h>.
29006 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
29007 (_IO_fopen64, fopen64): Define as aliases.
29008 * libio/iofopen64.c: Include <fcntl.h>.
29009 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
29010 Conditionalize body on this.
29011 * sysdeps/wordsize-64/iofopen.c: File removed.
29012 * sysdeps/wordsize-64/iofopen64.c: File removed.
29013
3fb791b8
MP
290142012-08-01 Marek Polacek <polacek@redhat.com>
29015
29016 * libc/Makeconfig: Use elf in place of binfmt-subdir.
29017 Use dlfcn directly instead of a variable.
29018 (binfmt-subdir): Do not define.
29019 (dlfcn): Likewise.
29020
a9f1039f
JM
290212012-08-01 Joseph Myers <joseph@codesourcery.com>
29022
23bddc06
JM
29023 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29024 Remove all definitions.
29025 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29026 <kernel-features.h>.
29027 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29028 (miss_F_GETOWN_EX): Remove all definitions.
29029 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29030 macro definition.
29031 [!__ASSUME_FCNTL64]: Remove conditional code.
29032 [__ASSUME_FCNTL64]: Make code unconditional.
29033 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29034 <kernel-features.h>.
29035 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29036 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29037 (lockf64) [__NR_fcntl64]: Make code unconditional.
29038 (lockf64) [__ASSUME_FCNTL64]: Likewise.
29039
a9f1039f
JM
29040 * sysdeps/unix/sysv/linux/kernel-features.h
29041 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29042 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29043 Make code unconditional.
29044 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29045 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29047 [__NR_vfork]: Make code unconditional.
29048 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29049 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29051 [__NR_vfork]: Make code unconditional.
29052 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29053 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29054
09c0ee5f
RM
290552012-08-01 Roland McGrath <roland@hack.frob.com>
29056
48aec5b9
RM
29057 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29058 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29059
cd97c966
RM
29060 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29061 Define mkstemp64 as an alias.
3f55550c
RM
29062 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29063 Define mkstemps64 as an alias.
cd97c966
RM
29064 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29065 Define mkostemp64 as an alias.
b8625cfc
RM
29066 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29067 Define mkostemps64 as an alias.
cd97c966
RM
29068 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29069 Conditionalize body on this.
29070 * misc/mkostemp64.c: Likewise.
b8625cfc 29071 * misc/mkostemps64.c: Likewise.
3f55550c 29072 * misc/mkstemps64.c: Likewise.
cd97c966
RM
29073 * sysdeps/wordsize-64/mkstemp64.c: File removed.
29074 * sysdeps/wordsize-64/mkostemp64.c: File removed.
29075 * sysdeps/wordsize-64/mkostemp.c: File removed.
29076 * sysdeps/wordsize-64/mkstemp.c: File removed.
29077 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29078 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29079 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29080 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29081
09c0ee5f
RM
29082 [BZ #14138]
29083 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29084 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29085 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29086 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29087
29088 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29089 compat_symbol macros from <shlib-compat.h> rather than the underlying
29090 default_symbol_version and symbol_version macros, so that DEFAULT
29091 lines in shlib-versions are respected.
29092 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29093
7e66ee51
FW
290942012-08-01 Florian Weimer <fweimer@redhat.com>
29095
29096 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29097 Declare with warn_unused_result.
29098 (setgid, setregid, setegid, setresgid): Likewise.
29099 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29100 Likewise.
29101 * WUR-REPORT: Remove set*id functions.
29102
d2a54255
PT
291032012-07-31 Pino Toscano <toscano.pino@tiscali.it>
29104
29105 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29106
7ecdb005
RM
291072012-07-31 Roland McGrath <roland@hack.frob.com>
29108
b4180a5e 29109 [BZ #10191]
789bd351
RM
29110 * include/sys/socket.h (__libc_accept, __libc_accept4):
29111 Add attribute_hidden.
29112 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29113
40ce302d
RM
29114 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29115 use of PTR_MANGLE.
29116 * inet/getnetgrent_r.c (setup): Likewise.
29117
7ecdb005
RM
29118 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29119
e2eabb2c
DM
291202012-07-31 David S. Miller <davem@davemloft.net>
29121
29122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29123
d0419dbf
JM
291242012-07-31 Joseph Myers <joseph@codesourcery.com>
29125
29126 [BZ #13629]
29127 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29128 value between 1.0 and 2.0 and smaller part has absolute value less
29129 than 1.0.
29130 * math/s_clog10.c (__clog10): Likewise.
29131 * math/s_clog10f.c (__clog10f): Likewise.
29132 * math/s_clog10l.c (__clog10l): Likewise.
29133 * math/s_clogf.c (__clogf): Likewise.
29134 * math/s_clogl.c (__clogl): Likewise.
29135 * math/libm-test.inc (clog_test): Add more tests.
29136 (clog10_test): Likewise.
29137 * sysdeps/i386/fpu/libm-test-ulps: Update.
29138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29139
2bc13872
FW
291402012-07-31 Florian Weimer <fweimer@redhat.com>
29141
29142 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29143 Exit with zero in case no suitable GID is found, and write a
29144 message to standard error.
29145
bea9b193
RM
291462012-07-30 Roland McGrath <roland@hack.frob.com>
29147
29148 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29149 rather than to 1.
29150 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29151 (MAXPATHLEN): Removed.
29152 (NOGROUP, NODEV): New macros.
29153 (setbit, clrbit, isset, isclr): New macros.
29154 (howmany, roundup, powerof2): New macros.
29155 (DEV_BSIZE): New macro.
29156
29157 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29158 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29159
29160 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29161 definition on [!__NO_LONG_DOUBLE_MATH].
29162
29163 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29164 PTR_MANGLE and PTR_DEMANGLE.
29165
29166 * socket/accept4.c (accept4): Rename to __libc_accept4.
29167 Define accept4 as a weak alias.
29168
29169 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29170 on [_DIRENT_HAVE_D_TYPE].
29171 * io/ftw.c (ftw_dir): Likewise.
29172
29173 * io/xmknod.c (__xmknod): Don't check PATH for being null.
29174
29175 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29176
29177 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29178 Use the BSD numbers rather than the arbitrary ones we had.
29179 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29180 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29181 (SIGXCPU, SIGXFSZ): New macros.
29182 (_NSIG): Now 32.
29183
29184 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29185 initializer on [_LIBC_REENTRANT].
29186
29187 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29188 definitions inside [_POSIX_MAPPED_FILES].
29189
29190 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29191
29192 * dirent/opendir.c: Include <fcntl.h>.
29193
29194 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29195 (__libc_getspecific): Likewise.
29196 (__libc_key_create): Likewise.
29197
29198 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29199 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29200 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29201 (tmpfile64): Define as alias.
29202 * sysdeps/wordsize-64/tmpfile.c: File removed.
29203 * sysdeps/wordsize-64/tmpfile64.c: File removed.
29204 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29205 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29206
29207 * stdio-common/vfscanf.c: Include <stdbool.h>.
29208 * nss/makedb.c: Likewise.
29209 * stdio-common/_i18n_number.h: Likewise.
29210 * argp/argp-help.c: Likewise.
29211 * posix/wordexp.c: Likewise.
29212 * sysdeps/posix/spawni.c: Likewise.
29213 * nss/nss_files/files-initgroups.c: Likewise.
29214 * stdio-common/reg-modifier.c: Include <stdlib.h>.
29215 * nss/nss_files/files-initgroups.c: Likewise.
29216 * nss/nss_db/db-netgrp.c: Likewise.
29217 * nss/nss_db/db-initgroups.c: Likewise.
29218 * io/fchmodat.c: Include <sys/stat.h>.
29219
29220 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29221 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29222
29223 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29224 [HAVE_MMAP].
29225
29226 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29227 Add multiple inclusion protection.
29228
e5abc686
DM
292292012-07-27 David S. Miller <davem@davemloft.net>
29230
29231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29232
815e6fa3
GB
292332012-07-27 Gary Benson <gbenson@redhat.com>
29234
29235 [BZ #14298]
29236 * elf/rtld.c: Include <stap-probe.h>.
29237 (dl_main): Added static probes "init_start" and "init_complete".
29238 * elf/dl-load.c: Include <stap-probe.h>.
29239 (lose): Take new parameter "nsid".
29240 Added static probe "map_failed".
29241 (_dl_map_object_from_fd): Pass namespace id to lose.
29242 Added static probe "map_start".
29243 (open_verify): Pass namespace id to lose.
29244 * elf/dl-open.c: Include <stap-probe.h>.
29245 (dl_open_worker) Added static probes "map_complete", "reloc_start"
29246 and "reloc_complete".
29247 * elf/dl-close.c: Include <stap-probe.h>.
29248 (_dl_close_worker): Added static probes "unmap_start" and
29249 "unmap_complete".
29250 * elf/rtld-debugger-interface.txt: New file documenting the above.
29251
9f98c16c
RM
292522012-07-26 Roland McGrath <roland@hack.frob.com>
29253
29254 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29255 rather than a string variable.
29256 * sunrpc/rpc_main.c (h_output): Likewise.
29257 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29258
f3c22df3
PT
292592012-07-26 Pino Toscano <toscano.pino@tiscali.it>
29260
29261 * inet/check_native.c: New file.
29262
3129cfc6
JM
292632012-07-26 Joseph Myers <joseph@codesourcery.com>
29264
da865e95
JM
29265 [BZ #13629]
29266 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29267 if larger part has absolute value 1.0.
29268 * math/s_clog10.c (__clog10): Likewise.
29269 * math/s_clog10f.c (__clog10f): Likewise.
29270 * math/s_clog10l.c (__clog10l): Likewise.
29271 * math/s_clogf.c (__clogf): Likewise.
29272 * math/s_clogl.c (__clogl): Likewise.
29273 * math/libm-test.inc (clog_test): Add more tests.
29274 (clog10_test): Likewise.
29275 * sysdeps/i386/fpu/libm-test-ulps: Update.
29276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29277
3129cfc6
JM
29278 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29279 (pltexit): Likewise.
29280 (La_regs): Likewise.
29281 (La_retval): Likewise.
29282 (int_retval): Likewise.
29283 Update #error for removed macros to refer only to definitions in
29284 tst-audit.h.
29285 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29286 macro.
29287 (pltexit): Likewise.
29288 (La_regs): Likewise.
29289 (La_retval): Likewise.
29290 (int_retval): Likewise.
29291 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29292 macro.
29293 (pltexit): Likewise.
29294 (La_regs): Likewise.
29295 (La_retval): Likewise.
29296 (int_retval): Likewise.
29297 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29298 macro.
29299 (pltexit): Likewise.
29300 (La_regs): Likewise.
29301 (La_retval): Likewise.
29302 (int_retval): Likewise.
29303 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29304 macro.
29305 (pltexit): Likewise.
29306 (La_regs): Likewise.
29307 (La_retval): Likewise.
29308 (int_retval): Likewise.
29309 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29310 macro.
29311 (pltexit): Likewise.
29312 (La_regs): Likewise.
29313 (La_retval): Likewise.
29314 (int_retval): Likewise.
29315 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29316 macro.
29317 (pltexit): Likewise.
29318 (La_regs): Likewise.
29319 (La_retval): Likewise.
29320 (int_retval): Likewise.
29321 * sysdeps/generic/tst-audit.h: Update comment to refer only to
29322 macro definitions in tst-audit.h.
29323 * sysdeps/i386/tst-audit.h: New file.
29324 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29325 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29326 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29327 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29328 * sysdeps/sh/tst-audit.h: Likewise.
29329 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29330 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29331 * sysdeps/x86_64/tst-audit.h: Likewise.
29332
bfc07087
AJ
293332012-07-26 Andreas Jaeger <aj@suse.de>
29334
b1b2aaf8
AJ
29335 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29336 ptrace.
29337
29338 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29339 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29340 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29341 PTRACE_O_MASK.
29342 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29343 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29344 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29345
bfc07087
AJ
29346 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29347 value.
29348
29349 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29350 _sigsys.
29351 (si_call_addr, si_syscall, si_arch): Define new macro.
29352 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29353 _sigsys.
29354 (si_call_addr, si_syscall, si_arch): Define new marcro.
29355 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29356 _sigsys.
29357 (si_call_addr, si_syscall, si_arch): Define new macro.
29358 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29359 _sigsys.
29360 (si_call_addr, si_syscall, si_arch): Define new macro.
29361
89b4b02f
JM
293622012-07-25 Joseph Myers <joseph@codesourcery.com>
29363
29364 [BZ #13717]
29365 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29366 Change to 2.4.21 where previously 2.4.1.
29367 * sysdeps/unix/sysv/linux/configure: Regenerated.
29368 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29369 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29370 Linux kernel version.
29371 (__ASSUME_STD_AUXV): Remove.
29372 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29373 kernel version.
29374 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29375 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29376 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29377 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29378 (__ASSUME_NETLINK_SUPPORT): Likewise.
29379 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29380 (__no_netlink_support): Remove conditional definition.
29381 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29382 Remove.
29383 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29384 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29385 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29386 (if_nameindex_ioctl): Remove.
29387 (if_nameindex_netlink): Do not handle __no_netlink_support.
29388 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29389 code.
29390 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29391 Remove conditional code.
29392 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29393 code.
29394 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29395 unconditional.
29396 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29397 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29398 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29399 Remove.
29400 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29401 [!__ASSUME_STD_AUXV]: Remove conditional code.
29402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29403 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29404 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29406 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29407 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29408 code.
29409 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29411 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29412 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29413 conditional code.
29414 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29416 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29417 code.
29418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29419 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29420 conditional code.
29421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29422 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29423 code unconditional.
29424 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29425 conditional code.
29426 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29427 unconditional.
29428 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29429 conditional code.
29430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29431 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29432 unconditional.
29433 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29434 conditional code.
29435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29436 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29437 code unconditional.
29438 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29439 conditional code.
29440 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29441 unconditional.
29442 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29443 conditional code.
29444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29445 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29446 code unconditional.
29447 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29448 conditional code.
29449 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29450 unconditional.
29451 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29452 conditional code.
29453
842a39cd
AS
294542012-07-25 Andreas Schwab <schwab@linux-m68k.org>
29455
29456 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29457 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29458 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29459 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29460 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29461 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29462 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29463 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29464 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29465 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29466 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29467 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29468 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29469 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29470 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29471 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29472 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29473 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29474 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29475 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29476 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29477 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29478 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29479
84b3fd84
FW
294802012-07-25 Florian Weimer <fweimer@redhat.com>
29481
29482 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
29483 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29484 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29485 Introduce __libc_secure_getenv.
0c7936d5
FW
29486 * stdlib/Versions (2.17): Add secure_getenv
29487 (GLIBC_PRIVATE): Add __libc_secure_getenv.
29488 * stdlib/secure-getenv.c: Rename __secure_getenv to
29489 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
29490 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
29491 * stdlib/tst-secure-getenv.c: New.
29492 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
29493 * manual/startup.texi (Environment Access): Document
29494 secure_getenv.
84b3fd84
FW
29495 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29496 __libc_secure_getenv.
29497 * inet/ruserpass.c (ruserpass): Likewise.
29498 * malloc/mtrace.c (mtrace): Likewise.
29499 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 29500 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
29501 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29502 * sysdeps/posix/tempname.c: Likewise. Evaluate
29503 HAVE_SECURE_GETENV.
29504 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 29505 __secure_getenv to __libc_secure_getenv.
84b3fd84 29506 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
29507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29508 Likewise.
29509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29510 Likewise.
29511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29513 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29514 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29515 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29516 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 29518
56e49b71
JM
295192012-07-25 Joseph Myers <joseph@codesourcery.com>
29520
29521 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29522 (struct La_i86_retval): Likewise.
29523 (struct La_x86_64_regs): Likewise.
29524 (struct La_x86_64_retval): Likewise.
29525 (struct La_x32_regs): Likewise.
29526 (struct La_x32_retval): Likewise.
29527 (struct La_ppc32_regs): Likewise.
29528 (struct La_ppc32_retval): Likewise.
29529 (struct La_ppc64_regs): Likewise.
29530 (struct La_ppc64_retval): Likewise.
29531 (struct La_sh_regs): Likewise.
29532 (struct La_sh_retval): Likewise.
29533 (struct La_s390_32_regs): Likewise.
29534 (struct La_s390_32_retval): Likewise.
29535 (struct La_s390_64_regs): Likewise.
29536 (struct La_s390_64_retval): Likewise.
29537 (struct La_sparc32_regs): Likewise.
29538 (struct La_sparc32_retval): Likewise.
29539 (struct La_sparc64_regs): Likewise.
29540 (struct La_sparc64_retval): Likewise.
29541 (struct audit_ifaces): Remove architecture-specific pltenter and
29542 pltexit members.
29543 * sysdeps/i386/ldsodefs.h: New file.
29544 * sysdeps/powerpc/ldsodefs.h: Likewise.
29545 * sysdeps/s390/ldsodefs.h: Likewise.
29546 * sysdeps/sh/ldsodefs.h: Likewise.
29547 * sysdeps/sparc/ldsodefs.h: Likewise.
29548 * sysdeps/x86_64/ldsodefs.h: Likewise.
29549
354691b7
MP
295502012-07-25 Marek Polacek <polacek@redhat.com>
29551
29552 [BZ #6808]
29553 * math/libm-test.inc (yn_test): Add another test.
29554 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29555 to ERANGE when the result is +-Inf.
29556 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29557 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29558 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29559 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29560
bf9e2071
JM
295612012-07-24 Joseph Myers <joseph@codesourcery.com>
29562
29563 * conform/data/time.h-data (NULL): Use macro-constant. Require
29564 equal to 0.
29565 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
29566 clock_t.
29567 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
29568
57633811
TS
295692012-07-23 Thomas Schwinge <thomas@codesourcery.com>
29570
29571 * configure.in <sysdeps resolving>: Correct printing
29572 Implies_before.
29573 * configure: Regenerate.
29574
c23c33b0
TS
295752012-07-22 Thomas Schwinge <thomas@codesourcery.com>
29576
29577 * math/w_ilogb.c: Include <limits.h>.
29578 * math/w_ilogbl.c: Likewise.
29579
b5982523
JM
295802012-07-20 Joseph Myers <joseph@codesourcery.com>
29581
29582 * manual/lang.texi (__va_copy): Document primarily as ISO C99
29583 va_copy. Document allowing for unavailable va_copy only as
29584 pre-C99 compatibility.
29585 * manual/string.texi (Copying and Concatenation): Use va_copy
29586 instead of __va_copy in concat example.
29587
ac4ea442
PT
295882012-07-20 Pino Toscano <toscano.pino@tiscali.it>
29589
29590 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29591 (__sendto): Use create_address_port. Initialize APORT and deallocate
29592 it if not null.
29593
f98eafbd
PT
29594 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29595 with O_NOLINK passed to __file_name_lookup.
29596
898c7aab
PT
29597 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29598 with O_NOLINK passed to __file_name_lookup.
29599
0ced335a
PT
29600 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29601 negative N or less than NGIDS.
29602
b3404dbd
PT
29603 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29604 type to string_t. Set ERANGE as errno and return it if NAME is not big
29605 enough. Use memcpy instead of strncpy.
29606
0f48659e
JM
296072012-07-20 Joseph Myers <joseph@codesourcery.com>
29608
29609 * elf/Makefile (check-data): Remove.
29610 (localplt.data): New vpath directive.
29611 ($(objpfx)check-localplt.out): Use localplt.data from vpath
29612 instead of $(check-data).
29613 * scripts/data/localplt-generic.data: Move to ...
29614 * sysdeps/generic/localplt.data: ... here.
29615 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29616 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29617 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29619 ... here.
29620 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29622 ... here.
29623 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29625 ... here.
29626 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29628 ... here.
29629 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29631 ... here.
29632 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29633 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29634 ... here.
29635
d37cbdaa
AZ
296362012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29637
29638 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29639 PPC32 and PPC64 files.
29640 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29641 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29642
46f85fc2
AK
296432012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29644
29645 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29646 __makecontext_ret to ...
29647 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29648 ... here and call exit if uc_link is NULL. New file.
29649 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29650 __makecontext_ret.S.
29651 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29652 __makecontext_ret to ...
29653 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29654 ... here and call exit if uc_link is NULL. New file.
29655 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29656 __makecontext_ret.S.
29657
08f43f9b
AK
296582012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29659
29660 * elf/elf.h (R_390_IRELATIVE): New definition.
29661 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29662 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
29663 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29664 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29665 (elf_machine_lazy_rel): Likewise.
29666 * sysdeps/s390/dl-irel.h: New file.
29667 * sysdeps/s390/s390-64/memcpy.S: New asm code.
29668 * sysdeps/s390/s390-64/memset.S: New asm code.
29669 * sysdeps/s390/s390-64/memcmp.S: New asm code.
29670 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29671 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29672 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29673 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29674 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29675 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29676 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29677 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29678 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29679 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29680 * sysdeps/s390/s390-32/memcpy.S: New asm code.
29681 * sysdeps/s390/s390-32/memset.S: New asm code.
29682 * sysdeps/s390/s390-32/memcmp.S: New asm code.
29683
3b05db33
MP
296842012-07-17 Marek Polacek <polacek@redhat.com>
29685
29686 [BZ #14349]
29687 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29688 * sysdeps/s390/s390-64/configure.in: Likewise.
29689 * sysdeps/sparc/configure.in: Likewise.
29690 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29691 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29692 * sysdeps/i386/configure.in: Likewise.
29693 * sysdeps/x86_64/configure.in: Likewise.
29694 * sysdeps/sh/configure.in: Likewise.
29695 * sysdeps/s390/s390-32/configure: Regenerated.
29696 * sysdeps/s390/s390-64/configure: Likewise.
29697 * sysdeps/x86_64/configure: Likewise.
29698 * sysdeps/sh/configure: Likewise.
29699 * sysdeps/powerpc/powerpc64/configure: Likewise.
29700 * sysdeps/powerpc/powerpc32/configure: Likewise.
29701 * sysdeps/sparc/configure: Likwise.
29702 * sysdeps/i386/configure: Likewise.
29703
a66877c6
MP
29704 * elf/dl-open.c: Comment fixes.
29705
cfc82fd8
JM
297062012-07-17 Joseph Myers <joseph@codesourcery.com>
29707
bd29910a
JM
29708 * Makefile [CXX] (check-data): Remove.
29709 [CXX] (c++-types.data): New vpath directive.
29710 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29711 vpath. Do not allow for C++ type data being missing.
29712 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29713 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29714 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29715 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29716 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29717 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29718 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29720 ... here.
29721 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29723 ... here.
29724 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29726 ... here.
29727 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29728 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29729 ... here.
29730 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29732 ... here.
29733 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29735 ... here.
29736 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29738 ... here.
29739 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29740 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29741
cfc82fd8
JM
29742 * elf/tls-macros.h (TLS_LE): Move architecture-specific
29743 definitions to architecture-specific files.
29744 (TLS_IE): Likewise.
29745 (TLS_LD): Likewise.
29746 (TLS_GD): Likewise.
29747 * sysdeps/i386/tls-macros.h: New file.
29748 * sysdeps/powerpc/tls-macros.h: Likewise.
29749 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29750 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29751 * sysdeps/sh/tls-macros.h: Likewise.
29752 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29753 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29754 * sysdeps/x86_64/tls-macros.h: Likewise.
29755
f7db3170
TS
297562012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29757
07cbfc23
TS
29758 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29759 zero value for regular exit case.
29760
f7db3170
TS
29761 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29762 (__start_context): Preserve zero value for regular exit case.
29763
dc97c227
TS
297642012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29765 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29766
29767 * manual/setjmp.texi (setcontext): Clarify normal process
29768 termination when uc_link is the null pointer.
29769 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29770 exit call.
29771
d0cd7d02
AS
297722012-07-16 Andreas Schwab <schwab@linux-m68k.org>
29773
29774 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29775 preprocessor. Test for each exception mask separately.
29776
dd318934
AJ
297772012-07-16 Andreas Jaeger <aj@suse.de>
29778
29779 * po/ru.po: Update from translation team.
29780
8048311a
JM
297812012-07-15 Joseph Myers <joseph@codesourcery.com>
29782
29783 * conform/data/string.h-data (NULL): Use macro-constant. Require
29784 equal to 0.
29785 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29786 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29787 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29788 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29789 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29790
b637d46e
AJ
297912012-07-13 Andreas Jaeger <aj@suse.de>
29792
29793 * po/fr.po: Update from translation team.
29794
541428fe
MP
297952012-07-12 Marek Polacek <polacek@redhat.com>
29796
29797 [BZ #14173]
29798 * math/libm-test.inc (yn_test): Add test for BZ #14173.
29799 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29800 loop condition.
29801
ec332e94
JM
298022012-07-12 Joseph Myers <joseph@codesourcery.com>
29803
29804 [BZ #13717]
29805 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29806 Change to 2.4.1 where previously 2.4.0.
29807 * sysdeps/unix/sysv/linux/configure: Regenerated.
29808 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29809 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29810 version.
29811 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29812 (__ASSUME_AT_CLKTCK): Remove.
29813 (__ASSUME_AT_PAGESIZE): Likewise.
29814 (__ASSUME_AT_XID): Likewise.
29815 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29816 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29817 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29818 unconditionally.
29819 (HAVE_AUX_PAGESIZE): Likewise.
29820 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29821 [__ASSUME_AT_CLKTCK]: Make code unconditional.
29822 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29823
7b6e99be
JB
298242012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
29825
29826 [BZ #14307]
29827 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29828 the temporary buffer used to invoke __gethostbyname2_r,
29829 __gethostbyaddr_r and gethostbyname4_r to make room for struct
29830 host_data / struct gaih_addrtuple.
29831 * resolv/nss_dns/dns-host.c (global scope): Move definition of
29832 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29833 header file nss/nsswitch.h.
29834 * nss/nsswitch.h (global scope): Add definition of implementation
29835 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29836 resolv/nss_dns/dns-host.c).
29837
608404eb
AJ
298382012-07-11 Andreas Jaeger <aj@suse.de>
29839
29840 * po/fr.po: Update from translation team.
29841
71220aca
AJ
29842 * po/sv.po: Update from translation team
29843 * po/fr.po: Another update from translation team.
29844
28cfe843
AZ
298452012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29846
29847 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29848 for subnormals or multiply small sinh result by itself.
29849 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29851
6b90f981
DM
298522012-07-11 David S. Miller <davem@davemloft.net>
29853
29854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29855
c6825772
AS
298562012-07-10 Andreas Schwab <schwab@linux-m68k.org>
29857
29858 [BZ #14347]
29859 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29860 (INTERNAL_MARK): Shift it here.
29861
7b8e0d49
MP
298622012-07-10 Marek Polacek <polacek@redhat.com>
29863
29864 [BZ #14151]
29865 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
29866 libc_cv_asm_global_directive with .globl.
29867 * configure: Regenerated.
29868 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29869 with .globl.
29870 * sysdeps/i386/configure: Regenerated.
29871 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29872 with .globl.
29873 * sysdeps/x86_64/configure: Regenerated.
29874 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29875 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29876 * elf/tst-unique2mod2.c: Likewise.
29877 * elf/tst-unique2mod1.c: Likewise.
29878 * elf/tst-unique1mod2.c: Likewise.
29879 * elf/tst-unique1mod1.c: Likewise.
29880 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29881 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29882 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29883 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29884 * sysdeps/mach/sysdep.h: Likewise.
29885 * sysdeps/i386/sysdep.h: Likewise.
29886 * sysdeps/i386/i386-mcount.S: Likewise.
29887 * sysdeps/x86_64/_mcount.S: Likewise.
29888 * sysdeps/x86_64/sysdep.h: Likewise.
29889 * sysdeps/sh/_mcount.S: Likewise.
29890 * sysdeps/sh/sysdep.h: Likewise.
29891 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29892 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29893 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29894 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29895 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29896 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29897 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29898 * locale/localeinfo.h: Likewise.
29899 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29900 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29901
6c55cda3
RM
299022012-07-09 Roland McGrath <roland@hack.frob.com>
29903
29904 [BZ #14336]
29905 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29906 system".
29907 * manual/message.texi (The Uniforum approach): Likewise.
29908 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29909 (glibc iconv Implementation): Likewise.
29910
638a572e
JM
299112012-07-09 Joseph Myers <joseph@codesourcery.com>
29912
29913 [BZ #14337]
29914 * math/s_clog.c (__clog): Avoid scaling a value down where that
29915 could result in underflow.
29916 * math/s_clog10.c (__clog10): Likewise.
29917 * math/s_clog10f.c (__clog10f): Likewise.
29918 * math/s_clog10l.c (__clog10l): Likewise.
29919 * math/s_clogf.c (__clogf): Likewise.
29920 * math/s_clogl.c (__clogl): Likewise.
29921 * math/libm-test.inc (clog_test): Add more tests.
29922 (clog10_test): Likewise.
29923 * sysdeps/i386/fpu/libm-test-ulps: Update.
29924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29925
261f4859
AS
299262012-07-06 Andreas Schwab <schwab@linux-m68k.org>
29927
0abaf3e4
AS
29928 [BZ #14283]
29929 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29930 by 7 not 8 to examine high bit of fractional part.
29931
261f4859
AS
29932 [BZ #14042]
29933 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29934 for call to __mcount_internal.
29935 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29936 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29937 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29938
f17ac40d
JM
299392012-07-06 Joseph Myers <joseph@codesourcery.com>
29940
9ad63c23
JM
29941 [BZ #14154]
29942 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29943 approximation for values within 0x1p-13f of an odd multiple of
29944 pi/4.
29945 * math/libm-test.inc (tan_test): Do not allow spurious underflow
29946 exception. Add more tests.
29947 * sysdeps/i386/fpu/libm-test-ulps: Update.
29948
f17ac40d
JM
29949 [BZ #6778]
29950 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29951 inputs and return -1 for them. Do not check for +Inf in case not
29952 reachable for +Inf.
29953 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29954 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not 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 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29959 define.
29960 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29961 and return -1 for them. Do not check for +Inf in case not
29962 reachable for +Inf.
29963 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
29964 spurious underflow.
29965 * sysdeps/i386/fpu/libm-test-ulps: Update.
29966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29967
fb21f89b
MF
299682012-07-06 Mike Frysinger <vapier@gentoo.org>
29969
29970 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29971
cdfe2c5e
JM
299722012-07-05 Joseph Myers <joseph@codesourcery.com>
29973
29974 [BZ #14157]
29975 [BZ #14331]
29976 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29977 could result in spurious underflow. Scale down values above
29978 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29979 * math/s_csqrtf.c (__csqrtf): Likewise.
29980 * math/s_csqrtl.c (__csqrtl): Likewise.
29981 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
29982 spurious underflow.
29983 * sysdeps/i386/fpu/libm-test-ulps: Update.
29984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29985
70d35b67
AS
299862012-07-04 Andreas Schwab <schwab@linux-m68k.org>
29987
704bc459
AS
29988 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29989 xopen-msg.sed.
29990 * catgets/xopen-msg.awk: New file.
29991 * catgets/xopen-msg.sed: Removed.
29992
70d35b67
AS
29993 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29994 po2text.sed.
29995 * intl/po2test.awk: New file.
29996 * intl/po2test.sed: Removed.
29997
ca61cf32
JM
299982012-07-04 Joseph Myers <joseph@codesourcery.com>
29999
30000 [BZ #14328]
30001 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
30002 or multiply small sinh result by itself.
30003 * math/s_ctanf.c (__ctanf): Likewise.
30004 * math/s_ctanh.c (__ctanh): Likewise.
30005 * math/s_ctanhf.c (__ctanhf): Likewise.
30006 * math/s_ctanhl.c (__ctanhl): Likewise.
30007 * math/s_ctanl.c (__ctanl): Likewise.
30008 * math/libm-test.inc (ctan_test_tonearest): New function.
30009 (ctan_test_towardzero): Likewise.
30010 (ctan_test_downward): Likewise.
30011 (ctan_test_upward): Likewise.
30012 (ctanh_test_tonearest): Likewise.
30013 (ctanh_test_towardzero): Likewise.
30014 (ctanh_test_downward): Likewise.
30015 (ctanh_test_upward): Likewise.
30016 (main): Call these new functions.
30017 * sysdeps/i386/fpu/libm-test-ulps: Update.
30018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30019
ca48a46a
MF
300202012-07-03 Mike Frysinger <vapier@gentoo.org>
30021
30022 * .gitignore: Delete /ports entry.
30023
9d63d37d
AJ
300242012-07-03 Andreas Jaeger <aj@suse.de>
30025
30026 * po/bg.po: Update from translation team.
30027 * po/cs.po: Likewise.
30028 * po/de.po: Likewise.
30029 * po/hr.po: Likewise.
30030 * po/nl.pl: Likewise.
30031 * po/pl.po: Likewise.
30032 * po/vi.po: Likewise.
30033
370ca3d2
JM
300342012-07-03 Joseph Myers <joseph@codesourcery.com>
30035
95f5a9a8
JM
30036 * Makeconfig [!+link] (+link-before-libc): New variable.
30037 [!+link] (+link-after-libc): Likewise.
30038 [!+link] (+link-tests): Likewise.
30039 [!+link] (+link): Define in terms of $(+link-before-libc) and
30040 $(+link-after-libc).
30041 [!+link-static] (+link-static-before-libc): New variable.
30042 [!+link-static] (+link-static-after-libc): Likewise.
30043 [!+link-static] (+link-static-tests): Likewise.
30044 [!+link-static] (+link-static): Define in terms of
30045 $(+link-static-before-libc) and $(+link-static-after-libc).
30046 [build-shared] (link-libc-before-gnulib): New variable.
30047 [build-shared] (link-libc-tests): Likewise.
30048 [build-shared] (link-libc): Define in terms of
30049 $(link-libc-before-gnulib).
30050 [!build-shared] (link-libc-tests): New variable.
30051 (link-libc-static-tests): New variable.
30052 [!gnulib] (gnulib-arch): New variable.
30053 [!gnulib] (gnulib-tests): Likewise.
30054 [!gnulib] (static-gnulib-arch): Likewise.
30055 [!gnulib] (static-gnulib-tests): Likewise.
30056 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
30057 Define with "=" instead of ":=".
30058 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
30059 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
30060 * Rules (binaries-all-notests): New variable.
30061 (binaries-all-tests): Likewise.
30062 (binaries-static-notests): Likewise.
30063 (binaries-static-tests): Likewise.
30064 (binaries-all): Define using $(binaries-all-notests) and
30065 $(binaries-all-tests).
30066 (binaries-static): Define using $(binaries-static-notests) and
30067 $(binaries-static-tests).
30068 (binaries-shared-tests): New variable.
30069 (binaries-shared-notests): Likewise.
30070 (binaries-shared): Remove variable.
30071 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30072 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30073 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30074 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30075 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30076 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30077 * elf/Makefile (sln-modules): New variable.
30078 (extra-objs): Add $(sln-modules:=.o).
30079 (ldconfig-modules): Add static-stubs.
30080 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30081 * elf/static-stubs.c: New file.
30082
7a845b2c
JM
30083 [BZ #14283]
30084 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30085 by 7 not 8 to examine high bit of fractional part. Use volatile
30086 variables when splitting into final array of floats if
30087 __FLT_EVAL_METHOD__ != 0.
30088 * math/libm-test.inc (cos_test): Add another test.
30089 (sin_test): Likewise.
30090 * sysdeps/i386/fpu/libm-test-ulps: Update.
30091
e2283f38
JM
30092 [BZ #14273]
30093 * math/libm-test.inc (cosh_test): Add more tests.
30094
370ca3d2
JM
30095 * version.h (RELEASE): Set to "development".
30096 (VERSION): Set to "2.16.90".
30097
ee9247c3
CD
300982012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
30099
30100 * NEWS: Update copyright. Remove last-updated date.
30101 Mention math library bug fixes and timezone data changes.
30102 * README: Mention GNU/Hurd, x32, and HPPA support status.
30103
4648c381
TS
301042012-06-28 Thomas Schwinge <thomas@codesourcery.com>
30105
30106 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30107
aac78a43
AJ
301082012-06-27 Andreas Jaeger <aj@suse.de>
30109
30110 * manual/contrib.texi (Contributors): Add Samuel Thibault.
30111
ed3dbfad
AJ
301122012-06-25 Andreas Jaeger <aj@suse.de>
30113
30114 * sysdeps/s390/fpu/libm-test-ulps: Update.
30115
4d0ee855
AS
301162012-06-23 Andreas Schwab <schwab@linux-m68k.org>
30117 Thomas Schwinge <thomas@codesourcery.com>
30118
30119 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30120 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30121 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30122 fanotify_mark.
30123
af1bce34
TS
301242012-06-23 Thomas Schwinge <thomas@codesourcery.com>
30125
a9fa33ba
TS
30126 * sysdeps/mach/start.c: Remove file.
30127 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30128 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30129 * sysdeps/sh/init-first.c: Likewise.
30130
58f902b8
TS
30131 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30132 registers for frame unwinding purposes, add CFI directives.
30133 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30134 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30135 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30136 Likewise.
30137
1518f58b
TS
30138 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30139 __fortify_fail returning.
30140 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30141
db9b5059
TS
30142 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30143 sysdeps/sh/____longjmp_chk.S.
30144 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30145 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30146 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30147 (gen-as-const-headers): Append sigaltstack-offsets.sym.
30148
967705fe
TS
30149 * sysdeps/sh/abort-instr.h: New file.
30150 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30151 process in case exit returns.
30152
a9def8c4
TS
30153 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30154 initialize the GOT register before use.
30155
2a649725
TS
30156 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30157 calculation of ARGC > 4.
30158
af1bce34
TS
30159 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30160 meaningful names to some local labels.
30161
d230f50a
KK
301622012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30163 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30164
30165 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30166 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30167 (__arch_compare_and_exchange_val_16_acq): Likewise.
30168 (__arch_compare_and_exchange_val_32_acq): Likewise.
30169 (atomic_exchange_and_add): Fix gUSA sequence.
30170 (atomic_add): Likewise.
30171 (atomic_add_negative): Likewise.
30172 (atomic_add_zero): Likewise.
30173 (atomic_bit_test_set): Likewise.
30174
0479b305
AS
301752012-06-22 Andreas Schwab <schwab@redhat.com>
30176
30177 [BZ #13579]
30178 * include/link.h (struct link_map): Add l_free_initfini.
30179 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30180 l_initfini.
30181 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30182 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30183 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30184 set.
30185
0e3933b9
CD
301862012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
30187
30188 * configure.in: Use AC_LANG_SOURCE.
30189 * configure: Regenerate.
30190
4248b1b1
RM
301912012-06-22 Roland McGrath <roland@hack.frob.com>
30192
30193 * configure.in (libc_cv_localstatedir): New substituted variable.
30194 * configure: Regenerated.
30195 * config.make.in (localstatedir): New variable, substituted from
30196 libc_cv_localstatedir.
30197 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30198 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30199 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30200 * sysdeps/gnu/configure: Regenerated.
30201
006dd861
JL
302022012-06-21 Jeff Law <law@redhat.com>
30203
30204 [BZ #14277]
30205 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30206 free. Simplify list management for _LIBC case.
30207
79662d42
JM
302082012-06-21 Joseph Myers <joseph@codesourcery.com>
30209
b7abb4bf
JM
30210 [BZ #14273]
30211 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30212 Clear sign bit of 64-bit integer value before comparing against
30213 overflow value.
30214
79662d42
JM
30215 * sysdeps/mach/configure: Regenerated.
30216
1f150908
L
302172012-06-21 H.J. Lu <hongjiu.lu@intel.com>
30218
30219 [BZ #14278]
30220 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30221
28363bbf
JL
302222012-06-21 Jeff Law <law@redhat.com>
30223
30224 [BZ #13882]
30225 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
30226 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 30227 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
30228 * elf/dl-open.c (dl_open_worker): Likewise.
30229
09615db4
CD
302302012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
30231
30232 * scripts/list-sources.sh: Scan PORTS for translations.
30233 * po/libc.pot: Regenerated.
30234
2174c6dd
AJ
302352012-06-21 Andreas Jaeger <aj@suse.de>
30236
30237 [BZ #12194]
30238 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30239 warning.
30240 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30241 * bits/byteswap-16.h (__bswap_16): Likewise.
30242 * bits/byteswap.h (__bswap_constant_16): Likewise.
30243
3ee947b1
L
302442012-06-18 H.J. Lu <hongjiu.lu@intel.com>
30245
30246 [BZ #14117]
a2f34833
L
30247 * sysdeps/i386/fpu_control.h: Removed.
30248 * sysdeps/x86_64/fpu_control.h: Moved to ...
30249 * sysdeps/x86/fpu_control.h: Here.
30250
3ee947b1
L
30251 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30252 (_FPU_SETCW): Likewise.
30253
ed1825f8
L
302542012-06-15 H.J. Lu <hongjiu.lu@intel.com>
30255
25f1282a
L
30256 [BZ #14117]
30257 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30258 * sysdeps/x86/fpu/bits/mathinline.h: This.
30259 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30260
ed1825f8
L
30261 [BZ #14050]
30262 [BZ #14117]
30263 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30264 functions if __x86_64__ is defined.
30265
36d54b74
CLT
302662012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
30267
30268 * string/endian.h: Add !__ASSEMBLER__ condition for including
30269 conversion interfaces.
30270
10285c21
JM
302712012-06-15 Joseph Myers <joseph@codesourcery.com>
30272
30273 [BZ #14241]
30274 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30275 of ABS(x) in calculating zero to negative powers other than odd
30276 integers.
30277 * math/libm-test.inc (pow_test): Add more tests.
30278
06c5abbd
AJ
302792012-06-15 Andreas Jaeger <aj@suse.de>
30280
30281 * manual/contrib.texi (Contributors): Update entry of Liubov
30282 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30283 Machado Filho.
30284
a3aeac40
CH
302852012-06-15 Cyril Hrubis <metan@ucw.cz>
30286
30287 * string/string.h: Add __wur to GNU version of strerror_r.
30288
49bdf4c1
L
302892012-06-14 H.J. Lu <hongjiu.lu@intel.com>
30290
30291 [BZ #14229]
30292 * string/Makefile (tests): Add tst-strtok_r.
30293 * string/tst-strtok_r.c: New file.
30294 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30295 RAX_LP/RDX_LP on SAVE_PTR.
30296
834f9b8d
RM
302972012-06-14 Roland McGrath <roland@hack.frob.com>
30298
30299 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30300
75fa1921
JM
303012012-06-14 Joseph Myers <joseph@codesourcery.com>
30302
30303 * libm_test.inc (csqrt_test): Allow more spurious underflow
30304 exceptions.
30305 (j0_test): Likewise.
30306 (j1_test): Likewise.
30307 (y0_test): Likewise.
30308 (y1_test): Likewise.
30309
771766df
CD
303102012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
30311
30312 * po/Makefile (libc.pot): Use UTF-8 charset.
30313
ceb9e56b
PP
303142012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
30315
30316 [BZ #14210]
30317 Suppress sign-conversion warning from FD_SET.
30318 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30319 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30320 not unsigned long int.
30321 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30322
ddb28975
L
303232012-06-12 H.J. Lu <hongjiu.lu@intel.com>
30324
30325 [BZ #14050]
30326 [BZ #14117]
30327 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30328 __extern_always_inline instead of __extern_inline.
30329 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30330 (__signbit): Likewise.
30331 (__signbitl): Support C++ namespace.
30332 (lrintf): New inline function.
30333 (lrint): Likewise.
30334 (llrintf): Likewise.
30335 (llrint): Likewise.
30336 (fmaxf): Likewise.
30337 (fmax): Likewise.
30338 (fminf): Likewise.
30339 (fmin): Likewise.
30340 (rint): Likewise.
30341 (rintf): Likewise.
30342 (ceil): Likewise.
30343 (ceilf): Likewise.
30344 (floor): Likewise.
30345 (floorf): Likewise.
30346 (nearbyint): Likewise.
30347 (nearbyintf): Likewise.
30348
d7b4fb26
TS
303492012-06-12 Thomas Schwinge <thomas@codesourcery.com>
30350
30351 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30352 non-default versions.
30353
eb55f5c2
RM
303542012-06-11 Roland McGrath <roland@hack.frob.com>
30355
30356 [BZ #14218]
30357 * manual/argp.texi (Argp): Reword argp_parse description slightly.
30358
366af02c
TS
303592012-06-09 Thomas Schwinge <thomas@codesourcery.com>
30360
99ff6e5c
TS
30361 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30362 (FE_UPWARD, FE_DOWNWARD): Don't define.
30363 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30364 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30365
366af02c
TS
30366 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30367 reading it.
30368 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30369 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30370
793ea851
KK
303712012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30372
30373 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30374 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30375 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30376 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30377
a728a38f
L
303782012-06-06 H.J. Lu <hongjiu.lu@intel.com>
30379
30380 [BZ #14117]
c08010c7
L
30381 * sysdeps/i386/fpu/bits/fenv.h: Removed.
30382 * sysdeps/i386/fpu/Implies: New file.
30383 * sysdeps/x86_64/fpu/Implies: Likewise.
30384 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30385 * sysdeps/x86/fpu/bits/fenv.h: This.
30386
a728a38f
L
30387 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30388 __SSE_MATH__.
30389
6e230d11
SP
303902012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30391
30392 [BZ #14134]
30393 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30394 character 0xffff that matches the last element of the
30395 conversion table.
30396
1b671feb
AZ
303972012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30398
30399 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30400 fmodl commit.
30401
6043738b
AZ
304022012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30403
30404 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30405 values higher than 25.6283.
30406
34ae0b32
AZ
304072012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30408
30409 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30410 subnormal exponent extraction and add some __builtin_expect.
30411 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30412 Fix for subnormal mantissa calculation.
30413
1214ec8f
MF
304142012-06-04 Mike Frysinger <vapier@gentoo.org>
30415
30416 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30417 cpu2 is -1 and errno is not ENOSYS.
30418
f3d1f93c
L
304192012-06-04 H.J. Lu <hongjiu.lu@intel.com>
30420
30421 [BZ #14117]
0e4a3cd7
L
30422 * sysdeps/i386/i486/bits/string.h: Renamed to ...
30423 * sysdeps/x86/bits/string.h: This.
30424 * sysdeps/x86_64/bits/string.h: Removed.
30425
6704c645
L
30426 * sysdeps/i386/i486/bits/string.h: Define inline functions only
30427 if not compiling for x86-64, but compiling for >= i486.
30428
48495318
L
30429 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30430 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30431
14adcbfc
L
30432 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30433 New macro from Linux kernel 3.4.0.
30434 (FP_XSTATE_MAGIC2): Likewise.
30435 (FP_XSTATE_MAGIC2_SIZE): Likewise.
30436 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30437 (struct _fpx_sw_bytes): New struct.
30438 (struct _xsave_hdr): Likewise.
30439 (struct _ymmh_state): Likewise.
30440 (struct _xstate): Likewise.
30441
68e408ab
L
30442 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30443 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30444 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30445 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30446 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30447 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30448
f3d1f93c
L
30449 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30450 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30451 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30452 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30453 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30454 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30455
d9dc34cd
TMQMF
304562012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30457
30458 [BZ #13743]
30459 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30460 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30461 (sysdep_headers): Include sys/platform/ppc.h.
30462 * sysdeps/powerpc/test-gettimebase.c: Test for
30463 __ppc_get_timebase() to catch future ISA opcode/insn changes.
30464 * manual/Makefile (appendices): Include platform.texi.
30465 * manual/contrib.texi (Contributors): Update @node pointers.
30466 * manual/maint.texi (Maintenance): Likewise.
30467 (Platform): New node.
30468 * manual/platform.texi: New file. Document the new features.
30469
4af3879c
SP
304702012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30471 Jakub Jelinek <jakub@redhat.com>
30472
30473 [BZ #14188]
30474 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30475 where __builtin_expect is unavailable.
30476
2fd6ff13
DM
304772012-06-03 David S. Miller <davem@davemloft.net>
30478
30479 * stdlib/longlong.h: Updated from GCC.
30480
173f7220
AS
304812012-06-02 Andreas Schwab <schwab@linux-m68k.org>
30482
30483 [BZ #14042]
30484 * sysdeps/powerpc/powerpc32/mcount.c: New file.
30485 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30486 __mcount_internal.
30487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30488 (GLIBC_2.16): Likewise.
30489
f34a1c6f
L
304902012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30491
30492 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30493
88a4576f
JM
304942012-06-01 Joseph Myers <joseph@codesourcery.com>
30495
ea32bcdd
JM
30496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30497 (default-abi): New variable.
30498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30499 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30500 variable.
30501 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30502 Likewise.
30503 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30504 Likewise.
30505 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30506 Likewise.
30507
88a4576f
JM
30508 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30509 definition. Document in comment.
30510
402fe938
DM
305112012-06-01 David S. Miller <davem@davemloft.net>
30512
30513 * stdlib/longlong.h: Updated from GCC.
30514
3553723f
L
305152012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30516
30517 [BZ #14117]
3bd872c4
L
30518 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30519 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30520 sys/debugreg.h sys/io.h here.
30521 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30522 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30523 sys/io.h.
30524 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30525 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30526 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30527 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30528 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30529 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30530
3553723f
L
30531 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30532 Define only if __x86_64__ is defined.
30533
4842e4fe
JM
305342012-06-01 Joseph Myers <joseph@codesourcery.com>
30535
c5bfe3d5
JM
30536 [BZ #14048]
30537 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30538 Use int64_t for variable i.
30539 * math/libm-test.inc (fmod_test): Add more tests.
30540
4842e4fe
JM
30541 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30542 z computation is not scheduled after fetestexcept.
30543 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30544 Use math_force_eval instead of asm to ensure calculation scheduled
30545 before exception test.
30546 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30547 Ensure a1 + u.d computation is not scheduled after fetestexcept.
30548
efb73488
AJ
305492012-06-01 Aurelien Jarno <aurelien@aurel32.net>
30550
30551 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30552 computation is not scheduled after fetestexcept.
30553
29bcce7c
L
305542012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30555
30556 [BZ #14117]
30557 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30558 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30559
73a68f94
AZ
305602012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30561
30562 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30563 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30564
67b6df78
L
305652012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30566
edf2933a 30567 [BZ #14117]
ebc64a18
L
30568 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30569 <bits/wordsize.h>.
30570 (__WCHAR_MIN): Support __WORDSIZE == 64.
30571 (__WCHAR_MAX): Likewise.
30572
edf2933a
L
30573 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30574 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30575
57c6cf40
L
30576 [BZ #14183]
30577 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30578 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30579
67b6df78 30580 [BZ #14117]
8eb6281e
L
30581 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30582 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30583
aac639f4
L
30584 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30585 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30586
67b6df78
L
30587 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30588 Defined to 1 if __x86_64__ isn't defined.
30589 (_STAT_VER_LINUX_OLD): New.
30590 (st_atime): Remove duplicate.
30591 (st_mtime): Likewise.
30592 (st_ctime): Likewise.
30593
1c2cfe81
DM
305942012-05-31 David S. Miller <davem@davemloft.net>
30595
30596 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30597 entries.
30598
5be8418c
AS
305992012-06-01 Andreas Schwab <schwab@linux-m68k.org>
30600
e7725326
AS
30601 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30602 gen-libm-test.pl.
30603
5be8418c
AS
30604 [BZ #14132]
30605 * elf/dl-reloc.c: Include <_itoa.h>.
30606 (_dl_reloc_bad_type): Remove use of INTUSE.
30607 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30608 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30609 * stdio-common/psiginfo.c (psiginfo): Likewise.
30610 * stdio-common/psignal.c (psignal): Likewise.
30611 * string/strsignal.c (strsignal): Likewise.
30612 * include/signal.h (_sys_siglist): Declare hidden proto.
30613 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
30614 INTVARDEF with libc_hidden_data_def.
30615 * stdio-common/itoa-udigits.c: Likewise.
30616 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30617 (_itoa_lower_digits_internal): Remove declaration.
30618 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30619 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30620 (_sys_sigabbrev_internal): Remove aliases.
30621 (_sys_siglist): Define hidden alias.
30622
507352f1
MT
306232012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
30624
30625 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30626 bits/sysctl.h.
30627
42bbb1c3
L
306282012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30629
30630 [BZ #14117]
6bd784b6
L
30631 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30632 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30633
8bca20f0
L
30634 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30635 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30636 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30637 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30638 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30639 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30640
f9e890a9
L
30641 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30642 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30643 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30644
471101a1
L
30645 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30646 with __addr.
30647 (insw): Likewise.
30648 (insl): Likewise.
30649 (outsb): Likewise.
30650 (outsw): Likewise.
30651 (outsl): Likewise.
30652
6451c862
L
30653 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30654 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30655 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30656
a254b8c9
L
30657 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30658 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30659 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30660 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30661 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30662 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30663
b8dfdd92
L
30664 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30665 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30666
578cd270
L
30667 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30668 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30669
de662f5f
L
30670 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30671 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30672 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30673
25653439
L
30674 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30675 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30676 to ...
30677 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30678
6bad24a0
L
30679 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30680 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30681 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30682
42bbb1c3
L
30683 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30684 for x86-64.
30685 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30686
2d10d547
JM
306872012-05-31 Joseph Myers <joseph@codesourcery.com>
30688
30689 * math/math.h (M_El): Use two more decimal places.
30690 (M_LOG2El): Likewise.
30691 (M_LOG10El): Likewise.
30692 (M_LN2l): Likewise.
30693 (M_LN10l): Likewise.
30694 (M_PIl): Likewise.
30695 (M_PI_2l): Likewise.
30696 (M_PI_4l): Likewise.
30697 (M_1_PIl): Likewise.
30698 (M_2_PIl): Likewise.
30699 (M_2_SQRTPIl): Likewise.
30700 (M_SQRT2l): Likewise.
30701 (M_SQRT1_2l): Likewise.
30702
f230c29b
DM
307032012-05-31 David S. Miller <davem@davemloft.net>
30704
30705 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30706 values between float registers.
30707 * sysdeps/sparc/sparc64/memset.S: Likewise.
30708 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30709
fed806c3
MF
307102012-05-31 Mike Frysinger <vapier@gentoo.org>
30711
30712 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30713 -D_FORTIFY_SOURCE=1.
30714 (CPPFLAGS-tst-longjmp_chk.c): Define.
30715 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30716 (CPPFLAGS-tst-longjmp_chk2.c): Define.
30717 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30718 CFLAGS-tst-wchar-h.c.
30719
30917259
MP
307202012-05-31 Marek Polacek <polacek@redhat.com>
30721
30722 [BZ #14132]
30723 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30724 __endmntent_internal): Remove declaration.
30725 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30726 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30727 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30728
1c58d5dc
DM
307292012-05-30 David S. Miller <davem@davemloft.net>
30730
30731 * sysdeps/sparc/sparc32/soft-fp/q_util.c
30732 (___Q_simulate_exceptions): Use real FP ops rather than writing
30733 into the %fsr.
30734 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30735 Likewise.
30736
7dc00e0d
L
307372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30738
30739 [BZ #14117]
0bd53985
L
30740 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30741 * sysdeps/x86/bits/xtitypes.h: This.
30742
3a257e66
L
30743 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30744 * sysdeps/x86/bits/wordsize.h: This.
30745
62f62904
L
30746 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30747 * sysdeps/x86/bits/huge_vall.h: This.
30748
404fe9d9
L
30749 * sysdeps/i386/bits/select.h: Removed.
30750 * sysdeps/x86_64/bits/select.h: Renamed to ...
30751 * sysdeps/x86/bits/select.h: This.
30752
d48d0446
L
30753 * sysdeps/i386/bits/setjmp.h: Removed.
30754 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30755 * sysdeps/x86/bits/setjmp.h: This.
30756
7dc00e0d
L
30757 * sysdeps/i386/bits/mathdef.h: Removed.
30758 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30759 * sysdeps/x86/bits/mathdef.h: This.
30760
03277f8f
AS
307612012-05-30 Andreas Schwab <schwab@linux-m68k.org>
30762
30763 [BZ #14132]
30764 * include/sys/socket.h (__connect_internal)
30765 (__libc_sa_len_internal): Remove declaration.
30766 (__connect, __libc_sa_len): Declare hidden_proto.
30767 (SA_LEN): Remove use of INTUSE.
30768 * socket/connect.c: Add libc_hidden_def.
30769 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30770 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30771 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30772 alias.
30773 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30774 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30775 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30776 of adding _internal alias.
30777
13764867
L
307782012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30779
30780 [BZ #14117]
6bd97696
L
30781 * sysdeps/i386/bits/link.h: Removed.
30782 * sysdeps/i386/bits/linkmap.h: Likewise.
30783 * sysdeps/x86_64/bits/link.h: Renamed to ...
30784 * sysdeps/x86/bits/link.h: This.
30785 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30786 * sysdeps/x86/bits/linkmap.h: This.
30787
f726f0bb
L
30788 * sysdeps/i386/bits/endian.h: Removed.
30789 * sysdeps/x86_64/bits/endian.h: Renamed to ...
30790 * sysdeps/x86/bits/endian.h: This.
30791
13764867
L
30792 * sysdeps/i386/bits/byteswap.h: Removed.
30793 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30794 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30795 * sysdeps/x86/bits/byteswap.h: This.
30796 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30797 * sysdeps/x86/bits/byteswap-16.h: This.
30798 * sysdeps/i386/Implies: Add x86.
30799 * sysdeps/x86_64/Implies: Likewise.
30800
ae251b0b
DM
308012012-05-30 David S. Miller <davem@davemloft.net>
30802
30803 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30804 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30805 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30806 (FP_TRAPPING_EXCEPTIONS): Define.
30807 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30808 (FP_TRAPPING_EXCEPTIONS): Define.
30809 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30810 subnormals only when inexact has been signalled or underflow
30811 exceptions are enabled.
30812 (_FP_PACK_CANONICAL): Likewise.
30813
d5c90867
L
308142012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30815
30816 [BZ #14183]
30817 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30818 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30819
63f1549e
RH
308202012-05-30 Richard Henderson <rth@twiddle.net>
30821
8d8f2279
RH
30822 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30823 with #ifndef NOT_IN_libc.
30824
63f1549e
RH
30825 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
30826 marked to avoid plt entry.
30827
0ab0291b
L
308282012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30829
30830 [BZ #14112]
30831 * Makeconfig (default-abi): New macro.
30832 (abi-includes): Likewise.
30833 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
30834 $(abi-$(default-abi)-lib-soname) for soname if defined.
30835 ($(common-objpfx)gnu/lib-names.stmp): Generate from
30836 abi-variants.
30837 * Makefile (installed-stubs): Likewise.
30838 * include/stubs-biarch.h: Removed.
30839 * scripts/lib-names.awk: Only handle one library at a time.
30840 * scripts/soversions.awk: Remove WORDSIZE support.
30841 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30842 entries.
30843 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30844 Removed.
30845 (syscall-list-default-condition): Likewise.
30846 (syscall-list-default-condition): Likewise.
30847 (syscall-list-includes): Likewise.
30848 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30849 syscall-list-* with abi-*. Handle undefined abi-variants.
30850 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30851 * sysdeps/unix/sysv/linux/i386/Implies: New file.
30852 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30853 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30854 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30855 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30856 Removed.
30857 (syscall-list-32-options): Likewise.
30858 (syscall-list-32-condition): Likewise.
30859 (syscall-list-64-options): Likewise.
30860 (syscall-list-64-condition): Likewise.
30861 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30862 macro.
30863 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30864 Renamed to ...
30865 (abi-*): This.
30866 (abi-64-ld-soname): New macro.
30867 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30868 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30869 Renamed to ...
30870 (abi-*): This.
30871 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30872 * sysdeps/x86_64/x32/shlib-versions: Likewise.
30873
4da0431d
JM
308742012-05-30 Joseph Myers <joseph@codesourcery.com>
30875
3a85279c
JM
30876 * sysdeps/unix/sysv/linux/kernel-features.h
30877 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30878 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30879 include <kernel-features.h>.
30880 [!__NR_ftruncate64]: Remove conditional code.
30881 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30882 [__NR_ftruncate64]: Make code unconditional.
30883 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30884 * sysdeps/unix/sysv/linux/truncate64.c: Do not
30885 include <kernel-features.h>.
30886 [!__NR_ftruncate64]: Remove conditional code.
30887 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30888 [__NR_ftruncate64]: Make code unconditional.
30889 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30891 include <kernel-features.h>.
30892 [!__NR_ftruncate64]: Remove conditional code.
30893 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30894 [__NR_ftruncate64]: Make code unconditional.
30895 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30897 include <kernel-features.h>.
30898 [!__NR_ftruncate64]: Remove conditional code.
30899 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30900 [__NR_ftruncate64]: Make code unconditional.
30901 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30902
4da0431d
JM
30903 * configure.in (libc_cv_fpie): Weaken to a compile test using
30904 LIBC_TRY_CC_OPTION.
30905 * configure: Regenerated.
30906
11ef492c
AK
309072012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30908
30909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30913 Refreshed.
30914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30920 Refreshed.
30921
d66ef399
DM
309222012-05-27 David S. Miller <davem@davemloft.net>
30923
30924 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30925 (___Q_zero): New.
30926 (__Q_simulate_exceptions): Return void. Change to simulate
30927 exceptions by writing into the %fsr.
30928 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30929 (__Qp_handle_exceptions): Likewise.
30930 (numbers): Delete.
30931 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30932 __Qp_handle_exceptions.
30933 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30934 __Qp_handle_exceptions.
30935 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30936 as unused and give dummy FP_RND_NEAREST initializer.
30937 (FP_INHIBIT_RESULTS): Define.
30938 (___Q_simulate_exceptions): Update declaration.
30939 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30940 formatting.
30941 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30942 as unused and give dummy FP_RND_NEAREST initializer.
30943 (__Qp_handle_exceptions): Update declaration.
30944 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30945 formatting.
30946
04fb54b5
TS
309472012-05-27 Thomas Schwinge <thomas@codesourcery.com>
30948
30949 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30950 the temporary FPU control word.
30951 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30952 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30953 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30954 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30955 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30956 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30957 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30958 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30959 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30960 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30961 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30962
3f99608f
KK
309632012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30964
30965 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30966 fields.
30967
65a4de4e
CLT
309682012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
30969
30970 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30971 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30972 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30973 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30974 Likewise.
30975 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30976 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30977 Likewise.
30978
15749d40
UD
309792012-05-27 Ulrich Drepper <drepper@gmail.com>
30980
30981 * po/h.po: Update from translation team.
30982
25dbcb27
AS
309832012-05-26 Andreas Schwab <schwab@linux-m68k.org>
30984
3d3f8e55
AS
30985 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30986
25dbcb27
AS
30987 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30988 handling of denormals.
30989 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30990 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30991 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30992 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30993 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30994 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30995 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30996 Likewise.
30997
7ad47a80 309982012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
30999
31000 [BZ #14152]
31001 * math/libm-test.inc (fma_test): Don't always expect underflow
31002 exception.
31003
9c6ea9fa
SP
310042012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31005
31006 [BZ #12416]
31007 * elf/tst-execstack.c: Include stackinfo.h.
31008 (do_test): Adjust test case to ensure that pthread_getattr_np
31009 behaviour remains the same after marking stack executable.
31010
a8239222
JM
310112012-05-25 Joseph Myers <joseph@codesourcery.com>
31012
31013 * sysdeps/unix/sysv/linux/kernel-features.h
31014 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31015 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31016 kernel-features.h.
31017 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31018 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31019 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
31020 kernel-features.h.
31021 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31022 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31023
918b5606
L
310242012-05-25 H.J. Lu <hongjiu.lu@intel.com>
31025
31026 * configure.in: Define the default includes to being none.
31027 * configure: Regenerated.
31028
3a097cc7
RM
310292012-05-25 Roland McGrath <roland@hack.frob.com>
31030
8422c9a5
RM
31031 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31032 * sysdeps/x86_64/setjmp.S: Likewise.
31033 * sysdeps/i386/bsd-setjmp.S: Likewise.
31034 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31035 * sysdeps/i386/setjmp.S: Likewise.
31036 * sysdeps/i386/__longjmp.S: Likewise.
31037 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31038 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31039
3a097cc7
RM
31040 * include/stap-probe.h: New file.
31041 * configure.in: Handle --enable-systemtap.
31042 * configure: Regenerated.
31043 * config.h.in (USE_STAP_PROBE): New #undef.
31044 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31045 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31046 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31047
21708942
JM
310482012-05-25 Joseph Myers <joseph@codesourcery.com>
31049
31050 [BZ #13717]
31051 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31052 to 2.4.0 where earlier.
31053 * sysdeps/unix/sysv/linux/configure: Regenerated.
31054 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31055 <kernel-features.h>.
31056 [__ASSUME_32BITUIDS]: Make code unconditional.
31057 [!__ASSUME_32BITUIDS]: Remove conditional code.
31058 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
31059 <kernel-features.h>.
31060 [__ASSUME_32BITUIDS]: Make code unconditional.
31061 [!__ASSUME_32BITUIDS]: Remove conditional code.
31062 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31063 [__ASSUME_32BITUIDS]: Make code unconditional.
31064 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31065 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31066 <kernel-features.h>.
31067 [__ASSUME_32BITUIDS]: Make code unconditional.
31068 [!__ASSUME_32BITUIDS]: Remove conditional code.
31069 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31070 <kernel-features.h>.
31071 [__ASSUME_32BITUIDS]: Make code unconditional.
31072 [!__ASSUME_32BITUIDS]: Remove conditional code.
31073 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31074 <kernel-features.h>.
31075 [__ASSUME_32BITUIDS]: Make code unconditional.
31076 [!__ASSUME_32BITUIDS]: Remove conditional code.
31077 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
31078 <kernel-features.h>.
31079 [__ASSUME_32BITUIDS]: Make code unconditional.
31080 [!__ASSUME_32BITUIDS]: Remove conditional code.
31081 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31082 <kernel-features.h>.
31083 [__ASSUME_32BITUIDS]: Make code unconditional.
31084 [!__ASSUME_32BITUIDS]: Remove conditional code.
31085 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31086 <kernel-features.h>.
31087 [__ASSUME_32BITUIDS]: Make code unconditional.
31088 [!__ASSUME_32BITUIDS]: Remove conditional code.
31089 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
31090 <kernel-features.h>.
31091 [__ASSUME_32BITUIDS]: Make code unconditional.
31092 [!__ASSUME_32BITUIDS]: Remove conditional code.
31093 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31094 <kernel-features.h>.
31095 [__ASSUME_32BITUIDS]: Make code unconditional.
31096 [!__ASSUME_32BITUIDS]: Remove conditional code.
31097 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31098 <kernel-features.h>.
31099 [__ASSUME_32BITUIDS]: Make code unconditional.
31100 [!__ASSUME_32BITUIDS]: Remove conditional code.
31101 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31102 <kernel-features.h>.
31103 [__ASSUME_32BITUIDS]: Make code unconditional.
31104 [!__ASSUME_32BITUIDS]: Remove conditional code.
31105 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31106 <kernel-features.h>.
31107 [__NR_setresgid] (__setresgid): Do not declare.
31108 [__ASSUME_32BITUIDS]: Make code unconditional.
31109 [!__ASSUME_32BITUIDS]: Remove conditional code.
31110 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31111 <kernel-features.h>.
31112 [__NR_setresuid] (__setresuid): Do not declare.
31113 [__ASSUME_32BITUIDS]: Make code unconditional.
31114 [!__ASSUME_32BITUIDS]: Remove conditional code.
31115 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31116 <kernel-features.h>.
31117 [__ASSUME_32BITUIDS]: Make code unconditional.
31118 [!__ASSUME_32BITUIDS]: Remove conditional code.
31119 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
31120 <kernel-features.h>.
31121 [__ASSUME_32BITUIDS]: Make code unconditional.
31122 [!__ASSUME_32BITUIDS]: Remove conditional code.
31123 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31124 <kernel-features.h>.
31125 [__ASSUME_32BITUIDS]: Make code unconditional.
31126 [!__ASSUME_32BITUIDS]: Remove conditional code.
31127 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
31128 <kernel-features.h>.
31129 [__ASSUME_32BITUIDS]: Make code unconditional.
31130 [!__ASSUME_32BITUIDS]: Remove conditional code.
31131 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
31132 <kernel-features.h>.
31133 [__ASSUME_32BITUIDS]: Make code unconditional.
31134 [!__ASSUME_32BITUIDS]: Remove conditional code.
31135 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
31136 <kernel-features.h>.
31137 [__ASSUME_32BITUIDS]: Make code unconditional.
31138 [!__ASSUME_32BITUIDS]: Remove conditional code.
31139 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
31140 <kernel-features.h>.
31141 [__ASSUME_32BITUIDS]: Make code unconditional.
31142 [!__ASSUME_32BITUIDS]: Remove conditional code.
31143 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31144 <kernel-features.h>.
31145 [__ASSUME_32BITUIDS]: Make code unconditional.
31146 [!__ASSUME_32BITUIDS]: Remove conditional code.
31147 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31148 <kernel-features.h>.
31149 [__ASSUME_32BITUIDS]: Make code unconditional.
31150 [!__ASSUME_32BITUIDS]: Remove conditional code.
31151 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31152 <kernel-features.h>.
31153 [__ASSUME_32BITUIDS]: Make code unconditional.
31154 [!__ASSUME_32BITUIDS]: Remove conditional code.
31155 * sysdeps/unix/sysv/linux/kernel-features.h
31156 (__ASSUME_SETRESUID_SYSCALL): Remove.
31157 (__ASSUME_SETRESGID_SYSCALL): Likewise.
31158 (__ASSUME_32BITUIDS): Likewise.
31159 (__ASSUME_LDT_WORKS): Likewise.
31160 (__ASSUME_O_DIRECTORY): Likewise.
31161 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31162 architecture but not kernel version.
31163 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31164 (__ASSUME_MMAP2_SYSCALL): Likewise.
31165 (__ASSUME_STAT64_SYSCALL): Likewise.
31166 (__ASSUME_IPC64): Likewise.
31167 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31168 <kernel-features.h>.
31169 [__ASSUME_32BITUIDS]: Make code unconditional.
31170 [!__ASSUME_32BITUIDS]: Remove conditional code.
31171 * sysdeps/unix/sysv/linux/opendir.c: Do not include
31172 <kernel-features.h>.
31173 [__ASSUME_O_DIRECTORY]: Make code unconditional.
31174 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31175 132096]: Remove conditional code.
31176 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31177 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31178 <kernel-features.h>.
31179 [__ASSUME_32BITUIDS]: Make code unconditional.
31180 [!__ASSUME_32BITUIDS]: Remove conditional code.
31181 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31182 <kernel-features.h>.
31183 [__ASSUME_32BITUIDS]: Make code unconditional.
31184 [!__ASSUME_32BITUIDS]: Remove conditional code.
31185 * sysdeps/unix/sysv/linux/setegid.c: Do not include
31186 <kernel-features.h>.
31187 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31188 unconditional.
31189 (__setresgid): Do not declare.
31190 [__ASSUME_32BITUIDS]: Make code unconditional.
31191 [!__ASSUME_32BITUIDS]: Remove conditional code.
31192 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31193 <kernel-features.h>.
31194 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31195 unconditional.
31196 (__setresuid): Do not declare.
31197 [__ASSUME_32BITUIDS]: Make code unconditional.
31198 [!__ASSUME_32BITUIDS]: Remove conditional code.
31199 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31200 <kernel-features.h>.
31201 [__ASSUME_32BITUIDS]: Make code unconditional.
31202 [!__ASSUME_32BITUIDS]: Remove conditional code.
31203 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31204 <kernel-features.h>.
31205 [__ASSUME_32BITUIDS]: Make code unconditional.
31206 [!__ASSUME_32BITUIDS]: Remove conditional code.
31207
a386f1cc
RH
312082012-05-25 Richard Henderson <rth@twiddle.net>
31209
31210 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31211 dl_hwcap to ifunc resolver.
31212 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31213 elf_ifunc_invoke.
31214 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31215 dl_hwcap to ifunc resolver.
31216 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31217
b6550497
JM
312182012-05-24 Joseph Myers <joseph@codesourcery.com>
31219
31220 [BZ #14153]
31221 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31222 for |x| <= 2**-26, not 2**-57.
31223 * math/libm-test.inc (acos_test): Do not allow spurious underflow
31224 exception.
31225
b0bc23a1
JL
312262012-05-24 Jeff Law <law@redhat.com>
31227
31228 * stdio-common/Makefile (tests): Add bug25.
31229 * stdio-common/bug25.c: New test.
31230
347c92e9
L
312312012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31232
31233 [BZ #13576]
31234 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31235 multiple of MALLOC_ALIGNMENT in size.
31236 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31237
6bcc8b3f
JM
312382012-05-24 Joseph Myers <joseph@codesourcery.com>
31239
31240 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31241 Require >= 256.
31242 (FILENAME_MAX): Use macro-int-constant.
31243 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
31244 (_IOFBF): Use macro-int-constant.
31245 (_IOLBF): Likewise.
31246 (_IONBF): Likewise.
31247 (SEEK_CUR): Likewise.
31248 (SEEK_END): Likewise.
31249 (SEEK_SET): Likewise.
31250 (TMP_MAX): Likewise.
31251 (EOF): Use macro-int-constant. Require < 0.
31252 (NULL): Use macro-constant. Require == 0.
31253 (stdin): Require type to be FILE *.
31254 (stdout): Likewise.
31255 (stderr): Likewise.
31256 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31257 macro-int-constant.
31258 (EXIT_SUCCESS): Likewise.
31259 (NULL): Use macro-constant. Require == 0.
31260 (RAND_MAX): Use macro-int-constant.
31261 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31262 [C99-based standards] (strtof): Require function.
31263 [C99-based standards] (strtold): Likewise.
31264 [C99-based standards] (strtoll): Likewise.
31265 [C99-based standards] (strtoull): Likewise.
31266 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31267 [ISO || ISO99 || ISO11] (limits.h): Likewise.
31268 [ISO || ISO99 || ISO11] (math.h): Likewise.
31269 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31270 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31271 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31272
d18ea0c5
AS
312732012-05-24 Andreas Schwab <schwab@linux-m68k.org>
31274
31275 [BZ #14132]
56d25bb8
AS
31276 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31277 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31278 * intl/dgettext.c (DCGETTEXT): Likewise.
31279 * intl/gettext.c (DCGETTEXT): Likewise.
31280 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31281 * posix/regex_internal.h (gettext): Likewise.
31282 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31283 Remove declaration.
31284 * include/argz.h (__argz_count_internal)
31285 (__argz_stringify_internal): Remove declaration.
31286 (__argz_count, __argz_stringify): Declare hidden proto.
31287 * intl/dcgettext.c: Remove use of INTDEF.
31288 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31289 * string/argz-stringify.c: Likewise.
31290 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31291 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31292 Declare hidden proto.
d18ea0c5
AS
31293 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31294 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31295 Declare hidden proto.
31296 * include/stdio.h (__asprintf_internal): Don't declare.
31297 (__asprintf): Don't define as macro. Declare hidden proto.
31298 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31299 (__fsetlocking): Declare hidden proto.
31300 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31301 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31302 hidden proto.
31303 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31304 (_IO_setlinebuf): Remove use of INTUSE.
31305 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31306 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31307 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31308 Remove declaration.
31309 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31310 (_IO_do_flush): Remove use of INTUSE.
31311 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31312 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31313 (_IO_adjust_column, _IO_least_wmarker)
31314 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31315 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31316 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31317 (_IO_default_doallocate, _IO_wdefault_doallocate)
31318 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31319 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31320 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31321 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31322 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31323 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31324 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31325 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31326 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31327 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31328 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31329 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31330 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31331 proto.
31332 (_IO_flush_all_internal, _IO_adjust_column_internal)
31333 (_IO_default_uflow_internal, _IO_default_finish_internal)
31334 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31335 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31336 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31337 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31338 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31339 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31340 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31341 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31342 (_IO_file_close_internal, _IO_file_close_it_internal)
31343 (_IO_file_underflow_internal, _IO_file_overflow_internal)
31344 (_IO_file_init_internal, _IO_file_attach_internal)
31345 (_IO_file_fopen_internal, _IO_file_read_internal)
31346 (_IO_file_sync_internal, _IO_file_seek_internal)
31347 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31348 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31349 (_IO_str_underflow_internal, _IO_str_overflow_internal)
31350 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31351 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31352 (_IO_list_all_internal, _IO_link_in_internal)
31353 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31354 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31355 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31356 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31357 (_IO_do_write_internal, _IO_padn_internal)
31358 (_IO_getline_info_internal, _IO_getline_internal)
31359 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31360 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31361 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31362 (_IO_vfscanf_internal, _IO_vfprintf_internal)
31363 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31364 (_IO_init_internal, _IO_un_link_internal): Don't declare.
31365 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31366 with libc_hidden_ver, remove use of INTUSE.
31367 * libio/genops.c: Likewise.
31368 * libio/freopen.c: Likewise.
31369 * libio/freopen64.c: Likewise.
31370 * libio/iofclose.c: Likewise.
31371 * libio/iofdopen.c: Likewise.
31372 * libio/iofflush.c: Likewise.
31373 * libio/iofflush_u.c: Likewise.
31374 * libio/iofgets.c: Likewise.
31375 * libio/iofgets_u.c: Likewise.
31376 * libio/iofopen.c: Likewise.
31377 * libio/iofopncook.c: Likewise.
31378 * libio/iofread.c: Likewise.
31379 * libio/iofread_u.c: Likewise.
31380 * libio/ioftell.c: Likewise.
31381 * libio/iofwrite.c: Likewise.
31382 * libio/iogetline.c: Likewise.
31383 * libio/iogets.c: Likewise.
31384 * libio/iogetwline.c: Likewise.
31385 * libio/iopadn.c: Likewise.
31386 * libio/iopopen.c: Likewise.
31387 * libio/ioseekoff.c: Likewise.
31388 * libio/ioseekpos.c: Likewise.
31389 * libio/iosetbuffer.c: Likewise.
31390 * libio/iosetvbuf.c: Likewise.
31391 * libio/ioungetc.c: Likewise.
31392 * libio/ioungetwc.c: Likewise.
31393 * libio/iovdprintf.c: Likewise.
31394 * libio/iovsprintf.c: Likewise.
31395 * libio/iovsscanf.c: Likewise.
31396 * libio/memstream.c: Likewise.
31397 * libio/obprintf.c: Likewise.
31398 * libio/oldfileops.c: Likewise.
31399 * libio/oldiofclose.c: Likewise.
31400 * libio/oldiofdopen.c: Likewise.
31401 * libio/oldiofopen.c: Likewise.
31402 * libio/oldiopopen.c: Likewise.
31403 * libio/oldstdfiles.c: Likewise.
31404 * libio/putc.c: Likewise.
31405 * libio/setbuf.c: Likewise.
31406 * libio/setlinebuf.c: Likewise.
31407 * libio/stdfiles.c: Likewise.
31408 * libio/strops.c: Likewise.
31409 * libio/vasprintf.c: Likewise.
31410 * libio/vscanf.c: Likewise.
31411 * libio/vsnprintf.c: Likewise.
31412 * libio/vswprintf.c: Likewise.
31413 * libio/wfiledoalloc.c: Likewise.
31414 * libio/wfileops.c: Likewise.
31415 * libio/wgenops.c: Likewise.
31416 * libio/wmemstream.c: Likewise.
31417 * libio/wstrops.c: Likewise.
31418 * libio/__fpurge.c: Likewise.
31419 * libio/__fsetlocking.c: Likewise.
31420 * assert/assert.c: Likewise.
31421 * debug/fgets_chk.c: Likewise.
31422 * debug/fgets_u_chk.c: Likewise.
31423 * debug/fread_chk.c: Likewise.
31424 * debug/fread_u_chk.c: Likewise.
31425 * debug/gets_chk.c: Likewise.
31426 * debug/obprintf_chk.c: Likewise.
31427 * debug/vasprintf_chk.c: Likewise.
31428 * debug/vdprintf_chk.c: Likewise.
31429 * debug/vsnprintf_chk.c: Likewise.
31430 * debug/vsprintf_chk.c: Likewise.
31431 * malloc/mtrace.c: Likewise.
31432 * misc/error.c: Likewise.
31433 * misc/syslog.c: Likewise.
31434 * stdio-common/asprintf.c: Likewise.
31435 * stdio-common/fxprintf.c: Likewise.
31436 * stdio-common/getw.c: Likewise.
31437 * stdio-common/isoc99_fscanf.c: Likewise.
31438 * stdio-common/isoc99_scanf.c: Likewise.
31439 * stdio-common/isoc99_vfscanf.c: Likewise.
31440 * stdio-common/isoc99_vscanf.c: Likewise.
31441 * stdio-common/isoc99_vsscanf.c: Likewise.
31442 * stdio-common/printf-prs.c: Likewise.
31443 * stdio-common/printf_fp.c: Likewise.
31444 * stdio-common/printf_fphex.c: Likewise.
31445 * stdio-common/printf_size.c: Likewise.
31446 * stdio-common/putw.c: Likewise.
31447 * stdio-common/scanf.c: Likewise.
31448 * stdio-common/sprintf.c: Likewise.
31449 * stdio-common/tmpfile.c: Likewise.
31450 * stdio-common/vfprintf.c: Likewise.
31451 * stdio-common/vfscanf.c: Likewise.
31452 * stdlib/strfmon_l.c: Likewise.
31453 * sunrpc/openchild.c: Likewise.
31454 * sunrpc/xdr_stdio.c: Likewise.
31455 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31456 * sysdeps/mach/hurd/tmpfile.c: Likewise.
31457
d6c33fda
RM
314582012-05-24 Roland McGrath <roland@hack.frob.com>
31459
c1487492
RM
31460 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31461
31462 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31463 in the third column, to generate for the shared library an IFUNC
31464 that uses _dl_vdso_vsym.
31465 * Makerules (COMPILE.c, compile-stdin.c): New variables.
31466 * Makeconfig (object-suffixes-noshared): New variable.
31467
31468 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31469 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31470 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31471 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31472
d6c33fda
RM
31473 [BZ #14132]
31474 * include/sys/time.h (__gettimeofday): Remove macro.
31475 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31476 * time/gettimeofday.c (__gettimeofday): Remove #undef.
31477 Remove INTDEF.
31478 (__gettimeofday): Add libc_hidden_def.
31479 (gettimeofday): Add libc_hidden_weak.
31480 * sysdeps/mach/gettimeofday.c: Likewise.
31481 * sysdeps/posix/gettimeofday.c: Likewise.
31482 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31483 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31484 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31485 (__gettimeofday_internal): Remove strong_alias.
31486 (__gettimeofday): Add libc_hidden_def.
31487 (gettimeofday): Add libc_hidden_weak.
31488 * sysdeps/unix/syscalls.list (gettimeofday):
31489 Remove __gettimeofday_internal alias.
31490
b5a2bbe6
L
314912012-05-24 Daniel Jacobowitz <drow@false.org>
31492 H.J. Lu <hongjiu.lu@intel.com>
31493
31494 [BZ #12495]
31495 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31496 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31497 (largebin_index_32_big): New.
31498 (largebin_index): Use it for 16-byte alignment.
31499 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
31500 correction with front_misalign.
31501
cfba4fda
L
315022012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31503
7f907421
L
31504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31505 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31506 Likewise.
31507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31508 Likewise.
31509 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31510 Likewise.
31511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31512 Likewise.
31513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31514 Likewise.
31515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31516 Likewise.
31517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31518 Likewise.
31519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31520 Likewise.
31521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31522 Likewise.
31523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31524 Likewise.
31525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31526 Likewise.
31527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31528 Likewise.
31529
cfba4fda
L
31530 * scripts/data/c++-types-x32-linux-gnu.data: New file.
31531 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31532
80bad0cc
JM
315332012-05-24 Joseph Myers <joseph@codesourcery.com>
31534
7a25eb06
JM
31535 [BZ #10846]
31536 [BZ #14036]
31537 * math/libm-test.inc (exp_test): Add test from bug 14036.
31538 (pow_test): Add test from bug 10846.
31539
795405f9
JM
31540 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31541 and other flags.
31542 (special_function): Do not include flags in test name.
31543 (parse_args): Likewise.
31544 * sysdeps/i386/fpu/libm-test-ulps: Update.
31545 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31546 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31547 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31549
80bad0cc
JM
31550 * math/gen-libm-test.pl (%beautify): Add entries for underflow
31551 exceptions.
31552 * math/libm-test.inc ("Philosophy"): Update comment about
31553 exception testing.
31554 (UNDERFLOW_EXCEPTION): New macro.
31555 (UNDERFLOW_EXCEPTION_OK): Likewise.
31556 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31557 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31558 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31559 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31560 (INVALID_EXCEPTION_OK): Update value.
31561 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31562 (OVERFLOW_EXCEPTION_OK): Likewise.
31563 (IGNORE_ZERO_INF_SIGN): Likewise.
31564 (test_exceptions): Handle underflow exceptions.
31565 (acos_test): Update for underflow exception expectations.
31566 (cexp_test): Likewise.
31567 (clog_test): Likewise.
31568 (clog10_test): Likewise.
31569 (csqrt_test): Likewise.
31570 (ctan_test): Likewise.
31571 (ctanh_test): Likewise.
31572 (exp_test): Likewise.
31573 (exp10_test): Likewise.
31574 (exp2_test): Likewise.
31575 (expm1_test): Likewise.
31576 (fma_test): Likewise.
31577 (j0_test): Likewise.
31578 (jn_test): Likewise.
31579 (nexttoward_test): Likewise.
31580 (pow_test): Likewise.
31581 (scalbn_test): Likewise.
31582 (scalbln_test): Likewise.
31583 (tan_test): Likewise.
31584 (y1_test): Likewise.
31585 * sysdeps/i386/fpu/libm-test-ulps: Update.
31586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31587
9e0e3d0b
DM
315882012-05-23 David S. Miller <davem@davemloft.net>
31589
31590 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31591 (__libc_sigaction): Remove unused local variables.
31592
ccd0a08f
L
315932012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31594
31595 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31596
62bdf9a6
PE
315972012-05-23 Paul Eggert <eggert@cs.ucla.edu>
31598
f8591f80
PE
31599 mktime: avoid signed integer overflow
31600 * time/mktime.c (__mktime_internal): Do not mishandle the case
31601 where diff == INT_MIN.
31602
94c7d826
PE
31603 mktime: simplify computation of average
31604 * time/mktime.c (ranged_convert): Use new time_t_avg function
31605 instead of rolling our own (probably-slower) code.
31606
ce73d683
PE
31607 mktime: do not assume signed right shift propagates sign bit
31608 * time/mktime.c (isdst_differ): New static function.
31609 (__mktime_internal): No need to normalize tm_isdst now.
31610 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31611 tm_isdst values.
31612
72a22e59
PE
31613 mktime: merge another wrapv change from gnulib
31614 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31615 from some compilers.
31616
68605433
PE
31617 mktime: remove incorrect attempt at unusual arithmetics
31618 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31619 The code didn't really work on such machines anyway.
31620 (TYPE_MINIMUM): Assume two's complement.
31621 (twos_complement_arithmetic): Verify that long_int and time_t
31622 are two's complement (or unsigned, in the latter case).
31623
03cf7fe3
PE
31624 mktime: check signed shifts on long_int and time_t, too
31625 * time/mktime.c (SHR): Check that shifts work as desired
31626 on the types long_int and time_t too, as SHR is used on
31627 such types.
31628
f04dfbc2
PE
31629 mktime: do not assume 'long' is wide enough
31630 * time/mktime.c (verify): Move decl up.
31631 (long_int): New type.
31632 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31633 to remove assumption in the code that 'long' is wide enough to
31634 store year values. This assumption is not true on x32 and on
31635 some non-glibc platforms.
31636
62bdf9a6
PE
31637 mktime: merge wrapv change from gnulib
31638 * time/mktime.c (WRAPV): New macro.
31639 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31640 (guess_time_tm, __mktime_internal): Do not assume that signed
31641 integer overflow wraps around; modern compilers generate code
31642 where this assumption is no longer valid.
31643
5e292e4f
L
316442012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31645
31646 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31647 Replace "jmp L(pseudo_end)" with "ret".
31648 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31649 Likewise.
31650
8caf8c87
AJ
316512012-05-23 Andreas Jaeger <aj@suse.de>
31652
31653 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31654 * sysdeps/unix/sysv/linux/poll.c: Remove file.
31655
1a09dc56
AJ
316562012-05-23 Andreas Jaeger <aj@suse.de>
31657 Maximilian Attems <max@stro.at>
31658
31659 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31660 New macros.
31661
1c87aba0
L
316622012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31663
31664 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31665 code so that pseudo_end is just ret and the stack pointer is
31666 correct also for static library in error case.
31667
40e45bd5
JM
316682012-05-23 Joseph Myers <joseph@codesourcery.com>
31669
c2670533
JM
31670 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31671 move to syscalls.list.
31672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31676
40e45bd5
JM
31677 * manual/install.texi (Running make install): Do not mention Linux
31678 kernel version for which pt_chown is not needed.
31679 (Linux): Do not mention problems with nscd with 2.0 kernels.
31680 * INSTALL: Regenerated.
31681
be08eda5
AJ
316822012-05-23 Andreas Jaeger <aj@suse.de>
31683
31684 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31685 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31686 macro.
31687 * sysdeps/unix/sysv/linux/s390/bits/mman.h
31688 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31689 * sysdeps/unix/sysv/linux/sh/bits/mman.h
31690 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31691 * sysdeps/unix/sysv/linux/i386/bits/mman.h
31692 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31693 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31694 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31695 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31696 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31697 * sysdeps/unix/sysv/linux/bits/in.h
31698 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31699
a6a056bb
RM
317002012-05-22 Roland McGrath <roland@hack.frob.com>
31701
31702 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31703 (PREPARE_VERSION): Just use assert instead, it will be elided
31704 under [NDEBUG] anyway.
31705
c9009328
L
317062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31707
31708 * sysdeps/unix/sysv/linux/Makefile: Include
31709 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 31710 (sysdep_routines): Remove sysctl.
c9009328
L
31711 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31712 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31713 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31714 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31715 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31716
73338355
AJ
317172012-05-22 Andreas Jaeger <aj@suse.de>
31718
31719 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31720 that pseudo_end is just ret and the stack pointer is correct also
31721 for static library in error case.
31722
d44638b0
PP
317232012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
31724
31725 [BZ #14122]
31726 * nss/nsswitch.c (defconfig_entries): New variable.
31727 (__nss_database_lookup): Don't leak defconfig entries.
31728 (nss_parse_service_list): Don't leak on error paths.
31729 (free_database_entries): New function.
31730 (free_defconfig): New function.
31731 (free_mem): Move common code to free_database_entries.
31732
31a39bd8
L
317332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31734
da0331a8
L
31735 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31736 Add arch_prctl.
31737 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31738
31a39bd8
L
31739 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31740 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31741 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31742 New macro.
31743 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31744 (INTERNAL_SYSCALL_TYPES): Likewise.
31745 (LOAD_ARGS_TYPES_[1-6]): Likewise.
31746 (LOAD_REGS_TYPES_[1-6]): Likewise.
31747 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31748 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31749
45470df3
AZ
317502012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31751
31752 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31753 copysignl for GLIBC_2_0.
31754 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31755 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31756 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31757 logbl for GLIBC_2_0.
31758 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31759 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31760
98a61bcb
L
317612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31762
a4f6e481
L
31763 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31764 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31765
f63d5db6
L
31766 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31767 Use "neg %eax".
31768
98a61bcb
L
31769 * time/mktime.c: Update copyright years.
31770
95770f14
PE
317712012-05-22 Paul Eggert <eggert@cs.ucla.edu>
31772
6226efbd
PE
31773 mktime: merge comment-quoting-style change from gnulib
31774 * time/mktime.c: Quote 'like this' in comments.
31775 The GNU coding standards suggest that we no longer quote `like this',
31776 as "`" and "'" are typically rendered asymmetrically nowadays.
31777 The typical gnulib style is to quote 'like this' when quoting
31778 code, and "like this" when quoting English.
31779
b99e4f78
PE
31780 * time/mktime.c (compile-command): Add "-I.".
31781
643e01e6
PE
31782 mktime: merge mktime-internal.h change from gnulib
31783 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31784
2554247d
PE
31785 mktime: merge time_r change from gnulib
31786 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31787
826dd0ab
PE
31788 mktime: merge DEBUG change from gnulib
31789 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31790 case system <time.h> has a #define.
31791
bd83aabe
PE
31792 mktime: merge <sys/types.h> change from gnulib
31793 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31794 since <time.t> is now guaranteed to define time_t.
31795
95770f14
PE
31796 mktime: merge HAVE_CONFIG_H change from gnulib
31797 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31798
5e1a27a9
L
317992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31800
0e44a77e
L
31801 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31802 Use "neg %eax".
31803
5e1a27a9
L
31804 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31805 __rlim_t cast.
31806 (struct rusage): Use anonymous union to pad each field to
31807 __syscall_slong_t.
31808
46259bec
DM
318092012-05-21 David S. Miller <davem@davemloft.net>
31810
31811 * Makefules (o-iterator): Remove .s cases.
31812 (compile-command.s): Delete.
31813 (COMPILE.s): Delete.
31814 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31815
59f0c22e
JM
318162012-05-21 Joseph Myers <joseph@codesourcery.com>
31817
31818 * configure.in (libc_cv_predef_stack_protector): Only consider
31819 "foobar" and "__stack_chk_fail" lines in libc_undefs.
31820 * configure: Regenerated.
31821
20c07380
L
318222012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31823
bbb3154b
L
31824 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31825 New macro. Use R*LP on int and pointer.
31826 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
31827 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31828 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
31829 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31830
20c07380
L
31831 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31832 [__WORDSIZE_TIME64_COMPAT32] instead of
31833 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31834 (struct utmp): Likewise.
31835 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31836 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31837 Renamed to ...
31838 (__WORDSIZE_TIME64_COMPAT32): This.
31839 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31840 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31841 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31842 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31843 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31844 (__WORDSIZE_TIME64_COMPAT32): New macro.
31845
d8d1017e
AJ
318462012-05-21 Andreas Jaeger <aj@suse.de>
31847
31848 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31849 only if [SHARED]. Add prototype for __wcschr_ia32.
31850
6c7fb145
RM
318512012-05-21 Roland McGrath <roland@hack.frob.com>
31852
31853 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31854 of %rbp unmolested in the jmp_buf while mangling the low bits.
31855 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31856 unmolested high bits of %rbp while demangling the low bits.
31857 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31858
66274218
AJ
318592012-05-21 Andreas Jaeger <aj@suse.de>
31860
07c58f8f
AJ
31861 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31862 * sunrpc/svc_simple.c: Use it for registerrpc.
31863 * sunrpc/xcrypt.c: Use it for passwd2des.
31864
66274218
AJ
31865 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31866
61f65140
L
318672012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31868
31869 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31870 Don't define if [__SYSCALL_WORDSIZE != 32].
31871 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31872 New macro.
31873
5fefb436
AJ
318742012-05-21 Bruno Haible <bruno@clisp.org>
31875 Andreas Jaeger <aj@suse.de>
31876
31877 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31878 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31879 inptr and inend for must_buffer_ch.
31880 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31881 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31882 * stdio-common/Makefile (tests): Remove bug15.
31883 (bug15-ENV): Remove macro.
31884 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31885 anymore.
31886
d8e272ab
AJ
318872012-05-19 Andreas Jaeger <aj@suse.de>
31888 Roland McGrath <roland@hack.frob.com>
31889
31890 * manual/contrib.texi: Completely rewritten. It contains now an
31891 alphabetical list of contributors and their contributions.
31892
4a56a162
RH
318932012-05-21 Richard Henderson <rth@twiddle.net>
31894
31895 * misc/getauxval.c (__getauxval): Use unsigned long int.
31896 * misc/sys/auxv.h: Include <sys/cdefs.h>.
31897 (getauxval): Use unsigned long int.
31898
d024d23c
L
318992012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31900
31901 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31902
cbc00a03
RM
319032012-05-21 Roland McGrath <roland@hack.frob.com>
31904
31905 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31906 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31907 __alignof__ (long double).
31908
478143fa
AZ
319092012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31910
31911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31912
c7683a6d
RH
319132012-05-20 Richard Henderson <rth@twiddle.net>
31914
31915 * misc/getauxval.c: New file.
31916 * misc/sys/auxv.h: New file.
31917 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31918 (routines): Add getauxval.
31919 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31920 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31921 * elf/dl-sysdep.c (_dl_auxv): Remove.
31922 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31923 * elf/dl-support.c (_dl_auxv): New variable.
31924 (_dl_aux_init): Initialize it.
31925 * manual/startup.texi (Auxiliary Vector): New node.
31926 * sysdeps/generic/bits/hwcap.h: New file.
31927 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31928 * sysdeps/powerpc/sysdep.h: ... here. Include it.
31929 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31930 * sysdeps/sparc/sysdep.h: ... here. Include it.
31931 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31932 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
31933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31934 Update.
c7683a6d
RH
31935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31938 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31939 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31941 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31942 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31943
a6f1845d
AZ
319442012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31945
31946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31947
cbcbe830
DM
319482012-05-19 David S. Miller <davem@davemloft.net>
31949
31950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31951
e0b16cc2
JM
319522012-05-19 Joseph Myers <joseph@codesourcery.com>
31953
31954 [BZ #14123]
31955 * math/s_ccosh.c: Include <float.h>
31956 (__ccosh): Avoid internal overflow calculating sinh and cosh
31957 values before multiplying by sin and cos values.
31958 * math/s_ccoshf.c: Likewise.
31959 * math/s_ccoshl.c: Likewise.
31960 * math/s_csin.c: Likewise.
31961 * math/s_csinf.c: Likewise.
31962 * math/s_csinl.c: Likewise.
31963 * math/s_csinh.c: Likewise.
31964 * math/s_csinhf.c: Likewise.
31965 * math/s_csinhl.c: Likewise.
31966 * math/libm-test.inc (ccos_test): Add more tests.
31967 (ccosh_test): Likewise.
31968 (csin_test): Likewise.
31969 (csinh_test): Likewise.
31970 * sysdeps/i386/fpu/libm-test-ulps: Update.
31971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31972
6ad13e08
L
319732012-05-19 H.J. Lu <hongjiu.lu@intel.com>
31974
f66f0ce8
L
31975 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31976 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31977
6ad13e08
L
31978 * sysdeps/x86_64/x32/_itoa.h: Add comment.
31979
b1d072a7
JM
319802012-05-19 Joseph Myers <joseph@codesourcery.com>
31981
31982 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31983 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31984 * sysdeps/powerpc/soft-fp/Versions: Likewise.
31985 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31986 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31987 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31988 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31989 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31990 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31991 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31992 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31993 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31994 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31995 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31996 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31997 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31998 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31999 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
32000 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
32001 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
32002 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
32003 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
32004 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
32005 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
32006 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
32007 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
32008 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
32009 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
32010 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32011 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
32012 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32013
9eae47cb
AJ
320142012-05-18 Andreas Jaeger <aj@suse.de>
32015
32016 * csu/.gitignore: Delete.
32017
bb07f69f
L
320182012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32019
32020 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32021 (timex): Use __syscall_slong_t.
32022
e6bdb741
AJ
320232012-05-18 Andreas Jaeger <aj@suse.de>
32024 Carlos O'Donell <carlos_odonell@mentor.com>
32025
32026 * manual/install.texi (Configuring and compiling): Update
32027 description about files modified in the source directory.
d6c33fda 32028 * INSTALL: Regenerated.
e6bdb741 32029
1b74487e
L
320302012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32031
32032 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32033 value. Use "or" to set return value to -1.
32034 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32035 negate return value.
32036
a88b64b9
TMQMF
320372012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32038
57f41c40
AS
32039 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32040 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
32041 failure if the compiler has Graphite support disabled.
32042 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32043 Likewise.
57f41c40
AS
32044 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32045 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
32046 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32047 Likewise.
32048
3707636e
L
320492012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32050
610b8622
L
32051 * sysdeps/x86_64/x32/_itoa.h: New file.
32052
7cd195df
L
32053 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32054 getdents system call only if kernel and user dirents have the
32055 same d_ino and d_off.
32056
94b07d20
L
32057 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32058 LLONG_MAX != LONG_MAX.
32059 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32060 (_fitoa_word): Likewise.
32061
18298070
L
32062 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32063 years.
32064 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32065 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32066 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32067
553c7ea4
L
32068 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32069 include <bits/wordsize.h>. Check __x86_64__ instead of
32070 __WORDSIZE.
32071 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32072 if __x86_64__ is defined. Use anonymous union on fpstate.
32073
3707636e
L
32074 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32075 anonymous union.
32076
b53ef01a
AS
320772012-05-18 Andreas Schwab <schwab@linux-m68k.org>
32078
37fb1dc0
AS
32079 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32080 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32081 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32082 Refer to _rtld_local_ro instead of _rtld_global_ro.
32083 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32084 Likewise.
32085 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32086 Likewise.
32087 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32088 Likewise.
32089 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32090 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32091 of _rtld_global, and rtld_progname instead of _dl_argv[0].
32092
b53ef01a
AS
32093 * sysdeps/powerpc/powerpc32/dl-machine.c
32094 (__elf_machine_runtime_setup) [PROF]: Don't reference
32095 _dl_prof_resolve.
32096
7a185db2
AJ
320972012-05-18 Andreas Jaeger <aj@suse.de>
32098
32099 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32100 function only available for GCCs before 3.4 since GCC 3.4
32101 introduced a builtin.
32102 (lrint): Likewise.
32103 (llrintf): Likewise.
32104 (llrint): Likewise.
32105 (fmaxf): Likewise.
32106 (fmax): Likewise.
32107 (fminf): Likewise.
32108 (fmin): Likewise.
32109 (rint): Likewise.
32110 (rintf): Likewise.
32111 (nearbyint): Likewise.
32112 (nearbyintf): Likewise.
32113 (ceil): Likewise.
32114 (ceilf): Likewise.
32115 (floor): Likewise.
32116 (floorf): Likewise.
32117
3e5aef87
L
321182012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32119
428bd707
L
32120 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32121 on both fields and cast pointer to __syscall_ulong_t.
32122
3e5aef87
L
32123 * bits/types.h (__fsword_t): New type.
32124 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32125 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32126 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32127 (__FSWORD_T_TYPE): Likewise.
32128 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32129 (__FSWORD_T_TYPE): Likewise.
32130 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32131 (__FSWORD_T_TYPE): Likewise.
32132 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32133 (__FSWORD_T_TYPE): Likewise.
32134 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32135 __SWORD_TYPE with __fsword_t.
32136 (statfs64): Likewise.
32137
1ba7c3dc
DM
321382012-05-17 David S. Miller <davem@davemloft.net>
32139
32140 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32141
59910343
AJ
321422012-05-17 Andreas Jaeger <aj@suse.de>
32143
32144 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32145 warning.
32146
2e4c1e9e
L
321472012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32148
32149 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32150
de7f5ce7
AJ
321512012-05-17 Andreas Jaeger <aj@suse.de>
32152
32153 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32154 when it is used.
32155
286abc3d
CM
321562012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32157
32158 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32159
477cc68e
L
321602012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32161
32162 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32163 * sysdeps/x86_64/tst-mallocalign1.c: New file.
32164
1a0994f5
CD
321652012-05-17 Andreas Jaeger <aj@suse.de>
32166 Carlos O'Donell <carlos_odonell@mentor.com>
32167
32168 [BZ #14059]
32169 * sysdeps/x86_64/multiarch/init-arch.h
32170 (bit_YMM_Usable): Rename to...
32171 (bit_AVX_Usable): ... this.
32172 (bit_FMA4_Usable): New macro.
32173 (bit_XMM_state): New macro.
32174 (bit_YMM_state): New macro.
32175 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32176 [__ASSEMBLER__] (index_AVX_Usable): ... this.
32177 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32178 (CPUID_OSXSAVE): New macro.
32179 (CPUID_AVX): New macro.
32180 (CPUID_FMA4): New macro.
32181 (index_YMM_Usable): Rename to...
32182 (index_AVX_Usable): ... this.
32183 (HAS_AVX): Use HAS_ARCH_FEATURE.
32184 (HAS_FMA4): Likewise.
32185 (HAS_YMM_USABLE): Remove.
32186 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32187 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32188 are present.
32189 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32190 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32191 * sysdeps/x86_64/multiarch/Makefile: Likewise.
32192 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32193 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32194
0af797de
CM
321952012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32196
32197 * math/libm-test.c: Support platforms without multiple rounding modes.
32198 * math/bug-nextafter.c: Support platforms without FP exceptions.
32199 * math/bug-nexttoward.c: Likewise.
32200 * math/test-fenv.c: Likewise.
32201 * math/test-misc.c: Likewise.
32202 * stdlib/bug-getcontext.c: Likewise.
32203
e39745ff
AJ
322042012-05-17 Andreas Jaeger <aj@suse.de>
32205
32206 * manual/examples/search.c (critter_cmp): Change signature to
32207 avoid warnings.
32208 * manual/string.texi (Collation Functions): Likewise.
32209
48970aba
L
322102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32211
32212 * bits/types.h: Fold copyright years.
32213 * bits/typesizes.h: Likewise.
32214 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32215 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32216 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32217 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32218 * time/time.h: Likewise.
32219
bedee953
PP
322202012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
32221
32222 [BZ #208]
32223 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32224 in instead of returning them. Return void.
32225 (__libc_mallinfo): Accumulate over all arenas.
32226 (__malloc_stats): Adjust for change in int_mallinfo interface.
32227
61653dfb
RM
322282012-05-16 Roland McGrath <roland@hack.frob.com>
32229
30b99d79
RM
32230 [BZ #10375]
32231 * configure.in (NM): Add AC_CHECK_TOOL for it.
32232 (libc_extra_cflags): New substituted variable.
32233 Check for -fstack-protector being used implicitly.
32234 * configure: Regenerated.
32235 * config.make.in (config-extra-cflags): New variable,
32236 gets @libc_extra_cflags@.
32237 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32238
61653dfb
RM
32239 [BZ #10375]
32240 * configure.in: Check for _FORTIFY_SOURCE being predefined.
32241 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32242 * configure: Regenerated.
32243 * config.make.in (CPPUNDEFS): New substituted variable.
32244 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32245 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32246 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32247
661768bb
L
322482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32249
32250 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32251 (mq_attr): Use __syscall_slong_t.
32252
d4261567
L
322532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32254
32255 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32256 Check __x86_64__ instead of __WORDSIZE.
32257 (_STAT_VER_LINUX): Likewise.
32258 (stat): Check __x86_64__ instead of __WORDSIZE. Use
32259 __syscall_ulong_t and __syscall_slong_t.
32260 (stat64): Likewise.
32261
cf3ff365
L
322622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32263
32264 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32265
76cf3e4d
L
322662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32267
32268 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32269
a637753a
L
322702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32271
32272 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32273 __syscall_ulong_t.
32274
d5e05119
L
32275 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32276 include <bits/wordsize.h>. Check __x86_64__ instead of
32277 __WORDSIZE.
32278 (greg_t): Use "__extension__ long long int" if __x86_64__ is
32279 defined.
32280 (mcontext_t): Replace "unsigned long" with "unsigned long long".
32281
f62ee380
L
32282 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32283 include <bits/wordsize.h>. Check __x86_64__ instead of
32284 __WORDSIZE.
32285 (user_regs_struct): Use "__extension__ unsigned long long"
32286 instead of "unsigned long" if __x86_64__ is defined.
32287 (user): Likewise. Pad after pointer field if __ILP32__ is
32288 defined.
32289
4e124ced
JM
322902012-05-16 Joseph Myers <joseph@codesourcery.com>
32291
6a3951a0
JM
32292 * configure.in (makeinfo): Require version 4.5 or later. Allow
32293 versions 5 to 9.
32294 * configure: Regenerated.
32295 * manual/install.texi (texinfo): Increase version requirement to
32296 4.5 or later.
32297 * INSTALL: Regenerated.
32298
4e124ced
JM
32299 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32300
953ca31a
L
323012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32302
32303 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32304
617aca05
L
32305 * sysdeps/x86_64/x32/ffs.c: New file.
32306
5762f7ae
L
32307 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32308 __syscall_ulong_t.
32309 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32310 defined. Use __syscall_ulong_t.
32311 (shminfo): Use __syscall_ulong_t.
32312 (shm_info): Likewise.
32313
a26b6856
L
32314 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32315 __syscall_ulong_t.
32316
cb2b9ef7
L
32317 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32318 <bits/wordsize.h>.
32319 (msgqnum_t): Use __syscall_ulong_t.
32320 (msglen_t): Likewise.
32321 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
32322 __syscall_ulong_t.
32323
34683bb0
L
32324 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32325 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32326
84a68786
L
32327 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32328
48baa5f1
L
32329 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32330 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32331
180be88b
L
32332 * sysvipc/sys/msg.h (msgbuf): Replace long int with
32333 __syscall_slong_t.
32334
5e90c8ad
L
32335 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32336 include <bits/wordsize.h>. Check __x86_64__ instead of
32337 __WORDSIZE.
32338
23dfb58b
L
32339 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32340 "unsigned long long int" if __x86_64__ is defined.
32341 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32342
ce5d54b0
L
32343 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32344 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32345 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32346
13dc9eac
L
32347 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32348 <stdint.h>.
32349 (GET_PC): Cast to uintptr_t first.
32350 (GET_FRAME): Likewise.
32351 (GET_STACK): Likewise.
32352
a7895d15
L
32353 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32354 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32355 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32356 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32357 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32358 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32359 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32360 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32361 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32362 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32363 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32364 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32365 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32366 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32367 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32368 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32369 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32370 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32371 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32372 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32373 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32374 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32375 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32376 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32377 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32378 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32379 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32380 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32381 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32382
656416c9
AS
323832012-05-16 Andreas Schwab <schwab@linux-m68k.org>
32384
5bd66283
AS
32385 * Makerules (+depfiles): Also collect depfiles from .oS in
32386 $(extra-objs).
32387 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32388 .oS, $(libnldbl-routines)).
32389
656416c9
AS
32390 * Makerules (native-compile-mkdep-flags): Define.
32391 * sunrpc/Makefile (extra-objs): Add $(addprefix
32392 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32393 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32394 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
32395 calling $(make-target-directory).
32396
a46f2169
L
323972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32398
32399 * bits/types.h (__snseconds_t): Removed.
32400 * time/time.h (struct timespec): Replace __snseconds_t with
32401 __syscall_slong_t.
32402 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32403 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32404 Likewise.
32405 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32406 (__SNSECONDS_T_TYPE): Likewise.
32407 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32408 (__SNSECONDS_T_TYPE): Likewise.
32409 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32410 (__SNSECONDS_T_TYPE): Likewise.
32411
6af6528b
L
324122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32413
32414 * sysdeps/mach/hurd/bits/typesizes.h
32415 (__SYSCALL_SLONG_TYPE): New macro.
32416 (__SYSCALL_ULONG_TYPE): Likewise.
32417
de986b56
L
324182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32419
32420 * bits/types.h (__syscall_slong_t): New type.
32421 (__syscall_ulong_t): Likewise.
32422
32423 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32424 (__SYSCALL_ULONG_TYPE): Likewise.
32425 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32426 (__SYSCALL_SLONG_TYPE): Likewise.
32427 (__SYSCALL_ULONG_TYPE): Likewise.
32428 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32429 (__SYSCALL_SLONG_TYPE): Likewise.
32430 (__SYSCALL_ULONG_TYPE): Likewise.
32431 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32432 (__SYSCALL_SLONG_TYPE): Likewise.
32433 (__SYSCALL_ULONG_TYPE): Likewise.
32434
85736dc7
L
324352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32436
32437 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32438 Add sigaltstack-offsets.sym.
32439 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32440 <sigaltstack-offsets.h>.
32441 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
32442 longjmp_msg pointer.
32443 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
32444 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32445 signal stack.
32446 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32447
cc03b296
JM
324482012-05-15 Joseph Myers <joseph@codesourcery.com>
32449
a9538892
JM
32450 * elf/stackguard-macros.h: Remove file.
32451 * sysdeps/generic/stackguard-macros.h: New file.
32452 * sysdeps/i386/stackguard-macros.h: Likewise.
32453 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32454 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32455 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32456 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32457 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32458 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32459 * sysdeps/x86_64/stackguard-macros.h: Likewise.
32460 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32461 <elf/stackguard-macros.h>.
32462
cc03b296
JM
32463 [BZ #14109]
32464 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32465 __aligned__ in attribute.
32466 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32467 (gregset_t): Likewise.
32468
93171016
L
324692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32470
32471 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32472 * sysdeps/x86_64/64/Implies-after: Here. New file.
32473 * sysdeps/x86_64/x32/Implies-after: New file.
32474
d86813a0
L
324752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32476
32477 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32478 and access return value for _dl_profile_fixup. Use R10_LP to
32479 load frame size.
32480
2953ec75
L
324812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32482
32483 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32484
3b550e9e
L
324852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32486
32487 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32488 * sysdeps/x86_64/x32/sysdep.h: New file.
32489
eda41706
L
324902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32491
32492 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32493 * sysdeps/x86_64/setjmp.S: Likewise.
32494
9ea01d93
AZ
324952012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32496
32497 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32498 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32499 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32500 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32501 remove unused global constant.
32502
02a91938
CM
325032012-05-15 Chris Metcalf <cmetcalf@tilera.com>
32504
32505 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32506 include of <not-cancel.h>.
32507
6540185f
RM
325082012-05-15 Roland McGrath <roland@hack.frob.com>
32509
32510 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32511
509072a0
AJ
325122012-05-15 Jeff Law <law@redhat.com>
32513 Andreas Jaeger <aj@suse.de>
32514
32515 [BZ #13594]
32516 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32517 out from...
32518 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32519 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32520 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32521 code changing __hst_map_handle.map.
32522
ba75122d
RM
325232012-05-15 Roland McGrath <roland@hack.frob.com>
32524
32525 * configure.in (sysnames): Look for Implies-before and Implies-after
32526 files.
32527 * configure: Regenerated.
32528
890d8bd8
L
325292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32530
32531 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32532 8-byte data alignment with LP_SIZE alignment.
32533
f6ee6623
L
325342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32535
32536 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32537 into R10_LP.
32538
ea2626f6
L
325392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32540
32541 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32542
085f715e
L
325432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32544
32545 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32546 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32547 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32548 Likewise.
32549 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32550
be8498fc
L
325512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32552
32553 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32554 (stackinfo_sub_sp): Likewise.
32555
70bc83b9
L
325562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32557
32558 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32559 RAX_LP.
32560
9bc0b730
L
325612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32562
32563 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32564 into R*_LP.
32565
6d2850e7
L
325662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32567
32568 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32569 sizes into R*_LP.
32570
3cb84561
L
325712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32572
32573 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32574
54e2ed81
L
325752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32576
32577 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32578 into R11_LP and load __x86_64_shared_cache_size_half into
32579 R8_LP.
32580
8a17f349
L
325812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32582
32583 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32584 R8_LP.
32585
777b1eea
AZ
325862012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32587
32588 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32589 logb for POWER7.
32590 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32591 logbf for POWER7.
32592 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32593 logbl for POWER7.
32594 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32595 powerpc32/power7/fpu/s_logb.c via #include.
32596 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32597 powerpc32/power7/fpu/s_logbf.c via #include.
32598 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32599 powerpc32/power7/fpu/s_logbl.c via #include.
32600
d20d4ac2
JM
326012012-05-15 Joseph Myers <joseph@codesourcery.com>
32602
32603 * README.libm: Remove file.
32604
6cdef1ab
L
326052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32606
32607 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32608 count for x32. Use R*_LP and omit operand-size suffix.
32609
0b254d8f
L
326102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32611
32612 * shlib-versions: Move x86_64-.*-linux.* entries to ...
32613 * sysdeps/x86_64/64/shlib-versions: Here. New file.
32614 * sysdeps/x86_64/x32/shlib-versions: New file.
32615
ceb809dc
RM
326162012-05-14 Roland McGrath <roland@hack.frob.com>
32617
32618 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32619 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32620 Use _dl_fatal_printf instead.
32621
37f1abd4
JM
326222012-05-14 Joseph Myers <joseph@codesourcery.com>
32623
32624 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32625 set if not set by the user. Do not allow for being unset.
32626 * sysdeps/unix/sysv/linux/configure: Regenerated.
32627
11de3a33
L
326282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32629
32630 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32631 the `q' suffix from lea and replace .quad with ASM_ADDR.
32632
e02f153a
L
326332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32634
32635 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32636 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
32637 instead of $17.
32638 (PTR_DEMANGLE): Likewise.
32639
520ae0fd
L
326402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32641
32642 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32643 (LP_OP): Likewise.
32644 (ASM_ADDR): Likewise.
32645 (RAX_LP): Likewise.
32646 (RBP_LP): Likewise.
32647 (RBX_LP): Likewise.
32648 (RCX_LP): Likewise.
32649 (RDI_LP): Likewise.
32650 (RSI_LP): Likewise.
32651 (RSP_LP): Likewise.
32652 (R8_LP): Likewise.
32653 (R9_LP): Likewise.
32654 (R10_LP): Likewise.
32655 (R10_LP): Likewise.
32656 (R11_LP): Likewise.
32657 (R12_LP): Likewise.
32658 (R13_LP): Likewise.
32659 (R14_LP): Likewise.
32660 (R15_LP): Likewise.
32661
b985be81
L
326622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32663
32664 * sysdeps/x86_64/x32/dl-machine.h: New file.
32665
6a4888ff
AJ
326662012-05-14 Andreas Jaeger <aj@suse.de>
32667
32668 * manual/Makefile (subdir): Remove export of subdir.
32669 (all): Remove target.
32670 (.PHONY): Remove all from list.
32671 (mkinstalldirs): Remove.
32672 (.PHONY): Remove installdirs from list.
32673 ($(inst_infodir)/libc.info): Use make-target-directory.
32674 (installdirs): Remove.
32675 (subdir_%): Remove.
32676 (glibc-targets): Remove.
32677 (lib): Remove.
32678 (stubs): Remove.
32679 ($(objpfx)stubs ../po/manual.pot): Remove.
32680 ($(objpfx)stamp%): Remove.
32681 (make-target-directory): Remove.
32682 (subdir_install): Remove.
32683 (routines): Remove.
32684 (aux): Remove.
32685 (sources): Remove.
32686 (objects): Remove.
32687 (headers): Remove.
32688
32689 [BZ #13750]
32690 * manual/.gitignore: Remove, it's not needed anymore.
32691 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32692 all files in it.
32693 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32694 directory.
32695 (texis): Renamed to $(objpfx)texis.
32696 (texis-path): New, contains path to generated files.
32697 (chapters.%): Use texis-path for complete path, add extra argument
32698 libc-texinfo.sh.
32699 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32700 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32701 (summary,texi, stamp-summary): Use complete path of
32702 files. Generate files in build dir.
32703 (dir-add.texi): Build in build dir.
32704 (libm-err.texi,stamp-libm-err): Likewise.
32705 (version.texi, stamp-version): Likewise.
32706 (.%c.texi): Likewise.
32707 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32708 (mostlyclean): Remove target.
32709 (realclean): Remove target.
32710 (generated): Add new variable with contents from mostlyclean and
32711 realclean, remove entries duplicated in common-mostlyclean, add
32712 stamp-libm-err and stamp-version.
32713 (generated-dirs): Add libc directory.
32714 ($(inst_infodir)/libc.info): Install files from build dir.
32715
32716 * manual/install.texi (Configuring and compiling): Adjust since
32717 the info files are not part of the tar ball anymore.
32718
7ac77294
AJ
327192012-05-14 Andreas Jaeger <aj@suse.de>
32720
32721 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32722 variable.
32723
ffb7875d
JM
327242012-05-14 Joseph Myers <joseph@codesourcery.com>
32725
32726 [BZ #13717]
32727 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32728 to 2.2.0 where earlier.
32729 * sysdeps/unix/sysv/linux/configure: Regenerated.
32730 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32731 Remove conditional code.
32732 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32733 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32734 Remove conditional code.
32735 [!__NR_lchown]: Likewise.
32736 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32737 [__NR_lchown]: Likewise.
32738 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32739 comment referencing __ASSUME_LCHOWN_SYSCALL.
32740 * sysdeps/unix/sysv/linux/i386/sigaction.c
32741 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32742 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32743 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32744 Remove conditional code.
32745 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32746 (__protocol_available): Remove #if 0 code.
32747 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32748 conditional code.
32749 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32750 * sysdeps/unix/sysv/linux/kernel-features.h
32751 (__ASSUME_GETCWD_SYSCALL): Don't define.
32752 (__ASSUME_REALTIME_SIGNALS): Likewise.
32753 (__ASSUME_PREAD_SYSCALL): Likewise.
32754 (__ASSUME_PWRITE_SYSCALL): Likewise.
32755 (__ASSUME_POLL_SYSCALL): Likewise.
32756 (__ASSUME_LCHOWN_SYSCALL): Likewise.
32757 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32758 non-SPARC.
32759 (__ASSUME_SIOCGIFNAME): Don't define.
32760 (__ASSUME_MSG_NOSIGNAL): Likewise.
32761 (__ASSUME_SENDFILE): Define unconditionally.
32762 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32763 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32764 conditional code.
32765 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32766 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32767 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32768 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32769 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32770 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32771 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32773 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32774 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32776 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32777 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32779 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32780 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32782 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32783 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32785 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32786 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32788 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32789 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32791 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32792 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32794 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32795 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32796 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32797 Remove conditional code.
32798 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32799 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32800 Remove conditional code.
32801 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32802 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32803 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32804 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32805 Remove conditional code.
32806 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32807 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32808 Remove conditional code.
32809 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32810 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32811 Remove conditional code.
32812 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32813 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32814 Remove conditional code.
32815 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32816 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32817 Remove conditional code.
32818 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32819 * sysdeps/unix/sysv/linux/sh/pwrite64.c
32820 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32821 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32822 * sysdeps/unix/sysv/linux/sigaction.c
32823 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32824 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32825 * sysdeps/unix/sysv/linux/sigpending.c
32826 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32827 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32828 * sysdeps/unix/sysv/linux/sigprocmask.c
32829 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32830 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32831 * sysdeps/unix/sysv/linux/sigsuspend.c
32832 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32833 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32834 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32835 (__libc_missing_rt_sigs): Remove.
32836 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32837 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32838 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32839 Remove conditional code.
32840 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32841 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32842 return 1.
32843 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32844 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32845 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32846 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32847
1bfb7291
AJ
328482012-05-14 Andreas Jaeger <aj@suse.de>
32849
caae5a81
AJ
32850 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32851 it's not used in glibc.
32852 (__coshm1): Likewise.
32853 (__acosh1p): Likewise.
32854 (__sgn): Likewise.
32855
1bfb7291
AJ
32856 * manual/string.texi (Copying and Concatenation): Add missing
32857 variable in concat example.
32858 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32859
c044d724
L
328602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32861
144c5467 32862 [BZ #14103]
c044d724
L
32863 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32864 __builtin_clzl with __builtin_clzll.
32865
2523c62b
L
328662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32867
32868 [BZ #14104]
32869 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32870 libc_freeres_ptr.
32871
d7bb4c42
LD
328722012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32873
32874 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32875 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32876 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32877 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32878
9dc4e1fb
MF
328792012-05-14 Mike Frysinger <vapier@gentoo.org>
32880
32881 * NEWS: Update ia64 info.
32882
c7df0112
AS
328832012-05-12 Andreas Schwab <schwab@linux-m68k.org>
32884
32885 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32886 used as bcopy.
32887
dc70356c
TS
328882012-05-12 Thomas Schwinge <thomas@codesourcery.com>
32889
32890 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32891 * sysdeps/unix/syscalls.list (dup3): Likewise.
32892 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32893 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32894
9fb1a21f
L
328952012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32896
32897 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32898 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32899
4822a2a5
L
329002012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32901
32902 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32903 thread pointer.
32904 (TLS_IE): Use mov/add instead of movq/addq to load thread
32905 pointer.
32906 (TLS_GD_PREFIX): New.
32907 (TLS_GD): Use it.
32908
842b81d6
DM
329092012-05-11 David S. Miller <davem@davemloft.net>
32910
32911 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32912 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32913 (_FPU_SETCW): Likewise.
32914
1cf463cd
L
329152012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32916
32917 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32918 is 32-byte aligned.
32919
60cc4a18
AS
329202012-05-11 Andreas Schwab <schwab@linux-m68k.org>
32921
32922 [BZ #11837]
32923 * iconvdata/gb18030.c: Update tables.
32924 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
32925 characters specially.
32926 (BODY for TO_LOOP): Add encoding of missing ranges.
32927
febb44a4
TS
329282012-05-11 Thomas Schwinge <thomas@codesourcery.com>
32929
32930 [BZ #13673]
32931 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32932 * sysdeps/mach/hurd/dup3.c: Likewise.
32933 * sysdeps/mach/hurd/readlinkat.c: Likewise.
32934 * sysdeps/powerpc/memmove.c:: Likewise.
32935
0a10fb9e
L
329362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32937
32938 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32939 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32940
df8a552f
L
329412012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32942
32943 * elf/elf.h (R_X86_64_RELATIVE64): New.
32944 (R_X86_64_NUM): Updated.
32945 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32946 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
32947 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32948 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32949 tst-quad1pie tst-quad2pie
32950 (modules-names): Add tst-quadmod1 tst-quadmod2.
32951 ($(objpfx)tst-quad1): New dependency.
32952 ($(objpfx)tst-quad2): Likewise.
32953 ($(objpfx)tst-quad1pie): Likewise.
32954 ($(objpfx)tst-quad2pie): Likewise.
32955 * sysdeps/x86_64/tst-quad1.c: New file.
32956 * sysdeps/x86_64/tst-quad1pie.c: New file.
32957 * sysdeps/x86_64/tst-quad2.c: Likewise.
32958 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32959 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32960 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32961 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32962 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32963
f34d6f84
ST
329642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32965
f42d41d1
ST
32966 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32967 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32968 * streams/stropts.h (t_scalar_t): Define type.
32969
3c3571fc
ST
32970 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32971 (_PATH_PRESERVE): Set to "/var/lib".
32972 (_PATH_RWHODIR): Set to "/var/spool/rwho".
32973
61f06bd3
ST
32974 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32975 instead of int.
32976
918d4d71
ST
32977 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32978 if __dir_mkfile succeeded.
32979
f34d6f84
ST
32980 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32981 checking for _hurd_dtablesize. Unlock it right after having
32982 finished _hurd_dtable allocation.
32983
10589b4a
TS
329842012-05-10 Thomas Schwinge <thomas@schwinge.name>
32985
674cdbc7
TS
32986 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32987 * sysdeps/mach/hurd/configure: Regenerated.
32988 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32989 special-casing to...
32990 * sysdeps/gnu/configure.in: ... this new file.
32991 * sysdeps/unix/sysv/linux/configure: Regenerated.
32992 * sysdeps/gnu/configure: New generated file.
32993
8e41b99f
TS
32994 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32995 for Linux: use nsec instead of usec, as well as:
32996 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32997 members of type struct timespec.
32998 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32999 New macros.
33000 (struct stat64): Likewise.
33001 (_STATBUF_ST_NSEC): New macro.
33002 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
33003
10589b4a
TS
33004 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33005 __strtoul_internal rather than strtoul.
33006
63643c85
PT
330072012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33008
33009 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
33010 and reject them.
33011
3faebe6a
ST
330122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33013
33014 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33015 which preserves existing values.
33016 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33017
c6474b07
PT
330182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33019
33020 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33021 TIMEOUT values. Return EINVAL for NFDS values either negative or
33022 greater than FD_SETSIZE.
33023
1043890b
ST
330242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33025
33026 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33027 allocated, call __vm_protect to finish enabling the existing space, and
33028 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33029 allocate the remainder.
33030
37ed8b9b
PT
330312012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33032
33033 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33034 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
33035
db653660
ST
330362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33037
37ed8b9b
PT
33038 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33039 sysdeps/mach/hurd/readlink.c.
b29d4053 33040
db653660
ST
33041 * posix/tst-sysconf.c (posix_options): Only use
33042 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33043 _POSIX_SYNCHRONIZED_IO when they are defined
33044 * sysdeps/mach/hurd/bits/posix_opt.h:
33045 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33046 (_XOPEN_REALTIME): Undefine macro.
33047 (_XOPEN_REALTIME_THREADS): Undefine macro.
33048 (_XOPEN_SHM): Undefine macro.
33049 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33050 macro to -1.
33051 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33052 macro to -1.
33053 (_POSIX_ASYNC_IO): Undefine macro.
33054 (_POSIX_PRIORITIZED_IO): Undefine macro.
33055 (_POSIX_SPIN_LOCKS): Define macro to -1.
33056
ee16e894
ST
33057 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33058 SA_NODEFER, SA_RESETHAND.
33059 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33060 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33061 F_DUPFD_CLOEXEC.
33062
6103ae3b
TS
330632012-05-10 Thomas Schwinge <thomas@schwinge.name>
33064
33065 * elf/Makefile (pldd-modules): Define unconditionally.
33066
80b4e5f3
TS
330672012-05-10 Thomas Schwinge <thomas@schwinge.name>
33068
33069 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33070
edadcbd6
ST
330712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33072
33073 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33074 Return ENOENT when name is empty.
33075 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33076
80694780
TS
330772012-05-10 Thomas Schwinge <thomas@schwinge.name>
33078
1792c087
TS
33079 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33080
80694780
TS
33081 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33082
6b645f0d
ST
330832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33084
80694780
TS
33085 Fix mlock in all cases except non-readable pages.
33086 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33087 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 33088
6b645f0d
ST
33089 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33090 (__mkdir): When path is `/', just fail with EEXIST.
33091 * sysdeps/mach/hurd/mkdirat.c: Likewise.
33092
e468f8a3
TS
330932012-05-10 Thomas Schwinge <thomas@schwinge.name>
33094
33095 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33096 <sys/uio.h> (for writev).
33097 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33098 and <sys/param.h> (for MIN).
33099
a4186cff
PT
331002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33101
33102 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33103 REQUESTED_TIME. Properly set the remaining time and return EINTR
33104 if interrupted.
33105
510bbf14
TS
331062012-05-10 Thomas Schwinge <thomas@schwinge.name>
33107
33108 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33109 Depend on against $(link-rpcuserlibs).
33110
5d5722e8
ST
331112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33112
a4186cff
PT
33113 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33114 (__libc_stack_end): Do not use attribute_relro.
33115 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33116 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 33117 to libthread-provided value.
a4186cff
PT
33118 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33119 attribute_relro.
5d5722e8 33120
37233df9
TS
331212012-05-10 Thomas Schwinge <thomas@schwinge.name>
33122
be971a2b
TS
33123 [BZ #3748]
33124 * bits/libc-lock.h (__libc_once_get): New macro.
33125 * sysdeps/mach/bits/libc-lock.h: Likewise.
33126 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33127 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33128 instead of using implementation details.
33129
37233df9
TS
33130 * libio/fileops.c: Unconditionally include <kernel-features.h>.
33131 * libio/freopen.c: Likewise.
33132 * libio/freopen64.c: Likewise.
33133 * misc/syslog.c: Likewise.
33134 * nscd/connections.c: Likewise.
33135 * nscd/netgroupcache.c: Likewise.
33136 * sysdeps/posix/getcwd.c: Likewise.
33137
38de94a5
RM
331382012-05-10 Roland McGrath <roland@hack.frob.com>
33139
33140 * math/w_ilogbf.c: Add #include <limits.h>.
33141
67530489
ST
331422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33143
a4186cff 33144 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
33145 path instead of returning without unlocking.
33146
67530489
ST
33147 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33148 immediate-write ioctls.
33149 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33150
5aa3a74a
TS
331512012-05-10 Thomas Schwinge <thomas@schwinge.name>
33152
18bad2ae
TS
33153 * sysdeps/mach/hurd/i386/init-first.c (init): Use
33154 __builtin_frame_address instead of making assumptions about the
33155 location of the return address relative to DATA. Force early load of
33156 the return address.
33157 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33158 __builtin_frame_address.
33159
5aa3a74a
TS
33160 dup3 for GNU Hurd.
33161 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33162 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
33163 implement dup3 and do some further code clean-ups.
33164 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33165 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33166
ecd0de9a
ST
331672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33168
cd9fa985
ST
33169 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33170
a4186cff
PT
33171 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33172 HURD_CRITICAL_END around holding _hurd_dtable_lock.
33173 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33174 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33175 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33176 d->port.lock.
802ca5a5 33177
a4186cff
PT
33178 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33179 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
33180 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 33181
bcf55240
TS
331822012-05-10 Thomas Schwinge <thomas@schwinge.name>
33183
6960eb42
TS
33184 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33185 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33186 definitions.
33187
eb43375f
TS
33188 accept4 for GNU Hurd.
33189 * include/sys/socket.h (__libc_accept4): New prototype.
33190 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
33191 to implement __libc_accept4.
33192 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33193 __libc_accept4.
33194 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33195
bcf55240
TS
33196 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33197 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33198 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33199 signal-defines.sym.
33200
6178c55b
ST
332012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33202
a4186cff 33203 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 33204
6f080c2f
TS
332052012-05-10 Thomas Schwinge <thomas@schwinge.name>
33206
33207 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33208 assertion on O_CLOEXEC flag.
33209 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33210 * hurd/intern-fd.c: Likewise.
33211 * hurd/port2fd.c: Likewise.
33212
bcfe3a54
ST
332132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33214
33215 [BZ #3906]
33216 * bits/in.h (IPV6_PKTINFO): Define new macro.
33217 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33218
89c9aa49
AZ
332192012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33220
33221 [BZ #13954]
33222 [BZ #13955]
33223 [BZ #13956]
33224 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33225 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33226 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33227 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33228 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33229 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33230 * math/libm-test.inc (logb_test) : Additional logb tests.
33231
021db4be
AJ
332322012-05-09 Andreas Schwab <schwab@linux-m68k.org>
33233 Andreas Jaeger <aj@suse.de>
33234
33235 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33236 * configure: Regenerated.
33237 * config.h.in (LINK_OBSOLETE_RPC): New macro.
33238 * config.make.in (link-obsolete-rpc): New substituted variable.
33239 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33240 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33241 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33242 (shared-only-routines): Don't set it under [link-obsolete-rpc],
33243 so that libc.a contains the symbols.
33244 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33245 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33246 * sunrpc/auth_none.c: Likewise.
33247 * sunrpc/auth_unix.c: Likewise.
33248 * sunrpc/authdes_prot.c: Likewise.
33249 * sunrpc/authuxprot.c: Likewise.
33250 * sunrpc/clnt_gen.c: Likewise.
33251 * sunrpc/clnt_perr.c: Likewise.
33252 * sunrpc/clnt_raw.c: Likewise.
33253 * sunrpc/clnt_simp.c: Likewise.
33254 * sunrpc/clnt_tcp.c: Likewise.
33255 * sunrpc/clnt_udp.c: Likewise.
33256 * sunrpc/clnt_unix.c: Likewise.
33257 * sunrpc/des_crypt.c: Likewise.
33258 * sunrpc/des_soft.c: Likewise.
33259 * sunrpc/get_myaddr.c: Likewise.
33260 * sunrpc/key_call.c: Likewise.
33261 * sunrpc/key_prot.c: Likewise.
33262 * sunrpc/netname.c: Likewise.
33263 * sunrpc/pm_getmaps.c: Likewise.
33264 * sunrpc/pm_getport.c: Likewise.
33265 * sunrpc/pmap_clnt.c: Likewise.
33266 * sunrpc/pmap_prot.c: Likewise.
33267 * sunrpc/pmap_prot2.c: Likewise.
33268 * sunrpc/pmap_rmt.c: Likewise.
33269 * sunrpc/publickey.c: Likewise.
33270 * sunrpc/rpc_cmsg.c: Likewise.
33271 * sunrpc/rpc_common.c: Likewise.
33272 * sunrpc/rpc_dtable.c: Likewise.
33273 * sunrpc/rpc_prot.c: Likewise.
33274 * sunrpc/rpc_thread.c: Likewise.
33275 * sunrpc/rtime.c: Likewise.
33276 * sunrpc/svc.c: Likewise.
33277 * sunrpc/svc_auth.c: Likewise.
33278 * sunrpc/svc_raw.c: Likewise.
33279 * sunrpc/svc_run.c: Likewise.
33280 * sunrpc/svc_tcp.c: Likewise.
33281 * sunrpc/svc_udp.c: Likewise.
33282 * sunrpc/svc_unix.c: Likewise.
33283 * sunrpc/svcauth_des.c: Likewise.
33284 * sunrpc/xcrypt.c: Likewise.
33285 * sunrpc/xdr.c: Likewise.
33286 * sunrpc/xdr_array.c: Likewise.
33287 * sunrpc/xdr_float.c: Likewise.
33288 * sunrpc/xdr_intXX_t.c: Likewise.
33289 * sunrpc/xdr_mem.c: Likewise.
33290 * sunrpc/xdr_rec.c: Likewise.
33291 * sunrpc/xdr_ref.c: Likewise.
33292 * sunrpc/xdr_sizeof.c: Likewise.
33293 * sunrpc/xdr_stdio.c: Likewise.
33294
b5c086a2
RM
332952012-05-10 Roland McGrath <roland@hack.frob.com>
33296
33297 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33298 change. Update copyright years.
33299
6d74dd09
JM
333002012-05-10 Joseph Myers <joseph@codesourcery.com>
33301
33302 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33303
28e72501
MK
333042012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
33305 Joseph Myers <joseph@codesourcery.com>
33306 Paul Pluzhnikov <ppluzhnikov@google.com>
33307
33308 [BZ #14012]
33309 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33310 requiring rpcgen.
33311 [cross-compiling] (extra-libs): Likewise.
33312 [cross-compiling] (extra-libs-others): Likewise.
33313 [cross-compiling] (librpcsvc-routines): Likewise.
33314 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33315 [cross-compiling] (omit-deps): Likewise.
33316 (sunrpc-CPPFLAGS): New variable.
33317 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33318 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33319 (cross-rpcgen-objs): New variable.
33320 (extra-objs): Append $(cross-rpcgen-objs).
33321 ($(cross-rpcgen-objs)): New rule.
33322 ($(objpfx)cross-rpcgen): Likewise.
33323 (rpcgen-cmd): Define to use $(built-program-file). Expand
33324 comment.
33325 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33326 ($(objpfx)x%.stmp): Likewise.
33327 * sunrpc/proto.h [IS_IN_build] (_): Define.
33328 [IS_IN_build] (_libc_intl_domainname): Likewise.
33329
c8c59454
L
333302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33331
33332 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33333 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33334 and R_X86_64_TPOFF64.
33335
6f27cd16
JM
333362012-05-10 Joseph Myers <joseph@codesourcery.com>
33337
33338 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33339 sysdeps/unix/sysv/syscalls.list.
33340 (stime): Likewise.
33341 (utime): Likewise.
33342 * sysdeps/unix/sysv/syscalls.list: Remove file.
33343
02467e1c
PE
333442012-05-10 Paul Eggert <eggert@cs.ucla.edu>
33345
33346 [BZ #3440]
33347 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33348 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33349 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33350 (__LC_IDENTIFICATION): Make these macros useful in #if
33351 expressions, as required by C99.
33352
da392631
AS
333532012-05-10 Andreas Schwab <schwab@linux-m68k.org>
33354
33355 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33356 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
33357 after this.
33358
8115f29b
L
333592012-05-09 H.J. Lu <hongjiu.lu@intel.com>
33360
33361 * stdlib/longlong.h: Updated from GCC.
33362
bdd74070
AJ
333632012-05-09 Andreas Jaeger <aj@suse.de>
33364
edfe0dbe
AJ
33365 * nscd/nscd.c (run_modes): Make named enum, reorder so that
33366 default is first entry.
33367 (run_mode): Set type.
33368 (main): Remove informal message about syslog.
33369 (options): Fix typo.
33370
bcfe3a54
ST
33371 [BZ #14053]
33372 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 33373 to asm.
bcfe3a54
ST
33374 (lrint): Likewise.
33375 (llrintf): Likewise.
33376 (llrint): Likewise.
33377 (rint): Likewise.
33378 (rintf): Likewise.
33379 (nearbyint): Likewise.
33380 (nearbyintf): Likewise.
bdd74070 33381
91d8d69e
AJ
333822012-05-09 Andreas Jaeger <aj@suse.de>
33383 Pedro Alves <palves@redhat.com>
33384
33385 * nscd/nscd.c (run_mode): Use enum.
33386 (main): Cleanup coding style issue.
33387
bb90b80b
AJ
333882012-05-09 Alexandre Oliva <aoliva@redhat.com>
33389 Andreas Jaeger <aj@suse.de>
33390
bcfe3a54
ST
33391 * nscd/nscd.c (go_background): Replaced with...
33392 (run_mode): ... this.
bb90b80b 33393 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
33394 (options): Add -F --foreground.
33395 (main): Implement it.
33396 (parse_opt): Parse it.
bb90b80b 33397
1a4b75a1
AJ
333982012-05-09 Andreas Jaeger <aj@suse.de>
33399
33400 [BZ #14083]
33401 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33402 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33403 -Wconversion warning.
33404 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33405 Likewise.
33406
b1cc2472
JM
334072012-05-09 Joseph Myers <joseph@codesourcery.com>
33408
33409 * conform/data/locale.h-data (NULL): Use macro-constant. Require
33410 == 0.
33411 (LC_ALL): Use macro-int-constant.
33412 (LC_COLLATE): Likewise.
33413 (LC_CTYPE): Likewise.
33414 (LC_MESSAGES): Likewise.
33415 (LC_MONETARY): Likewise.
33416 (LC_NUMERIC): Likewise.
33417 (LC_TIME): Likewise.
33418 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33419 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33420 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33421 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33422 Specify type.
33423 [C99-based standards] (float_t): Expect type.
33424 [C99-based standards] (double_t): Expect type.
33425 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
33426 type.
33427 [C99-based standards] (HUGE_VALL): Likewise.
33428 [C99-based standards] (INFINITY): Likewise.
33429 [C99-based standards] (NAN): Likewise.
33430 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33431 [C99-based standards] (FP_NAN): Likewise.
33432 [C99-based standards] (FP_NORMAL): Likewise.
33433 [C99-based standards] (FP_SUBNORMAL): Likewise.
33434 [C99-based standards] (FP_ZERO): Likewise.
33435 [C99-based standards] (FP_FAST_FMA): Use
33436 optional-macro-int-constant. Specify type. Require == 1.
33437 [C99-based standards] (FP_FAST_FMAF): Likewise.
33438 [C99-based standards] (FP_FAST_FMAL): Likewise.
33439 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33440 [C99-based standards] (FP_ILOGBNAN): Likewise.
33441 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33442 Specify type.
33443 [C99-based standards] (MATH_ERREXCEPT): Likewise.
33444 [C99-based standards] (math_errhandling): Specify type.
33445 [ISO99 || ISO11] (signgam): Do not allow.
33446 [non-C99-based standards] (copysignf): Do not allow.
33447 [non-C99-based standards] (exp2f): Likewise.
33448 [non-C99-based standards] (log2f): Likewise.
33449 [non-C99-based standards] (modff): Allow.
33450 [non-C99-based standards] (erff): Do not allow.
33451 [non-C99-based standards] (erfcf): Likewise.
33452 [non-C99-based standards] (gammaf): Likewise.
33453 [non-C99-based standards] (hypotf): Likewise.
33454 [non-C99-based standards] (j0f): Likewise.
33455 [non-C99-based standards] (j1f): Likewise.
33456 [non-C99-based standards] (jnf): Likewise.
33457 [non-C99-based standards] (lgammaf): Likewise.
33458 [non-C99-based standards] (tgammaf): Likewise.
33459 [non-C99-based standards] (y0f): Likewise.
33460 [non-C99-based standards] (y1f): Likewise.
33461 [non-C99-based standards] (ynf): Likewise.
33462 [non-C99-based standards] (isnanf): Likewise.
33463 [non-C99-based standards] (acoshf): Likewise.
33464 [non-C99-based standards] (asinhf): Likewise.
33465 [non-C99-based standards] (atanhf): Likewise.
33466 [non-C99-based standards] (cbrtf): Likewise.
33467 [non-C99-based standards] (expm1f): Likewise.
33468 [non-C99-based standards] (ilogbf): Likewise.
33469 [non-C99-based standards] (log1pf): Likewise.
33470 [non-C99-based standards] (logbf): Likewise.
33471 [non-C99-based standards] (nextafterf): Likewise.
33472 [non-C99-based standards] (remainderf): Likewise.
33473 [non-C99-based standards] (rintf): Likewise.
33474 [non-C99-based standards] (scalbf): Likewise.
33475 [non-C99-based standards] (copysignl): Likewise.
33476 [non-C99-based standards] (exp2l): Likewise.
33477 [non-C99-based standards] (log2l): Likewise.
33478 [non-C99-based standards] (modfl): Allow.
33479 [non-C99-based standards] (erfl): Do not allow.
33480 [non-C99-based standards] (erfcl): Likewise.
33481 [non-C99-based standards] (gammal): Likewise.
33482 [non-C99-based standards] (hypotl): Likewise.
33483 [non-C99-based standards] (j0l): Likewise.
33484 [non-C99-based standards] (j1l): Likewise.
33485 [non-C99-based standards] (jnl): Likewise.
33486 [non-C99-based standards] (lgammal): Likewise.
33487 [non-C99-based standards] (tgammal): Likewise.
33488 [non-C99-based standards] (y0l): Likewise.
33489 [non-C99-based standards] (y1l): Likewise.
33490 [non-C99-based standards] (ynl): Likewise.
33491 [non-C99-based standards] (isnanl): Likewise.
33492 [non-C99-based standards] (acoshl): Likewise.
33493 [non-C99-based standards] (asinhl): Likewise.
33494 [non-C99-based standards] (atanhl): Likewise.
33495 [non-C99-based standards] (cbrtl): Likewise.
33496 [non-C99-based standards] (expm1l): Likewise.
33497 [non-C99-based standards] (ilogbl): Likewise.
33498 [non-C99-based standards] (log1pl): Likewise.
33499 [non-C99-based standards] (logbl): Likewise.
33500 [non-C99-based standards] (nextafterl): Likewise.
33501 [non-C99-based standards] (remainderl): Likewise.
33502 [non-C99-based standards] (rintl): Likewise.
33503 [non-C99-based standards] (scalbl): Likewise.
33504 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33505 [non-C99-based standards] (FP_*): Do not allow.
33506 [C99-based standards] (FP_*): Change to
33507 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33508 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33509 allow.
33510 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33511 (SIG_ERR): Likewise.
33512 [X/Open-based standards] (SIG_HOLD): Likewise.
33513 (SIG_IGN): Likewise.
33514 (SIGABRT): Use macro-int-constant. Specify type. Require
33515 positive value.
33516 (SIGFPE): Likewise.
33517 (SIGILL): Likewise.
33518 (SIGINT): Likewise.
33519 (SIGSEGV): Likewise.
33520 (SIGTER): Likewise.
33521 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33522 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33523 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33524 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33525 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33526 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33527 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33528 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33529 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33530 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33531 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33532 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33533 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33534 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33535 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33536 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33537 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33538 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33539 [X/Open-based standards] (SIGTRAP): Likewise.
33540 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33541 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33542 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33543 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33544 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33545 allow.
33546
b9f1922d
IW
335472012-05-08 Ian Wienand <ianw@vmware.com>
33548
33549 [BZ #14080]
33550 * time/tzset.c (__tzset_parse_tz): Update default rules for
33551 daylight time changes in the Energy Policy Act of 2005.
33552
1db86e88
AJ
335532012-05-09 Andreas Jaeger <aj@suse.de>
33554
33555 [BZ #13983]
33556 * elf/ldconfig.c (parse_conf): Change string to make clear that
33557 ldconfig only issued a warning if ld.so.conf does not exist.
33558
dee4a4e3
DM
335592012-05-08 David S. Miller <davem@davemloft.net>
33560
ee0db190
DM
33561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33562 movxtod instead of popping the value on the stack.
33563
dee4a4e3
DM
33564 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33565
6a43ec98
CD
335662012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
33567
33568 * config.h.in: Add HAVE_ARM_PCS_VFP.
33569
05c2c961
RMG
335702012-05-08 Roland Mc Grath <roland@hack.frob.com>
33571
bcfe3a54
ST
33572 [BZ #13979]
33573 * include/features.h: Warn if user requests __FORTIFY_SOURCE
33574 checking but the checks are disabled for any reason.
05c2c961 33575
4b30f61a
L
335762012-05-08 H.J. Lu <hongjiu.lu@intel.com>
33577
33578 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33579 and ELF64_R_TYPE with ELFW(R_TYPE).
33580
eee2bc67
JM
335812012-05-08 Joseph Myers <joseph@codesourcery.com>
33582
7ea5391a
JM
33583 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33584 (ulimit): Likewise.
33585
eee2bc67
JM
33586 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33587 (settimeofday): Likewise.
33588
abb66a67
MF
335892012-05-08 Mike Frysinger <vapier@gentoo.org>
33590
33591 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
33592 a struct th_u2 inside the union, and move tu_block/tu_code into
33593 a new th_u3 union of tu_block/tu_code inside of that. Move
33594 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
33595 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
33596 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33597 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33598 (th_stuff): Change to th_u1.tu_stuff.
33599 (th_data): Define.
33600 (th_msg): Change to th_u1.th_u2.tu_data.
33601
7f18b530
DM
336022012-05-07 David S. Miller <davem@davemloft.net>
33603
05760585
DM
33604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33605
7f18b530
DM
33606 [BZ #14074]
33607 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33608 (SETUP_PIC_REG): Use it.
33609 (SETUP_PIC_REG_LEAF): Use it.
33610
495fd99f
JM
336112012-05-07 Joseph Myers <joseph@codesourcery.com>
33612
33613 [BZ #13885]
33614 [BZ #13923]
33615 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33616 USE_AS_EXPM1L.
33617 (EXPL_FINITE): Likewise.
33618 (FLDLOG): Likewise.
33619 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33620 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33621 e_expl.S.
33622 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33623 USE_AS_EXPM1L.
33624 (EXPL_FINITE): Likewise.
33625 (FLDLOG): Likewise.
33626 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33627 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33628 e_expl.S.
33629 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
33630 test of -max_value argument for long double.
33631 * sysdeps/i386/fpu/libm-test-ulps: Update.
33632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33633
6693d694
DM
336342012-05-06 David S. Miller <davem@davemloft.net>
33635
33636 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33637 quad soft-float symbols whose references which are compiler
33638 generated.
33639 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33640
6c23e11c
JM
336412012-05-06 Joseph Myers <joseph@codesourcery.com>
33642
d8b82cad
JM
33643 [BZ #13884]
33644 [BZ #13914]
33645 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33646 USE_AS_EXP10L.
33647 (EXPL_FINITE): Likewise.
33648 (FLDLOG): Likewise.
33649 (c0): Likewise.
33650 (c1): Likewise.
33651 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33652 Adjust comments for base varying.
33653 (__expl_finite): Change alias to EXPL_FINITE.
33654 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33655 e_expl.S.
33656 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33657 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33658 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33659 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33660 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33661 USE_AS_EXP10L.
33662 (EXPL_FINITE): Likewise.
33663 (FLDLOG): Likewise.
33664 (c0): Likewise.
33665 (c1): Likewise.
33666 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33667 Adjust comments for base varying.
33668 (__expl_finite): Change alias to EXPL_FINITE.
33669 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
33670 tests for bugs.
33671 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33672
6c23e11c
JM
33673 [BZ #14064]
33674 * math/libm-test.inc (check_float_internal): Correct ulp
33675 calculation for subnormal expected results.
33676
29ba805c
AJ
336772012-05-06 Andreas Jaeger <aj@suse.de>
33678
33679 * Makeconfig (+math-flags): New, set to -frounding-math.
33680 (+cflags): Add +math-flags so that all of glibc gets compiled with
33681 it.
33682
33683 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33684
7b17aeda
JM
336852012-05-05 Joseph Myers <joseph@codesourcery.com>
33686
5779f134
JM
33687 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33688 Disable one test.
33689
41498f4d
JM
33690 [BZ #13787]
33691 [BZ #13922]
33692 [BZ #14036]
33693 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33694 (__ieee754_expl): Allow for and saturate large arguments.
33695 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33696 (u_threshold): Likewise.
33697 (__exp): Call __ieee754_exp before checking for overflow and
33698 underflow.
33699 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33700 (u_threshold): Likewise.
33701 (__expf): Call __ieee754_expf before checking for overflow and
33702 underflow.
33703 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33704 (u_threshold): Likewise.
33705 (__expl): Call __ieee754_expl before checking for overflow and
33706 underflow.
33707 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33708 (__ieee754_expl): Allow for and saturate large arguments.
33709 * math/libm-test.inc (exp_test): Add another test. Do not allow
33710 missing overflow exception on overflow.
33711 (expm1_test): Do not allow missing overflow exception on overflow.
33712
6698b8bf
JM
33713 * sysdeps/i386/fpu/e_expl.c: Move to ...
33714 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
33715 rather than using inline asm.
33716 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33717 * sysdeps/x86_64/fpu/e_expl.S: Copy from
33718 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33719
7b17aeda
JM
33720 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33721 (nice): Likewise.
33722 (poll): Likewise.
33723 (signal): Likewise.
33724 (time): Likewise.
33725 (times): Likewise.
33726
f7c85819
JM
337272012-05-04 Joseph Myers <joseph@codesourcery.com>
33728
33729 * sysdeps/unix/syscalls.list (adjtime): Add entry from
33730 sysdeps/unix/common/syscalls.list.
33731 (fchmod): Likewise.
33732 (fchown): Likewise.
33733 (ftruncate): Likewise.
33734 (getrusage): Likewise.
33735 (gettimeofday): Likewise.
33736 (setpgid): Likewise.
33737 (setregid): Likewise.
33738 (setreuid): Likewise.
33739 (sigaction): Likewise.
33740 (truncate): Likewise.
33741 (vhangup): Likewise.
33742 * sysdeps/unix/common/syscalls.list: Remove file.
33743 * sysdeps/unix/bsd/Implies: Don't include unix/common.
33744 * sysdeps/unix/sysv/linux/Implies: Likewise.
33745
336270d0
L
337462012-05-04 H.J. Lu <hongjiu.lu@intel.com>
33747
33748 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33749 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33750 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33751 Moved to ...
33752 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33753 Here.
33754 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33755 to ...
33756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33757 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33758 to ...
33759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33760 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33761 to ...
33762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33763 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33764 to ...
33765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33766 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33767 to ...
33768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33769 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33770 to ...
33771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33772 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33773 to ...
33774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33775 Here.
33776 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33777 to ...
33778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33779 Here.
33780 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33781 to ...
33782 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33783 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33784 Moved to ...
33785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33786 Here.
33787 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33788 to ...
33789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33790
d128e450
JM
337912012-05-04 Joseph Myers <joseph@codesourcery.com>
33792
fa8ee516
JM
33793 * sysdeps/unix/common/bits/dirent.h: Remove file.
33794 * sysdeps/unix/common/bits/fcntl.h: Likewise.
33795
d128e450
JM
33796 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33797 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33798 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33799 * sysdeps/unix/bsd/isatty.c: Likewise.
33800 * sysdeps/unix/bsd/tcdrain.c: Likewise.
33801 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33802 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33803
ff8faaf0 338042012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 33805
62881be4 33806 [BZ #13563]
31dc8730
AZ
33807 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33808 long double comparison inaccuracies.
33809 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33811
6fef930c
AS
338122012-05-04 Andreas Schwab <schwab@linux-m68k.org>
33813
33814 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33815 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33816
8f203e6c
JM
338172012-05-04 Joseph Myers <joseph@codesourcery.com>
33818
33819 [BZ #14049]
33820 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33821 nonzero digits before rounding a hex value.
33822 * stdlib/tst-strtod.c (tests): Add another test.
33823
5197d9c2
AK
338242012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33825
33826 * sysdeps/s390/fpu/libm-test-ulps: Update.
33827
f0c1dedf
AJ
338282012-05-03 Andreas Jaeger <aj@suse.de>
33829
33830 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33831 does not get optimized out.
33832 (malloc_opt_barrier): New.
33833
a65ef2ae 338342012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 33835 Roland McGrath <roland@hack.frob.com>
a65ef2ae 33836
2b942cb7 33837 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 33838 intermediate file deletion.
2b942cb7 33839 (generated): Add .symlist files.
a65ef2ae 33840
54b71e02
JM
338412012-05-03 Joseph Myers <joseph@codesourcery.com>
33842
33843 [BZ #13775]
33844 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33845 Redirect under this condition.
33846 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33847 [__USE_GNU] (__dprintf_chk): Not under this condition.
33848 [__USE_GNU] (__vdprintf_chk): Likewise.
33849 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33850 under this condition.
33851 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33852 [__USE_XOPEN2K8] (dprintf): Define under this condition.
33853 [__USE_XOPEN2K8] (vdprintf): Likewise.
33854 [__USE_GNU] (__dprintf_chk): Not under this condition.
33855 [__USE_GNU] (__vdprintf_chk): Likewise.
33856 [__USE_GNU] (dprintf): Likewise.
33857 [__USE_GNU] (vdprintf): Likewise.
33858
d3dfcc41
RM
338592012-05-03 Roland McGrath <roland@hack.frob.com>
33860
33861 * elf/Makefile (common-generated): Set this instead of generated for
33862 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
33863 $(all-built-dso)-derived lists.
33864
7ac30cc5
AJ
338652012-05-03 Andreas Jaeger <aj@suse.de>
33866
0c51e550
AJ
33867 * sysdeps/i386/fpu/libm-test-ulps: Update.
33868
7ac30cc5
AJ
33869 * FAQ: Removed.
33870 * FAQ.in: Likewise.
33871 * scripts/gen-FAQ.pl: Likewise.
33872 * manual/install.texi (Installation): Point to online location of
33873 FAQ.
33874 * Makefile (files-for-dist): Remove FAQ.
33875 (FAQ): Remove.
33876
d4c2917f
AM
338772012-05-02 Allan McRae <allan@archlinux.org>
33878
33879 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33880 (LDFLAGS-reldepmod5.so): Likewise.
33881 (LDFLAGS-reldep6mod1.so): Likewise.
33882 (LDFLAGS-reldep6mod4.so): Likewise.
33883 (LDFLAGS-reldep8mod3.so): Likewise.
33884 (LDFLAGS-unload4mod1.so): Likewise.
33885 (LDFLAGS-unload4mod2.so): Likewise.
33886 (LDFLAGS-tst-initorder): Likewise.
33887 (LDFLAGS-tst-initordera2.so): Likewise.
33888 (LDFLAGS-tst-initordera3.so): Likewise.
33889 (LDFLAGS-tst-initordera4.so): Likewise.
33890 (LDFLAGS-tst-initorderb2.so): Likewise.
33891 (LDFLAGS-noload): Likewise.
33892 (LDFLAGS-next): Likewise.
33893 (LDFLAGS-order2mod1.so): Likewise.
33894 (LDFLAGS-order2mod2.so): Likewise.
33895 (LDFLAGS-tst-initorder2): Likewise.
33896 (LDFLAGS-tst-initorder2a.so): Likewise.
33897 (LDFLAGS-tst-initorder2b.so): Likewise.
33898 (LDFLAGS-tst-initorder2c.so): Likewise.
33899 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33900
d77f993f
DM
339012012-05-02 David S. Miller <davem@davemloft.net>
33902
33903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33904
171a70b4
PP
339052012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
33906
33907 [BZ #14055]
33908 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33909
0be196ad
AJ
339102012-05-02 Andreas Jaeger <aj@suse.de>
33911
33912 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33913 since we manipulate rounding mode.
33914 (CPPFLAGS-test-idouble.c): Likewise.
33915 (CPPFLAGS-test-ifloat.c): Likewise.
33916 (CFLAGS-test-ldouble.c): Likewise.
33917 (CFLAGS-test-double.c): Likewise.
33918 (CFLAGS-test-float.c): Likewise.
33919 (CFLAGS-test-misc.c): Likewise.
33920 (CFLAGS-test-test-fenv.c): Likewise.
33921
4f9d04aa
AZ
339222012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33923
2b942cb7
RM
33924 [BZ #2550]
33925 [BZ #2570]
33926 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33927 comparisons to determine direction to adjust input.
4f9d04aa 33928
82a79e7d
RM
339292012-05-01 Roland McGrath <roland@hack.frob.com>
33930
f5a01ca9
RM
33931 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33932 output to the target.
33933
90fe4186
RM
33934 * scripts/localplt.awk: New file.
33935 * elf/Makefile ($(objpfx)check-localplt): Target removed.
33936 (check-localplt-CFLAGS): Variable removed.
33937 ($(all-built-dso:=.jmprel)): New static pattern rule.
33938 (generated): Add those targets.
33939 (localplt-built-dso): New variable.
33940 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33941
33942 * elf/check-localplt.c: File removed.
33943
82397ed6
RM
33944 * scripts/check-execstack.awk: New file.
33945 * elf/Makefile ($(objpfx)check-execstack): Target removed.
33946 (check-execstack-CFLAGS): Variable removed.
33947 ($(objpfx)check-execstack.h): Target removed.
33948 ($(objpfx)execstack-default): New target.
33949 (generated): Add that instead of check-execstack.h.
33950 ($(all-built-dso:=.phdr)): New static pattern rule.
33951 (generated): Add those targets.
33952 * elf/check-execstack.c: File removed.
33953
82a79e7d
RM
33954 * scripts/check-textrel.awk: New file.
33955 * elf/Makefile ($(objpfx)check-textrel): Target removed.
33956 (check-textrel-CFLAGS): Variable removed.
33957 (all-built-dso): Use := to define.o
33958 ($(all-built-dso:=.dyn)): New static pattern rule.
33959 (generated): Add those targets.
33960 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33961 * config.make.in (READELF): New substituted variable.
33962 * elf/check-textrel.c: File removed.
33963
62fde54f 339642012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 33965
615605c9
JM
33966 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33967 allow.
33968 * conform/data/ctype.h-data [C99-based standards] (isblank):
33969 Expect function.
33970 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33971 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33972 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33973 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33974 Specify type. Require positive value.
33975 (EILSEQ): Likewise.
33976 (ERANGE): Likewise.
33977 [ISO || POSIX] (EILSEQ): Do not expect.
33978 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33979 Specify type. Require positive value.
33980 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33981 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33982 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33983 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33984 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33985 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33986 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33987 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33988 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33989 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33990 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33991 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33992 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33993 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33994 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33995 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33996 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33997 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33998 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33999 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
34000 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
34001 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
34002 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
34003 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
34004 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
34005 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
34006 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
34007 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
34008 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
34009 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
34010 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
34011 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
34012 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34013 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34014 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34015 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34016 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34017 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34018 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34019 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34020 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34021 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34022 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34023 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34024 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34025 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34026 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34027 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34028 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34029 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34030 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34031 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34032 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34033 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34034 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34035 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34036 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34037 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34038 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34039 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34040 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34041 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34042 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34043 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34044 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34045 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34046 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34047 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34048 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34049 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34050 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34051 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34052 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34053 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34054 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34055 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34056 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34057 Require >= 2.
34058 (FLT_ROUNDS): Expect as macro, not constant.
34059 (FLT_MANT_DIG): Use macro-int-constant.
34060 (DBL_MANT_DIG): Likewise.
34061 (LDBL_MANT_DIG): Likewise.
34062 (FLT_DIG): Likewise.
34063 (DBL_DIG): Likewise.
34064 (LDBL_DIG): Likewise.
34065 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
34066 (DBL_MIN_EXP): Likewise.
34067 (LDBL_MIN_EXP): Likewise.
34068 (FLT_MAX_EXP): Use macro-int-constant.
34069 (DBL_MAX_EXP): Likewise.
34070 (LDBL_MAX_EXP): Likewise.
34071 (FLT_MAX_10_EXP): Likewise.
34072 (DBL_MAX_10_EXP): Likewise.
34073 (LDBL_MAX_10_EXP): Likewise.
34074 (FLT_MAX): Use macro-constant.
34075 (DBL_MAX): Likewise.
34076 (LDBL_MAX): Likewise.
34077 (FLT_EPSILON): Use macro-constant. Give upper bound.
34078 (DBL_EPSILON): Likewise.
34079 (LDBL_EPSILON): Likewise.
34080 (FLT_MIN): Likewise.
34081 (DBL_MIN): Likewise.
34082 (LDBL_MIN): Likewise.
34083 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34084 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34085 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34086 [ISO11] (FLT_HAS_SUBNORM): Likewise.
34087 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34088 [ISO11] (DBL_DECIMAL_DIG): Likewise.
34089 [ISO11] (FLT_DECIMAL_DIG): Likewise.
34090 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34091 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34092 [ISO11] (FLT_TRUE_MIN): Likewise.
34093 [ISO11] (LDBL_TRUE_MIN): Likewise.
34094 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34095 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34096 (SCHAR_MIN): Use macro-int-constant. Specify type.
34097 (SCHAR_MAX): Likewise.
34098 (UCHAR_MAX): Likewise.
34099 (CHAR_MIN): Likewise.
34100 (CHAR_MAX): Likewise.
34101 (MB_LEN_MAX): Use macro-int-constant.
34102 (SHRT_MIN): Use macro-int-constant. Specify type.
34103 (SHRT_MAX): Likewise.
34104 (USHRT_MAX): Likewise.
34105 (INT_MAX): Likewise.
34106 (INT_MIN): Use macro-int-constant. Specify type. Make upper
34107 bound negative.
34108 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
34109 bound with "U".
34110 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34111 bound with "L".
34112 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
34113 bound negative. Suffix upper bound with "L".
34114 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34115 bound with "UL".
34116 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34117 Specify type.
34118 [C99-based standards] (LLONG_MAX): Likewise.
34119 [C99-based standards] (ULLONG_MAX): Likewise.
34120 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
34121 == 0.
34122 [ISO11] (max_align_t): Require type.
34123 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34124
c9140a62
JM
34125 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34126 from $CFLAGS, without defining away __attribute__ calls.
34127 (checknamespace): Use $CFLAGS_namespace.
34128
9af0bf29
JM
34129 * conform/conformtest.pl (@keywords): Only include C99 keywords
34130 for standards based on C99 or C11.
34131
343222a2
JM
34132 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34133 Disable tests.
34134 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34135 UNIX98]: Likewise.
34136
661f8cf0
JM
34137 * conform/conformtest.pl: Handle "macro-int-constant" and test for
34138 usability of symbols in #if.
34139
ee74b9cb
JM
34140 * conform/conformtest.pl: If macro or constant types start
34141 "promoted:", expect the symbol to be of the following type
34142 promoted by the integer promotions.
62fde54f 34143
aafc49b3
JM
34144 * conform/conformtest.pl: Parse all "constant" and "macro" lines
34145 in one place. Also handle "macro-constant".
34146
fefdf574
JM
34147 * conform/conformtest.pl: Only accept expected macro values with
34148 "==". Parse all "macro" lines in one place.
34149 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34150
f2d922fe
JM
34151 * conform/conformtest.pl: Handle braced types on "constant" lines
34152 instead of handling "typed-constant".
34153 * conform/data/signal.h-data: Use "constant" instead of
34154 "typed-constant".
34155
d22956c9
JM
34156 * conform/conformtest.pl: Handle "optional-" at start of lines in
34157 one place rather than duplicating several cases. Handle each
34158 format of "macro" line with initial "optional-".
34159
028e2e38
JM
34160 * conform/conformtest.pl: Only accept expected constant or
34161 optional-constant values with "==". Parse all "constant" lines in
34162 one place. Parse all "optional-constant" lines in one place.
34163 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34164 * conform/data/fmtmsg.h-data: Likewise.
34165 * conform/data/netinet/in.h-data: Likewise.
34166 * conform/data/tar.h-data: Likewise.
34167 * conform/data/limits.h-data: Use "==" form on "constant" and
34168 "optional-constant" lines.
34169
1b8f2850
JM
34170 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34171 Use -std=c99 for XOPEN2K.
34172 (@knownproblems): Remove.
34173 (newtoken): Don't check %isknown.
34174
a05a144b
JM
34175 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34176 Do not expect macro.
34177 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34178 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34179 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34180 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34181 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34182 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34183 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34184 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34185 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34186 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34187 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34188 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34189 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34190 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34191 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34192 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34193 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34194 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34195 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34196 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34197 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34198 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34199 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34200 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34201 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34202 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34203 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34204 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34205 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34206 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34207 [XPG3] (acosh): Likewise.
34208 [XPG3] (asinh): Likewise.
34209 [XPG3] (atanh): Likewise.
34210 [XPG3] (cbrt): Likewise.
34211 [XPG3] (expm1): Likewise.
34212 [XPG3] (ilogb): Likewise.
34213 [XPG3] (log1p): Likewise.
34214 [XPG3] (logb): Likewise.
34215 [XPG3] (nextafter): Likewise.
34216 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34217 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34218 [XPG3] (remainder): Likewise.
34219 [XPG3] (rint): Likewise.
34220 [XPG3 || XPG4 || UNIX98] (round): Likewise.
34221 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34222 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34223 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34224 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34225 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34226 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34227 [UNIX98 || XOPEN2K] (scalb): Expect.
34228 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34229 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34230 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34231 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34232 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34233 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34234 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34235 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34236 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34237 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34238 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34239 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34240 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34241 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34242 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34243 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34244 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34245 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34246 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34247 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34248 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34249 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34250 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34251 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34252 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34253 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34254 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34255 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34256 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34257 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34258 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34259 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34260 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34261 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34262 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34263 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34264 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34265 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34266 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34267 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34268 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34269 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34270 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34271 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34272 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34273 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34274 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34275 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34276 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34277 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34278 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34279 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34280 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34281 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34282 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34283 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34284 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34285 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34286 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34287 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34288 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34289 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34290 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34291 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34292 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34293 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34294 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34295 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34296 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34297 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34298 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34299 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34300 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34301 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34302 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34303 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34304 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34305 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34306 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34307 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34308 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34309 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34310 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34311 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34312 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34313 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34314 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34315 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34316 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34317 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34318 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34319 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34320 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34321 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34322 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34323 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34324 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34325 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34326 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34327 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34328 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34329 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34330 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34331 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34332 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34333 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34334 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34335 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34336 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34337 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34338 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34339 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34340 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34341 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34342 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34343 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34344 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34345 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34346 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34347 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34348 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34349 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34350 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34351 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34352 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34353 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34354 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34355 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34356 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34357 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34358 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34359 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34360 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34361 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34362 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34363 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34364 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34365
73c5ebe3
JM
34366 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34367 _XOPEN_SOURCE_EXTENDED for XPG4.
34368
39c33b6c
JM
34369 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34370
62fde54f
JM
34371 * Makeconfig (localtime): Remove variable.
34372 (inst_localtime-file): Likewise.
34373
0741d64c
AS
343742012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34375
34376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34377 Update.
34378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34379 Update.
34380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34381 Update.
34382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34383 Update.
34384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34385 Update.
34386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34387 Update.
34388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34389 Update.
34390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34391 Update.
34392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34393 Update.
34394
7cb029ee
JM
343952012-05-01 Joseph Myers <joseph@codesourcery.com>
34396
34397 [BZ #2550]
34398 [BZ #2570]
34399 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34400 comparisons to determine direction to adjust input.
34401 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34402 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34403 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34404 Likewise.
34405 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34406 Likewise.
34407 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34408 Likewise.
34409 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34410 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34411 Likewise.
34412 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34413 Likewise.
34414 * math/libm-test.inc (nexttoward_test): Add more tests.
34415
412bd966
AS
344162012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34417
34418 [BZ #14040]
34419 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34420 in version GLIBC_2.1, not GLIBC_2.0.
34421 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34422 Likewise.
34423
9568c0c2
JM
344242012-04-30 Joseph Myers <joseph@codesourcery.com>
34425
adfbc8ac
JM
34426 [BZ #13942]
34427 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34428 (1 - x) * (1 + x).
34429 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34430 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34431 * math/libm-test.inc (acos_test): Add more tests.
34432 (asin_test): Likewise.
34433 * sysdeps/i386/fpu/libm-test-ulps: Update.
34434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34435
5ba3cc69
JM
34436 [BZ #14034]
34437 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34438 of square root.
34439 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34440 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34441 * math/libm-test.inc (acos_test_tonearest): New function.
34442 (acos_test_towardzero): Likewise.
34443 (acos_test_downward): Likewise.
34444 (acos_test_upward): Likewise.
34445 (asin_test_tonearest): Likewise.
34446 (asin_test_towardzero): Likewise.
34447 (asin_test_downward): Likewise.
34448 (asin_test_upward): Likewise.
34449 (main): Call the new functions.
34450 * sysdeps/i386/fpu/libm-test-ulps: Update.
34451 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34452
9568c0c2
JM
34453 [BZ #13884]
34454 [BZ #13924]
34455 * math/e_exp10.c: Include <float.h>.
34456 (__ieee754_exp10): Handle underflow here rather than multiplying
34457 large negative argument by M_LN10.
34458 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34459 of __ieee754_expf.
34460 * math/e_exp10l.c: Include <float.h>.
34461 (__ieee754_exp10l): Handle underflow here rather than multiplying
34462 large negative argument by M_LN10l.
34463 * math/libm-test.inc (exp10_test): Add another test. Do not allow
34464 spurious overflow exception on underflow.
34465
5ac3ea17
MP
344662012-04-29 Marek Polacek <polacek@redhat.com>
34467
34468 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34469 (__fortify_function): New macro.
34470 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34471 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34472 __extern_always_inline.
34473 * libio/bits/stdio2.h: Likewise.
34474 * libio/bits/stdio.h: Likewise.
34475 * string/string.h: Likewise.
34476 * string/bits/string3.h: Likewise.
34477 * include/stdio.h: Likewise.
34478 * stdlib/bits/stdlib.h: Likewise.
34479 * stdlib/stdlib.h: Likewise.
34480 * rt/bits/mqueue2.h: Likewise.
34481 * rt/mqueue.h: Likewise.
34482 * posix/bits/unistd.h: Likewise.
34483 * posix/unistd.h: Likewise.
34484 * io/bits/poll2.h: Likewise.
34485 * io/bits/fcntl2.h: Likewise.
34486 * io/fcntl.h: Likewise.
34487 * io/sys/poll.h: Likewise.
34488 * misc/bits/syslog.h: Likewise.
34489 * misc/bits/syslog-ldbl.h: Likewise.
34490 * misc/sys/syslog.h: Likewise.
34491 * socket/bits/socket2.h: Likewise.
34492 * socket/sys/socket.h: Likewise.
34493 * debug/tst-chk1.c: Likewise.
34494 * wcsmbs/bits/wchar2.h: Likewise.
34495 * wcsmbs/bits/wchar-ldbl.h: Likewise.
34496 * wcsmbs/wchar.h: Likewise.
34497
ecf0ebfb
AJ
344982012-04-29 Andreas Jaeger <aj@suse.de>
34499
34500 * Makerules (tests): Remove enable-check-abi protection.
34501 (check-abi-warn): Remove.
34502 (check-abi-%): Remove check-abi-warn usage.
34503
34504 * configure.in: Remove check-abi configure option.
34505 * configure: Regenerated.
34506 * config.make.in (enable-check-abi): Remove.
34507
6d5c57fa
AS
345082012-04-28 Andreas Schwab <schwab@linux-m68k.org>
34509
24c5d07e 34510 [BZ #14033]
ded5180a
AS
34511 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34512 double functions to double *_finite functions.
34513
7e0d315d
AS
34514 [BZ #13941]
34515 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34516 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34517 LDBL_MIN_EXP.
34518 * stdio-common/Makefile (tests): Add tst-sprintf3.
34519 * stdio-common/tst-sprintf3.c: New file.
34520
6d5c57fa
AS
34521 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34522 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34523
0749ff8b
JM
345242012-04-28 Joseph Myers <joseph@codesourcery.com>
34525
34526 * conform/conformtest.pl: Remove duplicate typed-constant
34527 handling.
34528
8dbd5d7b
DM
345292012-04-28 David S. Miller <davem@davemloft.net>
34530
34531 * Makerules (%.abilist): Add vpath on sysdep_dirs.
34532 (check-abi-%): Remove AWK script prerequisite and explicit
34533 abilist directory.
34534 (check-abi): Rewrite to just diff the symlist with the abilist.
34535 (config-tls, config-abi-config): Delete, no longer used.
34536 (update-abi-%): Remove AWK script and explicit abilist directory.
34537 (update-abi): Rewrite to simply compare and conditionally copy the
34538 symlist and the sysdep abilist file. Remove update-abi-config
34539 checks.
34540 * abilist/ld.abilist: Remove.
34541 * abilist/libBrokenLocale.abilist: Remove.
34542 * abilist/libanl.abilist: Remove.
34543 * abilist/libcrypt.abilist: Remove.
34544 * abilist/libdl.abilist: Remove.
34545 * abilist/librt.abilist: Remove.
34546 * abilist/libthread_db.abilist: Remove.
34547 * abilist/libutil.abilist: Remove.
34548 * scripts/extract-abilist.awk: Remove.
34549 * scripts/merge-abilist.awk: Remove.
34550 * sysdeps/generic/libcidn.abilist: New file.
34551 * sysdeps/generic/libnss_compat.abilist: New file.
34552 * sysdeps/generic/libnss_db.abilist: New file.
34553 * sysdeps/generic/libnss_dns.abilist: New file.
34554 * sysdeps/generic/libnss_files.abilist: New file.
34555 * sysdeps/generic/libnss_hesiod.abilist: New file.
34556 * sysdeps/generic/libnss_nis.abilist: New file.
34557 * sysdeps/generic/libnss_nisplus.abilist: New file.
34558 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34559 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34560 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34561 file.
34562 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34563 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34564 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34565 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34566 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34567 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34568 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34569 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34570 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34571 file.
34572 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34573 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34574 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34575 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34576 file.
34577 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34578 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34579 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34580 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34581 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34582 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34583 file.
34584 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34585 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34586 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34587 file.
34588 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34589 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34590 New file.
34591 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34592 New file.
34593 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34594 New file.
34595 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34596 New file.
34597 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34598 New file.
34599 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34600 New file.
34601 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34602 New file.
34603 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34604 New file.
34605 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34606 New file.
34607 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34608 New file.
34609 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34610 New file.
34611 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34612 New file.
34613 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34614 New file.
34615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34616 file.
34617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34618 New file.
34619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34620 New file.
34621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34622 file.
34623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34624 New file.
34625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34626 New file.
34627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34628 file.
34629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34630 New file.
34631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34632 New file.
34633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34634 New file.
34635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34636 New file.
34637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34638 New file.
34639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34640 New file.
34641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34643 file.
34644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34645 New file.
34646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34647 file.
34648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34649 file.
34650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34651 file.
34652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34653 file.
34654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34655 file.
34656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34657 New file.
34658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34659 file.
34660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34661 file.
34662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34663 New file.
34664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34665 file.
34666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34668 file.
34669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34670 New file.
34671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34672 file.
34673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34674 file.
34675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34676 file.
34677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34678 file.
34679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34680 file.
34681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34682 New file.
34683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34684 file.
34685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34686 file.
34687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34688 New file.
34689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34690 file.
34691 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34692 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34693 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34694 file.
34695 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34696 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34697 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34698 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34699 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34700 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34701 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34702 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34703 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34704 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34706 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34707 file.
34708 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34709 New file.
34710 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34711 file.
34712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34713 file.
34714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34715 file.
34716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34717 file.
34718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34719 file.
34720 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34721 New file.
34722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34723 New file.
34724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34725 file.
34726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34727 New file.
34728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34729 file.
34730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34731 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34732 file.
34733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34734 New file.
34735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34736 file.
34737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34738 file.
34739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34740 file.
34741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34742 file.
34743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34744 file.
34745 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34746 New file.
34747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34748 New file.
34749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34750 file.
34751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34752 New file.
34753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34754 file.
34755
41d73a1b
JM
347562012-04-28 Joseph Myers <joseph@codesourcery.com>
34757
34758 * conform/conformtest.pl: Fix typo in handling typed-constant from
34759 allow-header.
34760
28aeeda4
JM
347612012-04-27 Joseph Myers <joseph@codesourcery.com>
34762
adae8f5e
JM
34763 * README: Cut down references to pre-2.6 Linux kernels and
34764 Linuxthreads. Update lists of configurations in libc and ports
34765 and sort alphabetically. Say "or newer" with Linux kernel version
34766 requirements.
34767
28aeeda4
JM
34768 * config.h.in [IS_IN_build]: Allow compiling without optimization.
34769
a462cb63
RA
347702012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34771
34772 [BZ #887]
34773 * math/libm-test.inc (logb_test_downward): New test to expose
34774 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34775 rounding mode.
34776
6ad3493e
JM
347772012-04-27 Joseph Myers <joseph@codesourcery.com>
34778
34779 [BZ #14027]
34780 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34781 to be done.
34782 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34783 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34784
2ce4f015
JM
347852012-04-26 Joseph Myers <joseph@codesourcery.com>
34786
5aeb141a
JM
34787 * sysdeps/unix/i386/brk.S: Remove file.
34788 * sysdeps/unix/i386/dl-brk.S: Likewise.
34789 * sysdeps/unix/i386/pipe.S: Likewise.
34790 * sysdeps/unix/i386/sigreturn.S: Likewise.
34791 * sysdeps/unix/i386/syscall.S: Likewise.
34792 * sysdeps/unix/i386/vfork.S: Likewise.
34793 * sysdeps/unix/i386/wait.S: Likewise.
34794
7143acae
JM
34795 * sysdeps/unix/common/tcsendbrk.c: Move to ...
34796 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34797
2ce4f015
JM
34798 * configure.in (arm*-none*): Do not allow without
34799 --enable-hacker-mode.
34800 (netbsd*): Remove case setting base_os.
34801 (386bsd*): Likewise.
34802 (freebsd*): Likewise.
34803 (bsdi*): Likewise.
34804 (osf*): Likewise.
34805 (sunos*): Likewise.
34806 (ultrix*): Likewise.
34807 (newsos*): Likewise.
34808 (dynix*): Likewise.
34809 (*bsd*): Likewise.
34810 (sysv*): Likewise.
34811 (isc*): Likewise.
34812 (esix*): Likewise.
34813 (sco*): Likewise.
34814 (minix*): Likewise.
34815 (irix4*): Likewise.
34816 (irix6*): Likewise.
34817 (solaris[2-9]*): Likewise.
34818 (none): Likewise.
34819 * configure: Regenerated.
34820
0ac229c8
AZ
348212012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34822
34823 [BZ #11521]
34824 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34825 overflow or cancellation in calculating denominator.
34826 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34827 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34828 down expression to avoid unexpected rounding in newer GCCs.
34829 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34830
33f244f4
DM
348312012-04-26 David S. Miller <davem@davemloft.net>
34832
34833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34834 long-double compat symbols.
34835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34848
cfa1f3e8
DM
348492012-04-25 David S. Miller <davem@davemloft.net>
34850
34851 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34852 HWCAP_* values only after the memory barriers have been defined.
34853 (atomic_full_barrier): Define.
34854 (atomic_read_barrier): Define.
34855 (atomic_write_barrier): Define.
34856
6e236b92
SP
348572012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34858
34859 * shlib-versions: Add libgcc_s version information.
34860 * sysdeps/generic/libgcc_s.h: Remove.
34861 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34862 libgcc_s.h.
34863 * sysdeps/gnu/unwind-resume.c: Likewise.
34864 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34865
aab39a09
DM
348662012-04-25 David S. Miller <davem@davemloft.net>
34867
34868 * sysdeps/unix/sparc/brk.S: Delete.
34869 * sysdeps/unix/sparc/dl-brk.S: Delete.
34870 * sysdeps/unix/sparc/pipe.S: Delete.
34871 * sysdeps/unix/sparc/sysdep.S: Delete.
34872 * sysdeps/unix/sparc/sysdep.h: Delete.
34873 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
34874 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34875 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34876 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34877 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
34878 (JUMPTARGET): Remove.
34879 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34880 sysdeps/unix/sparc/sysdep.h
34881 (ENTRY, END): Remove.
34882 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34883
a3cc4f48
JM
348842012-04-25 Joseph Myers <joseph@codesourcery.com>
34885
2ed8cda2
JM
34886 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34887 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34888 -DIS_IN_build.
34889
35d76d59
JM
34890 * timezone/README: Update upstream location and email address for
34891 tzcode and tzdata.
34892 * timezone/zdump.c: Update from tzcode 2012b.
34893 * timezone/zic.c: Likewise.
34894
a3cc4f48
JM
34895 * configure.in (libc_cv_as_needed): Remove test.
34896 * configure: Regenerated.
34897 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34898 conditional definition.
34899 [$(have-as-needed) != yes] (no-as-needed): Likewise.
34900 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34901 * config.make.in (have-as-needed): Remove variable.
34902
ceab42c3
SP
349032012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34904 Paul Pluzhnikov <ppluzhnikov@google.com>
34905
34906 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34907 strings correctly.
34908
3ce2865f
CLT
349092012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
34910
34911 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34912 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34913 * sysdeps/sh/strlen.S: Likewise.
34914
f37e0d68
JM
349152012-04-24 Joseph Myers <joseph@codesourcery.com>
34916
ae186e9a
JM
34917 * sysdeps/unix/fork.S: Remove file.
34918 * sysdeps/unix/i386/fork.S: Likewise.
34919 * sysdeps/unix/sparc/fork.S: Likewise.
34920
b96914af
JM
34921 * sysdeps/unix/system.c: Remove file.
34922 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34923
f37e0d68
JM
34924 * sysdeps/unix/getegid.S: Remove file.
34925 * sysdeps/unix/geteuid.S: Likewise.
34926
87ef29ca
RM
349272012-04-24 Roland McGrath <roland@hack.frob.com>
34928
83bcd236
RM
34929 * scripts/check-localplt.awk: New file.
34930 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34931 of diff.
34932 * scripts/data/localplt-generic.data: Add a comment.
34933
87ef29ca
RM
34934 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34935 NODE when __dir_mkfile failed.
34936 * sysdeps/mach/hurd/symlinkat.c: Likewise.
34937 Reported by Ludovic Courtès <ludo@gnu.org>.
34938
e5a6e567
AJ
349392012-04-24 Andreas Jaeger <aj@suse.de>
34940
34941 * Makerules (common-clean): Also remove gen-as-const-headers
34942 files.
34943
c1820385
JM
349442012-04-24 Joseph Myers <joseph@codesourcery.com>
34945
34946 * Makerules (native-compile): Do not change working directory for
34947 build. Use $(OUTPUT_OPTION) in command.
34948 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34949
94e02fc4
AZ
349502012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34951
34952 [BZ #13886]
34953 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34954 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34955 * math/libm-test.inc (floor_test): Add more tests.
34956 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34957
3a533ca3
JM
349582012-04-24 Joseph Myers <joseph@codesourcery.com>
34959
940ab4b3
JM
34960 * sysdeps/unix/getdents.c: Remove file.
34961 * sysdeps/unix/sysv/getdents.c: Likewise.
34962 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34963
90e037bd
JM
34964 * sysdeps/unix/syscalls.list (madvise): Add syscall from
34965 sysdeps/unix/mman/syscalls.list.
34966 (mmap): Likewise.
34967 (mprotect): Likewise.
34968 (msync): Likewise.
34969 (munmap): Likewise.
34970 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34971 * sysdeps/unix/mman/syscalls.list: Remove.
34972 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34973
3a533ca3
JM
34974 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34975 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34976 * configure: Regenerated.
34977 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34978 $(libgcc_s_suffix).
34979 * config.make.in (libgcc_s_suffix): Remove variable.
34980
1ad743de
JM
349812012-04-23 Joseph Myers <joseph@codesourcery.com>
34982
4ad451e2
JM
34983 * sysdeps/unix/sysv/gethostname.c: Move to ...
34984 * sysdeps/posix/gethostname.c: ... here.
34985
5e37ce39
JM
34986 * sysdeps/unix/execve.S: Remove file.
34987
1ad743de
JM
34988 * sysdeps/unix/_exit.S: Remove file.
34989
4e681b5b
AJ
349902012-04-23 Andreas Jaeger <aj@suse.de>
34991
34992 [BZ #13739]
34993 * manual/Makefile: Remove make dist support, there's no
34994 need for a stand-alone documentation tar ball.
34995 (TEXI2DVI): Define always, it's not in Makeconfig.
34996 (dist): Removed.
34997 (tar-it): Removed.
34998 (edition): Removed.
34999 (glibc-doc-$(edition).tar): Removed
35000 (%.Z): Removed.
35001 (%.gz): Removed.
35002 (%.uu): Removed.
35003 (ETAGS): Remove, it's in Makeconfig.
35004 (move-if-change): Remove, it's in Makeconfig.
35005
38686a03 350062012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
35007
35008 [BZ #13970]
35009 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
35010 (strtod, strtof, strtold, strtol, strtoul, strtoq)
35011 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
35012 (strtod_l, strtof_l, strtold_l): Remove __wur.
35013 It is not necessarily an error to ignore strtol's return value.
35014 One can reliably look at the stored endptr to decide whether
35015 the number had valid syntax.
35016
7c0616fa
AJ
350172012-04-21 Andreas Jaeger <aj@suse.de>
35018
803cb6b7 35019 [BZ #13739]
7c0616fa
AJ
35020 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35021
b0fe253f
JM
350222012-04-21 Joseph Myers <joseph@codesourcery.com>
35023
35024 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35025 * sysdeps/unix/sysv/Versions: Remove file.
35026
8280f22d
MT
350272012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
35028
35029 [BZ #13927]
35030 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35031
75ce411f 350322012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
35033
35034 [BZ #7064]
35035 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35036 version from __vm86.
35037
097d59fa
JM
350382012-04-20 Joseph Myers <joseph@codesourcery.com>
35039
a90f3bcb
JM
35040 * sysdeps/unix/common/lxstat.c: Remove file.
35041 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35042
edc7ea78
JM
35043 * sysdeps/unix/sysv/Makefile: Remove file.
35044
cb78c221
JM
35045 * sysdeps/unix/sysv/direct.h: Remove file.
35046
efa6a45f
JM
35047 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35048 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35049 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35050 * sysdeps/unix/sysv/bits/signum.h: Likewise.
35051 * sysdeps/unix/sysv/bits/stat.h: Likewise.
35052 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35053 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35054
9c9f2d0c
JM
35055 * sysdeps/unix/sysv/setrlimit.c: Remove file.
35056
4541c83b
JM
35057 * sysdeps/unix/xmknod.c: Remove file.
35058 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35059
f5d153a0
JM
35060 * sysdeps/unix/sysv/settimeofday.c: Remove file.
35061
aa746595
JM
35062 * sysdeps/unix/sysv/i386/time.S: Remove file.
35063
cce5905e
JM
35064 * sysdeps/unix/fxstat.c: Remove file.
35065 * sysdeps/unix/xstat.c: Likewise.
35066 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35067
37fa3841
JM
35068 * sysdeps/unix/sysv/sigaction.c: Remove file.
35069
ff1962a3
JM
35070 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35071 (sysdep_headers): Remove variable.
35072 [termio.h not in sysdep_headers] (generated): Likewise.
35073 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35074 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35075 * sysdeps/unix/sysv/tcdrain.c: Likewise.
35076 * sysdeps/unix/sysv/tcflow.c: Likewise.
35077 * sysdeps/unix/sysv/tcflush.c: Likewise.
35078 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35079 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35080 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35081 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35082 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35083
e7740d31
JM
35084 * sysdeps/unix/siglist.c: Remove file.
35085
ee06f18b
JM
35086 * sysdeps/unix/getppid.S: Remove file.
35087
097d59fa
JM
35088 * sysdeps/unix/mkdir.c: Remove file.
35089 * sysdeps/unix/rmdir.c: Likewise.
35090
ff3d51ec
AS
350912012-04-19 Andreas Schwab <schwab@linux-m68k.org>
35092
35093 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35094 ERR_MAX value.
35095 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35096 errlist-compat value.
35097
50f81fd7
DM
350982012-04-18 David S. Miller <davem@davemloft.net>
35099
35100 * sysdeps/generic/memcopy.h (reg_char): Delete.
35101 * debug/strcat_chk.c: Use char, not reg_char.
35102 * debug/strcpy_chk.c: Likewise.
35103 * debug/strncat_chk.c: Likewise.
35104 * debug/strncpy_chk.c: Likewise.
35105 * string/memchr.c: Likewise.
35106 * string/memrchr.c: Likewise.
35107 * string/rawmemchr.c: Likewise.
35108 * string/strcat.c: Likewise.
35109 * string/strchr.c: Likewise.
35110 * string/strchrnul.c: Likewise.
35111 * string/strcmp.c: Likewise.
35112 * string/strcpy.c: Likewise.
35113 * string/strncat.c: Likewise.
35114 * string/strncmp.c: Likewise.
35115 * string/strncpy.c: Likewise.
35116
8ff41c46
WS
351172012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35118
35119 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35120 __builtin_memcopy is called when src and dest ranges are known to not
35121 overlap.
35122
6b652f46
WS
351232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35124
35125 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35126 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35127 fwd_align_merge macro call.
35128 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35129 bwd_align_merge macro call.
35130 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35131
b282631e
WS
351322012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35133
35134 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35135 bwd_align_merge macros.
35136 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35137 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35138 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35139
95aa737c
DM
351402012-04-18 David S. Miller <davem@davemloft.net>
35141
35142 * sysdeps/sparc/sparc64/memcopy.h: Delete.
35143
7a99a614
AJ
351442012-04-18 Andreas Jaeger <aj@suse.de>
35145
35146 [BZ# 6794]
35147 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35148 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35149 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35150
35151 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35152 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35153 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35154
35155 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35156 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35157 Adjust for changed ldbl-128 files.
35158
35159 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35160 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35161 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35162
e5270c23
DM
351632012-04-17 David S. Miller <davem@davemloft.net>
35164
35165 * sysdeps/sparc/sparc32/memcopy.h: Delete.
35166
fb5e92c9
AS
351672012-04-17 Andreas Schwab <schwab@linux-m68k.org>
35168
35169 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35170 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35171 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35172 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35173 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35174 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35175
76da7265
AZ
351762012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35177
35178 [BZ #6794]
35179 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35180 * math/libm-test.inc: Add ilogb errno and exception tests.
35181 * math/w_ilogb.c: New file: ilogb wrapper.
35182 * math/w_ilogbf.c: New file: ilogbf wrapper.
35183 * math/w_ilogbl.c: New file: ilogbl wrapper.
35184 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35185 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35186 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35187 exception being thrown with 0.0 as argument.
35188 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35189 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35190 exception being thrown with 0.0 as argument.
35191 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35192 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35193 exception being thrown with 0.0 as argument.
35194 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35195 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35196 exception being thrown with 0.0 as argument.
35197 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35198 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 35199 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
35200 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35201 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35202 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35203 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35204 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35205 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35206
0396e69d
PB
352072012-04-17 Petr Baudis <pasky@ucw.cz>
35208
35209 * include/sys/uio.h: Change __vector to __iovec to avoid clash
35210 with altivec.
35211
750b5926
MP
352122012-04-16 Marek Polacek <polacek@redhat.com>
35213
35214 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35215
751728a1
MP
352162012-04-16 Marek Polacek <polacek@redhat.com>
35217
35218 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35219 operands of fdivp instruction.
35220
34a27407
L
352212012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35222
35223 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35224 * elf/tst-auditmod3b.c: Likewise.
35225 * elf/tst-auditmod4b.c: Likewise.
35226 * elf/tst-auditmod5b.c: Likewise.
35227 * elf/tst-auditmod6b.c: Likewise.
35228 * elf/tst-auditmod6c.c: Likewise.
35229 * elf/tst-auditmod7b.c: Likewise.
35230 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35231 * sysdeps/x86_64/preconfigure.in: Likewise.
35232 * sysdeps/x86_64/preconfigure: Regenerated.
35233
7e73e17d
L
352342012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35235
35236 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35237 __ILP32__.
35238
c7a6ab72
AB
352392012-04-13 Antoine Balestrat <merkil33@gmail.com>
35240
35241 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35242 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35243
a9e8e0e0
CL
352442012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
35245
35246 [BZ #13973]
35247 * locale/iso-639.def: Fix gl language name. Spotted by
35248 Yaron Shahrabani.
35249
ec98af7d
RM
352502012-04-12 Roland McGrath <roland@hack.frob.com>
35251
35252 [BZ #2074]
35253 * libio/libio.h (__io_write_fn): Update comment.
35254
247c3ede
PB
352552012-04-12 Petr Baudis <pasky@ucw.cz>
35256
35257 [BZ #2074]
35258 * stdio.texi (Hook Functions): The user provided writer function
35259 is not allowed to return -1.
35260
55939d6d
DM
352612012-04-11 David S. Miller <davem@davemloft.net>
35262
35263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35264
90020f5a
MF
352652012-04-11 Mike Frysinger <vapier@gentoo.org>
35266
35267 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35268 Add a leading slash to rtkaio.
35269
288f9098
JM
352702012-04-11 Jim Meyering <meyering@redhat.com>
35271
90020f5a
MF
35272 [BZ #11959]
35273 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35274 It is not necessarily an error to ignore fwrite's return
35275 value. One can reliably use ferror to test for errors after
35276 the fact.
288f9098 35277
4be2b570
L
352782012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35279
35280 * bits/types.h (__snseconds_t): New type.
35281 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35282
35283 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35284 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35285 (__SNSECONDS_T_TYPE): Likewise.
35286 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35287 (__SNSECONDS_T_TYPE): Likewise.
35288 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35289 (__SNSECONDS_T_TYPE): Likewise.
35290
288f9098 352912012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
35292
35293 [BZ #2636]
35294 * manual/time.texi (Processor Time): Return type of times is
35295 elapsed real time since an arbitrary point in the past.
35296 (CPU Time): Move CLK_TCK from here...
35297 (Processor Time): ...to here. Correct description.
35298 * manual/conf.texi (Constants for Sysconf): Correct description of
35299 _SC_CLK_TCK.
35300
d7dd4413
DM
353012012-04-10 David S. Miller <davem@davemloft.net>
35302
35303 [BZ #13967]
35304 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35305 where the is a gap between DT_REL(A) and DT_JMPREL.
35306
b46068fc
L
353072012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35308
35309 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35310 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35311 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35312
73d65cc3
SP
353132012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35314
35315 * elf/dl-support.c (_dl_inhibit_cache): New variable.
35316 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35317 (dl_main): Handle --inhibit-cache.
35318 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35319 _dl_inhibit_cache.
35320 * elf/dl-load.c (_dl_map_object): Use it.
35321 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35322
bcc8d661
JM
353232012-04-09 Joseph Myers <joseph@codesourcery.com>
35324
8f9a2fae
JM
35325 [BZ #13872]
35326 * sysdeps/i386/fpu/e_powl.S (p78): New object.
35327 (__ieee754_powl): Saturate large exponents rather than testing for
35328 overflow of y*log2(x).
35329 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35330 * math/libm-test.inc (pow_test): Do not permit spurious overflow
35331 exceptions.
35332
bcc8d661
JM
35333 [BZ #11521]
35334 * math/s_ctan.c: Include <float.h>.
35335 (__ctan): Avoid internal overflow or cancellation in calculating
35336 denominator.
35337 * math/s_ctanf.c: Likewise.
35338 * math/s_ctanl.c: Likewise.
35339 * math/s_ctanh.c: Likewise.
35340 * math/s_ctanhf.c: Likewise.
35341 * math/s_ctanhl.c: Likewise.
35342 * math/libm-test.inc (ctan_test): Add more tests.
35343 (ctanh_test): Likewise.
35344 * sysdeps/i386/fpu/libm-test-ulps: Update.
35345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35346
823fbbb4
AJ
353472012-04-09 Andreas Jaeger <aj@suse.de>
35348
03879793
AJ
35349 [BZ #6894]
35350 * manual/filesys.texi (Directory Entries): Mention that d_namlen
35351 is an optional BSD extension.
35352
823fbbb4
AJ
35353 [BZ #10254]
35354 * manual/stdio.texi (Opening Streams): Document additional fopen
35355 parameters.
35356
8de131cb
RM
353572012-04-09 Roland McGrath <roland@hack.frob.com>
35358
35359 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35360 %eax without telling the compiler.
35361
c0ed9d7d
CD
353622012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
35363
35364 [BZ # 13963]
35365 * manual/install.texi: Use sourceware.org.
35366
c483f6b4
JM
353672012-04-09 Joseph Myers <joseph@codesourcery.com>
35368
d7dd9453
JM
35369 [BZ #13873]
35370 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35371 (__ieee754_pow): Generate overflow and underflow using huge*huge
35372 and tiny*tiny rather than just returning constant infinity or zero
35373 for large exponents.
35374 * math/libm-test.inc (pow_test): Require overflow exceptions for
35375 applicable cases of large exponents.
35376
c483f6b4
JM
35377 [BZ #706]
35378 * sysdeps/i386/fpu/e_pow.S (p10): New object.
35379 (__ieee754_pow): Use iterative multiplication algorithm only for
35380 integer exponents with absolute value below 1024. Check for odd
35381 integer exponents when using algorithm for real exponents.
35382 * math/libm-test.inc (pow_test): Add more tests.
35383 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35384
d2de7579
JM
353852012-04-08 Joseph Myers <joseph@codesourcery.com>
35386
35387 [BZ #13705]
35388 * math/libm-test.inc (exp_test): Do not allow overflow exception
35389 on underflow test.
35390
f77f1232
AJ
353912012-04-08 Aurelien Jarno <aurelien@aurel32.net>
35392
35393 [BZ #13705]
35394 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35395 instead of __kernel_standard_f.
35396
3884932b
MF
353972012-04-08 Mike Frysinger <vapier@gentoo.org>
35398
35399 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35400 * sysdeps/x86_64/memset_chk.S: Likewise.
35401
54472e9c
AJ
354022012-04-08 Andreas Jaeger <aj@suse.de>
35403
6ab0fbfc
AJ
35404 [BZ #10153]
35405 * manual/startup.texi (Environment Access): Describe return value
35406 for putenv and setenv.
35407
61efba8c
AJ
35408 [BZ #6895]
35409 * manual/filesys.texi (Directory Entries): Add description for
35410 DT_LNK.
35411
95c3f29a
AJ
35412 [BZ #6890]
35413 * manual/filesys.texi (Directory Entries): Clarify that it's file
35414 system not operating system in the description of DT_UNKNOWN.
35415
54472e9c
AJ
35416 [BZ #6578]
35417 * manual/syslog.texi (closelog): Fix reference, it's openlog.
35418
624254b1
SC
354192012-04-08 Stephen Compall <s11@member.fsf.org>
35420
35421 [BZ #6649]
35422 * manual/llio.texi (Opening and Closing Files): Add cross
35423 reference to explain mode argument.
35424
1e4920e0
MF
354252012-04-07 Mike Frysinger <vapier@gentoo.org>
35426
35427 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35428 * sysdeps/x86_64/memset_chk.S: Likewise.
35429
5ed848f3
DM
354302012-04-07 David S. Miller <davem@davemloft.net>
35431
35432 * elf/elf.h (R_SPARC_WDISP10): Define.
35433 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35434 R_SPARC_SIZE32.
35435 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35436 R_SPARC_SIZE64 and R_SPARC_H34.
35437
96154cd8
CD
354382012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
35439
35440 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35441 conditions and remove no longer applicable assertion.
35442
9904dc47
L
354432012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35444
35445 * bits/byteswap.h: Include <features.h>.
35446 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35447 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35448
f8887d0a
L
354492012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35450
35451 * bits/byteswap.h (__bswap_16): Removed.
35452 Include <bits/byteswap-16.h> to get __bswap_16.
35453 * sysdeps/i386/bits/byteswap.h: Likewise.
35454 * sysdeps/s390/bits/byteswap.h: Likewise.
35455 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35456 * bits/byteswap-16.h: New file.
35457 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35458 * sysdeps/s390/bits/byteswap-16.h: Likewise.
35459 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35460 * string/Makefile (headers): Add bits/byteswap-16.h.
35461
62470f60
PP
354622012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35463
35464 [BZ #13895]
35465 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35466 extra indirection.
35467 * nss/Makefile (tests-static, tests): Add tst-nss-static.
35468 * nss/tst-nss-static.c: New.
35469
4dad7bab
RM
354702012-04-06 Robert Millan <rmh@gnu.org>
35471
35472 [BZ #6486]
35473 * manual/llio.texi (File Position Primitive): lseek
35474 refers to WHENCE when it really means OFFSET.
35475
e9142a17
AJ
354762012-04-06 Andreas Jaeger <aj@suse.de>
35477
2c040eff
AJ
35478 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35479 strncmp declarations.
35480
e9142a17
AJ
35481 * abilist/libc.abilist: Add __poll and __ppoll.
35482
ff9f1c5f
DM
354832012-04-05 David S. Miller <davem@davemloft.net>
35484
dcd2ae90
DM
35485 * scripts/check-local-headers.sh: Accept a host triplet in the
35486 path matched by the exclude regexp.
35487
993eb054
DM
35488 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35489 definition.
35490 * sysdeps/powerpc/powerpc32/dl-machine.h
35491 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35492 * sysdeps/s390/s390-32/dl-machine.h
35493 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35494 * sysdeps/sparc/sparc32/dl-machine.h
35495 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35496 * sysdeps/sparc/sparc64/dl-machine.h
35497 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35498
ff9f1c5f
DM
35499 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35500 lazy binding.
48e2e132 35501 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
35502 undefined symbol errors.
35503
48e2e132 35504 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
35505 DT_NEEDED entries.
35506
e80d6f94
MM
355072012-04-05 Michael Matz <matz@suse.de>
35508
35509 [BZ #13592]
35510 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35511
349fa79f
AJ
355122012-04-05 Andreas Jaeger <aj@suse.de>
35513
35514 [BZ #13908]
35515 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35516 comment.
35517
f402708f
KK
355182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35519
35520 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35521 which ROUND is no valid rounding mode.
35522
2ecccfc9
KK
355232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35524
35525 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35526 read again.
35527 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35528
8a53f50f
KK
355292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35530
35531 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35532 an exception using FPU order intentionally.
35533
355342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35535
35536 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35537 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35538 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35539 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35540
d653abb7
SJ
355412012-04-05 Simon Josefsson <simon@josefsson.org>
35542
35543 [BZ #12340]
35544 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35545 EINVAL when BUFLEN is too smal.
35546
c3b1bf7d
TS
355472012-04-05 Thomas Schwinge <thomas@codesourcery.com>
35548
35549 [BZ #13553]
35550 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35551 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35552
b1aa60f3
AJ
355532012-04-03 Andreas Jaeger <aj@suse.de>
35554
c3b1bf7d 35555 [BZ #13938]
67f60a26
AJ
35556 * manual/setjmp.texi (System V contexts): Fix sentence.
35557
b1aa60f3
AJ
35558 [BZ #13926]
35559 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35560 New macro for this case.
35561 [!__GNUC__] (__bswap_64): New inline function for this case.
35562 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35563 * bits/byteswap.h: Likewise.
35564 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35565 ull, guard with __GLIBC_HAVE_LONG_LONG.
35566
35567 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35568 __GLIBC_HAVE_LONG_LONG.
35569
35570 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35571 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35572
39c59c35
TMQMF
355732012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35574
35575 [BZ #13691]
35576 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35577 inptr and inend, rather than using last_ch.
35578
135ffda8
DM
355792012-04-02 David S. Miller <davem@davemloft.net>
35580
35581 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35582 * stdio-common/printf-parse.h (read_int): Change return type to
35583 'int', return -1 on INT_MAX overflow.
35584 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35585 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
35586 overflows INT_MAX. Check for overflow of in-format-string precision
35587 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
35588 SIZE_MAX not INT_MAX for integer overflow test.
35589 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35590 skip the construct in the format string but do not record anything.
35591 * stdio-common/bug22.c: Adjust to test both width/prevision
35592 INT_MAX overflow as well as total length INT_MAX overflow. Check
35593 explicitly for proper errno values.
35594
228c019e
TS
355952012-04-02 Thomas Schwinge <thomas@codesourcery.com>
35596
302cadd3
TS
35597 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35598 CHAR_MAX.
35599 * string/test-strcmp.c [! WIDE]: Likewise.
35600 * time/tst-mktime2.c: Likewise for INT_MAX.
35601 * string/test-string.h: #include <sys/param.h> for MIN.
35602
228c019e
TS
35603 * csu/init-first.c (__libc_init_first): Call __ctype_init.
35604 * sysdeps/i386/init-first.c (init): Likewise.
35605 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35606 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35607 * sysdeps/sh/init-first.c (init): Likewise.
35608
cfa633f5
UD
356092012-04-01 Ulrich Drepper <drepper@gmail.com>
35610
35611 * po/ru.po: Update from translation team.
d1635ef8 35612 * po/vi.po: Likewise.
cfa633f5 35613
6cd0a5ea
SP
356142012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35615
35616 * resolv/nss_dns/dns-host.c: Merge copyright years.
35617
4b43400f
LD
356182012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35619
35620 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35621 Optimize memcpy with prefetch if
35622 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
35623 src, dst pointers have unequal 16 byte alignments.
35624
48c41d04
SP
356252012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35626
35627 [BZ #13928]
35628 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35629 from a CNAME entry and return the minimum ttl for the query.
35630 (gaih_getanswer_slice): Likewise.
35631
b8dc394d
JL
356322012-03-30 Jeff Law <law@redhat.com>
35633
35634 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35635 due to long keys.
35636 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35637 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35638
2f5a5ed0
JL
35639 * resolv/nss_dns/dns-host.c: Update copyright year.
35640
1d39e359
UD
356412012-03-30 Ulrich Drepper <drepper@gmail.com>
35642
c030f70c 35643 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 35644 requests to save a system call. Fix check that all bytes are sent.
c030f70c 35645
1d39e359
UD
35646 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35647 comments for sendmmsg.
35648
356492012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
35650
35651 [BZ #13691]
35652 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35653 with only 1 character between 0x0041 and 0x01b0.
35654 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35655 * wcsmbs/tst-mbsnrtowcs.c: New file.
35656
20fde227
DM
356572012-03-29 David S. Miller <davem@davemloft.net>
35658
35659 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35660 small copies by hand.
35661
984a4237
JL
356622012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35663
35664 [BZ #13761]
57f41c40
AS
35665 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35666 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35667 group memberships.
984a4237 35668
18c9d62b
DM
356692012-03-28 David S. Miller <davem@davemloft.net>
35670
88d85d4f
DM
35671 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35672 that branches into memcpy.
35673 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35674 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35675 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35676 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35677 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35678 bits.
35679 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35680 implementation too.
35681 * sysdeps/sparc/mempcpy.S: New file.
35682
e5aa83e1
DM
35683 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35684 the IFUNC routine in the libc case.
35685 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35686
88570753
DM
35687 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35688 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35689 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35690 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35691 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35692 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35693 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35694 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35695
249d7567
DM
35696 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35697 loop to 256 bytes instead of 64 bytes and fix test signedness.
35698
18c9d62b
DM
35699 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35700 * sysdeps/sparc/sparc32/Makefile: rather than here...
35701 * sysdeps/sparc/sparc64/Makefile: and here.
35702
05f3d1f6
UD
357032012-03-28 Ulrich Drepper <drepper@gmail.com>
35704
35705 * malloc/mallocbug.c: Avoid warnings about unused variables.
35706
86ae07a8
JL
357072012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35708
35709 [BZ #13760]
35710 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35711 in the right place. Discard and retry query if response is
35712 larger than input buffer size.
35713
41bf21a1
JM
357142012-03-28 Joseph Myers <joseph@codesourcery.com>
35715
d6270972
JM
35716 [BZ #369]
35717 [BZ #2678]
35718 [BZ #3866]
35719 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35720 x for large integer exponent.
35721 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35722 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
35723 sign of result as needed afterwards.
35724 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35725 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35726 result for underflowing pow the same as for overflow.
35727 (__kernel_standard_l): Handle powl overflow and underflow here
35728 rather than calling __kernel_standard.
35729 * math/libm-test.inc (pow_test): Add more tests.
35730
414fca03 35731 [BZ #3868]
41bf21a1
JM
35732 [BZ #13879]
35733 [BZ #13910]
35734 [BZ #13911]
35735 [BZ #13912]
35736 [BZ #13913]
35737 [BZ #13915]
35738 [BZ #13916]
35739 [BZ #13917]
35740 [BZ #13918]
35741 [BZ #13919]
35742 [BZ #13920]
35743 [BZ #13921]
35744 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35745 * sysdeps/ieee754/k_standard.c: Include <float.h>.
35746 (__kernel_standard_l): New function.
35747 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35748 __kernel_standard.
35749 * math/w_acosl.c (__acosl): Likewise.
35750 * math/w_asinl.c (__asinl): Likewise.
35751 * math/w_atan2l.c (__atan2l): Likewise.
35752 * math/w_atanhl.c (__atanhl): Likewise.
35753 * math/w_coshl.c (__coshl): Likewise.
35754 * math/w_exp10l.c (__exp10l): Likewise.
35755 * math/w_exp2l.c (__exp2l): Likewise.
35756 * math/w_fmodl.c (__fmodl): Likewise.
35757 * math/w_hypotl.c (__hypotl): Likewise.
35758 * math/w_j0l.c (__j0l, __y0l): Likewise.
35759 * math/w_j1l.c (__j1l, __y1l): Likewise.
35760 * math/w_jnl.c (__jnl, __ynl): Likewise.
35761 * math/w_lgammal.c (__lgammal): Likewise.
35762 * math/w_log10l.c (__log10l): Likewise.
35763 * math/w_log2l.c (__log2l): Likewise.
35764 * math/w_logl.c (__logl): Likewise.
35765 * math/w_powl.c (__powl): Likewise.
35766 * math/w_remainderl.c (__remainderl): Likewise.
35767 * math/w_scalbl.c (sysv_scalbl): Likewise.
35768 * math/w_sinhl.c (__sinhl): Likewise.
35769 * math/w_sqrtl.c (__sqrtl): Likewise.
35770 * math/w_tgammal.c (__tgammal): Likewise.
35771 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35772 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35773 * math/libm-test.inc (acos_test): Add more tests.
35774 (acosh_test): Likewise.
35775 (asin_test): Likewise.
35776 (atanh_test): Likewise.
35777 (exp_test): Likewise.
35778 (exp10_test): Likewise.
35779 (exp2_test): Likewise.
35780 (expm1_test): Likewise.
35781 (lgamma_test): Likewise.
35782 (log_test): Likewise.
35783 (log10_test): Likewise.
35784 (log1p_test): Likewise.
35785 (log2_test): Likewise.
35786 (pow_test): Do not allow some spurious overflow exceptions.
35787 (sqrt_test): Add more tests.
35788 (tgamma_test): Likewise.
35789 (y0_test): Likewise.
35790 (y1_test): Likewise.
35791 (yn_test): Likewise.
35792
dd62fda6
AB
357932012-03-27 Anton Blanchard <anton@samba.org>
35794
35795 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35796 MAP_HUGETLB.
35797 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35798 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35799 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35800
1e3cdfda
AJ
358012012-03-27 David S. Miller <davem@davemloft.net>
35802
b855ab85
DM
35803 * conform/Makefile: Run run-conformtest.sh using $(BASH).
35804
1e3cdfda
AJ
35805 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35806 have-as-vis3 check.
35807
358082012-03-27 Andreas Jaeger <aj@suse.de>
35809
35810 * sysdeps/x86_64/elf/configure.in: Moved to ...
35811 * sysdeps/x86_64/configure.in: ... here.
35812 * sysdeps/x86_64/elf/start.S: Moved to ...
35813 * sysdeps/x86_64/start.S: ... here.
35814 * sysdeps/x86_64/elf/configure: Delete.
35815
35816 * sysdeps/x86_64/configure.in: Merge contents from
35817 sysdeps/i386/configure.in (without i686 check).
35818
35819 * sysdeps/i386/elf/Versions: Merge into ...
35820 * sysdeps/i386/Versions: ... this.
35821 * sysdeps/i386/elf/Versions: Delete file.
35822 * sysdeps/i386/elf/start.S: Moved to ...
35823 * sysdeps/i386/start.S: ...here.
35824 * sysdeps/i386/elf/configure.in: Merge into...
35825 * sysdeps/i386/configure.in: ...here.
35826 * sysdeps/i386/elf/configure.in: Delete file.
35827 * sysdeps/i386/elf/configure: Delete file.
35828
35829 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35830 * debug/backtracesyms.c: ... here.
35831 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35832 * debug/backtracesymsfd.c: ... here.
35833 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35834 * sysdeps/generic/ifunc-sel.h: ... here.
35835
35836 * sysdeps/unix/i386/start.c: Delete file.
35837 * sysdeps/unix/sparc/start.c: Delete file.
35838 * sysdeps/unix/start.c: Delete file.
35839
35840 * sysdeps/sh/elf/configure.in: Moved to ...
35841 * sysdeps/sh/configure.in: ... here.
35842 * sysdeps/sh/elf/start.S: Moved to ...
35843 * sysdeps/sh/start.S: ... here.
35844 * sysdeps/sh/elf/configure: Delete file.
35845
35846 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35847 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35848 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35849 * sysdeps/powerpc/powerpc64/entry.h: ... here.
35850 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35851 * sysdeps/powerpc/powerpc64/start.S: here.
35852 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35853 * sysdeps/powerpc/powerpc64/Makefile: ... this.
35854 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35855 * sysdeps/powerpc/powerpc64/configure.in: ... this.
35856 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35857
35858 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35859 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35860 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35861 * sysdeps/powerpc/powerpc32/start.S: ... here.
35862 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35863 * sysdeps/powerpc/powerpc32/configure.in: ... this.
35864 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35865
35866 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35867 * sysdeps/powerpc/ifunc-sel.h: ... here.
35868 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35869 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35870
35871 * sysdeps/sparc/elf/configure.in: Moved to ...
35872 * sysdeps/sparc/configure.in: ... here.
35873 * sysdeps/sparc/elf/configure: Delete file.
35874 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35875 * sysdeps/sparc/sparc32/start.S: ... here.
35876 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35877 * sysdeps/sparc/sparc64/start.S: ... here.
35878 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35879 * sysdeps/sparc/sparc32/Makefile: ... this.
35880 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35881 * sysdeps/sparc/sparc64/Makefile: ... this.
35882
35883 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35884 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35885 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35886 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35887 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35888 * sysdeps/s390/s390-32/setjmp.S: ... here.
35889 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35890 * sysdeps/s390/s390-32/configure.in: ... here.
35891 * sysdeps/s390/s390-32/elf/configure: Delete file.
35892 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35893 * sysdeps/s390/s390-32/start.S: ... here.
35894
35895 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35896 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35897 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35898 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35899 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35900 * sysdeps/s390/s390-64/setjmp.S: ... here.
35901 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35902 * sysdeps/s390/s390-64/configure.in: ... here
35903 * sysdeps/s390/s390-64/elf/configure: Delete file.
35904 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35905 * sysdeps/s390/s390-64/start.S: ... here.
35906 * sysdeps/s390/s390-64/elf/configure: Delete.
35907
35908 * configure.in: Remove support for elf directories in sysdeps.
35909
35910 * configure: Regenerated.
35911 * sysdeps/i386/configure: Regenerated.
35912 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35913 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35914 * sysdeps/s390/s390-32/configure: Regenerated.
35915 * sysdeps/s390/s390-64/configure: Regenerated.
35916 * sysdeps/sh/configure: Regenerated.
35917 * sysdeps/sparc/configure: Regenerated.
35918 * sysdeps/x86_64/configure: Regenerated.
35919
a3f61311
AS
359202012-03-26 Andreas Schwab <schwab@linux-m68k.org>
35921
c876e002
AS
35922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35923
a3f61311
AS
35924 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35925 denormal result into account.
35926
ac4c54f0
RM
359272012-03-25 Roland McGrath <roland@hack.frob.com>
35928
35929 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35930 Reported by Allan McRae <allan@archlinux.org>.
35931
6a9b9c02
JL
359322012-03-23 Jeff Law <law@redhat.com>
35933
35934 * nss/getnssent.c (__nss_getent): Fix typo.
35935
4c42a0c1
DM
359362012-03-23 David S. Miller <davem@davemloft.net>
35937
35938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35939
1532c7ac
L
359402012-03-23 H.J. Lu <hongjiu.lu@intel.com>
35941
35942 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35943 to pad to uint64_t for each field.
35944 (dl_tls_index): Replace unsigned long with uint64_t.
35945
3ff42526
PP
359462012-03-23 Daniel Jacobowitz <dmj@google.com>
35947 Paul Pluzhnikov <ppluzhnikov@google.com>
35948
35949 [BZ #6528]
35950 * grp/Makefile (otherlibs): Don't set it.
35951 * inet/Makefile (otherlibs): Likewise.
35952 * login/Makefile (otherlibs): Likewise.
35953 * nscd/Makefile (otherlibs): Likewise.
35954 * posix/Makefile (otherlibs): Likewise.
35955 * pwd/Makefile (otherlibs): Likewise.
35956 * rt/Makefile (otherlibs): Likewise.
35957 * sunrpc/Makefile (otherlibs): Likewise.
35958 * nss/Makefile (otherlibs): Likewise.
35959 Add libnss_files to routines and static-only-routines.
35960 ($(objpfx)getent): Remove rule.
35961 * resolv/Makefile: Add libnss_dns and libresolv to routines and
35962 static-only-routines.
35963
7c69cd14
JM
359642012-03-22 Joseph Myers <joseph@codesourcery.com>
35965
35966 [BZ #13892]
35967 * math/s_cexp.c: Include <float.h>.
35968 (__cexp): Handle exp result overflowing not necessarily
35969 overflowing both real and imaginary parts of result.
35970 * math/s_cexpf.c: Likewise.
35971 * math/s_cexpl.c: Likewise.
35972 * math/libm-test.inc (cexp_test): Add more tests.
35973 * sysdeps/i386/fpu/libm-test-ulps: Update.
35974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35975
81b035fe
L
359762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35977
35978 * include/link.h (ELFW): New macro.
35979 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35980 Replace ELF64_R_TYPE with ELFW(R_TYPE).
35981
1da7940c
L
359822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35983
35984 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35985 with uint64_t.
35986
b749dbb9
L
359872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35988
35989 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35990 declaration.
35991 (struct La_x32_retval): Likewise.
35992
2ff87f3f
L
359932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35994
35995 * sysdeps/x86_64/preconfigure.in: New file.
35996 * sysdeps/x86_64/preconfigure: New generated file.
35997
c0df8e69
JM
359982012-03-22 Joseph Myers <joseph@codesourcery.com>
35999
48e44791
JM
36000 [BZ #13824]
36001 * math/e_exp2l.c: Include <float.h>.
36002 (__ieee754_exp2l): Handle overflow and underflow cases
36003 separately. Only pass fractional part of argument to
36004 __ieee754_expl.
36005 * math/libm-test.inc (exp2_test): Add more tests.
36006
c0df8e69
JM
36007 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
36008 negating x to take absolute value.
36009 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36010 Likewise.
36011 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36012 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36013 Likewise.
36014 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36015 computing low part if x was negated.
36016 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36017
c8e43ba7
L
360182012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36019
36020 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36021 la_x32_gnu_pltexit.
36022 (pltexit): Cast int_retval to ptrdiff_t.
36023 * elf/tst-auditmod3b.c: Likewise.
36024 * elf/tst-auditmod4b.c: Likewise.
36025 * elf/tst-auditmod5b.c: Likewise.
36026 * elf/tst-auditmod6b.c: Likewise.
36027 * elf/tst-auditmod6c.c: Likewise.
36028 * elf/tst-auditmod7b.c: Likewise.
36029
36030 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36031 and x32_gnu_pltexit.
36032
36033 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36034 __ELF_NATIVE_CLASS.
36035 (La_x32_regs): New macro.
36036 (La_x32_retval): Likewise.
36037 (la_x32_gnu_pltenter): New function prototype.
36038 (la_x32_gnu_pltexit): Likewise.
36039
7998fa78
AS
360402012-03-21 Andreas Schwab <schwab@linux-m68k.org>
36041
dcb33988
AS
36042 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36043 exponent.
36044
233fc563
AS
36045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36046
7998fa78
AS
36047 * configure.in (libc_cv_cc_nofma): Check for option to disable
36048 generation of FMA instructions.
36049 * configure: Regenerate.
36050 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36051 * sysdeps/ieee754/dbl-64/Makefile: New file.
36052 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36053 Remove brandred-fma4.
36054 (CFLAGS-brandred-fma4.c): Remove.
36055 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36056 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36057 define.
36058 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36059 define.
36060
8e95c99a
L
360612012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36062
36063 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36064 LLONG_MAX != LONG_MAX.
36065 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36066 (_fitoa_word): Likewise.
36067 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36068 LLONG_MAX != LONG_MAX.
36069 * stdio-common/_itowa.h: Include <_itoa.h>.
36070 (_itowa_word): Use _ITOA_WORD_TYPE on value.
36071 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
36072 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
36073 only if not defined.
36074 (_ITOA_WORD_TYPE): Likewise.
36075 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36076 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36077
6f4db457
DM
360782012-03-21 David S. Miller <davem@davemloft.net>
36079
36080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36081
7785fe5a
L
360822012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36083
36084 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36085 of x86_64 when setting libc_cv_slibdir, libdir and
36086 libc_cv_localedir.
36087 * sysdeps/unix/sysv/linux/configure: Regenerated.
36088
4535cd55
JM
360892012-03-21 Joseph Myers <joseph@codesourcery.com>
36090
36091 * manual/lang.texi (Old Varargs): Remove section.
36092 (How Variadic): Update menu.
36093 (va_start): Do not mention varargs.h.
36094
17228132
TS
360952012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36096 Joseph Myers <joseph@codesourcery.com>
36097
36098 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36099 link test.
36100 * configure: Regenerated.
36101
8149f976
TS
361022012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36103
05f3d1f6
UD
36104 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36105 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36106 conformtest.pl
8149f976 36107
1a4ac776
JM
361082012-03-21 Joseph Myers <joseph@codesourcery.com>
36109
be22ce65
JM
36110 * NOTES: Remove.
36111 * Makefile (files-for-dist): Remove NOTES.
36112 (NOTES): Remove rule.
36113 * README: Don't refer to NOTES.
36114 * manual/creature.texi: Don't include macros.texi.
36115 * manual/intro.texi (creature.texi): Remove comment referring to
36116 NOTES.
36117
40b601fb
JM
36118 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36119 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36120 * configure: Regenerated.
36121 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36122 LIBC_TRY_CC_OPTION.
36123 (libc_cv_as_i686): Likewise.
36124 (libc_cv_cc_avx): Likewise.
36125 (libc_cv_cc_sse2avx): Likewise.
36126 (libc_cv_cc_fma4): Likewise.
36127 (libc_cv_cc_novzeroupper): Likewise.
36128 * sysdeps/i386/configure: Regenerated.
36129
1a4ac776
JM
36130 [BZ #13883]
36131 * sysdeps/i386/fpu/s_cexp.S: Remove.
36132 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36133 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36134 * math/libm-test.inc (cexp_test): Add more tests.
36135 * sysdeps/i386/fpu/libm-test-ulps: Update.
36136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36137
a458e7fe
AM
361382012-03-21 Allan McRae <allan@archlinux.org>
36139
36140 * timezone/Makefile: Do not install iso3166.tab and zone.tab
36141
0cb7efc5
JM
361422012-03-21 Joseph Myers <joseph@codesourcery.com>
36143
36144 [BZ #13871]
36145 * math/w_exp2.c: Do not include <float.h>.
36146 (o_threshold, u_threshold): Remove.
36147 (__exp2): Calculate result before checking finiteness and calling
36148 __kernel_standard.
36149 * math/w_exp2f.c: Likewise.
36150 * math/w_exp2l.c: Likewise.
36151 * math/libm-test.inc (exp2_test): Require overflow exception for
36152 1e6 input.
2460d3aa
JM
36153
36154 [BZ #3866]
36155 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36156 range of signed 64-bit integers before using fistpll. Remove
36157 checks for whether integers fit in mantissa bits.
36158 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36159 the range of signed 32-bit integers before using fistpl. Remove
36160 checks for whether integers fit in mantissa bits.
36161 * sysdeps/i386/fpu/e_powl.S (p64): New object.
36162 (__ieee754_powl): Test for y outside the range of signed 64-bit
36163 integers before using fistpll. Reduce 64-bit values to 63-bit
36164 ones as needed.
36165 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36166 divide-by-zero is raised for zero to large negative powers.
36167 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36168 (__ieee754_powl): Test for y outside the range of signed 64-bit
36169 integers before using fistpll. Reduce 64-bit values to 63-bit
36170 ones as needed.
36171 * math/libm-test.inc (pow_test): Add more tests.
36172
eb96ffb0
L
361732012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36174
36175 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36176 <stdio-common/_itoa.h>.
36177 * debug/segfault.c: Likewise.
36178 * elf/dl-cache.c: Likewise.
36179 * elf/dl-minimal.c: Likewise.
36180 * elf/dl-misc.c: Likewise.
36181 * elf/dl-sysdep.c: Likewise.
36182 * elf/dl-version.c: Likewise.
36183 * elf/rtld.c: Likewise.
36184 * hurd/hurdsock.c: Likewise.
36185 * hurd/lookup-retry.c: Likewise.
36186 * malloc/malloc.c: Likewise.
36187 * malloc/mtrace.c: Likewise.
36188 * nscd/nscd_getgr_r.c: Likewise.
36189 * nscd/nscd_getpw_r.c: Likewise.
36190 * nscd/nscd_getserv_r.c: Likewise.
36191 * posix/getopt_init.c: Likewise.
36192 * posix/wordexp.c: Likewise.
36193 * stdio-common/_itoa.c: Likewise.
36194 * stdio-common/printf_fphex.c: Likewise.
36195 * stdio-common/vfprintf.c: Likewise.
36196 * string/_strerror.c: Likewise.
36197 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36198 * sysdeps/i386/i686/hp-timing.h: Likewise.
36199 * sysdeps/mach/_strerror.c: Likewise.
36200 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36201 * sysdeps/mach/hurd/sethostid.c: Likewise.
36202 * sysdeps/mach/hurd/xmknodat.c: Likewise.
36203 * sysdeps/mach/xpg-strerror.c: Likewise.
36204 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36205 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36206 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36207 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36208 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36209 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36210 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36211 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36212 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36213 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36214 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36215 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36216 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36217 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36218 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36219 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36220 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36221 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36222 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36223 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36224 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36225
36226 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36227
36228 * stdio-common/_itoa.h: Moved to ...
36229 * sysdeps/generic/_itoa.h: Here.
36230
36231 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36232
36233 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36234 instead of "_itoa.h" and "_itowa.h".
36235 * stdio-common/vfprintf.: Likewise.
36236
d1af992d
L
362372012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36238
36239 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36240 <bits/wordsize.h>.
36241 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36242 (__signbit): Likwise.
36243 (llrintf): Likwise.
36244 (llrint): Likwise.
36245
114883e0
L
362462012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36247
36248 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36249 __WORDSIZE != 64.
36250
c135cc1b
JM
362512012-03-20 Joseph Myers <joseph@codesourcery.com>
36252
36253 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36254 OVERFLOW_EXCEPTION_OK.
36255 * math/libm-test.inc ("Philosophy"): Update comment about
36256 exception testing.
36257 (OVERFLOW_EXCEPTION): Define.
36258 (OVERFLOW_EXCEPTION_OK): Likewise.
36259 (INVALID_EXCEPTION_OK): Renumber.
36260 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36261 (IGNORE_ZERO_INF_SIGN): Likewise.
36262 (test_exceptions): Handle FE_OVERFLOW.
36263 (exp10_test): Expect overflow exceptions.
36264 (exp2_test): Likewise.
36265 (expm1_test): Likewise.
36266 (nextafter_test): Likewise.
36267 (pow_test): Likewise.
36268 (scalbn_test): Likewise.
36269 (scalbln_test): Likewise.
36270
95443d88
L
362712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36272
36273 * sysdeps/x86_64/bits/atomic.h
36274 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36275 64bit integer.
36276 (atomic_exchange_acq): Likewise.
36277 (__arch_exchange_and_add_body): Likewise.
36278 (__arch_add_body): Likewise.
36279 (atomic_add_negative): Likewise.
36280 (atomic_add_zero): Likewise.
36281
490df6c4
L
362822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36283
c2722551 36284 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
36285 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36286
5e52b189
L
362872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36288
36289 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36290 Check __x86_64__ instead of __WORDSIZE.
36291
a9879d4c
L
362922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36293
36294 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36295
5df98260
DM
362962012-03-19 David S. Miller <davem@davemloft.net>
36297
e1497744
DM
36298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36299
5df98260
DM
36300 * sysdeps/sparc/fpu/fenv_private.h: New file.
36301 * sysdeps/sparc/fpu/math_private.h: Use it.
36302 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36303 Remove.
57f41c40 36304 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
36305 (libc_feholdexcept_setroundl): Remove.
36306 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36307 Remove.
36308 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36309 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36310
b4c35121
L
363112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36312
36313 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36314 int64_t instead of long int.
36315 (INSERT_WORDS64): Likwise.
36316
56965fd7
L
363172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36318
36319 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36320 _Unwind_GetCFA return to _Unwind_Ptr first.
36321
83d1aec8
JM
363222012-03-19 Joseph Myers <joseph@codesourcery.com>
36323
1897ad44
JM
36324 [BZ #13629]
36325 * math/s_clog.c: Include <float.h>.
36326 (__clog): Scale large or subnormal inputs.
36327 * math/s_clogf.c: Likewise.
36328 * math/s_clogl.c: Likewise.
36329 * math/s_clog10.c: Include <float.h>.
36330 (M_LOG10_2): Define.
36331 (__clog10): Scale large or subnormal inputs.
36332 * math/s_clog10f.c: Likewise.
36333 * math/s_clog10l.c: Likewise.
36334 * math/libm-test.inc (clog_test): Add more tests.
36335 (clog10_test): Likewise.
36336 * sysdeps/i386/fpu/libm-test-ulps: Update.
36337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36338
7726d6a9
JM
36339 [BZ #11451]
36340 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36341 x and y.
36342 * math/libm-test.inc (atan2_test): Add another test.
36343
83d1aec8
JM
36344 * Makerules (common-objdir-compile): Remove.
36345 * sysdeps/unix/Makefile (config-generated): Do not add
36346 $(unix-generated) to variable.
36347 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36348 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36349 Remove rule.
36350 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36351 Likewise.
36352 [generic bits/local_lim.h] (before-compile): Do not append to
36353 variable.
36354 [generic bits/local_lim.h] (common-generated): Likewise.
36355 [generic sys/param.h] (before-compile): Do not append to variable.
36356 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36357 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36358 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36359 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36360 include.
36361 [generic sys/param.h] (sys/param.h-includes): Remove variable.
36362 [generic sys/param.h] (sys/param.h-includes): Remove rule.
36363 [generic sys/param.h] ($(addprefix
36364 $(common-objpfx),$(sys/param.h-includes))): Likewise.
36365 [generic sys/param.h] (common-generated): Do not append to
36366 variable.
36367 [generic sys/param.h] (sysdep_headers): Likewise.
36368 [generic bits/errno.h] (before-compile): Do not append to
36369 variable.
36370 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36371 rule.
36372 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36373 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36374 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36375 [generic bits/errno.h] (common-generated): Do not append to
36376 variable.
36377 [generic bits/ioctls.h] (before-compile): Do not append to
36378 variable.
36379 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36380 rule.
36381 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36382 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36383 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36384 rule.
36385 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36386 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36387 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36388 [generic bits/ioctls.h] (common-generated): Do not append to
36389 variable.
36390 [generic sys/syscall.h] (syscall.h): Remove variable.
36391 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36392 rule.
36393 [generic sys/syscall.h] (before-compile): Do not append to
36394 variable.
36395 [generic sys/syscall.h] (common-generated): Likewise.
36396 * sysdeps/unix/errnos-tmpl.c: Remove file.
36397 * sysdeps/unix/errnos.awk: Likewise.
36398 * sysdeps/unix/ioctls-tmpl.c: Likewise.
36399 * sysdeps/unix/ioctls.awk: Likewise.
36400 * sysdeps/unix/mk-local_lim.c: Likewise.
36401 * sysdeps/unix/snarf-ioctls: Likewise.
36402
4851a949
RH
364032012-03-19 Richard Henderson <rth@twiddle.net>
36404
bd37f2ee
RH
36405 * sysdeps/i386/fpu/fenv_private.h: New file.
36406 * sysdeps/i386/fpu/math_private.h: Use it.
36407 (math_opt_barrier, math_force_eval): Remove.
36408 (libc_feholdexcept_setround_53bit): Remove.
36409 (libc_feupdateenv_53bit): Remove.
36410 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36411 (math_opt_barrier, math_force_eval): Remove.
36412 (libc_feholdexcept): Remove.
36413 (libc_feholdexcept_setround): Remove.
36414 (libc_fetestexcept, libc_fesetenv): Remove.
36415 (libc_feupdateenv_test): Remove.
36416 (libc_feupdateenv, libc_feholdsetround): Remove.
36417 (libc_feresetround): Remove.
36418
d0adc922
RH
36419 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36420 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36421
0fe0f1f8
RH
36422 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36423 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36424 (libc_feupdateenv_testl): New.
36425 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36426 (libc_feupdateenv_testf): New.
36427 (libc_feupdateenv): Use libc_feupdateenv_test.
36428 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36429 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36430
eb92c487
RH
36431 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36432 (libc_feholdsetroundf, libc_feholdsetroundl): New.
36433 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36434 (libc_feresetround_noex): New.
36435 (libc_feresetround_noexf): New.
36436 (libc_feresetround_noexl): New.
36437 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36438 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36439 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36440 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36441 SET_RESTORE_ROUND.
36442 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36443 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36444 (__cos): Likewise.
36445 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36446 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36447 SET_RESTORE_ROUND_NOEX.
36448 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36449 SET_RESTORE_ROUND_NOEXF.
36450 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36451 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36452 (libc_feholdsetroundf): New.
36453 (libc_feresetround, libc_feresetroundf): New.
36454
7d2e8012
RH
36455 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36456 (libc_feholdexcept_setround_53bit): Convert from macro to function.
36457 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
36458
b4dabbb4
RH
36459 * sysdeps/generic/math_private.h: Include <fenv.h>.
36460 (default_libc_feholdexcept): New.
36461 (default_libc_feholdexcept_setround): New.
36462 (default_libc_fesetenv, default_libc_feupdateenv): New.
36463 (libc_feholdexcept): Only define if undefined.
36464 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36465 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36466 (libc_feholdexcept_setroundl): Likewise.
36467 (libc_feholdexcept_setround_53bit): Likewise.
36468 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36469 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36470 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36471 (libc_feupdateenv_53bit): Likewise.
36472 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36473 (libc_feholdexcept): Convert from macro to inline function.
36474 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36475 (libc_fesetenv, libc_feupdateenv): Likewise.
36476
4851a949
RH
36477 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36478 not previously defined.
36479 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36480 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36481 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36482 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36483 * sysdeps/ieee754/flt-32/math_private.h: New file.
36484 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36485 math_private.h below SET_FLOAT_WORD.
36486 (__isnan, __isinf_ns, __finite): Remove.
36487 (__isnanf, __isinf_nsf, __finitef): Remove.
36488
e79d442e
AS
364892012-03-18 Andreas Schwab <schwab@linux-m68k.org>
36490
36491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36492
90b80344
DM
364932012-03-17 David S. Miller <davem@davemloft.net>
36494
36495 [BZ #6471]
36496 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36497 for 2.16.
36498
edc21804
DM
364992012-03-16 David S. Miller <davem@davemloft.net>
36500
77e927af
DM
36501 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36502 warnings.
36503
374976dd
DM
36504 [BZ #6471]
36505 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36506 properly.
36507 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36508 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36509 sysdep_routines when subdir is sysvipc.
36510 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36511 __getshmlba helper.
36512
edc21804
DM
36513 * sysdeps/sparc/fpu/libm-test/ulps: Update.
36514
473c3ef3
L
365152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36516
36517 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36518 [__LP64__].
36519
eb0f39b6
L
365202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36521
36522 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36523 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36524 (__lround): Renamed to ...
36525 (__llround): This. Replace long int with long long int.
36526 Define lround functions as aliases of llround functions.
36527 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36528
6b6cd74b
L
365292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36530
36531 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36532 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
36533 adresses to uintptr_t. Replace "long int" and "unsigned long
36534 int" with "greg_t" on va_arg.
36535
f1a77b01
L
365362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36537
36538 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36539 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36540
36541 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36542 Move e_machine check before EI_CLASS check. Handle x32
36543 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36544 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36545 SKIP_EM_IA_64 and include
36546 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36547
36548 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36549 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36550 (add_system_dir): New macro.
36551
36552 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36553 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36554
11b90b9f
JM
365552012-03-16 Joseph Myers <joseph@codesourcery.com>
36556
c36e1d23
JM
36557 [BZ #2551]
36558 [BZ #2552]
36559 [BZ #2553]
36560 [BZ #2554]
36561 [BZ #2562]
36562 [BZ #2563]
36563 [BZ #2565]
36564 [BZ #2566]
36565 [BZ #2576]
36566 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36567 (y0): Likewise.
36568 * math/w_j0f.c (j0f): Likewise.
36569 (y0f): Likewise.
36570 * math/w_j0l.c (__j0l): Likewise.
36571 (__y0l): Likewise.
36572 * math/w_j1.c (j1): Likewise.
36573 (y1): Likewise.
36574 * math/w_j1f.c (j1f): Likewise.
36575 (y1f): Likewise.
36576 * math/w_j1l.c (__j1l): Likewise.
36577 (__y1l): Likewise.
36578 * math/w_jn.c (jn): Likewise.
36579 (yn): Likewise.
36580 * math/w_jnf.c (jnf): Likewise.
36581 (ynf): Likewise.
36582 * math/w_jnl.c (__jnl): Likewise.
36583 (__ynl): Likewise.
36584 * math/libm-test.inc (j0_test): Add more tests.
36585 (j1_test): Likewise.
36586 (jn_test): Likewise. Add trailing semicolon to existing test.
36587 (y0_test): Likewise.
36588 (y1_test): Likewise.
36589 * sysdeps/i386/fpu/libm-test-ulps: Update.
36590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36591
11b90b9f
JM
36592 [BZ #13851]
36593 [BZ #13854]
36594 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36595 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36596 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36597 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36598 (__tanl): Set errno for infinite argument.
36599 * sysdeps/i386/fpu/mptan.c: Remove.
36600 * sysdeps/i386/fpu/s_tan.S: Likewise.
36601 * sysdeps/i386/fpu/s_tanl.S: Likewise.
36602 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36603 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36604 * math/libm-test.inc (tan_test): Add more tests and enable more
36605 tests for double and long double.
36606 * sysdeps/i386/fpu/libm-test-ulps: Update.
36607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36608
6a1bd2a1
JK
366092012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
36610
36611 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36612 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36613
10a803e0
RM
366142012-03-16 Roland McGrath <roland@hack.frob.com>
36615
36616 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36617 * configure.in: Use it for both main tree and add-ons.
36618 * configure: Regenerated.
36619
f196c7f7
L
366202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36621
36622 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36623
8848d99d
JM
366242012-03-16 Joseph Myers <joseph@codesourcery.com>
36625
96cbe7f4
JM
36626 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36627 in comment.
36628
8848d99d
JM
36629 [BZ #13851]
36630 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36631 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36632 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36633 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36634 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36635 infinite argument.
36636 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36637 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36638 != 0 for prec == 2.
36639 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36640 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36641 * sysdeps/i386/fpu/s_cosl.S: Likewise.
36642 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36643 * sysdeps/i386/fpu/s_sinl.S: Likewise.
36644 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36645 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36646 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36647 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36648 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36649 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36650 * math/libm-test.inc (cos_test): Add more tests and enable more
36651 tests for long double.
36652 (sin_test): Likewise.
36653 (sincos_test): Likewise.
36654 * sysdeps/i386/fpu/libm-test-ulps: Update.
36655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36656
dd7f4703
DM
366572012-03-16 David S. Miller <davem@davemloft.net>
36658
36659 * sysdeps/sparc/fpu/math_private.h: New file.
36660
006f1daa
DM
366612012-03-15 David S. Miller <davem@davemloft.net>
36662
c0c83bc8
DM
36663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36664 file.
e6a62e18 36665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
36666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36667 file.
e6a62e18
DM
36668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36669 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36670 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36671 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36672 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36673 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36674 sysdep routines.
36675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36676
88cb87d9
DM
36677 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36678 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36679
006f1daa 36680 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
36681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36682 sparc-ifunc.h
006f1daa 36683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
36684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36685 Likewise.
36686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36687 Likewise.
006f1daa
DM
36688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
36691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36692 Likewise.
006f1daa
DM
36693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
36697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36698 Likewise.
36699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36700 Likewise.
006f1daa
DM
36701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36705 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36706 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36707 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36708 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36709 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36710 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36711 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36712 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36713 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36714 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36715 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36716 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36717 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36718 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36719 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36720 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36721 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36722 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36723 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36724 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36725
11e0098e
AS
367262012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36727
36728 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36729 scaling.
36730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36731
e85b09d0
AJ
367322012-03-15 Andreas Jaeger <aj@suse.de>
36733
36734 [BZ #13852]
36735 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36736 ieee754/flt-32 implementation for sin, cos and sincos.
36737 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36738 * sysdeps/i386/fpu/s_cosf.S: Likewise.
36739 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36740 * sysdeps/i386/fpu/s_sinf.S: Likewise.
36741 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36742 ieee754/flt-32 implementation for tan.
36743
36744 * math/libm-test.inc (cos_test): Enable some large input tests for
36745 float as well
36746 (sin_test): Likewise.
36747 (sincos_test): Likewise.
36748 (tan_test): Add tests for large input.
36749
36750 * sysdeps/i386/fpu/libm-test-ulps: Update.
36751
81c64153
AJ
367522012-03-15 Andreas Jaeger <aj@suse.de>
36753
36754 [BZ #13658]
36755 * math/libm-test.inc (cos_test): Add more test cases.
36756 (sin_test): Likewise.
36757 (sincos_test): Likewise.
36758
7bbfa5c6
AJ
367592012-03-15 Andreas Jaeger <aj@suse.de>
36760
36761 [BZ #13837]
36762 * math/libm-test.inc (cos_test): Add a test case for large input
36763 value.
36764 (sin_test): Likewise.
36765 (sincos_test): Likewise.
36766
57f41c40
AS
367672012-03-15 Andreas Jaeger <aj@suse.de>
36768 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
36769
36770 [BZ #13658]
0671f479 36771 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
36772 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36773 * sysdeps/i386/fpu/branred.c: Likewise.
36774 * sysdeps/i386/fpu/dosincos.c: Likewise.
36775 * sysdeps/i386/fpu/mpa.c: Likewise.
36776 * sysdeps/i386/fpu/s_cos.S: Likewise.
36777 * sysdeps/i386/fpu/s_sin.S: Likewise.
36778 * sysdeps/i386/fpu/s_sincos.S: Likewise.
36779 * sysdeps/i386/fpu/sincos32.c: Likewise.
36780
36781 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36782 Define.
36783 (libc_feupdateenv_53bit): Define.
36784 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36785 Define.
36786 (libc_feupdateenv_53bit): Define.
36787
36788 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36789 53 bit (without extend i386 double precision).
36790
36791 * math/libm-test.inc (sincos_test): Add tests for large input.
36792 (sin): Likewise.
36793 (cos): Likewise.
36794
36795 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36796
9cad04ea
AS
367972012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36798
36799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36800
f7062b9a
DM
368012012-03-15 David S. Miller <davem@davemloft.net>
36802
36803 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36804 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36805 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36806 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36811 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36812 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36813 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36814 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36815 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36816 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36817 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
36818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36819 file.
f7062b9a 36820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
36821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36822 file.
f7062b9a 36823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
36824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36825 file.
f7062b9a 36826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
36827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36828 file.
f7062b9a
DM
36829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36830 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36831 fmin/fmax sysdep routines.
36832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36833
7bd951ff
DM
368342012-03-14 David S. Miller <davem@davemloft.net>
36835
559398ab
DM
36836 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36837 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36838 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36839 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36840 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36841 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36842 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36843 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36844 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36845 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36846 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36847 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36848 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36849 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36850 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36851 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36852 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36853 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36854 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36855 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36856 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36857 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36858 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36859 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36860 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36861 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36862 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36863 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
36864 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36865 routines.
36866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36867 file.
559398ab 36868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
36869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36870 file.
559398ab 36871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
36872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36873 file.
559398ab 36874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
36875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36876 file.
559398ab 36877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
36878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36879 file.
559398ab 36880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
36881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36882 file.
36883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36884 file.
36885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36886 file.
36887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36888 file.
36889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36890 New file.
36891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36892 file.
36893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36894 file.
559398ab 36895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
36896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36897 file.
559398ab 36898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
36899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36900 file.
559398ab 36901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
36902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36903 file.
559398ab 36904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
36905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36906 VIS3 routines.
559398ab
DM
36907
36908 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36909 New file.
36910
5a1c1e32
DM
36911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36912
eae47a36
DM
36913 * sysdeps/sparc/configure.in: New file.
36914 * sysdeps/sparc/configure: Generate.
36915 * configure.in (libc_cv_sparc_as_vis3): Substitute.
36916 * configure: Regenerate.
36917 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36918 * config.make.in (have-as-vis3): New.
36919 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36920 available use -Av9d instead of -Av9a.
36921 * sysdeps/sparc/sparc64/Makefile: Likewise.
36922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
36923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36924 New file.
36925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36926 file.
36927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36928 New file.
36929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36930 file.
eae47a36
DM
36931 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36932 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36933 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36934 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36935 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36936
c0c83bc8
DM
36937 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36938 fzeros/fnegs to load 0x80000000 into a float register instead of
36939 using the stack.
7bd951ff
DM
36940 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36941
bd951ccb
JM
369422012-03-14 Joseph Myers <joseph@codesourcery.com>
36943
36944 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36945 bits/syscall.h.
36946 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36947 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36948 ($(inst_includedir)/bits/syscall.h): Remove rule.
36949 ($(objpfx)bits/syscall.d): Include instead of
36950 $(objpfx)syscall-list.d.
36951 (generated): Change syscall-list.h and syscall-list.d to
36952 bits/syscall.h and bits/syscall.d.
36953
bb4e6db2
RM
369542012-03-14 Roland McGrath <roland@hack.frob.com>
36955
36956 [BZ #13846]
36957 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36958
aa4a2ae1
JM
369592012-03-14 Joseph Myers <joseph@codesourcery.com>
36960
e456826d
JM
36961 [BZ #13841]
36962 * math/s_csqrt.c: Include <float.h>.
36963 (__csqrt): Scale large or subnormal inputs.
36964 * math/s_csqrtf.c: Likewise.
36965 * math/s_csqrtl.c: Likewise.
36966 * math/libm-test.inc (csqrt_test): Add more tests.
36967 * sysdeps/i386/fpu/libm-test-ulps: Update.
36968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36969
aa4a2ae1
JM
36970 [BZ #13840]
36971 * math/libm-test.inc (hypot_test): Add more tests.
36972
7c10fd35
DM
369732012-03-13 David S. Miller <davem@davemloft.net>
36974
36975 [BZ #13840]
36976 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36977 double-precision for the calculation instead of scaling.
36978
f453b98b
JM
369792012-03-13 Joseph Myers <joseph@codesourcery.com>
36980
36981 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36982 manipulate bits before adding and subtracting TWO52[sx].
36983 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36984 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36985 Likewise.
36986 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36987
09a3453f
DM
369882012-03-13 David S. Miller <davem@davemloft.net>
36989
8e59da90
DM
36990 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36991 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36992 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36993 rtld-global-offsets.h
36994 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36995
2a8ab7f2
DM
36996 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36997 large parameters.
36998
10f62770
DM
36999 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
37000
5f0bdb18
DM
37001 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
37002 'err' in the ifdef scope in which it is actually used.
37003
09a3453f
DM
37004 * nss/nss_db/db-init.c: Include string.h
37005
b4b2eb5e
DM
370062012-03-12 David S. Miller <davem@davemloft.net>
37007
98bb2f1c
DM
37008 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37009 masking out of the most significant byte of random value used.
37010 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37011 Fix coding style in previous change.
37012
b4b2eb5e
DM
37013 * sysdeps/unix/sysv/linux/kernel-features.h
37014 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37015 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37016 expression.
37017 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37018 later.
37019
6e226b09
DM
370202012-03-11 David S. Miller <davem@davemloft.net>
37021
a1bcbd40
DM
37022 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37023 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37024 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37025 for 'resultvar' otherwise things get truncated on 64-bit.
37026
cb9d6174
DM
37027 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37028 Fix masking out of the most significant byte of random value used.
37029
6e226b09
DM
37030 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37031
058c132d
AS
370322012-03-10 Andreas Schwab <schwab@linux-m68k.org>
37033
37034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37035
2d2cd515
DM
370362012-03-09 David S. Miller <davem@davemloft.net>
37037
37038 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37039 variables with appropriate CPP guards.
57f41c40
AS
37040 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37041 from the frame pointer, not the stack pointer. Correct layout
37042 comments. Fix test on resulting framesize and the management of
37043 the outregs buffer for pltexit. Preserve floating point return
37044 values across _dl_call_pltexit call.
2d2cd515
DM
37045 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37046 framesize and the management of the outregs buffer for pltexit.
37047 Preserve floating point return values across _dl_call_pltexit
37048 call.
57f41c40
AS
37049 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37050 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37051 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
37052 (print_exit): Fix format string for return register value.
37053
9a07f9d0
JM
370542012-03-10 Joseph Myers <joseph@codesourcery.com>
37055
37056 * sunrpc/Makefile (others): Add rpcgen.
37057 ($(objpfx)rpcgen): Remove special build rule and dependency on
37058 libc.
37059 * sunrpc/rpcgen.c: New file.
37060
547b5e30
PE
370612012-03-09 Paul Eggert <eggert@cs.ucla.edu>
37062
c524201a
PE
37063 [BZ #13673]
37064 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37065 * stdio-common/bug-vfprintf-nargs.c: Likewise.
37066 * sysdeps/i386/crti.S: Likewise.
37067 * sysdeps/i386/crtn.S: Likewise.
37068 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37069 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37070 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37071 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37072 * sysdeps/sh/crti.S: Likewise.
37073 * sysdeps/sh/crtn.S: Likewise.
37074 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37075
7b6235f2
PE
37076 [BZ #13673]
37077 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37078 with URL.
37079 * locale/programs/locfile-kw.gperf: Likewise.
37080 * locale/programs/charmap-kw.h: Regenerated.
37081 * locale/programs/locfile-kw.h: Likewise.
37082
547b5e30
PE
37083 [BZ #13673]
37084 * intl/plural.y: Replace FSF snail mail address with URL.
37085 * intl/plural.c: Regenerated.
37086
5f0a5dae
RH
370872012-03-09 Richard Henderson <rth@twiddle.net>
37088
37089 * include/math_private.h: Remove file.
37090 * math/math_private.h: Move file ...
37091 * sysdeps/generic/math_private.h: ... here.
37092
b8c03620
RH
37093 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37094 * sysdeps/powerpc/fpu/math_private.h: Likewise.
37095 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37096
4e234f5d 37097 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
37098 and <math_private.h>.
37099 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37100 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37101 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37102 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37103 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37104 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37105 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37106 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37107 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37108 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37109 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37110 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37111 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37112 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37113 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37114 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37115 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37116 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37117 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37118 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37119 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37120 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37121 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37122 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37123 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37124 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37125 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37126 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37127 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37128 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37129 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37130 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37131 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37132 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37133 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37134 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37135 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37136 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37137 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37138 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37139 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37140 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37141 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37142 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37143 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37144 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37145 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37146 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37147 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37148 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37149 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37150 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37151 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37152 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37153 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37154 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37155 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37156 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37157 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37158 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37159 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37160 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37161 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37162 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37163 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37164 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37165 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37166 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37167 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37168 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37169 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37170 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37171 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37172 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37173 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37174 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37175 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37176 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37177 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37178 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37179 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37180 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37181 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37182 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37183 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37184 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37185 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37186 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37187 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37188 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37189 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37190 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37191 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37192 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37193 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37194 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37195 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37196 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37197 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37198 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37199 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37200 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37201 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37202 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37203 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37204 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37205 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37206 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37207 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37208 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37209 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37210 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37211 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37212 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37213 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37214 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37215 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37216 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37217 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37218 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37219 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37220 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37221 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37222 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37223 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37224 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37225 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37226 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37227 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37228 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37229 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37230 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37231 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37232 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37233 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37234 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37235 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37236 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37237 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37238 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37239 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37240 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37241 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37242 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37243 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37244 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37245 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37246 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37247 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37248 * sysdeps/ieee754/k_standard.c: Likewise.
37249 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37250 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37251 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37252 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37253 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37254 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37255 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37256 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37257 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37258 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37259 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37260 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37261 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37262 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37263 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37264 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37265 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37266 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37267 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37268 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37269 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37270 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37271 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37272 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37273 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37274 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37275 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37276 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37277 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37278 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37279 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37280 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37281 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37282 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37283 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37284 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37285 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37286 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37287 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37288 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37289 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37290 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37291 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37292 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37293 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37294 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37295 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37296 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37297 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37298 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37299 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37300 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37301 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37302 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37303 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37304 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37305 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37306 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37307 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37308 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37309 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37310 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37311 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37312 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37313 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37314 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37315 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37316 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37317 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37318 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37319 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37320 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37321 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37322 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37323 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37324 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37325 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37326 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37327 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37328 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37329 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37330 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37331 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37332 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37333 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37334 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37335 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37336 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37337 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37338 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37339 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37340 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37341 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37342 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37343 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37344 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37345 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37346 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37347 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37348 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37349 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37350 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37351 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37352 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37353 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37354 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37355 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37356 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37357 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37358 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37359 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37360 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37361 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37362 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37363 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37364 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37365 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37366 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37367 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37368 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37369 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37370 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37371 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37372 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37373 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37374 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37375 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37376 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37377 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37378 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37379 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37380 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37381 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37382 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37383 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37384 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37385 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37386 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37387 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37388 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37389 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37390 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37391 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37392 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37393 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37394 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37395 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37396 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37397 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37398 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37399 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37400 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37401 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37402 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37403 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37404 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37405 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37406 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37407 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37408 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37409 * sysdeps/ieee754/s_lib_version.c: Likewise.
37410 * sysdeps/ieee754/s_matherr.c: Likewise.
37411 * sysdeps/ieee754/s_signgam.c: Likewise.
37412 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37413 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37414 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37415 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37416 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37417 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37418 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37419 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37420 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37421 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37422 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37423 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37424 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37425 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37426 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37427 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37428 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37429 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37430 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37431 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37432 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 37433
1991fa03
JM
374342012-03-09 Joseph Myers <joseph@codesourcery.com>
37435
37436 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37437 * sunrpc/rpc_main.c: Likewise.
37438 * sunrpc/rpc_svcout.c: Likewise.
37439
60d6f5a6
DM
374402012-03-09 David S. Miller <davem@davemloft.net>
37441
37442 * include/math_private.h: New file.
37443
4962050e
JM
374442012-03-09 Joseph Myers <joseph@codesourcery.com>
37445
02a6f887
JM
37446 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37447 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37448 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37449 from <bits/socket_type.h>.
37450 (enum __socket_type): Don't define here.
37451 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37452 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37453 bits/socket_type.h.
37454
c6e013c1
JM
37455 [BZ #13566]
37456 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37457 checking __USE_GNU.
37458
4962050e
JM
37459 * Makerules ($(inst_includedir)/%.h): New rule.
37460 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37461 (install-others): Remove variable setting.
37462 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37463
38842f45
RH
374642012-03-08 Richard Henderson <rth@twiddle.net>
37465
67bb6da6
RH
37466 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37467 from macro to inline function; merge with the
37468 !__LIBC_INTERNAL_MATH_INLINES version.
37469 (__ieee754_sqrtf): Likewise.
37470
15194b4b
RH
37471 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37472 to inline function.
37473 (__rintf, __floor, __floorf): Likewise.
37474
64e21ede
RH
37475 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37476 macro to inline function.
37477 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37478
38842f45
RH
37479 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37480 not <math/math_private.h>.
37481
c64bf5fe
DM
374822012-03-08 David S. Miller <davem@davemloft.net>
37483
37484 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37485 copyright year.
37486 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37487
82d86f28
TS
374882012-03-08 Thomas Schwinge <thomas@codesourcery.com>
37489
37490 * resolv/gai_misc.c (handle_requests): Fix struct timespec
37491 normalization.
37492 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37493 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37494
aea5d727
UD
374952012-03-08 Ulrich Drepper <drepper@gmail.com>
37496
37497 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
37498 be defined individually, they must be defined as a block. Define
37499 S for printing a string instead of hidint the different by using a
37500 macro for adding the 'l'.
37501 * stdio-common/tst-fphex-wide.c: Adjust.
37502
70bca0a3
MP
375032012-03-07 Marek Polacek <polacek@redhat.com>
37504
37505 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37506
65b81130
MP
375072012-03-08 Marek Polacek <polacek@redhat.com>
37508
37509 [BZ #13806]
37510 * stdio-common/Makefile (tests): Add tst-fphex-wide.
37511 * stdio-common/tst-fphex.c: Define a few macros to make the
37512 test reusable. Use them.
37513 * stdio-common/tst-fphex-wide.c: New file.
37514
07037eeb
JM
375152012-03-08 Joseph Myers <joseph@codesourcery.com>
37516
a7a93d50
JM
37517 [BZ #6911]
37518 * manual/macros.texi (gnusystems): New macro.
37519 (nongnusystems): Likewise.
37520 (gnulinuxhurdsystems): Likewise.
37521 (gnuhurdsystems): Likewise..
37522 (gnulinuxsystems): Likewise.
37523 * manual/charset.texi: Use new macros or @theglibc{} to refer to
37524 variants of the GNU system, not "GNU system".
37525 * manual/conf.texi: Likewise.
37526 * manual/errno.texi: Likewise. Update example of errno macro
37527 expansion.
37528 * manual/filesys.texi: Likewise.
37529 (getumask): Document as specific to GNU/Hurd.
37530 * manual/install.texi: Likewise. Reword some references to
37531 GNU/Linux.
37532 * manual/intro.texi: Likewise.
37533 * manual/io.texi: Likewise.
37534 (File Name Portability): Detail which constraints are inapplicable
37535 to all GNU systems and which are only inapplicable to GNU/Hurd.
37536 * manual/job.texi: Likewise.
37537 * manual/llio.texi: Likewise.
37538 (O_NOCTTY): Document as present on GNU/Linux.
37539 * manual/maint.texi: Likewise.
37540 * manual/memory.texi: Likewise.
37541 * manual/pattern.texi: Likewise.
37542 * manual/pipe.texi: Likewise.
37543 * manual/process.texi: Likewise.
37544 * manual/resource.texi: Likewise.
37545 (RUSAGE_CHILDREN): Remove statement about specifying a particular
37546 child on GNU/Hurd.
37547 * manual/setjmp.texi: Likewise.
37548 * manual/signal.texi: Likewise.
37549 * manual/startup.texi: Likewise.
37550 * manual/stdio.texi: Likewise.
37551 * manual/terminal.texi: Likewise.
37552 (ONLCR): Document as POSIX.
37553 (OXTABS): Document availability on GNU/Linux as XTABS.
37554 (ONOEOT): Document availability separately from other bits.
37555 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37556 * manual/time.texi: Likewise.
37557 * manual/users.texi: Likewise.
37558 * INSTALL: Regenerated.
37559 * sysdeps/gnu/errlist.c: Regenerated.
37560
07037eeb
JM
37561 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37562 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37563 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
37564 puts.
37565 * configure: Regenerated.
37566
d1d3431a
JM
375672012-03-07 Joseph Myers <joseph@codesourcery.com>
37568
af6a1e37
JM
37569 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37570 default includes instead of AC_HEADER_CHECK.
37571 * sysdeps/i386/configure: Regenerated.
37572
d1d3431a
JM
37573 [BZ #10716]
37574 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37575 * math/s_cacoshf.c (__cacoshf): Likewise.
37576 * math/s_cacoshl.c (__cacoshl): Likewise.
37577 * math/s_casinh.c (__casinh): Set signs of result from argument.
37578 * math/s_casinhf.c (__casinhf): Likewise.
37579 * math/s_casinhl.c (__casinhl): Likewise.
37580 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37581 (casinh_test): Add more tests.
37582 * sysdeps/i386/fpu/libm-test-ulps: Update.
37583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37584
482ff4da
UD
375852012-03-07 Ulrich Drepper <drepper@gmail.com>
37586
872fda05
UD
37587 * po/zh_TW.po: Update from translation team.
37588
a4300c7a
UD
37589 * login/Makefile (distribute): Remove variable.
37590 * catgets/Makefile: Likewise.
37591 * mach/Makefile: Likewise.
37592 * malloc/Makefile: Likewise.
37593 * misc/Makefile: Likewise.
37594 * iconv/Makefile: Likewise.
37595 * nscd/Makefile: Likewise.
37596 * hurd/Makefile: Likewise.
37597 * manual/Makefile: Likewise.
37598 * locale/Makefile: Likewise.
37599 * intl/Makefile: Likewise.
37600 * conform/Makefile: Likewise.
37601 * nss/Makefile: Likewise.
37602 * time/Makefile: Likewise.
37603 * soft-fp/Makefile: Likewise.
37604 * dirent/Makefile: Likewise.
37605 * gmon/Makefile: Likewise.
37606 * po/Makefile: Likewise.
37607 * rt/Makefile: Likewise.
37608 * socket/Makefile: Likewise.
37609 * math/Makefile: Likewise.
37610 * signal/Makefile: Likewise.
37611 * debug/Makefile: Likewise.
37612 * elf/Makefile: Likewise.
37613 * timezone/Makefile: Likewise.
37614 * stdlib/Makefile: Likewise.
37615 * iconvdata/Makefile: Likewise.
37616 * sunrpc/Makefile: Likewise.
37617 * io/Makefile: Likewise.
37618 * argp/Makefile: Likewise.
37619 * inet/Makefile: Likewise.
37620 * hesiod/Makefile: Likewise.
37621 * grp/Makefile: Likewise.
37622 * csu/Makefile: Likewise.
37623 * wctype/Makefile: Likewise.
37624 * crypt/Makefile: Likewise.
37625 * libio/Makefile: Likewise.
37626 * string/Makefile: Likewise.
37627 * nis/Makefile: Likewise.
37628 * resolv/Makefile: Likewise.
37629 * stdio-common/Makefile: Likewise.
37630 * wcsmbs/Makefile: Likewise.
37631 * dlfcn/Makefile: Likewise.
37632 * posix/Makefile: Likewise.
37633
3b7c4e74 37634 [BZ #6959]
482ff4da
UD
37635 * timezone/Makefile: Don't install timezone files, just the programs
37636 and scripts.
37637
f72ed77d
UD
376382012-03-06 Ulrich Drepper <drepper@gmail.com>
37639
a000466f
UD
37640 * nss/databases.def: Add missing gshadow entry.
37641
f72ed77d
UD
37642 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
37643
a53b7a4e
MP
376442012-03-06 Marek Polacek <polacek@redhat.com>
37645
37646 [BZ #13726]
37647 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37648 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37649 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37650 * stdio-common/tst-long-dbl-fphex.c: New file.
37651
e9258400
DM
376522012-03-06 David S. Miller <davem@davemloft.net>
37653
37654 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37655 (set_obp_int): New function.
37656 (get_obp_int): New function.
37657 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
37658 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37659 Avoid unused variable warnings on 'val' and use builtin_expect.
37660 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37661 __builtin_expect.
e9258400
DM
37662 (INLINE_CLONE_SYSCALL): Likewise.
37663
3bd2c723
DM
376642012-03-05 David S. Miller <davem@davemloft.net>
37665
37666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37667
bbb78d03
AS
376682012-03-05 Andreas Schwab <schwab@linux-m68k.org>
37669
884c5db4
AS
37670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37671
bbb78d03
AS
37672 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37673 only for |x| >= 40.
37674 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37675
1c9f702a 376762012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
37677
37678 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37679 Replace gettimeofday with __vdso_gettimeofday.
37680
7be16f82
RM
37681 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37682 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37683 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
37684
37685 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37686 time with __vdso_time.
37687
ed58a00f
JM
376882012-03-05 Joseph Myers <joseph@codesourcery.com>
37689
37690 * manual/lang.texi (size_t): Note types to which size_t may be
37691 equivalent with the GNU C Library, but do not describe when
37692 differences between them are significant.
37693
30ee4ced
AJ
376942012-03-05 Andreas Jaeger <aj@suse.de>
37695
37696 * sysdeps/i386/fpu/libm-test-ulps: Update.
37697
b7cd39e8
JM
376982012-03-05 Joseph Myers <joseph@codesourcery.com>
37699
37700 [BZ #3976]
37701 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37702 (__ieee754_pow): Save and restore rounding mode and use
37703 round-to-nearest for main computations.
37704 * math/libm-test.inc (pow_test_tonearest): New function.
37705 (pow_test_towardzero): Likewise.
37706 (pow_test_downward): Likewise.
37707 (pow_test_upward): Likewise.
37708 (main): Call the new functions.
37709 * sysdeps/i386/fpu/libm-test-ulps: Update.
37710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
37711
37712 [BZ #3976]
37713 * math/libm-test.inc (cosh_test_tonearest): New function.
37714 (cosh_test_towardzero): Likewise.
37715 (cosh_test_downward): Likewise.
37716 (cosh_test_upward): Likewise.
37717 (sinh_test_tonearest): Likewise.
37718 (sinh_test_towardzero): Likewise.
37719 (sinh_test_downward): Likewise.
37720 (sinh_test_upward): Likewise.
37721 (main): Call the new functions.
37722 * sysdeps/i386/fpu/libm-test-ulps: Update.
37723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37724
6c6a98c9
TV
377252012-03-05 Tom de Vries <tom@codesourcery.com>
37726
37727 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37728 default stack guard is set in last bytes.
37729 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37730
21bb2d2e 377312012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 37732
21bb2d2e 37733 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 37734
21bb2d2e
AJ
37735 [BZ #13656]
37736 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37737 possibly allocate from heap instead of stack.
37738 * stdio-common/bug-vfprintf-nargs.c: New file.
37739 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 37740
c6922934
AS
377412012-03-03 Andreas Schwab <schwab@linux-m68k.org>
37742
37743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37744
bc957d53
MP
377452012-03-03 Marek Polacek <polacek@redhat.com>
37746
37747 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37748 * math/math_private.h: Likewise.
37749 * stdlib/tst-strtod.c: Likewise.
37750 * sysdeps/i386/i486/bits/atomic.h: Likewise.
37751 * sysdeps/x86_64/bits/atomic.h: Likewise.
37752
6358490d
DM
377532012-03-02 David S. Miller <davem@davemloft.net>
37754
37755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37759 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37760 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37761 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37762 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37763
01ae168d
RM
377642012-03-02 Roland McGrath <roland@hack.frob.com>
37765
d9a17c07
RM
37766 [BZ #13792]
37767 * manual/examples/README: New file, says the example source files
37768 can be used under GPL>=2.
37769 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37770 line containing just "*/".
37771 * manual/examples/add.c: Add copyright header (GPL>=2).
37772 * manual/examples/argp-ex1.c: Likewise.
37773 * manual/examples/argp-ex2.c: Likewise.
37774 * manual/examples/argp-ex3.c: Likewise.
37775 * manual/examples/argp-ex4.c: Likewise.
37776 * manual/examples/atexit.c: Likewise.
37777 * manual/examples/db.c: Likewise.
37778 * manual/examples/dir.c: Likewise.
37779 * manual/examples/dir2.c: Likewise.
37780 * manual/examples/execinfo.c: Likewise.
37781 * manual/examples/filecli.c: Likewise.
37782 * manual/examples/filesrv.c: Likewise.
37783 * manual/examples/fmtmsgexpl.c: Likewise.
37784 * manual/examples/genpass.c: Likewise.
37785 * manual/examples/inetcli.c: Likewise.
37786 * manual/examples/inetsrv.c: Likewise.
37787 * manual/examples/isockad.c: Likewise.
37788 * manual/examples/longopt.c: Likewise.
37789 * manual/examples/memopen.c: Likewise.
37790 * manual/examples/memstrm.c: Likewise.
37791 * manual/examples/mkfsock.c: Likewise.
37792 * manual/examples/mkisock.c: Likewise.
37793 * manual/examples/mygetpass.c: Likewise.
37794 * manual/examples/pipe.c: Likewise.
37795 * manual/examples/popen.c: Likewise.
37796 * manual/examples/rprintf.c: Likewise.
37797 * manual/examples/search.c: Likewise.
37798 * manual/examples/select.c: Likewise.
37799 * manual/examples/setjmp.c: Likewise.
37800 * manual/examples/sigh1.c: Likewise.
37801 * manual/examples/sigusr.c: Likewise.
37802 * manual/examples/stpcpy.c: Likewise.
37803 * manual/examples/strdupa.c: Likewise.
37804 * manual/examples/strftim.c: Likewise.
37805 * manual/examples/strncat.c: Likewise.
37806 * manual/examples/subopt.c: Likewise.
37807 * manual/examples/swapcontext.c: Likewise.
37808 * manual/examples/termios.c: Likewise.
37809 * manual/examples/testopt.c: Likewise.
37810 * manual/examples/testpass.c: Likewise.
37811 * manual/examples/timeval_subtract.c: Likewise.
37812
01ae168d
RM
37813 [BZ #13792]
37814 * manual/time.texi (Elapsed Time): Move timeval_subtract example
37815 function to ...
37816 * manual/timeval_subtract.c.texi: ... here, new file.
37817
49efa33d
DM
378182012-03-02 David S. Miller <davem@davemloft.net>
37819
37820 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37821
28afd92d
JM
378222012-03-02 Joseph Myers <joseph@codesourcery.com>
37823
804360ed
JM
37824 [BZ #3976]
37825 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37826 (__sin): Save and restore rounding mode and use round-to-nearest
37827 for all computations.
37828 (__cos): Save and restore rounding mode and use round-to-nearest
37829 for all computations.
37830 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37831 <fenv.h>.
37832 (tan): Save and restore rounding mode and use round-to-nearest for
37833 all computations.
37834 * math/libm-test.inc (cos_test_tonearest): New function.
37835 (cos_test_towardzero): Likewise.
37836 (cos_test_downward): Likewise.
37837 (cos_test_upward): Likewise.
37838 (sin_test_tonearest): Likewise.
37839 (sin_test_towardzero): Likewise.
37840 (sin_test_downward): Likewise.
37841 (sin_test_upward): Likewise.
37842 (tan_test_tonearest): Likewise.
37843 (tan_test_towardzero): Likewise.
37844 (tan_test_downward): Likewise.
37845 (tan_test_upward): Likewise.
37846 (main): Call the new functions.
37847 * sysdeps/i386/fpu/libm-test-ulps: Update.
37848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37849
a6d06d7b
JM
37850 [BZ #10135]
37851 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37852 small n, then large n, before computing and testing k+n.
37853 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37854 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37855 Likewise.
37856 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37857 Likewise.
37858 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37859 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37860 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37861 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37862 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37863 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37864 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37865 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37866 * math/libm-test.inc (scalbn_test): Add more tests.
37867 (scalbln_test): Likewise.
37868
07e12bb3
JM
37869 * manual/filesys.texi (mode_t): Describe constraints on size and
37870 signedness, not exact equivalence to a particular type.
37871 (ino_t): Likewise.
37872 (ino64_t): Likewise.
37873 (dev_t): Likewise.
37874 (nlink_t): Likewise.
37875 (blkcnt_t): Likewise.
37876 (blkcnt64_t): Likewise.
37877 * manual/llio.texi (off_t): Likewise.
37878
28afd92d
JM
37879 [BZ #3976]
37880 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37881 (__ieee754_exp): Save and restore rounding mode and use
37882 round-to-nearest for all computations.
37883 * math/libm-test.inc (exp_test_tonearest): New function.
37884 (exp_test_towardzero): Likewise.
37885 (exp_test_downward): Likewise.
37886 (exp_test_upward): Likewise.
37887 (main): Call the new functions.
37888 * sysdeps/i386/fpu/libm-test-ulps: Update.
37889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37890
b1eeb65d
CD
378912012-03-01 Chris Demetriou <cgd@google.com>
37892
37893 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37894 have predictable order.
37895
53362a4b
DM
378962012-03-01 David S. Miller <davem@davemloft.net>
37897
3c969083
DM
37898 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37899
759707de
DM
37900 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37901 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37902 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37903 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37904
dfdb8ff2
DM
37905 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37906 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37907 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37909 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37910 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37911 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37912 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37913 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37914
ead89f96
DM
37915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37916
7f66bd07
DM
37917 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37918 * sysdeps/sparc/fpu/libm-test-ulps: to here.
37919 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37920
53362a4b
DM
37921 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37922 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37923 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37924 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37925 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37926 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37927 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37928 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37929 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37930 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37931 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37932 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37933 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37934 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37935 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37936 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37937 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37938 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37939 * sysdeps/sparc/elf/configure: Regenerated.
37940
7b1902cb
JM
379412012-03-01 Joseph Myers <joseph@codesourcery.com>
37942
bec039bc
JM
37943 * configure.in (AS, LD): Require binutils 2.20 or later.
37944 * configure: Regenerated.
37945 * manual/install.texi (Tools for Compilation): Give binutils 2.20
37946 as required minimum version.
37947 * INSTALL: Regenerated.
37948
7b1902cb
JM
37949 [BZ #2541]
37950 [BZ #4108]
37951 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37952 before squaring exponent.
37953 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37954 bottom long double and 27 bits of top long double before squaring
37955 exponent.
37956 * math/libm-test.inc (erfc_test): Add more tests.
37957 * sysdeps/i386/fpu/libm-test-ulps: Update.
37958 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37960
f775c276
KT
379612012-03-01 Kai Tietz <ktietz@redhat.com>
37962
37963 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37964 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37965 containing bit-fields.
37966 * soft-fp/extended.h (_FP_UNION_E): Likewise.
37967 * soft-fp/single.h (_FP_UNION_S): Likewise.
37968 * soft-fp/double.h (_FP_UNION_D): Likewise.
37969
5b8a4d4a
JM
379702012-02-29 Joseph Myers <joseph@codesourcery.com>
37971
0bab47b6
JM
37972 [BZ #13786]
37973 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37974 not include ../strcmp.S.
37975 [USE_AS_STRNCASECMP_L]: Likewise.
37976 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37977 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37978 * sysdeps/i386/i686/multiarch/strncase_l-c.c
37979 (__strncasecmp_l_ia32): Define as alias to
37980 __strncasecmp_l_nonascii.
37981
0fcad3e2
JM
37982 [BZ #5794]
37983 * math/libm-test.inc (expm1_test): Add test for bug 5794.
37984 * sysdeps/i386/fpu/libm-test-ulps: Update.
37985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37986
5b8a4d4a
JM
37987 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37989
8fdceb2e
JL
379902012-02-29 Jeff Law <law@redhat.com>
37991
37992 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37993 out of bounds read.
37994
1f393a11
MP
379952012-02-29 Marek Polacek <polacek@redhat.com>
37996
37997 [BZ #13706]
37998 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37999 * elf/Makefile: Add rules to run tst-unused-dep.out.
38000
8847f037
DM
380012012-02-28 David S. Miller <davem@davemloft.net>
38002
38003 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
38004 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
38005 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
38006 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
38007 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
38008 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
38009
169d7f11
JM
380102012-02-29 Joseph Myers <joseph@codesourcery.com>
38011
38012 * math/libm-test.inc (llround_test): Move one test from
38013 lround_test. Use TEST_f_L in moved test.
38014 (lround_test): Move misplaced test to llround_test. Add testcase
38015 from bug 2561.
38016
39adf059
UD
380172012-02-28 Ulrich Drepper <drepper@gmail.com>
38018
38019 * sysdeps/x86_64/fpu/e_expf.S: New file.
38020 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38021
71b5d1c5
SB
380222012-02-28 Stanislav Brabec <sbrabec@suse.cz>
38023
38024 [BZ #13637]
38025 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38026 of remain_len that may cause incomplete multi-byte character and
38027 false match.
38028 * posix/bug-regex33.c: New file.
38029 * posix/Makefile (tests): Add bug-regex33.
38030
1f77f049
JM
380312012-02-28 Joseph Myers <joseph@codesourcery.com>
38032
38033 * manual/macros.texi: New file.
38034 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38035 * manual/libc.texinfo: Include macros.texi.
38036 * manual/creatute.texi: Likewise.
38037 * manual/install.texi: Likewise.
38038 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38039 @glibcadj{} in references to the GNU C Library.
38040 * manual/charset.texi: Likewise.
38041 * manual/conf.texi: Likewise.
38042 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
38043 when not using those macros.
38044 * manual/creature.texi: Likewise.
38045 * manual/crypt.texi: Likewise.
38046 * manual/errno.texi: Likewise.
38047 * manual/filesys.texi: Likewise.
38048 * manual/header.texi: Likewise.
38049 * manual/install.texi: Likewise.
38050 * manual/intro.texi: Likewise.
38051 * manual/io.texi: Likewise.
38052 * manual/job.texi: Likewise.
38053 * manual/lang.texi: Likewise.
38054 * manual/libc.texiinfo: Likewise.
38055 * manual/llio.texi: Likewise.
38056 * manual/locale.texi: Likewise.
38057 * manual/maint.texi: Likewise.
38058 * manual/math.texi: Likewise.
38059 * manual/memory.texi: Likewise.
38060 * manual/message.texi: Likewise.
38061 * manual/nss.texi: Likewise.
38062 * manual/pattern.texi: Likewise.
38063 * manual/process.texi: Likewise.
38064 * manual/resource.texi: Likewise.
38065 * manual/search.texi: Likewise.
38066 * manual/setjmp.texi: Likewise.
38067 * manual/signal.texi: Likewise.
38068 * manual/socket.texi: Likewise.
38069 * manual/startup.texi: Likewise.
38070 * manual/stdio.texi: Likewise.
38071 * manual/string.texi: Likewise.
38072 * manual/sysinfo.texi: Likewise.
38073 * manual/syslog.texi: Likewise.
38074 * manual/terminal.texi: Likewise.
38075 * manual/time.texi: Likewise.
38076 * manual/users.texi: Likewise.
38077 * INSTALL: Regenerated.
38078 * NOTES: Regenerated.
d40c5d54 38079 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 38080
450bf206
AS
380812012-02-28 Andreas Schwab <schwab@linux-m68k.org>
38082
38083 * include/dirent.h: Include <dirstream.h> before
38084 <dirent/dirent.h>.
38085
741a235b
DM
380862012-02-28 David S. Miller <davem@davemloft.net>
38087
38088 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38089 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38090 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38091 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38092
d6b5aa58
DM
380932012-02-27 David S. Miller <davem@davemloft.net>
38094
1aff59a3
DM
38095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38097 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38098 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38099
d6b5aa58
DM
38100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38101 frame pointer instead of stack pointer relative arg slot.
38102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38103 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38104 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38105
433f48bf
CD
381062012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
38107
38108 [BZ #3992]
38109 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38110
d674b76d
DM
381112012-02-27 David S. Miller <davem@davemloft.net>
38112
38113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38117 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38118 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38119 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38120 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38121
0e7727f7
JM
381222012-02-27 Joseph Myers <joseph@codesourcery.com>
38123
38124 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38125 later. Allow versions 5-9.
43be4ca2 38126 * configure: Regenerated.
0e7727f7
JM
38127 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38128 required minimum version and 4.6 as recommended version. Do not
38129 mention bugs in GCC 2.7 and 2.8.
43be4ca2 38130 * INSTALL: Regenerated.
0e7727f7 38131
a78bc654
DM
381322012-02-27 David S. Miller <davem@davemloft.net>
38133
428d5830
DM
38134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38138 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38139 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38140 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38141 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38142
a78bc654
DM
38143 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38144 manipulate bits before adding and subtracting TWO112[sx].
38145 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38146
4579f81c
RM
381472012-02-27 Roland McGrath <roland@hack.frob.com>
38148
36c8acb4
RM
38149 [BZ #13775]
38150 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38151 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38152 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38153 being in POSIX, because they are in 1003.1-2008.
38154
84ad622b
RM
38155 * rt/tst-aio.c: Include <fcntl.h>.
38156 * rt/tst-aio7.c: Likewise.
38157 * rt/tst-aio64.c: Likewise.
38158
4579f81c
RM
38159 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38160
abd923db
JM
381612012-02-27 Joseph Myers <joseph@codesourcery.com>
38162
38163 * manual/install.texi (--with-headers): Describe headers as
38164 interface headers, not private headers.
38165 (Specific advice for GNU/Linux systems): Describe use of headers
38166 from "make headers_install", not private headers from older
38167 kernels.
43be4ca2 38168 * INSTALL: Regenerated.
abd923db
JM
38169 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38170 Change to 2.6.19.
38171 * sysdeps/unix/sysv/linux/configure: Regenerated.
38172
6664049b
JM
38173 * manual/llio.texi (fclean): Remove documentation.
38174
bb8b6697
JM
38175 * manual/Makefile (libc-texi-generated): New variable. Include
38176 version.texi.
38177 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38178 $(libc-texi-generated), not duplicated list of files.
38179 (version.texi, stamp-version): New rules.
38180 (realclean): Remove $(libc-texi-generated), not individual files
38181 from that list. Do not remove dir-add.texinfo.
38182 * manual/libc.texinfo: Comment out uses of edition numbers and
38183 references to printed manual. Remove last-updated dates.
38184 (EDITION): Comment out.
38185 (ISBN): Likewise.
38186 (VERSION, UPDATED): Remove.
38187 (version.texi): Include.
38188
12e5c3b9
AS
381892012-02-27 Andreas Schwab <schwab@linux-m68k.org>
38190
38191 * sysdeps/posix/spawni.c: Include <signal.h>.
38192 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38193 * sysdeps/pthread/aio_fsync.c: Likewise.
38194
4efeffc1 381952012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 38196
ba63ba08
UD
38197 * conform/Makefile (tests): Run only when not cross-compiling and
38198 when fast-check is not defined.
38199
d94a4670
UD
38200 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38201 * conform/data/limits.h-data: Fixes for POSIX2008.
38202 * conform/run-conformtest.sh: Run all tests.
38203 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38204 headers.
38205 * include/bits/dlfcn.h: Likewise.
38206 * include/langinfo.h: Likewise.
38207 * include/monetary.h: Likewise.
38208 * include/sys/poll.h: Likewise.
38209
38210 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38211 for __USE_GNU.
38212 * posix/spawn.h: Define __need_sigset_t.
38213 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38214 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38215 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
38216 to get sigevent_t only.
38217 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38218 only for __USE_GNU.
38219 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38220 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38221 process_vm_writev only for __USE_GNU.
38222 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
38223
38224 * conform/Makefile: For now ignore errors from run-conformtest.
38225 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
38226 POSIX to avoid namespace pollution. Don't prepend headers.
38227 * conform/data/aio.h-data: Fixes for POSIX testing.
38228 * conform/data/fcntl.h-data: Likewise.
38229 * conform/data/glob.h-data: Likewise.
38230 * conform/data/grp.h-data: Likewise.
38231 * conform/data/pthread.h-data: Likewise.
38232 * conform/data/pwd.h-data: Likewise.
38233 * conform/data/signal.h-data: Likewise.
38234 * conform/data/spawn.h-data: Likewise.
38235 * conform/data/stdio.h-data: Likewise.
38236 * conform/data/stdlib.h-data: Likewise.
38237 * conform/data/stropts.h-data: Likewise.
38238 * conform/data/sys/mman.h-data: Likewise.
38239 * conform/data/sys/stat.h-data: Likewise.
38240 * conform/data/sys/types.h-data: Likewise.
38241 * conform/data/sys/wait.h-data: Likewise.
38242 * conform/data/time.h-data: Likewise.
38243 * conform/data/unistd.h-data: Likewise.
38244 * conform/data/utime.h-data: Likewise.
38245
38246 * io/sys/stat.h: fchmod was always in POSIX.
38247 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38248 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38249 * rt/aio.h: Define __need_timespec before including <time.h>.
38250 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38251 struct. Add forward declaration of pthread_attr_t and use it in
38252 sigevent.
38253 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38254 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38255 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38256 always remove CLK_TCK definition.
38257
c20105c3
AS
382582012-02-26 Andreas Schwab <schwab@linux-m68k.org>
38259
38260 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38261
7a270350
UD
382622012-02-25 Ulrich Drepper <drepper@gmail.com>
38263
31341567
UD
38264 * conform/run-conformtest.sh: New file.
38265 * conform/Makefile: Run run-conformtest for tests.
38266 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
38267 support.
38268
38269 * conform/data/uchar.h-data: New file.
38270 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38271 * conform/data/arpa/inet.h-data: Likewise.
38272 * conform/data/assert.h-data: Likewise.
38273 * conform/data/complex.h-data: Likewise.
38274 * conform/data/cpio.h-data: Likewise.
38275 * conform/data/ctype.h-data: Likewise.
38276 * conform/data/dirent.h-data: Likewise.
38277 * conform/data/dlfcn.h-data: Likewise.
38278 * conform/data/errno.h-data: Likewise.
38279 * conform/data/fcntl.h-data: Likewise.
38280 * conform/data/float.h-data: Likewise.
38281 * conform/data/fmtmsg.h-data: Likewise.
38282 * conform/data/fnmatch.h-data: Likewise.
38283 * conform/data/ftw.h-data: Likewise.
38284 * conform/data/glob.h-data: Likewise.
38285 * conform/data/grp.h-data: Likewise.
38286 * conform/data/iconv.h-data: Likewise.
38287 * conform/data/inttypes.h-data: Likewise.
38288 * conform/data/langinfo.h-data: Likewise.
38289 * conform/data/libgen.h-data: Likewise.
38290 * conform/data/limits.h-data: Likewise.
38291 * conform/data/locale.h-data: Likewise.
38292 * conform/data/math.h-data: Likewise.
38293 * conform/data/monetary.h-data: Likewise.
38294 * conform/data/mqueue.h-data: Likewise.
38295 * conform/data/ndbm.h-data: Likewise.
38296 * conform/data/net/if.h-data: Likewise.
38297 * conform/data/netdb.h-data: Likewise.
38298 * conform/data/netinet/in.h-data: Likewise.
38299 * conform/data/nl_types.h-data: Likewise.
38300 * conform/data/poll.h-data: Likewise.
38301 * conform/data/pthread.h-data: Likewise.
38302 * conform/data/pwd.h-data: Likewise.
38303 * conform/data/regex.h-data: Likewise.
38304 * conform/data/sched.h-data: Likewise.
38305 * conform/data/search.h-data: Likewise.
38306 * conform/data/semaphore.h-data: Likewise.
38307 * conform/data/setjmp.h-data: Likewise.
38308 * conform/data/signal.h-data: Likewise.
38309 * conform/data/spawn.h-data: Likewise.
38310 * conform/data/stdarg.h-data: Likewise.
38311 * conform/data/stdio.h-data: Likewise.
38312 * conform/data/stdlib.h-data: Likewise.
38313 * conform/data/string.h-data: Likewise.
38314 * conform/data/strings.h-data: Likewise.
38315 * conform/data/stropts.h-data: Likewise.
38316 * conform/data/sys/ipc.h-data: Likewise.
38317 * conform/data/sys/mman.h-data: Likewise.
38318 * conform/data/sys/msg.h-data: Likewise.
38319 * conform/data/sys/resource.h-data: Likewise.
38320 * conform/data/sys/select.h-data: Likewise.
38321 * conform/data/sys/sem.h-data: Likewise.
38322 * conform/data/sys/shm.h-data: Likewise.
38323 * conform/data/sys/socket.h-data: Likewise.
38324 * conform/data/sys/stat.h-data: Likewise.
38325 * conform/data/sys/statvfs.h-data: Likewise.
38326 * conform/data/sys/time.h-data: Likewise.
38327 * conform/data/sys/timeb.h-data: Likewise.
38328 * conform/data/sys/times.h-data: Likewise.
38329 * conform/data/sys/types.h-data: Likewise.
38330 * conform/data/sys/uio.h-data: Likewise.
38331 * conform/data/sys/un.h-data: Likewise.
38332 * conform/data/sys/utsname.h-data: Likewise.
38333 * conform/data/sys/wait.h-data: Likewise.
38334 * conform/data/syslog.h-data: Likewise.
38335 * conform/data/tar.h-data: Likewise.
38336 * conform/data/termios.h-data: Likewise.
38337 * conform/data/utime.h-data: Likewise.
38338 * conform/data/utmpx.h-data: Likewise.
38339 * conform/data/varargs.h-data: Likewise.
38340 * conform/data/wchar.h-data: Likewise.
38341 * conform/data/wctype.h-data: Likewise.
38342 * conform/data/wordexp.h-data: Likewise.
38343
38344 * include/stropts.h: New file.
38345 * include/uchar.h: New file.
38346 * include/aio.h: Changes to allow conformtest.pl to use the headers.
38347 * include/assert.h: Likewise.
38348 * include/ctype.h: Likewise.
38349 * include/dirent.h: Likewise.
38350 * include/dlfcn.h: Likewise.
38351 * include/fcntl.h: Likewise.
38352 * include/fnmatch.h: Likewise.
38353 * include/glob.h: Likewise.
38354 * include/grp.h: Likewise.
38355 * include/libio.h: Likewise.
38356 * include/locale.h: Likewise.
38357 * include/math.h: Likewise.
38358 * include/net/if.h: Likewise.
38359 * include/netdb.h: Likewise.
38360 * include/netinet/in.h: Likewise.
38361 * include/pthread.h: Likewise.
38362 * include/pwd.h: Likewise.
38363 * include/regex.h: Likewise.
38364 * include/sched.h: Likewise.
38365 * include/search.h: Likewise.
38366 * include/setjmp.h: Likewise.
38367 * include/signal.h: Likewise.
38368 * include/stdio.h: Likewise.
38369 * include/stdlib.h: Likewise.
38370 * include/string.h: Likewise.
38371 * include/sys/cdefs.h: Likewise.
38372 * include/sys/mman.h: Likewise.
38373 * include/sys/msg.h: Likewise.
38374 * include/sys/resource.h: Likewise.
38375 * include/sys/select.h: Likewise.
38376 * include/sys/socket.h: Likewise.
38377 * include/sys/stat.h: Likewise.
38378 * include/sys/statvfs.h: Likewise.
38379 * include/sys/time.h: Likewise.
38380 * include/sys/times.h: Likewise.
38381 * include/sys/uio.h: Likewise.
38382 * include/sys/utsname.h: Likewise.
38383 * include/sys/wait.h: Likewise.
38384 * include/termios.h: Likewise.
38385 * include/time.h: Likewise.
38386 * include/ulimit.h: Likewise.
38387 * include/unistd.h: Likewise.
38388 * include/utime.h: Likewise.
38389 * include/wchar.h: Likewise.
38390 * include/wctype.h: Likewise.
38391 * include/wordexp.h: Likewise.
38392
38393 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38394
7a270350
UD
38395 * time/time.h: TIME_UTC must be a macro.
38396 Make timespec_get available for ISO C11 only as well.
38397
7724defc
UD
383982012-02-24 Ulrich Drepper <drepper@gmail.com>
38399
38400 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38401 Reported by Peng Haitao <penght@cn.fujitsu.com>.
38402
6b1d1d46
JM
384032012-02-24 Joseph Myers <joseph@codesourcery.com>
38404
38405 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 38406
0f8bbd69
JM
384072012-02-24 Joseph Myers <joseph@codesourcery.com>
38408
38409 * manual/texinfo.tex: Update to version 2012-01-19.16.
38410
66ab80bc
JM
384112012-02-24 Joseph Myers <joseph@codesourcery.com>
38412
38413 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38414
74981cc5
RM
384152012-02-24 Roland McGrath <roland@hack.frob.com>
38416
ee968201
RM
38417 [BZ #13738]
38418 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38419 * manual/fdl-1.3.texi: New file.
38420 * manual/fdl-1.1.texi: File removed.
38421
74981cc5
RM
38422 [BZ #13738]
38423 * manual/libc.texinfo (FDL_VERSION): New @set.
38424 Use it for mention of FDL in cover text.
38425 (Documentation License): Use it in @include file name.
38426
7bb764bc
JM
384272012-02-22 Joseph Myers <joseph@codesourcery.com>
38428 Roland McGrath <roland@hack.frob.com>
38429
38430 [BZ #5461]
57f41c40
AS
38431 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38432 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
38433 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38434 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
38435 name.
38436 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38437
6cbeae47
JM
384382012-02-22 Joseph Myers <joseph@codesourcery.com>
38439
38440 [BZ #2547]
38441 [BZ #11365]
38442 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38443 manipulate bits before adding and subtracting TWO23[sx].
38444 * math/libm-test.inc (nearbyint_test): Add more tests.
38445
fe45ce09
JM
384462012-02-22 Joseph Myers <joseph@codesourcery.com>
38447
38448 [BZ #2548]
38449 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38450 bits before adding and subtracting TWO23[sx].
38451 * math/libm-test.inc (rint_test): Add more tests.
38452 (rint_test_tonearest): Likewise.
38453 (rint_test_towardzero): Likewise.
38454 (rint_test_downward): Likewise.
38455 (rint_test_upward: Likewise.
38456
ff3b3d82
JM
384572012-02-22 Joseph Myers <joseph@codesourcery.com>
38458
38459 [BZ #10110]
38460 * include/stdc-predef.h: New file. Extracted from features.h.
38461 * include/features.h: Include stdc-predef.h.
38462 * Makefile (headers): Add stdc-predef.h.
38463 * CONFORMANCE (Compiler limitations): Update.
38464
ef0aab35
JM
384652012-02-22 Joseph Myers <joseph@codesourcery.com>
38466
38467 * manual/libc.texinfo (VERSION, UPDATED): Revert.
38468
58639409
DM
384692012-02-21 David S. Miller <davem@davemloft.net>
38470
38471 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38472 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38473
c0e70b25
DM
384742012-02-20 David S. Miller <davem@davemloft.net>
38475
38476 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38477 using a normal save/restore sequence, rather than allocating a
38478 dummy stack frame just to store a frame pointer and restore.
38479 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38480
fb06851d
JM
384812012-02-21 Joseph Myers <joseph@codesourcery.com>
38482
38483 * manual/install.texi: Fix stray word in line-wrapped comment.
38484
7a8b71c3
DM
384852012-02-20 David S. Miller <davem@davemloft.net>
38486
d510c123
DM
38487 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38488 both binutils and gcc support GOTDATA.
38489
0722d7c2
DM
38490 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38491 "rd %pc" in the PIC register setup sequences.
38492
3d2b3019
DM
38493 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38494 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38495 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38496 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38497 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38498 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38499 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38500 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38501 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38502 (SYSCALL_ERROR_HANDLER): Likewise.
38503 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38504 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38505 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38506 (SYSCALL_ERROR_HANDLER): Likewise.
38507
c80098a9
DM
38508 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38509 (HAVE_GCC_GOTDATA): New.
38510 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38511 relocation support in both binutils and gcc.
38512 * sysdeps/sparc/elf/configure: Regenerate.
38513
3a2545a0
DM
38514 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38515 * sysdeps/sparc/sparc32/elf/configure: Delete.
38516 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38517 * sysdeps/sparc/sparc64/elf/configure: Delete.
38518 * sysdeps/sparc/elf/configure.in: New file.
38519 * sysdeps/sparc/elf/configure: Generate.
38520
7a8b71c3
DM
38521 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38522 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38523 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38524 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38525 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38526
f1e86fca
JM
385272012-02-21 Joseph Myers <joseph@codesourcery.com>
38528
38529 * manual/install.texi: Do not mention specific glibc version
38530 numbers.
38531 * manual/libc.texinfo (VERSION, UPDATED): Update.
38532 (@copying): Use @copyright{} and range of years.
38533
0e7dfaef
JM
385342012-02-21 Joseph Myers <joseph@codesourcery.com>
38535
38536 [BZ #13695]
38537 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38538 [crti.S not in sysdirs] (generated): Do not append.
38539 [crti.S not in sysdirs] (omit-deps): Likewise.
38540 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38541 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38542 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38543 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38544 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38545 Likewise.
38546 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38547 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38548 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38549 * csu/defs.awk: Remove file.
38550 * sysdeps/generic/initfini.c: Likewise.
38551 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38552 variable.
38553 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38554 Likewise.
38555
599af3ca
JM
385562012-02-20 Joseph Myers <joseph@codesourcery.com>
38557
38558 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38559 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38560 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38561 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38562 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38563 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38564 <bits/epoll.h>.
38565 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38566 (__EPOLL_PACKED): Define to empty if not defined by
38567 <bits/epoll.h>.
38568 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38569 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38570 bits/epoll.h.
38571
0e499750
JM
385722012-02-20 Joseph Myers <joseph@codesourcery.com>
38573
38574 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38575 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38576 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38577 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38578 <bits/timerfd.h>.
38579 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38580 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38581 bits/timerfd.h.
38582
5ad91f6e
JM
385832012-02-20 Joseph Myers <joseph@codesourcery.com>
38584
38585 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38586 in C locale.
38587 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38588 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38589 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38591
06b99b02
AJ
385922012-02-20 Aurelien Jarno <aurelien@aurel32.net>
38593
38594 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38595 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38596
7638c0fd
AS
385972012-02-19 Andreas Schwab <schwab@linux-m68k.org>
38598
38599 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38600 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38601 defined.
38602 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38603 Likewise.
38604 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38605 entry for 2.16.
38606
92221550
AJ
386072012-02-19 Aurelien Jarno <aurelien@aurel32.net>
38608
38609 * math/w_acos.c: Use non-signaling floating-point comparisons.
38610 * math/w_acosf.c: Likewise.
38611 * math/w_acosh.c: Likewise.
38612 * math/w_acoshf.c: Likewise.
38613 * math/w_acoshl.c: Likewise.
38614 * math/w_acosl.c: Likewise.
38615 * math/w_asin.c: Likewise.
38616 * math/w_asinf.c: Likewise.
38617 * math/w_asinl.c: Likewise.
38618 * math/w_atanh.c: Likewise.
38619 * math/w_atanhf.c: Likewise.
38620 * math/w_atanhl.c: Likewise.
38621 * math/w_exp2.c: Likewise.
38622 * math/w_exp2f.c: Likewise.
38623 * math/w_exp2l.c: Likewise.
38624 * math/w_j0.c: Likewise.
38625 * math/w_j0f.c: Likewise.
38626 * math/w_j0l.c: Likewise.
38627 * math/w_j1.c: Likewise.
38628 * math/w_j1f.c: Likewise.
38629 * math/w_j1l.c: Likewise.
38630 * math/w_jn.c: Likewise.
38631 * math/w_jnf.c: Likewise.
38632 * math/w_log.c: Likewise.
38633 * math/w_log10.c: Likewise.
38634 * math/w_log10f.c: Likewise.
38635 * math/w_log10l.c: Likewise.
38636 * math/w_log2.c: Likewise.
38637 * math/w_log2f.c: Likewise.
38638 * math/w_log2l.c: Likewise.
38639 * math/w_logf.c: Likewise.
38640 * math/w_logl.c: Likewise.
38641 * math/w_sqrt.c: Likewise.
38642 * math/w_sqrtf.c: Likewise.
38643 * math/w_sqrtl.c: Likewise.
38644 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38645 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38646 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38647 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38648 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38649
ebaf36eb
JM
386502012-02-19 Joseph Myers <joseph@codesourcery.com>
38651
38652 [BZ #9739]
38653 * manual/string.texi (strnlen): Use correct parameter name in
38654 equivalent expression.
38655
71c254a6
JM
386562012-02-19 Joseph Myers <joseph@codesourcery.com>
38657
38658 [BZ #11174]
38659 * manual/users.texi (seteuid): Consistently use neweuid for
38660 argument name.
38661
16d2c631
JM
386622012-02-19 Joseph Myers <joseph@codesourcery.com>
38663
38664 [BZ #13704]
38665 * manual/nss.texi (Services in the NSS configuration): Correct
38666 list of services in example configuration file.
38667
cd837b09
NB
386682012-02-19 Nick Bowler <nbowler@draconx.ca>
38669
38670 [BZ #11322]
38671 * manual/arith.texi: Remove statements about negative zero
38672 behaving identically to zero.
38673
02c4bbad
JM
386742012-02-18 Joseph Myers <joseph@codesourcery.com>
38675
38676 [BZ #5993]
38677 * manual/install.texi: Do not document upgrading from libc5.
38678
366842e7
JM
386792012-02-18 Joseph Myers <joseph@codesourcery.com>
38680
38681 [BZ #4596]
38682 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38683
dd54084d
DM
386842012-02-18 David S. Miller <davem@davemloft.net>
38685
38686 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38687 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38688 %o7 across the call.
38689 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38690 instead.
38691 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38692 SETUP_PIC_REG_LEAF.
38693 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38694 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38695 * sysdeps/sparc/crtn.S: Likewise.
38696
2bcc53a3
UD
386972012-02-17 Ulrich Drepper <drepper@gmail.com>
38698
38699 * aout/Makefile: Remove.
38700
09c093b5
RK
387012012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
38702
38703 [BZ #13058]
38704 * manual/examples/argp-ex1.c (main): Format definition in GNU
38705 style.
38706 * manual/examples/argp-ex2.c (main): Likewise.
38707 * manual/examples/argp-ex3.c (main): Likewise.
38708 * manual/examples/argp-ex4.c (main): Likewise.
38709 * manual/examples/longopt.c (main): Use new-style prototype
38710 definition.
38711 * manual/examples/strncat.c (main): Specify return type and use
38712 (void) for arguments.
38713 * manual/examples/subopt.c (main): Use char **argv argument.
38714
2ee633a2
JM
387152012-02-17 Joseph Myers <joseph@codesourcery.com>
38716
38717 [BZ #5077]
38718 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38719 rounding modes.
38720
0520adde
FB
387212012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
38722
38723 [BZ #6907]
38724 * manual/string.texi (strchr): Change when strchrnul is
38725 recommended.
38726
3f4081cd
DGM
387272012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
38728
38729 [BZ #174]
38730 * manual/locale.texi (setlocale): Document LOCPATH.
38731
d1b10e78
JM
387322012-02-17 Joseph Myers <joseph@codesourcery.com>
38733
38734 [BZ #10210]
38735 * manual/process.texi (execle): Move @dots{} before last argument.
38736
79c6869c
PB
387372012-02-17 Paul Bolle <pebolle@tiscali.nl>
38738
38739 [BZ #12047]
38740 * manual/charset.texi (Generic Charset Conversion): Fix typo
38741 (LC_TYPE -> LC_CTYPE).
38742
cc6e48bc
NB
387432012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
38744
38745 [BZ #5805]
38746 * manual/arith.texi (scalbn): Use @var{} on parameter names.
38747 (scalbnf): Likewise.
38748 (scalbnl): Likewise.
38749 (scalbln): Likewise.
38750 (scalblnf): Likewise.
38751 (scalblnl): Likewise.
38752 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38753 (vwarnx): Likewise.
38754 (verr): Likewise.
38755 (verrx): Likewise.
38756 * manual/filesys.texi (telldir): Use braces around return type.
38757 * manual/llio.texi (mmap): Add space after comma.
38758 (mmap64): Likewise.
38759 * manual/math.texi (jn): Use @var{} on parameter names.
38760 (jnf): Likewise.
38761 (jnl): Likewise.
38762 (yn): Likewise.
38763 (ynf): Likewise.
38764 (ynl): Likewise.
38765 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38766 line.
38767 * manual/resource.texi (ulimit): Use @dots{} instead of literal
38768 "...".
38769 (sched_get_priority_min): Remove semicolon on @deftypefun line.
38770 (sched_get_priority_max): Likewise.
38771 * manual/signal.texi (sigvec): Add space after comma.
38772 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38773 names.
38774 (if_indextoname): Likewise.
38775 (if_freenameindex): Likewise.
38776 (sendto): Use ',' instead of '.' in prototype.
38777 * manual/startup.texi (syscall): Use @dots{} instead of literal
38778 "...".
38779 * manual/stdio.texi (__fpending): Separate initial words of
38780 paragraph from @deftypefun line.
38781 * manual/syslog.texi (syslog): Use @dots{} instead of literal
38782 "...".
38783 (vsyslog): Use @var{} on parameter names.
38784 * manual/terminal.texi (stty): Use @var{} on parameter names.
38785 * manual/users.texi (getutmp): Use @var{} on parameter names.
38786 (getutmpx): Likewise.
38787
5b23062f
JM
387882012-02-17 Joseph Myers <joseph@codesourcery.com>
38789
38790 [BZ #6884]
38791 * manual/stdio.texi (fopen): Fix typos in description of
38792 ",ccs=STRING".
38793
8dee4833
AJ
387942012-02-17 Aurelien Jarno <aurelien@aurel32.net>
38795
38796 [BZ #4026]
38797 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38798 get clock_id definition.
38799
9078ce93
TS
388002012-02-17 Thomas Schwinge <thomas@schwinge.name>
38801
38802 [BZ #4822]
38803 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38804 (madvise): Cast every argument to void on its own.
38805
3835c55f
JM
388062012-02-17 Joseph Myers <joseph@codesourcery.com>
38807
38808 [BZ #9902]
38809 * manual/startup.texi (Exit Status): Fix typo.
38810
35c47e37
JM
388112012-02-17 Joseph Myers <joseph@codesourcery.com>
38812
38813 [BZ #10140]
38814 * manual/examples/argp-ex1.c: Include <stdlib.h>.
38815 * manual/examples/argp-ex2.c: Likewise.
38816 * manual/examples/argp-ex3.c: Likewise.
38817
e3b69ca7
RH
388182012-02-16 Richard Henderson <rth@redhat.com>
38819
38820 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38821 * sysdeps/s390/s390-32/initfini.c: Remove.
38822 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38823 * sysdeps/s390/s390-64/initfini.c: Remove.
38824
df83af67
KK
388252012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38826
38827 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38828 compiler output for sysdeps/generic/initfini.c.
38829 * sysdeps/sh/elf/initfini.c: Remove file.
38830
f63f3380
DM
388312012-02-16 David S. Miller <davem@davemloft.net>
38832
fb59b3a4
DM
38833 [BZ #11494]
38834 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38835
f63f3380
DM
38836 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38837 * sysdeps/sparc/crti.S: New file.
38838 * sysdeps/sparc/crtn.S: New file.
38839 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38840 * sysdeps/sparc/sparc64/Makefile: Likewise.
38841
df6a4a4a
MF
388422012-02-15 Mike Frysinger <vapier@gentoo.org>
38843
6dd8f3dc 38844 [BZ #3335]
df6a4a4a
MF
38845 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38846
1cac7236
RM
388472012-02-15 Roland McGrath <roland@hack.frob.com>
38848
d2c736f8
RM
38849 [BZ #4822]
38850 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38851
1cac7236
RM
38852 * mach/devstream.c (cookie_io_functions_t): Macro removed.
38853 (write, read, close): Likewise.
38854 Patch by Aurelien Jarno <aurelien@aurel32.net>.
38855
8e475601
JM
388562012-02-15 Joseph Myers <joseph@codesourcery.com>
38857
38858 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38859 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38860 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38861 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38862 <bits/signalfd.h>.
38863 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38864 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38865 bits/signalfd.h.
38866
ed656b40
MP
388672012-02-14 Marek Polacek <polacek@redhat.com>
38868
38869 * sysdeps/x86_64/crti.S: New file.
38870 * sysdeps/x86_64/crtn.S: New file.
38871 * sysdeps/x86_64/elf/initfini.c: Remove file.
38872
2a979d3a
JM
388732012-02-13 Joseph Myers <joseph@codesourcery.com>
38874
38875 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38876 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38877 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38878 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38879 <bits/inotify.h>.
38880 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38881 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38882 bits/inotify.h.
38883
2a418ac3
JM
388842012-02-13 Joseph Myers <joseph@codesourcery.com>
38885
38886 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38887 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38888 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38889 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38890 <bits/eventfd.h>.
38891 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38892 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38893 bits/eventfd.h.
38894
fb779be7
TS
388952012-02-10 Thomas Schwinge <thomas@codesourcery.com>
38896
e19e83c5
RM
38897 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38898 __feraiseexcept instead of feraiseexcept.
7c35ffed 38899
fb779be7
TS
38900 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38901 nanosleep invocations.
38902 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38903 strings, and add error checking for a nanosleep invocations.
38904
59ba27a6
PE
389052012-02-09 Paul Eggert <eggert@cs.ucla.edu>
38906
38907 Replace FSF snail mail address with URLs, as per GNU coding standards.
38908 Most of the snail mail addresses were wrong anyway, and omitting
38909 them makes the source code easier to maintain. Almost all of the
38910 changes are to license notices and to locale LC_IDENTIFICATION
38911 addresses, except for this one:
38912 * manual/libc.texinfo: In "Published by", give the FSF's URL,
38913 not its snail mail address.
38914
57b957eb
RH
389152012-02-09 Richard Henderson <rth@twiddle.net>
38916
af850b1c
RH
38917 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38918 of kernel-features.h.
38919
57b957eb
RH
38920 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38921
6b73181a
MP
389222012-02-08 Marek Polacek <polacek@redhat.com>
38923
38924 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38925 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38926 * sysdeps/gnu/_G_config.h: Likewise.
38927 * sysdeps/generic/_G_config.h: Likewise.
38928
26ecc33a
AS
389292012-02-08 Andreas Schwab <schwab@linux-m68k.org>
38930
6c6dbc63
AS
38931 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38932 tests.
38933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38934
e216c012
AS
38935 * sysdeps/powerpc/powerpc32/crti.S: New file.
38936 * sysdeps/powerpc/powerpc32/crtn.S: New file.
38937 * sysdeps/powerpc/powerpc64/crti.S: New file.
38938 * sysdeps/powerpc/powerpc64/crtn.S: New file.
38939
26ecc33a
AS
38940 * Makeconfig (have-initfini): Don't set.
38941 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38942 * configure.in (nopic_initfini): Don't substitute.
38943 * config.h.in (HAVE_INITFINI): Don't #undef.
38944 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38945 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38946
3add8e13
JM
389472012-02-08 Joseph Myers <joseph@codesourcery.com>
38948
38949 Support crti.S and crtn.S provided directly by architectures.
38950 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38951 [crti.S in sysdirs] (omit-deps): Likewise.
38952 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38953 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38954 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38955 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38956 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38957 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38958 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38959 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38960 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38961 compiler output for sysdeps/generic/initfini.c.
38962 * sysdeps/i386/elf/Makefile: Remove file.
38963 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38964
a22f12b4
MP
389652012-02-07 Marek Polacek <polacek@redhat.com>
38966
38967 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38968 * sysdeps/gnu/_G_config.h: Likewise.
38969 * sysdeps/mach/hurd/_G_config.h: Likewise.
38970
148cf100
MP
389712012-02-07 Marek Polacek <polacek@redhat.com>
38972
38973 * math/Makefile (tests): Add tst-CMPLX2.
38974 * math/tst-CMPLX2.c: New file.
38975
cfdc0dd7
AS
389762012-02-07 Andreas Schwab <schwab@linux-m68k.org>
38977
84ba42c4
AS
38978 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38979
cfdc0dd7
AS
38980 * math/libm-test.inc (jn_test): Add missing L suffix.
38981
622c86f4
MP
389822012-02-06 Marek Polacek <polacek@redhat.com>
38983
38984 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38985 * sysdeps/i386/fpu/e_powf.S: Likewise.
38986 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38987 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38988 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38989 * sysdeps/i386/fpu/e_pow.S: Likewise.
38990 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38991 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38992 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38993 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38994 * sysdeps/i386/fpu/e_log2.S: Likewise.
38995 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38996 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38997 * sysdeps/i386/fpu/e_powl.S: Likewise.
38998 * sysdeps/i386/fpu/s_log1p.S: Likewise.
38999 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39000 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39001 * sysdeps/i386/fpu/e_logl.S: Likewise.
39002 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39003 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
39004 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39005 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39006 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39007 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39008 * sysdeps/i386/fpu/e_log.S: Likewise.
39009 * sysdeps/i386/fpu/s_cexp.S: Likewise.
39010 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39011 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
39012 * sysdeps/i386/fpu/e_logf.S: Likewise.
39013 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39014 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39015 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39016 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39017 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39018 * sysdeps/i386/fpu/e_log10.S: Likewise.
39019 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39020 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39021 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39022 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39023 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39024 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39025 * sysdeps/i386/asm-syntax.h: Likewise.
39026 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39027 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39028 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39029 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39030 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39031 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39032 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39033 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39034 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39035 * sysdeps/powerpc/sysdep.h: Likewise.
39036 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39037 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39038
d4a54ac6
JM
390392012-02-06 Joseph Myers <joseph@codesourcery.com>
39040
39041 [BZ #411]
39042 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39043
314054ea
JM
390442012-02-06 Joseph Myers <joseph@codesourcery.com>
39045
39046 * sysdeps/i386/sysdep.h: Include <features.h>.
39047 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39048 version.
39049
d8e0ca50
JM
390502012-02-05 Joseph Myers <joseph@codesourcery.com>
39051
39052 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39053 Define.
39054 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39055 LOAD_PIC_REG_STR.
39056
b1da7dd9
JM
390572012-02-03 Joseph Myers <joseph@codesourcery.com>
39058
39059 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39060 (SETUP_PIC_REG): Use GET_PC_THUNK.
39061 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39062 macro.
39063
9a1d9254
JM
390642012-02-03 Joseph Myers <joseph@codesourcery.com>
39065
39066 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39067 for non-PIC compilation.
39068 (SETUP_PIC_REG): Add .p2align directive.
39069 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39070 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39071 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39072 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39073 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39074 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39075 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39076 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39077 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39078 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39079 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39080 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39081 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39082 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39083 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39084 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39085 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39086 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39087 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39088 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39089 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39090 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39091 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39092 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39093 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39094 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39095 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39096 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39097 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39098 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39099 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39100 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39101 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39102 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39103 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39104 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39105 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39106 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39107 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39108 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39109 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39110
65dc3b75
JM
391112012-02-03 Joseph Myers <joseph@codesourcery.com>
39112
39113 * math/tst-CMPLX.c: Include <stdio.h>.
39114
d55bf177
JM
391152012-01-31 Joseph Myers <joseph@codesourcery.com>
39116
39117 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39118 float.
39119 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39120 * sysdeps/sparc/bits/mathdef.h: Likewise.
39121
69db4f8f
MP
391222012-01-31 Marek Polacek <polacek@redhat.com>
39123
39124 * libio/libio.h: Don't define _PARAMS.
39125 * locale/programs/config.h: Don't define PARAMS.
39126 * stdlib/strtol_l.c: Likewise.
39127 (__strtol_l): Remove PARAMS from the prototype.
39128
41b81892
UD
391292012-01-31 Ulrich Drepper <drepper@gmail.com>
39130
3b49edc0
UD
39131 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
39132 names. Just use the correct names. Remove unnecessary wrapper
39133 functions.
39134 * malloc/arena.c: Likewise.
39135 * malloc/hooks.c: Likewise.
39136
41b81892
UD
39137 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39138 ARENA_TEST says not to. Simplify test for creation of a new arena.
39139 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39140
27a25b6e
UD
391412012-01-30 Ulrich Drepper <drepper@gmail.com>
39142
39143 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39144 into tail calls.
39145 (update_get_addr): New function.
39146 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39147 GET_ADDR_MODULE parameter.
39148
c8a89e7d
JM
391492012-01-30 Joseph Myers <joseph@codesourcery.com>
39150
39151 * crypt/cert.c: Remove __STDC__ conditionals.
39152 * crypt/crypt-entry.c: Likewise.
39153 * crypt/crypt_util.c: Likewise.
39154 * libio/filedoalloc.c: Likewise.
39155 * libio/fileops.c: Likewise.
39156 * libio/genops.c: Likewise.
39157 * libio/iofclose.c: Likewise.
39158 * libio/iofdopen.c: Likewise.
39159 * libio/iofopen.c: Likewise.
39160 * libio/iofopen64.c: Likewise.
39161 * libio/iogetdelim.c: Likewise.
39162 * libio/iopopen.c: Likewise.
39163 * libio/obprintf.c: Likewise.
39164 * libio/oldfileops.c: Likewise.
39165 * libio/oldiofclose.c: Likewise.
39166 * libio/oldiofdopen.c: Likewise.
39167 * libio/oldiofopen.c: Likewise.
39168 * libio/oldiopopen.c: Likewise.
39169 * libio/wfiledoalloc.c: Likewise.
39170 * libio/wgenops.c: Likewise.
39171 * locale/programs/xmalloc.c: Likewise.
39172 * misc/syslog.c: Likewise.
39173 * stdio-common/xbug.c: Likewise.
39174 * string/memchr.c: Likewise.
39175 * string/memcmp.c: Likewise.
39176 * string/memrchr.c: Likewise.
39177 * string/rawmemchr.c: Likewise.
39178 * sysdeps/posix/getcwd.c: Likewise.
39179 * time/strftime_l.c: Likewise.
39180
3b100462
JM
391812012-01-30 Joseph Myers <joseph@codesourcery.com>
39182
39183 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
39184 * config.make.in (config-cflags-sse2avx): Define.
39185 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39186 Fix typo.
39187
607998af
CM
391882012-01-29 Chris Metcalf <cmetcalf@tilera.com>
39189
39190 * scripts/config.guess: Update from upstream config git repository.
39191 * scripts/config.sub: Likewise.
39192
3601428f
CM
391932012-01-28 Chris Metcalf <cmetcalf@tilera.com>
39194
3ac8b282
CM
39195 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39196 (EM_NUM): Update.
39197 (R_TILEPRO_*, R_TILEGX_*): New macros.
39198
e034841e
CM
39199 * scripts/firstversions.awk: Fix bug in version range handling.
39200
540d7568
CM
39201 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39202
3601428f
CM
39203 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39204
463de862
CM
39205 * include/sys/epoll.h: New file.
39206 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39207 libc_hidden_def.
39208
73139a76
UD
392092012-01-28 Ulrich Drepper <drepper@gmail.com>
39210
96bc5b45
UD
39211 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39212 Avoid unnecessary __WORDSIZE == 64 test.
39213 (fmaxf): Use VEX format if possible.
39214 (fmax): Likewise.
39215 (fminf): Likewise.
39216 (fmin): Likewise.
39217
56f6f6a2
UD
39218 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39219 * math/math_private.h: Remove libc_fegetround* and
39220 libc_fesetround*.
39221 * sysdeps/i386/configure.in: Check for -msse2avx.
39222 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39223 also if SSE2AVX is defined.
39224 Remove libc_fegetround* and libc_fesetround*.
39225 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39226 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
39227 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39228 of HAS_YMM_USABLE.
39229 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39230 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39231 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39232 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39233 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39234
73139a76
UD
39235 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39236
d73f93a4
AZ
392372012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39238
39239 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39240 size is not set.
39241 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39242
6ee65ed6
UD
392432012-01-27 Ulrich Drepper <drepper@gmail.com>
39244
39245 [BZ #13618]
39246 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39247 relocation.
39248 * Makeconfig (libm): Define.
39249 * elf/Makefile: Add rules to build and run tst-relsort1.
39250 * elf/tst-relsort1.c: New file.
39251 * elf/tst-relsort1mod1.c: New file.
39252 * elf/tst-relsort1mod2.c: New file.
39253
8db21882
JM
392542012-01-27 Joseph Myers <joseph@codesourcery.com>
39255
39256 * math/s_ldexp.c: Remove __STDC__ conditionals.
39257 * math/s_ldexpf.c: Likewise.
39258 * math/s_ldexpl.c: Likewise.
39259 * math/s_nextafter.c: Likewise.
39260 * math/s_nexttowardf.c: Likewise.
39261 * math/s_significand.c: Likewise.
39262 * math/s_significandf.c: Likewise.
39263 * math/s_significandl.c: Likewise.
39264 * math/w_jnl.c: Likewise.
39265 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39266 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39267 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39268 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39269 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39270 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39271 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39272 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39273 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39274 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39275 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39276 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39277 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39278 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39279 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39280 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39281 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39282 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39283 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39284 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39285 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39286 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39287 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39288 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39289 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39290 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39291 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39292 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39293 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39294 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39295 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39296 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39297 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39298 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39299 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39300 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39301 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39302 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39303 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39304 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39305 * sysdeps/ieee754/k_standard.c: Likewise.
39306 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39307 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39308 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39309 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39310 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39311 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39312 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39313 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39314 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39315 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39316 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39317 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39318 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39319 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39320 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39321 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39322 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39323 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39324 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39325 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39326 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39327 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39328 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39329 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39330 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39331 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39332 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39333 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39334 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39335 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39336 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39337 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39338 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39339 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39340 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39341 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39342 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39343 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39344 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39345 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39346 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39347 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39348 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39349 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39350 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39351 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39352 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39353 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39354 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39355 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39356 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39357 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39358 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39359 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39360 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39361 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39362 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39363 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39364 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39365 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39366 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39367 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39368 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39369 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39370 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39371 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39372 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39373 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39374 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39375 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39376 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39377 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39378 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39379 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39380 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39381 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39382 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39383 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39384 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39385 * sysdeps/ieee754/s_matherr.c: Likewise.
39386 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39387 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39388 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39389 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39390
965a54a4
JM
393912012-01-26 Joseph Myers <joseph@codesourcery.com>
39392
39393 * crypt/md5.h: Remove __STDC__ conditionals.
39394 * libio/libioP.h: Likewise.
39395 * locale/programs/config.h: Likewise.
39396 * sysdeps/generic/sysdep.h: Likewise.
39397 * sysdeps/i386/asm-syntax.h: Likewise.
39398 * sysdeps/s390/asm-syntax.h: Likewise.
39399 * sysdeps/unix/sysdep.h: Likewise.
39400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39402
7071ad79
JM
394032012-01-26 Joseph Myers <joseph@codesourcery.com>
39404
39405 * libio/libio.h: Remove __STDC__ conditionals.
39406 * malloc/obstack.h: Likewise.
39407 * math/complex.h: Likewise.
39408 * math/math.h: Likewise.
39409 * sysdeps/generic/_G_config.h: Likewise.
39410 * sysdeps/gnu/_G_config.h: Likewise.
39411 * sysdeps/mach/hurd/_G_config.h: Likewise.
39412 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39413 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39414 * sysdeps/sparc/bits/mathdef.h: Likewise.
39415
afc5ed09
UD
394162012-01-26 Ulrich Drepper <drepper@gmail.com>
39417
39418 [BZ #13583]
39419 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 39420 Clean up HAS_* macros.
afc5ed09 39421 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
39422 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39423 possible.
39424 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39425 HAS_AVX.
39426 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39427 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39428 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39429 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39430 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 39431
bdb6de1d
JM
394322012-01-25 Joseph Myers <joseph@codesourcery.com>
39433
39434 * elf/tst-unique3.cc (gets): Remove declaration.
39435 * elf/tst-unique3lib.cc (gets): Likewise.
39436 * elf/tst-unique3lib2.cc (gets): Likewise.
39437 * elf/tst-unique4.cc (gets): Likewise.
39438
b15549e6
UD
394392012-01-24 Ulrich Drepper <drepper@gmail.com>
39440
39441 * include/stdio.h: Add C++ protection. Add gets declarations and
39442 definitions.
39443 * debug/tst-chk1.c: Don't declare gets here.
39444 * stdio-common/tst-gets.c: Likewise.
39445
a037381f
JM
394462012-01-24 Joseph Myers <joseph@codesourcery.com>
39447
39448 * posix/glob: Remove directory.
39449
f1d4aa75
JM
394502012-01-24 Joseph Myers <joseph@codesourcery.com>
39451
39452 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39453
81c0c964
PT
394542012-01-22 Pino Toscano <toscano.pino@tiscali.it>
39455
39456 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39457 of the non-standard EPFNOSUPPORT.
39458
0ea698ae
ST
394592011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
39460
39461 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39462 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39463 ANYWHERE set to 1 only on KERN_NO_SPACE error.
39464
d220b117
UD
394652012-01-21 Ulrich Drepper <drepper@gmail.com>
39466
39467 * wcsmbs/uchar.h: Test __STDC_VERSION__.
39468
3e1aa84e
UD
394692012-01-20 Ulrich Drepper <drepper@gmail.com>
39470
39471 * nscd/aicache.c (addhstaiX): Do not cache negative results of
39472 transient errors.
39473 * nscd/grpcache.c (cache_addgr): Likewise.
39474 * nscd/hstcache.c (cache_addhst): Likewise.
39475 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39476 * nscd/pwdcache.c (cache_addpw): Likewise.
39477 * nscd/servicescache.c (cache_addserv): Likewise.
39478
400aa020
UD
394792012-01-16 Ulrich Drepper <drepper@gmail.com>
39480
d77e7869
UD
39481 * malloc/malloc.c: Various cleanups.
39482 * malloc/hooks.c: Likewise.
39483
400aa020
UD
39484 * stdlib/Makefile (tests): Add bug-fmtmsg1.
39485 * stdlib/bug-fmtmsg1.c: New file.
39486
39487 * stdlib/fmtmsg.c (init): Add missing unlock.
39488 Patch by Peng Haitao <penght@cn.fujitsu.com>.
39489
e0a309cf
MP
394902012-01-12 Marek Polacek <polacek@redhat.com>
39491
39492 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39493 and _GNU_SOURCE.
39494
929d11c7
WS
394952012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39496
39497 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39498 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39499 macro to ensure uniqueness of label name.
39500 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39501 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39502
41d0e869
UD
395032012-01-11 Ulrich Drepper <drepper@gmail.com>
39504
0cc5ed3b
UD
39505 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39506
41d0e869
UD
39507 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39508 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39509 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39510 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39511
a47a831a
UD
395122012-01-10 Ulrich Drepper <drepper@gmail.com>
39513
daa891c0
UD
39514 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39515
39516 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39517 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39518 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39519
e58ef0f2
UD
39520 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39521
a47a831a 39522 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
39523 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39524 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 39525 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
39526
39527 * math/bits/math-finite.h: Add ldexp support.
39528
a0bfc9c7
MP
395292012-01-10 Marek Polacek <polacek@redhat.com>
39530
39531 * locale/programs/localedef.h (show_archive_content): Add noreturn
39532 attribute.
39533
d6e97a1d
UD
395342012-01-09 Ulrich Drepper <drepper@gmail.com>
39535
39536 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39537
d5835c26
UD
395382012-01-08 Ulrich Drepper <drepper@gmail.com>
39539
e5f484c6
UD
39540 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39541
d5835c26
UD
39542 * io/Makefile (headers): Add bits/poll2.h.
39543
d1f741e9
WS
395442011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
39545
39546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39547 typo #include statement.
39548
ec09c1c4
UD
395492012-01-08 Ulrich Drepper <drepper@gmail.com>
39550
39551 * include/sys/cdefs.h: Define __attribute_alloc_size.
39552 * catgets/gencat.c: Add alloc_size attribute and apply consistently
39553 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39554 * elf/pldd.c: Likewise.
39555 * iconv/iconv_charmap.c: Likewise.
39556 * iconv/iconvconfig.c: Likewise.
39557 * iconv/strtab.c: Likewise.
39558 * locale/programs/locale.c: Likewise.
39559 * locale/programs/localedef.h: Likewise.
39560 * locale/programs/simple-hash.c: Likewise.
39561 * nscd/nscd.h: Likewise.
39562 * nss/makedb.c: Likewise.
39563 * sysdeps/generic/ldconfig.h: Likewise.
39564 * locale/programs/localedef.c: Remove xmalloc prototype.
39565 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39566
20b38e03
PP
395672012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39568
39569 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39570 appropriate.
39571
a0da5fe1
UD
395722012-01-08 Ulrich Drepper <drepper@gmail.com>
39573
1d5a644a 39574 * math/Makefile (tests): Add tst-CMPLX.
669704fd 39575 * math/tst-CMPLX.c: New file.
1d5a644a 39576
8784a6db
UD
39577 * math/complex.h (CMPLXL): Fix typo.
39578
d9a216c0
UD
39579 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39580 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39581 GLIBC_2.16.
39582 * debug/tst-chk1.c: Add poll and ppoll tests.
39583 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39584 * include/sys/poll.h: Add hidden proto for ppoll.
39585 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39586 * sysdeps/mach/hurd/ppoll.c: Likewise.
39587 * io/ppoll.c: Likewise.
39588 * debug/poll_chk.c: New file.
39589 * debug/ppoll_chk.c: New file.
39590 * include/bits/poll2.h: New file.
39591 * io/bits/poll2.h: New file.
39592
ac097f5c
UD
39593 [BZ #1350]
39594 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39595
2119dcfa
UD
39596 * configure.in: static is always set to yes. Remove.
39597 * config.make.in: Don't set build-static.
39598 * Makeconfig: Remove use of build-static.
39599 * dlfcn/Makefile: Likewise.
39600 * elf/Makefile: Likewise.
39601 * math/Makefile: Likewise.
39602 * misc/Makefile: Likewise.
39603 * nptl/Makefile: Likewise.
39604 * sysdeps/mach/hurd/Makefile: Likewise.
39605
121766a9
UD
39606 * configure.in: PWD_P is not used anymore.
39607 * config.make.in: Remove PWD_P entry.
39608
51a1d39c 39609 * configure.in: Remove last remnants of RANLIB.
8720d066 39610 No need to check for signed size_t anymore.
215f4bdc
UD
39611 Don't set libc_commonpagesize and libc_relro_required here for Alpha
39612 and IA-64.
3857022a 39613 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
39614 * aclocal.m4: Likewise.
39615
d3ed7225
UD
39616 * wcsmbs/mbrtoc16.c: Implement using towc function.
39617 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39618 * wcsmbs/wcsmbsload.c: Likewise.
39619 * iconv/gconv_simple.c: Likewise.
39620 * iconv/gconv_int.h: Likewise.
39621 * iconv/gconv_builtin.h: Likewise.
39622 * iconv/iconv_prog.c: Remove CHAR16 handling.
39623
39624 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39625
39626 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39627
a0da5fe1
UD
39628 * configure.in: Remove --with-elf and --enable-bounded options.
39629 Dont set base_machine for ia64. More non-ELF conditions removed.
39630 Remove testing and setting of leading underscore information.
39631 * config.make.in (build-bounded): Set to no.
39632 * config.h.in: Remove NO_UNDERSCORES entry.
39633 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
39634 them.
39635 * csu/start.c: Remove !NO_UNDERSCORE code.
39636 * locale/localeinfo.h: Likewise.
39637 * sysdeps/generic/machine-gmon.h: Likewise.
39638 * sysdeps/generic/sysdep.h: Likewise.
39639 * sysdeps/i386/sysdep.h: Likewise.
39640 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39641 * sysdeps/mach/sysdep.h: Likewise.
39642 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39643 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39644 * sysdeps/sh/sysdep.h: Likewise.
39645 * sysdeps/sparc/sparc32/alloca.S: Likewise.
39646 * sysdeps/unix/i386/sysdep.S: Likewise.
39647 * sysdeps/unix/sparc/start.c: Likewise.
39648 * sysdeps/unix/sparc/sysdep.S: Likewise.
39649 * sysdeps/unix/sparc/sysdep.h: Likewise.
39650 * sysdeps/unix/start.c: Likewise.
39651 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39652 * sysdeps/x86_64/sysdep.h: Likewise.
39653
df78418a
UD
396542012-01-07 Ulrich Drepper <drepper@gmail.com>
39655
a784e502
UD
39656 [BZ #13553]
39657 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39658 for non-gcc.
39659 * argp/argp-fmtstream.h: Use const instead __const.
39660 * argp/argp.h: Likewise.
39661 * assert/assert.h: Likewise.
39662 * bits/fenv.h: Likewise.
39663 * bits/sched.h: Likewise.
39664 * bits/sigset.h: Likewise.
39665 * bits/sigthread.h: Likewise.
39666 * catgets/nl_types.h: Likewise.
39667 * conform/data/pthread.h-data: Likewise.
39668 * crypt/crypt-private.h: Likewise.
39669 * crypt/crypt.h: Likewise.
39670 * crypt/crypt_util.c: Likewise.
39671 * ctype/ctype.h: Likewise.
39672 * debug/execinfo.h: Likewise.
39673 * debug/mbsnrtowcs_chk.c: Likewise.
39674 * debug/mbsrtowcs_chk.c: Likewise.
39675 * debug/wcsnrtombs_chk.c: Likewise.
39676 * debug/wcsrtombs_chk.c: Likewise.
39677 * debug/wcstombs_chk.c: Likewise.
39678 * dirent/dirent.h: Likewise.
39679 * dlfcn/dlfcn.h: Likewise.
39680 * elf/neededtest4.c: Likewise.
39681 * grp/grp.h: Likewise.
39682 * gshadow/gshadow.h: Likewise.
39683 * iconv/gconv.h: Likewise.
39684 * iconv/gconv_int.h: Likewise.
39685 * iconv/gconv_simple.c: Likewise.
39686 * iconv/iconv.h: Likewise.
39687 * iconv/loop.c: Likewise.
39688 * iconv/skeleton.c: Likewise.
39689 * include/aio.h: Likewise.
39690 * include/aliases.h: Likewise.
39691 * include/argz.h: Likewise.
39692 * include/arpa/inet.h: Likewise.
39693 * include/assert.h: Likewise.
39694 * include/dirent.h: Likewise.
39695 * include/dlfcn.h: Likewise.
39696 * include/execinfo.h: Likewise.
39697 * include/fcntl.h: Likewise.
39698 * include/fenv.h: Likewise.
39699 * include/glob.h: Likewise.
39700 * include/grp.h: Likewise.
39701 * include/libintl.h: Likewise.
39702 * include/mntent.h: Likewise.
39703 * include/netdb.h: Likewise.
39704 * include/pwd.h: Likewise.
39705 * include/rpc/netdb.h: Likewise.
39706 * include/sched.h: Likewise.
39707 * include/search.h: Likewise.
39708 * include/shadow.h: Likewise.
39709 * include/signal.h: Likewise.
39710 * include/stdio.h: Likewise.
39711 * include/stdlib.h: Likewise.
39712 * include/string.h: Likewise.
39713 * include/sys/socket.h: Likewise.
39714 * include/sys/stat.h: Likewise.
39715 * include/sys/statfs.h: Likewise.
39716 * include/sys/statvfs.h: Likewise.
39717 * include/sys/syslog.h: Likewise.
39718 * include/sys/time.h: Likewise.
39719 * include/sys/uio.h: Likewise.
39720 * include/time.h: Likewise.
39721 * include/unistd.h: Likewise.
39722 * include/utmp.h: Likewise.
39723 * include/wchar.h: Likewise.
39724 * include/wctype.h: Likewise.
39725 * inet/aliases.h: Likewise.
39726 * inet/arpa/inet.h: Likewise.
39727 * inet/netinet/ether.h: Likewise.
39728 * inet/netinet/in.h: Likewise.
39729 * intl/libintl.h: Likewise.
39730 * io/bits/fcntl2.h: Likewise.
39731 * io/fcntl.h: Likewise.
39732 * io/ftw.h: Likewise.
39733 * io/sys/poll.h: Likewise.
39734 * io/sys/stat.h: Likewise.
39735 * io/sys/statfs.h: Likewise.
39736 * io/sys/statvfs.h: Likewise.
39737 * io/utime.h: Likewise.
39738 * libio/bits/stdio.h: Likewise.
39739 * libio/bits/stdio2.h: Likewise.
39740 * libio/libio.h: Likewise.
39741 * libio/libioP.h: Likewise.
39742 * libio/stdio.h: Likewise.
39743 * locale/lc-ctype.c: Likewise.
39744 * locale/locale.h: Likewise.
39745 * login/utmp.h: Likewise.
39746 * malloc/arena.c: Likewise.
39747 * malloc/malloc.c: Likewise.
39748 * malloc/malloc.h: Likewise.
39749 * malloc/mcheck.c: Likewise.
39750 * malloc/mtrace.c: Likewise.
39751 * math/bits/mathcalls.h: Likewise.
39752 * math/fenv.h: Likewise.
39753 * math/math_private.h: Likewise.
39754 * misc/bits/error.h: Likewise.
39755 * misc/bits/syslog.h: Likewise.
39756 * misc/err.h: Likewise.
39757 * misc/error.h: Likewise.
39758 * misc/fstab.h: Likewise.
39759 * misc/mntent.h: Likewise.
39760 * misc/regexp.h: Likewise.
39761 * misc/search.h: Likewise.
39762 * misc/sgtty.h: Likewise.
39763 * misc/sys/mman.h: Likewise.
39764 * misc/sys/syslog.h: Likewise.
39765 * misc/sys/uio.h: Likewise.
39766 * misc/sys/xattr.h: Likewise.
39767 * misc/ttyent.h: Likewise.
39768 * nis/rpcsvc/ypclnt.h: Likewise.
39769 * nss/nss.h: Likewise.
39770 * posix/bits/unistd.h: Likewise.
39771 * posix/fnmatch.h: Likewise.
39772 * posix/glob.h: Likewise.
39773 * posix/sched.h: Likewise.
39774 * posix/spawn.h: Likewise.
39775 * posix/sys/wait.h: Likewise.
39776 * posix/unistd.h: Likewise.
39777 * posix/wordexp.h: Likewise.
39778 * pwd/pwd.h: Likewise.
39779 * resolv/netdb.h: Likewise.
39780 * resource/sys/resource.h: Likewise.
39781 * rt/aio.h: Likewise.
39782 * rt/bits/mqueue2.h: Likewise.
39783 * rt/mqueue.h: Likewise.
39784 * shadow/shadow.h: Likewise.
39785 * signal/signal.h: Likewise.
39786 * socket/send.c: Likewise.
39787 * socket/sendto.c: Likewise.
39788 * socket/sys/socket.h: Likewise.
39789 * stdio-common/printf.h: Likewise.
39790 * stdlib/bits/stdlib.h: Likewise.
39791 * stdlib/fmtmsg.h: Likewise.
39792 * stdlib/monetary.h: Likewise.
39793 * stdlib/stdlib.h: Likewise.
39794 * stdlib/ucontext.h: Likewise.
39795 * streams/stropts.h: Likewise.
39796 * string/argz.h: Likewise.
39797 * string/bits/string2.h: Likewise.
39798 * string/string.h: Likewise.
39799 * string/strings.h: Likewise.
39800 * sunrpc/rpc/auth.h: Likewise.
39801 * sunrpc/rpc/auth_des.h: Likewise.
39802 * sunrpc/rpc/clnt.h: Likewise.
39803 * sunrpc/rpc/netdb.h: Likewise.
39804 * sunrpc/rpc/pmap_clnt.h: Likewise.
39805 * sunrpc/rpc/xdr.h: Likewise.
39806 * sysdeps/generic/inttypes.h: Likewise.
39807 * sysdeps/generic/net/if.h: Likewise.
39808 * sysdeps/generic/sys/swap.h: Likewise.
39809 * sysdeps/gnu/net/if.h: Likewise.
39810 * sysdeps/gnu/utmpx.h: Likewise.
39811 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39812 * sysdeps/i386/i486/bits/string.h: Likewise.
39813 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39814 * sysdeps/s390/bits/string.h: Likewise.
39815 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39816 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39817 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39818 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39819 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39820 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39821 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39822 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39823 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39824 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39825 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39826 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39827 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39828 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39829 * sysdeps/unix/sysv/linux/readv.c: Likewise.
39830 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39831 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39832 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39833 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39834 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39835 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39836 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39837 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39838 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39839 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39840 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39841 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39842 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39843 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39844 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39845 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39846 * sysvipc/sys/ipc.h: Likewise.
39847 * sysvipc/sys/msg.h: Likewise.
39848 * sysvipc/sys/sem.h: Likewise.
39849 * sysvipc/sys/shm.h: Likewise.
39850 * termios/termios.h: Likewise.
39851 * time/sys/time.h: Likewise.
39852 * time/time.h: Likewise.
39853 * wcsmbs/bits/wchar2.h: Likewise.
39854 * wcsmbs/uchar.h: Likewise.
39855 * wcsmbs/wchar.h: Likewise.
39856 * wctype/wctype.h: Likewise.
39857
0269750c
UD
39858 [BZ #13551]
39859 * Makeconfig: Remove all but ELF support including AIX support.
39860 * Makerules: Likewise.
39861 * config.h.in: Likewise.
39862 * config.make.in: Likewise.
39863 * configure: Likewise.
39864 * configure.in: Likewise.
39865 * csu/Makefile: Likewise.
39866 * csu/version.c: Likewise.
39867 * debug/Makefile: Likewise.
39868 * dlfcn/Makefile: Likewise.
39869 * elf/Makefile: Likewise.
39870 * extra-lib.mk: Likewise.
39871 * iconv/Makefile: Likewise.
39872 * include/libc-symbols.h: Likewise.
39873 * include/shlib-compat.h: Likewise.
39874 * resolv/Makefile: Likewise.
39875 * resolv/res_libc.c: Likewise.
39876 * rt/Makefile: Likewise.
39877 * sysdeps/i386/asm-syntax.h: Likewise.
39878 * sysdeps/i386/sysdep.h: Likewise.
39879 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39880 * sysdeps/mach/sysdep.h: Likewise.
39881 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39882 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39883 * sysdeps/s390/asm-syntax.h: Likewise.
39884 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39885 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39886 * sysdeps/sh/sysdep.h: Likewise.
39887 * sysdeps/unix/sparc/sysdep.h: Likewise.
39888 * sysdeps/wordsize-32/divdi3.c: Likewise.
39889 * sysdeps/x86_64/sysdep.h: Likewise.
39890
00bbd29b
UD
39891 * argp/Versions: Remove _argp_unlock_xxx.
39892
39893 [BZ #13559]
39894 * abilist/ld.abilist: Update. Adjust for removal of tls option.
39895 * abilist/libBrokenLocale.abilist: Likewise.
39896 * abilist/libanl.abilist: Likewise.
39897 * abilist/libc.abilist: Likewise.
39898 * abilist/libcrypt.abilist: Likewise.
39899 * abilist/libdl.abilist: Likewise.
39900 * abilist/libm.abilist: Likewise.
39901 * abilist/libnsl.abilist: Likewise.
39902 * abilist/libpthread.abilist: Likewise.
39903 * abilist/libresolv.abilist: Likewise.
39904 * abilist/librt.abilist: Likewise.
39905 * abilist/libthread_db.abilist: Likewise.
39906 * abilist/libutil.abilist: Likewise.
39907 * abilist/libnss_db.abilist: New file.
39908
39909 * scripts/abilist.awk: Add support for indirect functions.
39910
a2693a0e
UD
39911 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39912
3f05895f
UD
39913 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39914
ecb6fb48
UD
39915 * shlib-versions: Remove entries for ports architectures.
39916
664f8cb9
UD
39917 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
39918 files in ports.
39919 * elf/stackguard-macros.h: Remove support for IA-64.
39920 * elf/tst-auditmod1.c: Likewise.
39921 * sysdeps/generic/ldsodefs.h: Likewise.
39922
7ae81d88
UD
39923 * sysdeps/unix/sysv/linux/configure.in: Ports should define
39924 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39925 configure files.
39926
bdeba135
UD
39927 [BZ #13552]
39928 * configure.in: Remove --enable-omitfp support.
39929 * FAQ.in: Adjust.
39930 * config.make.in: Likewise.
39931 * Makeconfig: Likewise.
39932 * manual/install.texi: Likewise.
39933
d75a0a62
UD
39934 In case anyone cares, the IA-64 architecture could move to ports.
39935 * sysdeps/ia64/*: Removed.
39936 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 39937 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 39938
dcc9756b
UD
39939 [BZ #13555]
39940 * configure.in: Remove entries for unsupported architectures.
39941
d3761ebc 39942 [BZ #13533]
9954432e
UD
39943 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39944 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
39945 routines.
39946 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39947 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39948 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
39949 fall back to using wcrtomb.
39950 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39951 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
39952 renaming.
39953 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39954 * wcsmbs/tst-c16c32-1.c: New file.
39955
39956 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39957 local variable.
39958
c3a87236
UD
39959 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39960
28926a1b
UD
39961 * elf/tst-unique3.cc: Add explicit declaration of gets.
39962 * elf/tst-unique3lib.cc: Likewise.
39963 * elf/tst-unique3lib2.cc: Likewise.
39964 * elf/tst-unique4.cc: Likewise.
39965
df78418a
UD
39966 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39967
8ecd6b2a
JM
399682012-01-06 Joseph Myers <joseph@codesourcery.com>
39969
39970 [BZ #13566]
39971 * assert/assert.h (static_assert): Don't define for C++.
39972 * libio/stdio.h (gets): Do declare for C++ <= C++11.
39973 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39974
9f115170
UD
399752012-01-03 Ulrich Drepper <drepper@gmail.com>
39976
5e0d0300
UD
39977 * iconv/loop.c (single loop): Fix assertion in storing of
39978 remaining bytes.
39979
9f115170
UD
39980 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39981
81fb02b0
UD
399822012-01-01 Ulrich Drepper <drepper@gmail.com>
39983
39984 * posix/getconf.c: Update copyright year.
39985 * nss/getent.c: Likewise.
a316c1f6 39986 * nss/makedb.c: Likewise.
81fb02b0
UD
39987 * iconv/iconvconfig.c: Likewise.
39988 * iconv/iconv_prog.c: Likewise.
39989 * elf/ldconfig.c: Likewise.
a316c1f6
UD
39990 * elf/pldd.c: Likewise.
39991 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
39992 * catgets/gencat.c: Likewise.
39993 * csu/version.c: Likewise.
39994 * elf/ldd.bash.in: Likewise.
39995 * elf/sprof.c (print_version): Likewise.
39996 * locale/programs/locale.c: Likewise.
39997 * locale/programs/localedef.c: Likewise.
a316c1f6 39998 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
39999 * nscd/nscd.c (print_version): Likewise.
40000 * debug/xtrace.sh: Likewise.
40001 * malloc/memusage.sh: Likewise.
40002 * malloc/mtrace.pl: Likewise.
40003 * debug/catchsegv.sh: Likewise.
40004
2ba92745
JJ
400052011-12-30 Jakub Jelinek <jakub@redhat.com>
40006
40007 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
40008 pure attribute.
40009
dadebdae
UD
400102011-12-24 Ulrich Drepper <drepper@gmail.com>
40011
d3761ebc 40012 [BZ #13533]
db6af3eb
UD
40013 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40014 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40015 transformations.
40016 * iconv/gconv_int.h: Likewise.
40017 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40018 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40019 from libc for GLIBC_2.16.
40020 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40021 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40022 * wcsmbs/uchar.h: Really define mbstate_t.
40023 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40024 * wcsmbs/c16rtomb.c: New file.
40025 * wcsmbs/mbrtoc16.c: New file.
40026 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40027 for C/POSIX locale.
40028 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40029 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40030
dadebdae
UD
40031 * wcsmbs/wchar.h: Add missing __restrict.
40032
67371b56
UD
400332011-12-23 Ulrich Drepper <drepper@gmail.com>
40034
74033a25
UD
40035 [BZ #13532]
40036 * time/Makefile (routines): Add timespec_get.
40037 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40038 * time/time.h: Define TIME_UTC and declare timespec_get. Define
40039 timespec for ISO C11.
40040 * time/timespec_get.c: New file.
40041 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40042 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40043
380d7e87
UD
40044 [BZ #13531]
40045 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40046 * stdlib/stdlib.h: Declare aligned_alloc.
40047 * Versions.def: Add GLIBC_2.16 for libc.
40048 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40049
4e9e7a35
UD
40050 [BZ 13527]
40051 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40052 ISO C11.
40053
380d7e87 40054 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
40055 code.
40056
03a71829
UD
40057 [BZ #13528]
40058 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40059
839e283e
UD
40060 [BZ #13529]
40061 * assert/assert.h (static_assert): Define.
40062
ce5294e2 40063 * version.h: Update for 2.16 development version.
90fa7312 40064
8d44e150 40065 [BZ #13526]
d7809905
UD
40066 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40067 _ISOC11_SOURCE.
40068
c0da14cd
UD
40069 * version.h (RELEASE): Bump for 2.15 release.
40070 * include/features.h (__GLIBC_MINOR__): Bump to 15.
40071
530a3249
MP
40072 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40073 Patch by Marek Polacek <mpolacek@redhat.com>.
40074
67371b56
UD
40075 * bits/byteswap.h: Protect long long constants with __extension__.
40076 * sysdeps/i386/bits/byteswap.h: Likewise.
40077 * sysdeps/ia64/bits/byteswap.h: Likewise.
40078 * sysdeps/s390/bits/byteswap.h: Likewise.
40079 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40080
15db4de1
LD
400812011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40082
40083 [BZ #13540]
bbe315ea
LD
40084 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40085 destination buffer.
15db4de1
LD
40086 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40087
2b2596b1
MP
400882011-12-23 Marek Polacek <polacek@redhat.com>
40089
40090 * elf/dl-addr.c (determine_info): Add inline keyword.
40091 * elf/tst-auditmod4b.c (check_avx): Likewise.
40092 * elf/tst-auditmod6b.c (check_avx): Likewise.
40093 * elf/tst-auditmod6c.c (check_avx): Likewise.
40094 * elf/tst-auditmod7b.c (check_avx): Likewise.
40095
70c6c246
UD
400962011-12-23 Ulrich Drepper <drepper@gmail.com>
40097
40098 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40099 !__SSE_MATH__.
40100
c044cf14
LD
401012011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40102
15db4de1 40103 [BZ #13540]
c044cf14
LD
40104 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40105 processing for last bytes.
40106
6b13d9d9
BH
401072011-08-06 Bruno Haible <bruno@clisp.org>
40108
d455f537
BH
40109 [BZ #13061]
40110 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40111 U+0385, not to U+1FEE.
40112
6b13d9d9
BH
40113 [BZ #13062]
40114 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40115 entry for U+00A5 U+0301.
40116
db910efd
UD
401172011-12-22 Ulrich Drepper <drepper@gmail.com>
40118
27deeafc
UD
40119 [BZ #13166]
40120 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40121 buffer for the output is too small.
40122
aed9d171
UD
40123 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40124 optimization.
40125
db910efd
UD
40126 [BZ #13185]
40127 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40128 SSE flags if possible.
40129
2bd779ae
LD
401302011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40131
e7f9dac3 40132 [BZ #13540]
2bd779ae
LD
40133 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40134 processing for last bytes.
40135
154bfc16
JM
401362011-12-22 Joseph Myers <joseph@codesourcery.com>
40137
40138 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40139 (syscall-list-default-options, syscall-list-default-condition)
40140 (syscall-list-includes): Define.
40141 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40142 list of ABIs and options and #if conditions for each ABI. Do not
40143 handle common syscalls between ABIs specially.
40144 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40145 Remove.
40146 (syscall-list-variants, syscall-list-32bit-options)
40147 (syscall-list-32bit-condition, syscall-list-64bit-options)
40148 (syscall-list-64bit-condition): Define.
40149 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): 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/sparc/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 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40159 Remove.
40160 (syscall-list-variants, syscall-list-32bit-options)
40161 (syscall-list-32bit-condition, syscall-list-64bit-options)
40162 (syscall-list-64bit-condition): Define.
40163
21eaf3a5
UD
401642011-12-22 Ulrich Drepper <drepper@gmail.com>
40165
16c6f992
UD
40166 * locale/iso-639.def: Add brx entry.
40167
41043168
UD
40168 [BZ #13328]
40169 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40170 Proposed by Mariusz_Cukr <marcukr@op.pl>.
40171
21eaf3a5
UD
40172 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40173 __feraiseexcept_renamed.
40174
e3a851a2
UD
401752011-12-21 Ulrich Drepper <drepper@gmail.com>
40176
4920765e
UD
40177 [BZ #13538]
40178 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40179 EPOLLET with unsigned values.
40180 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40181 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40182
e3a851a2
UD
40183 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40184 to large cancellation.
40185 * math/s_cacoshf.c: Likewise.
40186 * math/s_cacoshl.c: Likewise.
40187
b27e24b8
RK
401882011-11-18 Richard B. Kreckel <kreckel@ginac.de>
40189
40190 [BZ #13305]
aebefeee 40191 [BZ #12786]
b27e24b8
RK
40192 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40193 * math/s_cacoshf.c: Likewise.
40194 * math/s_cacoshl.c: Likewise.
40195
ee190f67
UD
401962011-12-21 Ulrich Drepper <drepper@gmail.com>
40197
40198 [BZ #13439]
40199 * iconv/gconv.h: Define __GCONV_SWAP.
40200 * iconvdata/unicode.c: The swap bit must be stored in __flags.
40201 * iconvdata/utf-16.c: Likewise.
40202 * iconvdata/utf-32.c: Likewise.
40203
707f25df
AS
402042011-12-21 Andreas Schwab <schwab@linux-m68k.org>
40205
40206 [BZ #13524]
40207 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40208 numerator after shifting it by one limb.
40209
d2daaa1e
RÁE
402102011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
40211
40212 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40213 under [__USE_EXTERN_INLINES].
40214
a4647e72
UD
402152011-12-17 Ulrich Drepper <drepper@gmail.com>
40216
40217 [BZ #13446]
40218 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40219
f0b264f1
AZ
402202011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40221
40222 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40223 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40224 optimized code.
40225 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40226 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40227 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40228 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40229 for strncasecmp/strncasecmp_l compilation.
40230 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40231 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40232
8ef4f244
MP
402332011-12-08 Marek Polacek <mpolacek@redhat.com>
40234
40235 [BZ #13484]
40236 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40237 of __asm__.
40238
97ac2654
UD
402392011-12-17 Ulrich Drepper <drepper@gmail.com>
40240
40241 [BZ #13506]
40242 * time/tzfile.c (__tzfile_read): Check values from file header.
40243
91d2a845
WS
402442011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40245
40246 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40247 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40248 * powerpc/powerpc32/dl-start.S: Likewise.
40249 * powerpc/powerpc32/elf/start.S: Likewise.
40250 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40251 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40252 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40253 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40254 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40255 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40256 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40257 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40258 * powerpc/powerpc32/fpu/s_round.S: Likewise.
40259 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40260 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40261 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40262 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40263 * powerpc/powerpc32/memset.S: Likewise.
40264 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40265 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40266 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40267 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40268 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40269 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40270 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40271 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40272 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40273 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40274 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40275 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40276 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40277
a1267ba1
AZ
402782011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40279
40280 * math/libm-test.inc: Added more nearbyint tests.
40281 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40282 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40283 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40284 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40285
ad8ac1bd
RL
402862011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
40287
40288 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40289 FD_CLOEXEC.
40290
1d3e4b61
UD
402912011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40292
40293 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40294 Add wcscpy-ssse3 wcscpy-c.
40295 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40296 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40297 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40298 * sysdeps/x86_64/wcschr.S: New file.
40299 * sysdeps/x86_64/wcsrchr.S: New file.
40300 * string/test-strcmp.c: Remove checking of wcscmp function for
40301 wrong alignments.
40302 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40303 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40304 wcsrchr-sse2 wcsrchr-c.
40305 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40306 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40307 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40308 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40309 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40310 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40311 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40312 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40313 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40314 * wcsmbc/wcschr.c (WCSCHR): New macro.
40315
5b330a2d
UD
403162011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40317
40318 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40319 * wcsmbs/test-wcsrchr.c: New file.
40320 * string/test-strrchr.c: Add wcsrchr support.
40321 (WIDE): New macro.
40322 * wcsmbs/test-wcscpy.c: New file.
40323 * string/test-strcpy.c: Add wcscpy support.
40324 (WIDE): New macro.
26428b7c 40325
f039c043
UD
403262011-12-10 Ulrich Drepper <drepper@gmail.com>
40327
40328 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40329 the inner loop.
40330
850fb039
AS
403312011-12-06 Andreas Schwab <schwab@linux-m68k.org>
40332
40333 [BZ #13472]
40334 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40335
4efbd5cb
UD
403362011-12-04 Ulrich Drepper <drepper@gmail.com>
40337
52ff5dd0 40338 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 40339 Minor optimizations.
52ff5dd0 40340
4efbd5cb
UD
40341 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40342 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40343 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40344
8a426e12
UD
403452011-12-03 Ulrich Drepper <drepper@gmail.com>
40346
aff2453d
UD
40347 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40348 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40349 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40350 for gcc to avoid warnings.
40351 * inet/Makefile (tests): Add tst-checks.
40352 * inet/tst-checks.c: New file.
40353
40354 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40355 warning.
40356
40357 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40358 __wmemcmp_sse2.
40359
40360 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40361 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40362
8a426e12
UD
40363 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40364
9bea3473
UD
403652011-12-02 Ulrich Drepper <drepper@gmail.com>
40366
3a965496
UD
40367 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40368 problem.
40369
9bea3473
UD
40370 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40371
f101631b
UD
403722011-11-29 Joseph Myers <joseph@codesourcery.com>
40373
40374 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40375 conditional on GCC version.
40376 (__arch_compare_and_exchange_val_8_acq)
40377 (__arch_compare_and_exchange_val_16_acq)
40378 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40379 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40380 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40381
a98275aa
UD
403822011-12-02 Joseph Myers <joseph@codesourcery.com>
40383
40384 * sysdeps/sh/backtrace.c: New file.
40385
d4cc29a2
AS
403862011-12-02 Andreas Schwab <schwab@redhat.com>
40387
40388 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
40389 parenthesis.
40390
6257af2d
AS
403912011-12-01 Andreas Schwab <schwab@redhat.com>
40392
40393 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40394 falling back to utime.
40395
b5f44c1a
AS
403962011-11-30 Andreas Schwab <schwab@redhat.com>
40397
40398 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40399 expectations for float.
40400
f3a6cc0a
AS
404012011-11-29 Andreas Schwab <schwab@redhat.com>
40402
40403 * locale/weight.h (findidx): Add parameter len.
40404 * locale/weightwc.h (findidx): Likewise.
40405 * posix/fnmatch_loop.c (FCT): Adjust caller.
40406 * posix/regcomp.c (build_equiv_class): Likewise.
40407 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40408 * posix/regexec.c (check_node_accept_bytes): Likewise.
40409 * string/strcoll_l.c (STRCOLL): Likewise.
40410 * string/strxfrm_l.c (STRXFRM): Likewise.
40411
9d65ea3a
UD
404122011-11-17 Ulrich Drepper <drepper@gmail.com>
40413
40414 * Makefile.in: Remove CVSOPT handling.
40415 * configure.in: Remove use of AC_REVISION.
40416 * iconvdata/Makefile (distribute): No need to filter out CVS.
40417 * scripts/list-sources.sh: Remove CVS, subversion and monotone
40418 handling.
40419
5583a086
AS
404202011-11-16 Andreas Schwab <schwab@redhat.com>
40421
40422 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40423 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40424 [USE_AS_STRNCASECMP_L]: Likewise.
40425 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40426 NO_TLS_DIRECT_SEG_REFS.
40427 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40428 Fix argument offsets for non-PIC.
40429 [USE_AS_STRNCASECMP_L]: Likewise.
40430 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40431 NO_TLS_DIRECT_SEG_REFS.
40432
d62a8200
UD
404332011-11-15 Ulrich Drepper <drepper@gmail.com>
40434
9d65ea3a 40435 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
40436 O_CLOEXEC.
40437 * locale/loadlocale.c (_nl_load_locale): Likewise.
40438
09f93bd3
AS
404392011-11-15 Andreas Schwab <schwab@redhat.com>
40440
446514f9
AS
40441 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40442 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40443 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40444 (SYSCALL_GETTIME): Set errno on error.
40445
09f93bd3
AS
40446 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40447 count references to noai6ai_cached.
40448
312be3f9
UD
404492011-11-15 Ulrich Drepper <drepper@gmail.com>
40450
40451 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40452
40453 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40454 FD_CLOEXEC for /proc/self/maps.
40455
40456 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40457 FD_CLOEXEC for /proc/meminfo.
40458
40459 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40460 gai.conf.
40461
40462 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
40463 FD_CLOEXEC for given file.
40464
40465 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40466
40467 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40468 FD_CLOEXEC for /etc/hosts.
40469 (_gethtent): Likewise.
40470
40471 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40472
40473 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40474 cancellation and set FD_CLOEXEC for /etc/netgroup.
40475
40476 * nss/nss_files/files-key.c (search): Don't allow cancellation when
40477 reading /etc/publickey.
40478
40479 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40480 allow cancellation when reading /etc/group.
40481
40482 * nss/nss_files/files-alias.c (internal_setent): Don't allow
40483 cancellation.
40484 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
40485
40486 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40487 when using data file.
40488
40489 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40490
40491 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40492 (write_nis_obj): Use "c" and "e" in fopen.
40493
40494 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40495
40496 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40497
40498 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40499
40500 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40501
40502 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40503 locale.alias.
40504
40505 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40506
40507 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40508
40509 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40510
40511 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40512 file parsing and set FD_CLOEXEC.
40513
82af0fa8
UD
405142011-11-14 Ulrich Drepper <drepper@gmail.com>
40515
40516 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40517
a5fb313c
AS
405182011-11-14 Andreas Schwab <schwab@redhat.com>
40519
40520 * malloc/arena.c (arena_get2): Don't call reused_arena when
40521 _int_new_arena failed.
40522
6abf3465
UD
405232011-11-14 Ulrich Drepper <drepper@gmail.com>
40524
40525 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40526 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40527 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40528 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40529 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40530 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40531 to compile strcasecmp and strncasecmp.
40532 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40533 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40534
40535 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40536
76e3966e
UD
405372011-11-13 Ulrich Drepper <drepper@gmail.com>
40538
40539 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40540 locale-defines.sym to gen-as-const-headers.
40541 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40542 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40543 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40544 to compile strcasecmp and strncasecmp.
40545 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40546 strcasecmp_l and strncasecmp_l.
40547 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40548 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40549 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40550 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40551 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40552 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40553 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40554 * sysdeps/i386/i686/multiarch/strncase.S: New file.
40555 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40556 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40557 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40558
ab26144e
UD
405592011-11-12 Ulrich Drepper <drepper@gmail.com>
40560
7edb22ef
UD
40561 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40562 result of SYSDEP_GETTIME_CPU to retval.
40563 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40564 parameter list to macro. Remove trailing semicolon. Adjust users.
40565
9694fc44
UD
40566 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40567 variable.
40568
8ad89ef8
UD
40569 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40570 mantissa words.
40571 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40572
0c822ef9
UD
40573 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40574 from unused variable.
40575
874e0564
UD
40576 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40577 DWARF definitions.
40578 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40579 for assembling.
40580
3a2edc79
UD
40581 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40582 over namespaces.
40583
f3c2577f
UD
40584 * sunrpc/rpc_prot.c (rejected): Fix case value.
40585
294ce126
UD
40586 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40587 unsigned long long int to avoid warnings in shift.
40588
5e2b63c6
UD
40589 * posix/regex_internal.c (re_string_reconstruct): Actually use result
40590 of use of trans.
40591 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40592 variable tmp.
40593
e7f4b08e
UD
40594 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40595 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40596 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40597
ab26144e
UD
40598 * nis/nis_table.c (nis_list): Use variable of correct type for
40599 result of __follow_path call.
40600
8a6d5255
AZ
406012011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40602
40603 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40604 of math functions ceil, trunc, floor, round, and sqrt, when
40605 avaliable on the platform.
40606 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40607 name clash.
40608 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40609 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40610 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40611
aaddc98c
MP
406122011-10-30 Marek Polacek <mpolacek@redhat.com>
40613
40614 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40615 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40616
95b7042b
RM
406172011-11-11 Roland McGrath <roland@hack.frob.com>
40618
40619 * include/unistd.h: Fix __readlink return type.
40620 Reported by Chris Metcalf <cmetcalf@tilera.com>.
40621
57769839
UD
406222011-11-11 Ulrich Drepper <drepper@gmail.com>
40623
40624 * stdlib/ucontext.h: Undo last change for makecontext.
40625
edc5984d
AS
406262011-11-11 Andreas Schwab <schwab@redhat.com>
40627
98591e58
AS
40628 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40629
edc5984d
AS
40630 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40631 * setjmp/setjmp.h: Mark functions as non-leaf.
40632 * setjmp/bits/setjmp2.h: Likewise.
40633 * stdlib/ucontext.h: Likewise.
40634
77cdc054
AS
406352011-11-10 Andreas Schwab <schwab@redhat.com>
40636
40637 * malloc/arena.c (_int_new_arena): Don't increment narenas.
40638 (reused_arena): Don't check arena limit.
40639 (arena_get2): Atomically check arena limit.
40640
fe72eebd
UD
406412011-11-08 Ulrich Drepper <drepper@gmail.com>
40642
5f078c32
UD
40643 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40644 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40645
fe72eebd
UD
40646 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40647 instructions.
40648
ae1bc2fa
AS
406492011-11-07 Andreas Schwab <schwab@redhat.com>
40650
7583a88d
AS
40651 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40652 handler when locking.
40653
ae1bc2fa
AS
40654 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40655 Fix size of allocated buffer.
40656
10fb0bfa
AS
406572011-11-04 Andreas Schwab <schwab@redhat.com>
40658
998832a4
AS
40659 [BZ #10103]
40660 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40661 declarations for long double functions.
40662 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40663
10fb0bfa
AS
40664 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40665
3d7ba52b
AS
406662011-11-03 Andreas Schwab <schwab@redhat.com>
40667
a9ae54a1
AS
40668 * nscd/nscd.c (main): Don't start AVC thread until credentials are
40669 installed.
40670
3d7ba52b
AS
40671 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40672 is disabled.
40673
bc8db248
ST
406742011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
40675
40676 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40677
45b96dd6
AS
406782011-11-01 Andreas Schwab <schwab@linux-m68k.org>
40679
647776f6
AS
40680 * include/alloca.h (stackinfo_alloca_round): Define.
40681 (extend_alloca): Use it.
40682 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40683 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40684 here.
40685
d91a8b93
AS
40686 * scripts/check-local-headers.sh: Ignore libaudit.h.
40687
45b96dd6
AS
40688 * nscd/Makefile (extra-objs): Make recursively expanded.
40689
432d41ce
UD
406902011-11-01 Ulrich Drepper <drepper@gmail.com>
40691
34372fc6
UD
40692 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40693 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40694
fadb59f8
UD
40695 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40696 * posix/tst-rfc3484-2.c: Likewise.
40697 * posix/tst-rfc3484-3.c: Likewise.
40698
78239589
UD
40699 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40700 process_vm_writev.
40701 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40702 process_vm_writev.
40703 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40704 process_vm_writev from libc using GLIBC_2.15 version.
40705
432d41ce
UD
40706 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40707
02f9c6cf
PP
407082011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
40709
40710 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40711 stack usage.
40712
3a2c0242
UD
407132011-10-31 Ulrich Drepper <drepper@gmail.com>
40714
f4ec4833
UD
40715 [BZ #13367]
40716 * nss/getent.c (initgroups_keys): Show error message in case no group
40717 names are given.
40718
3a2c0242
UD
40719 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40720 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40721 __bump_nl_timestamp.
40722 * nscd/connections (nscd_init): When host database is served open
40723 netlink socket and request notification about configuration changes.
40724 (main_loop_poll): Track netlink file descriptor and bump timestamp
40725 in case data becomes available.
40726 (main_loop_epoll): Likewise.
40727 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40728 (database_pers_head): Add extra_data fileds.
40729 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40730 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40731 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40732 Adjust caller.
40733 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40734 in6ai data, call __free_in6ai.
40735 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40736 Add -DHAVE_NETLINK.
40737 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
40738 interface information. Reuse previous data if netlink timestamp
40739 is not changed.
40740 (__bump_nl_timestamp): New function.
40741 (__free_in6ai): New function.
40742
636064eb
UD
407432011-10-30 Ulrich Drepper <drepper@gmail.com>
40744
40745 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40746 close_not_cancel_no_status here.
40747 (__check_pf): Reorganize code a bit to not call close twice if OOM.
40748
9beb2334
UD
407492011-10-29 Ulrich Drepper <drepper@gmail.com>
40750
6ef76f3b
UD
40751 [BZ #13276]
40752 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40753 return value.
40754
0ffc4f3e 40755 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
40756 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40757 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40758
cb95113e
UD
407592011-07-03 Andreas Jaeger <aj@suse.de>
40760
40761 [BZ #10709]
40762 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40763 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40764 * math/libm-test.inc (sin_test): Add test case.
40765
a1b560ff
UD
407662011-10-29 Ulrich Drepper <drepper@gmail.com>
40767
c9aaface
UD
40768 [BZ #13337]
40769 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40770 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40771
d272e7f1
UD
40772 * elf/chroot_canon.c (chroot_canon): Cleanups.
40773
1bc33071
UD
40774 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40775
1760874d
TJ
40776 [BZ #13335]
40777 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40778 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40779
51d91b18
UD
40780 * string/test-strchr.c: Make usable for strchrnul testing.
40781 * string/test-strchrnul.c: New file.
40782 * string/Makefile (strop-tests): Add strchrnul.
40783
a1b560ff 40784 * po/it.po: Update from translation team.
b611fb81 40785 * po/es.po: Likewise.
a1b560ff 40786
a5b81e1f
UD
407872011-10-28 Ulrich Drepper <drepper@gmail.com>
40788
fd52bc6d
UD
40789 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40790 the three constants needed as parameters. Drop the others.
40791 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40792 __m128i_strloadu_tolower.
52e4b9eb
UD
40793 Create and initialize variable zero and use it in all the places
40794 where _mm_setzero_si128 was used.
fd52bc6d 40795
a5b81e1f
UD
40796 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40797 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40798 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40799 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40800 anymore.
40801 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40802 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40803 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40804 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40805 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40806 __mpranred, __mptan.
40807 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40808 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40809 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40810 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40811 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40812 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40813 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40814 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40815 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40816
b4343346
AS
408172011-10-28 Andreas Schwab <schwab@redhat.com>
40818
0c92d8a8
AS
40819 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40820 redefine if SHARED.
40821 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40822
b4343346
AS
40823 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40824 wide char related routines to wcsmbs subdir.
40825
3871f58f
AS
408262011-10-27 Andreas Schwab <schwab@redhat.com>
40827
40828 [BZ #13344]
40829 * misc/sys/cdefs.h (__THROWNL): Define.
40830 * posix/unistd.h: Use __THREADNL instead of __THREAD
40831 for memory synchronization functions.
40832
94d44d9f
RM
408332011-10-26 Roland McGrath <roland@hack.frob.com>
40834
21b64b15 40835 [BZ #13349]
94d44d9f
RM
40836 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40837 doesn't exist.
40838 * manual/stdio.texi (Obstack Streams): Node removed.
40839
f6ce9294
AS
408402011-10-26 Andreas Schwab <schwab@redhat.com>
40841
80479147
AS
40842 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40843 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40844 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40845
f6ce9294
AS
40846 * math/math_private.h (math_force_eval): Allow non-addressable
40847 arguments.
40848 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40849
618280a1
UD
408502011-10-25 Ulrich Drepper <drepper@gmail.com>
40851
e0016b11
UD
40852 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40853 file is not needed.
40854
40855 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40856 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40857 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40858 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40859 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40860 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40861 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40862 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40863 Add AVX variants.
40864 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40865 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40866 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40867 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40868 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40869 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40870 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40871 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40872 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40873 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40874 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40875 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40876 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40877 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40878 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40879 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40880 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40881 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40882 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40883
40884 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40885 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
40886
618280a1
UD
40887 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40888 place. Use VEX encoding when compiling for AVX.
40889
37822576
AS
408902011-10-25 Andreas Schwab <schwab@redhat.com>
40891
1f1e1947
AS
40892 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40893 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40894
37822576
AS
40895 * string/test-strchr.c (do_test): Don't generate NUL bytes.
40896
31ea014d
UD
408972011-10-25 Ulrich Drepper <drepper@gmail.com>
40898
d7826aa1 40899 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 40900 useless if() expression.
d7826aa1
UD
40901 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40902 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40903 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40904 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40905 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40906 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40907 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40908 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40909 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40910 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40911 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40912 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40913 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40914 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40915 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40916 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40917 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40918 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40919 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40920
31ea014d
UD
40921 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40922
16437fec
AS
409232011-10-25 Andreas Schwab <schwab@redhat.com>
40924
40925 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40926 condition.
40927 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40928
31d3cc00
UD
409292011-10-25 Ulrich Drepper <drepper@gmail.com>
40930
40931 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40932 .text section. Avoid duplicate constants.
40933 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40934 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40935 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40936 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40937 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40938 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40939 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40940 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40941 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40942 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40943 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40944 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40945 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40946 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40947 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40948 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40949 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40950 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40951 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40952 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40953 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40954 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40955 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40956 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40957 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40958 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40959 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40960 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40961 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40962 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40963 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40964 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40965 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40966 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40967 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40968 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40969 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40970 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40971 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40972 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40973 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40974 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40975 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40976 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40977 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40978
58985aa9
UD
409792011-10-24 Ulrich Drepper <drepper@gmail.com>
40980
202c9deb
UD
40981 * sysdeps/x86_64/dla.h: Move to ...
40982 * sysdeps/x86_64/fpu/dla.h: ...here.
40983 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40984 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 40985
af968f62
UD
40986 * config.make.in: Add have-mfma4 entry.
40987 * configure.in: Substitute libc_cv_cc_fma4.
40988 * math/Makefile (dbl-only-routines): Add sincostab.
40989 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40990 Use __sincostab not sincos.
40991 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40992 name is a macro.
40993 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40994 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40995 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40996 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
40997 using __copysign.
40998 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
40999 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
41000 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
41001 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
41002 and __inv.
41003 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
41004 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
41005 __copysign.
41006 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
41007 define aliases when function name is a macro.
41008 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
41009 sysdeps/ieee754/dbl-64/sincos.tbl.
41010 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
41011 fma4-enabled routines.
41012 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41013 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41014 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41015 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41016 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41017 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41018 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41019 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41020 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41021 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41022 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41023 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41024 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41025 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41026 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41027 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41028 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41029 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41030 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41031 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41032 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41033 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41034 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41035 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41036 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41037 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41038 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41039 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41040 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41041 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41042
58985aa9
UD
41043 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41044 rename.
41045 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41046 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41047 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41048 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41049 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41050 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41051 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41052 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41053
a201fbcf
AS
410542011-10-24 Andreas Schwab <schwab@redhat.com>
41055
41056 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41057
fc2ee42a
LD
410582011-10-23 Ulrich Drepper <drepper@gmail.com>
41059
bb3129bd
UD
41060 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41061
0275fff8
UD
41062 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41063 prediction.
41064 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41065
2fa2ae85
UD
41066 * string/strnlen.c: Don't define STRNLEN, reverse logic.
41067 Remove unused variable magic_bits.
41068 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41069
fc2ee42a
LD
41070 * string/strnlen.c: Define and use STRNLEN macro.
41071 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41072 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41073 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41074 * wcsmbs/wcslen.c: Define and use WCSLEN.
41075 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41076 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41077 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41078 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41079 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41080 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41081 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41082
ce7dd29f
LD
410832011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41084
41085 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41086 strnlen-sse2-no-bsf.
41087 Rename strlen-no-bsf to strlen-sse2-no-bsf.
41088 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41089 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41090 Add strnlen support.
41091 (USE_AS_STRNLEN): New macro.
41092 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41093 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41094 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41095 * sysdeps/x86_64/wcslen.S: New file.
41096
979c70a3
MZ
410972011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
41098
41099 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41100 XMM-moves are used for copying on small sizes.
41101
2d09f82f
LD
411022011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41103
41104 * wcsmbs/Makefile (strop-tests): Add wcschr.
41105 * wcsmbs/test-wcschr.c: New file.
41106 * string/test-strchr.c: Update.
41107 Add wcschr support.
41108 (WIDE): New macro.
41109
619fccca
LD
411102011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41111
2d09f82f 41112 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
41113 * wcsmbs/test-wcslen.c: New file.
41114 * string/test-strlen.c: Update.
41115 Add wcslen support.
41116 (WIDE): New macro.
41117
09f699ea
UD
411182011-10-23 Ulrich Drepper <drepper@gmail.com>
41119
41120 * po/it.po: Update from translation team.
41121
95584d3b
LD
411222011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41123
41124 * sysdeps/x86_64/wcscmp.S: Update.
41125 Fix wrong comparison semantics.
41126 wcscmp shall use signed comparison not unsigned.
41127 Don't use substraction to avoid overflow bug.
41128 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41129 * wcsmbc/wcscmp.c: Likewise.
41130 * string/test-strcmp.c: Likewise.
41131 Add new tests to check cases with negative values.
41132
c8b3296b
UD
411332011-10-23 Ulrich Drepper <drepper@gmail.com>
41134
41135 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41136 * sysdeps/x86_64/dla.h: ...here. New file.
41137 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41138 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41139 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41140 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41141 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41142 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41143 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41144 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41145 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41146
246ad57a
AS
411472011-10-23 Andreas Schwab <schwab@linux-m68k.org>
41148
41149 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41150 __ynl_finite aliases.
41151
a1a87169
UD
411522011-10-22 Ulrich Drepper <drepper@gmail.com>
41153
0d355eb7
UD
41154 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41155
a1a87169
UD
41156 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41157 define DLA_FMA.
41158 [DLA_FMA] (EMULV): Use DLA_FMA.
41159 [DLA_FMA] (MUL12): Use EMULV.
41160 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41161 that are not needed.
41162 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41163 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41164 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41165 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41166 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41167 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41168 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41169
ee2aafe0
AS
411702011-10-22 Andreas Schwab <schwab@linux-m68k.org>
41171
41172 * math/s_nan.c: Undef __nan.
41173 * math/s_nanf.c: Undef __nanf.
41174 * math/s_nanl.c: Undef __nanl.
41175 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41176 "math_private.h".
41177
bc62c2fb
UD
411782011-10-22 Ulrich Drepper <drepper@gmail.com>
41179
77425c63
UD
41180 * math/s_catan.c: Add branch predictions.
41181 * math/s_catanf.c: Likewise.
41182 * math/s_catanh.c: Likewise.
41183 * math/s_catanhf.c: Likewise.
41184 * math/s_catanhl.c: Likewise.
41185 * math/s_catanl.c: Likewise.
41186 * math/s_cexp.c: Likewise.
41187 * math/s_cexpf.c: Likewise.
41188 * math/s_cexpl.c: Likewise.
41189 * math/s_clog.c: Likewise.
41190 * math/s_clog10.c: Likewise.
41191 * math/s_clog10f.c: Likewise.
41192 * math/s_clog10l.c: Likewise.
41193 * math/s_clogf.c: Likewise.
41194 * math/s_clogl.c: Likewise.
41195 * math/s_csqrt.c: Likewise.
41196 * math/s_csqrtf.c: Likewise.
41197 * math/s_csqrtl.c: Likewise.
41198 * math/s_ctanf.c: Likewise.
41199 * math/s_ctanh.c: Likewise.
41200 * math/s_ctanhf.c: Likewise.
41201 * math/s_ctanhl.c: Likewise.
41202 * math/s_ctanl.c: Likewise.
41203
bc62c2fb
UD
41204 * math/math_private.h: Define __nan, __nanf, __nanl.
41205 * math/s_cacosh.c: Include <math_private.h>.
41206 * math/s_cacoshl.c: Likewise.
41207 * math/s_casinh.c: Likewise.
41208 * math/s_casinhf.c: Likewise.
41209 * math/s_casinhl.c: Likewise.
41210 * math/s_ccos.c: Rely entire on ccosh.
41211 * math/s_ccosf.c: Rely entire on ccoshf.
41212 * math/s_ccosl.c: Rely entirely on ccoshl.
41213 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
41214 Remove tests for FE_INVALID.
41215 * math/s_ccoshf.c: Likewise.
41216 * math/s_ccoshl.c: Likewise.
41217 * math/s_csin.c: Likewise.
41218 * math/s_csinf.c: Likewise.
41219 * math/s_csinh.c Likewise.
41220 * math/s_csinhf.c: Likewise.
41221 * math/s_csinhl.c: Likewise.
41222 * math/s_csinl.c: Likewise.
41223 * math/s_ctan.c: Likewise.
41224 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41225 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41226 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41227
8ec250a4
UD
412282011-10-21 Ulrich Drepper <drepper@gmail.com>
41229
c196fed8
UD
41230 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41231 compilation problems.
41232
8ec250a4
UD
41233 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41234 __builtin_expect.
41235
8d4f46c6
UD
412362011-10-20 Ulrich Drepper <drepper@gmail.com>
41237
ed72b654
UD
41238 * sysdeps/i386/configure.in: Test for -mfma4 option.
41239 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41240 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41241 COMMON_CPUID_INDEX_80000001.
41242 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41243 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41244 use it if FMA3 is not supported.
41245 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41246
8d4f46c6
UD
41247 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41248 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41249
d45c60c2
AS
412502011-10-20 Andreas Schwab <schwab@redhat.com>
41251
41252 [BZ #12892]
41253 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41254 it would create a cycle with a link time dependency.
41255
d9a4d2ab
UD
412562011-10-19 Ulrich Drepper <drepper@gmail.com>
41257
855d1560
UD
41258 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41259 instruction.
41260 * string/Makefile (strop-tests): Add rawmemchr.
41261 * string/test-rawmemchr.c: New file.
41262
d9a4d2ab
UD
41263 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41264 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
41265 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
41266 when compiling str{,n}casecmp and when AVX is available. Hook up
41267 new optimized code in initializers.
41268
8f3b1ffe
AS
412692011-10-19 Andreas Schwab <schwab@redhat.com>
41270
41271 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41272 __feraiseexcept instead of feraiseexcept.
41273
d38f1dba
UD
412742011-10-18 Ulrich Drepper <drepper@gmail.com>
41275
d9a8d0ab
UD
41276 * math/math_private.h: Define defaults for libc_fetestexcept and
41277 libc_feupdateenv.
41278 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41279 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41280 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41281 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41282 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41283 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41284 libc_fetestexcept and libc_feupdateenv.
41285
4855e3dd
UD
41286 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41287 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41288 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41289 * sysdeps/x86_64/fpu/math_private.h: Define special version of
41290 libc_feholdexcept_setround.
41291
581d30e3
UD
41292 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41293 Add s_nearbyint-c and s_nearbyintf-c.
41294 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41295 nearbyintf inlines.
41296 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41297 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41298 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41299 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41300
d38f1dba
UD
41301 * math/math_private.h: Define defaults for libc_fegetround,
41302 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41303 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41304 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41305 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41306 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41307 standard functions.
41308 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41309 Remove comments and hacks for old compiler versions.
41310 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41311 libc_fegetround, libc_fesetround, libc_feholdexcept, and
41312 libc_feholdexceptl.
41313
caa6c9d8
AS
413142011-10-18 Andreas Schwab <schwab@redhat.com>
41315
41316 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
41317 (__feraiseexcept_renamed): Add __NTH.
41318 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
41319 namespace violations.
41320
97c066e6
UD
413212011-10-17 Ulrich Drepper <drepper@gmail.com>
41322
99ce7b04
UD
41323 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41324
1004d182
UD
41325 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41326
228a984d
UD
41327 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41328 recently added interfaces.
41329 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41330
c8553a6a
UD
41331 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41332 about macro parameter expansion.
41333
ed22dcf6
UD
41334 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41335 __NO_MATH_INLINES is defined. Cleanups.
41336
41337 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41338 and __floorf is target has SSE4.1.
41339 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41340 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41341 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41342 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41343
b171c137
UD
41344 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41345 name.
41346 (floorf): Likewise.
41347
97c066e6
UD
41348 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41349
629f62ef
AS
413502011-10-17 Andreas Schwab <schwab@redhat.com>
41351
49a43d80
AS
41352 * misc/sys/cdefs.h: Fix last change.
41353
629f62ef
AS
41354 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41355 database lookup.
41356
e453f6cd
UD
413572011-10-16 Ulrich Drepper <drepper@gmail.com>
41358
aa78043a
UD
41359 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41360
ad0f5cad
UD
41361 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41362 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41363 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41364 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41365 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41366 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41367 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41368 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41369 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41370 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41371 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41372 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41373 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41374 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41375 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41376 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41377 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41378 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41379 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41380 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41381 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41382 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41383
41384 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41385 ceil, ceilf, floor, floorf.
41386
41387 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41388 Perform IRELATIVE relocations last.
41389
e453f6cd
UD
41390 * elf/do-rel.h: Add another parameter nrelative, replacing the
41391 local variable with the same name. Change name of the function
41392 to end in Rel or Rela (uppercase).
41393 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41394 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
41395 elf_dynamic_do_##reloc function.
41396
fd5bdc09
UD
413972011-10-15 Ulrich Drepper <drepper@gmail.com>
41398
79b195b5
UD
41399 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41400 is sufficient, at least on modern CPUs.
41401
d4a28569
UD
41402 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41403
b61099b5
UD
41404 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41405 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41406
bcf01e6d
UD
41407 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41408 __expl_finite.
41409 * math/bits/math-finite.h: Add entries for exp.
41410 * math/e_expl.c: Add __*_finite alias.
41411 * sysdeps/i386/fpu/e_exp.S: Likewise.
41412 * sysdeps/i386/fpu/e_expf.S: Likewise.
41413 * sysdeps/i386/fpu/e_expl.c: Likewise.
41414 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41415 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41416 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41417 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41418 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41419 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41420 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41421
ba1a0d59
UD
41422 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41423 is sufficient, at least on modern CPUs.
41424
fd5bdc09
UD
41425 * ctype/ctype-info.c (__ctype_init): Define.
41426 * include/ctype.h (__ctype_init): Declare.
41427 (__ctype_b_loc): The variable is always initialized.
41428 (__ctype_toupper_loc): Likewise.
41429 (__ctype_tolower_loc): Likewise.
41430 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41431 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41432
7872cfb0
AS
414332011-10-15 Andreas Schwab <schwab@linux-m68k.org>
41434
b468825a
AS
41435 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41436
7872cfb0
AS
41437 * configure.in: Also look in $cxxmachine/include for C++ system
41438 headers.
41439
be13f7bf
LD
414402011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41441
41442 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41443 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41444 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41445 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
41446 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41447 (USE_AS_WMEMCMP): New macro.
41448 Fixing indents.
41449 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41450 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41451 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41452 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41453 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41454 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41455 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41456 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41457 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41458 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41459 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41460 (USE_AS_WMEMCMP): New macro.
41461 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41462 * sysdeps/string/test-memcmp.c: Update.
41463 Fix simple_wmemcmp.
41464 Add new tests.
41465 * wcsmbs/wmemcmp.c: Update.
41466 (WMEMCMP): New macro.
41467 Fix overflow bug.
41468
556a2007
AJ
414692011-10-12 Andreas Jaeger <aj@suse.de>
41470
41471 [BZ #13268]
41472 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41473
538faaa7
UD
414742011-10-15 Ulrich Drepper <drepper@gmail.com>
41475
ab6737ff
UD
41476 * libio/iofwide.c (do_length): Avoid warning.
41477
538faaa7
UD
41478 * ctype/ctype.h (__isctype_f): Add missing __THROW.
41479
396a21b1
UD
414802011-10-14 Ulrich Drepper <drepper@gmail.com>
41481
cdf2901f
UD
41482 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41483
38ad40ce
UD
41484 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41485 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41486 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41487 * sysdeps/i386/i686/fpu/e_log.S: New file.
41488 * sysdeps/i386/i686/fpu/e_logf.S: New file.
41489 * sysdeps/i386/i686/fpu/e_logl.S: New file.
41490
396a21b1
UD
41491 * ctype/ctype.h: Add support for inlined isXXX functions when
41492 compiling C++ code.
41493
6b1f68c9
AS
414942011-10-14 Andreas Schwab <schwab@redhat.com>
41495
349290c0
AS
41496 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41497
6b1f68c9
AS
41498 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41499
f2282d42
RM
415002011-10-13 Roland McGrath <roland@hack.frob.com>
41501
41502 [BZ #13291]
41503 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41504
5298ffa8
AS
415052011-10-13 Andreas Schwab <schwab@redhat.com>
41506
714fad23
AS
41507 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41508 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41509 feraiseexcept.
41510
81dcc7fb
AS
41511 * sysdeps/x86_64/memrchr.S: Check for zero size.
41512
5298ffa8
AS
41513 * string/stratcliff.c: Add memrchr tests.
41514
951fbcec
LD
415152011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41516
41517 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41518 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41519 rawmemchr-sse2 rawmemchr-sse2-bsf.
41520 * sysdeps/i386/i686/multiarch/memchr.S: New file.
41521 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41522 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41523 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41524 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41525 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41526 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41527 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41528 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41529 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41530 * string/memrchr.c (MEMRCHR): New macro.
41531
0ac5ae23
UD
415322011-10-12 Ulrich Drepper <drepper@gmail.com>
41533
41534 Add integration with gcc's -ffinite-math-only and optimize wrapper
41535 functions in libm.
41536 * Versions.def: Define GLIBC_2.15 version for libm.
41537 * math/Makefile (headers): Add bits/math-finite.h.
41538 * math/bits/math-finite.h: New file.
41539 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41540 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41541 * math/e_acoshl.c: Add __*_finite alias.
41542 * math/e_acosl.c: Likewise.
41543 * math/e_asinl.c: Likewise.
41544 * math/e_atan2l.c: Likewise.
41545 * math/e_atanhl.c: Likewise.
41546 * math/e_coshl.c: Likewise.
41547 * math/e_exp10.c: Likewise.
41548 * math/e_exp10f.c: Likewise.
41549 * math/e_exp10l.c: Likewise.
41550 * math/e_exp2l.c: Likewise.
41551 * math/e_fmodl.c: Likewise.
41552 * math/e_gammal_r.c: Likewise.
41553 * math/e_hypotl.c: Likewise.
41554 * math/e_j0l.c: Likewise.
41555 * math/e_j1l.c: Likewise.
41556 * math/e_jnl.c: Likewise.
41557 * math/e_lgammal_r.c: Likewise.
41558 * math/e_log10l.c: Likewise.
41559 * math/e_log2l.c: Likewise.
41560 * math/e_logl.c: Likewise.
41561 * math/e_powl.c: Likewise.
41562 * math/e_sinhl.c: Likewise.
41563 * math/e_sqrtl.c: Likewise.
41564 * math/e_scalb.c: Completely rewritten and optimized.
41565 * math/e_scalbf.c: Likewise.
41566 * math/e_scalbl.c: Likewise.
41567 * math/w_acos.c: Likewise.
41568 * math/w_acosf.c: Likewise.
41569 * math/w_acosl.c: Likewise.
41570 * math/w_acosh.c: Likewise.
41571 * math/w_acoshf.c: Likewise.
41572 * math/w_acoshl.c: Likewise.
41573 * math/w_asin.c: Likewise.
41574 * math/w_asinf.c: Likewise.
41575 * math/w_asinl.c: Likewise.
41576 * math/w_atan2.c: Likewise.
41577 * math/w_atan2f.c: Likewise.
41578 * math/w_atan2l.c: Likewise.
41579 * math/w_atanh.c: Likewise.
41580 * math/w_atanhf.c: Likewise.
41581 * math/w_atanhl.c: Likewise.
41582 * math/w_exp10.c: Likewise.
41583 * math/w_exp10f.c: Likewise.
41584 * math/w_exp10l.c: Likewise.
41585 * math/w_fmod.c: Likewise.
41586 * math/w_fmodf.c: Likewise.
41587 * math/w_fmodl.c: Likewise.
41588 * math/w_j0.c: Likewise.
41589 * math/w_j0f.c: Likewise.
41590 * math/w_j0l.c: Likewise.
41591 * math/w_j1.c: Likewise.
41592 * math/w_j1f.c: Likewise.
41593 * math/w_j1l.c: Likewise.
41594 * math/w_jn.c: Likewise.
41595 * math/w_jnf.c: Likewise.
41596 * math/w_log.c: Likewise.
41597 * math/w_logf.c: Likewise.
41598 * math/w_logl.c: Likewise.
41599 * math/w_log10.c: Likewise.
41600 * math/w_log10f.c: Likewise.
41601 * math/w_log10l.c: Likewise.
41602 * math/w_log2.c: Likewise.
41603 * math/w_log2f.c: Likewise.
41604 * math/w_log2l.c: Likewise.
41605 * math/w_pow.c: Likewise.
41606 * math/w_powf.c: Likewise.
41607 * math/w_powl.c: Likewise.
41608 * math/w_remainder.c: Likewise.
41609 * math/w_remainderf.c: Likewise.
41610 * math/w_remainderl.c: Likewise.
41611 * math/w_scalb.c: Likewise.
41612 * math/w_scalbf.c: Likewise.
41613 * math/w_scalbl.c: Likewise.
41614 * math/w_sqrt.c: Likewise.
41615 * math/w_sqrtf.c: Likewise.
41616 * math/w_sqrtl.c: Likewise.
41617 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41618 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
41619 used.
41620 * math/math_private.h: Declare __kernel_standard_f.
41621 * math/w_cosh.c: Remove cruft and optimize a bit.
41622 * math/w_coshf.c: Likewise.
41623 * math/w_coshl.c: Likewise.
41624 * math/w_exp2.c: Likewise.
41625 * math/w_exp2f.c: Likewise.
41626 * math/w_exp2l.c: Likewise.
41627 * math/w_hypot.c: Likewise.
41628 * math/w_hypotf.c: Likewise.
41629 * math/w_hypotl.c: Likewise.
41630 * math/w_lgamma.c: Likewise.
41631 * math/w_lgamma_r.c: Likewise.
41632 * math/w_lgammaf.c: Likewise.
41633 * math/w_lgammaf_r.c: Likewise.
41634 * math/w_lgammal.c: Likewise.
41635 * math/w_lgammal_r.c: Likewise.
41636 * math/w_sinh.c: Likewise.
41637 * math/w_sinhf.c: Likewise.
41638 * math/w_sinhl.c: Likewise.
41639 * math/w_tgamma.c: Likewise.
41640 * math/w_tgammaf.c: Likewise.
41641 * math/w_tgammal.c: Likewise.
41642 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41643 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41644 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41645 Minor optimizations. Pretty printing. Remove cruft.
41646 * sysdeps/i386/fpu/e_acosf.S: Likewise.
41647 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41648 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41649 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41650 * sysdeps/i386/fpu/e_acosl.c: Likewise.
41651 * sysdeps/i386/fpu/e_asin.S: Likewise.
41652 * sysdeps/i386/fpu/e_asinf.S: Likewise.
41653 * sysdeps/i386/fpu/e_atan2.S: Likewise.
41654 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41655 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41656 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41657 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41658 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41659 * sysdeps/i386/fpu/e_exp10.S: Likewise.
41660 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41661 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41662 * sysdeps/i386/fpu/e_exp2.S: Likewise.
41663 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41664 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41665 * sysdeps/i386/fpu/e_fmod.S: Likewise.
41666 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41667 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41668 * sysdeps/i386/fpu/e_hypot.S: Likewise.
41669 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41670 * sysdeps/i386/fpu/e_log.S: Likewise.
41671 * sysdeps/i386/fpu/e_log10.S: Likewise.
41672 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41673 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41674 * sysdeps/i386/fpu/e_log2.S: Likewise.
41675 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41676 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41677 * sysdeps/i386/fpu/e_logf.S: Likewise.
41678 * sysdeps/i386/fpu/e_logl.S: Likewise.
41679 * sysdeps/i386/fpu/e_pow.S: Likewise.
41680 * sysdeps/i386/fpu/e_powf.S: Likewise.
41681 * sysdeps/i386/fpu/e_powl.S: Likewise.
41682 * sysdeps/i386/fpu/e_remainder.S: Likewise.
41683 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41684 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41685 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41686 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41687 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41688 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41689 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41690 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41691 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41692 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41693 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41694 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41695 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41696 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41697 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41698 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41699 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41700 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41701 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41702 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41703 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41704 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41705 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41706 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41707 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41708 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41709 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41710 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41711 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41712 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41713 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41714 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41715 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41716 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41717 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41718 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41719 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41720 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41721 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41722 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41723 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41724 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41725 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41726 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41727 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41728 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41729 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41730 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41731 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41732 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41733 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41734 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41735 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41736 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41737 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41738 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41739 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41740 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41741 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41742 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41743 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41744 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41745 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41746 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41747 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41748 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41749 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41750 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41751 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41752 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41753 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41754 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41755 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41756 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41757 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41758 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41759 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41760 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41761 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41762 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41763 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41764 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41765 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41766 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41767 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41768 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41769 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41770 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41771 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41772 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41773 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41774 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41775 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41776 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41777 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41778 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41779 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41780 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41781 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41782 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41783 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41784 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41785 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41786 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41787 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41788 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41789 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41790 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41791 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41792 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41793 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41794 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41795 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41796 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41797 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41798 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41799 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41800 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41801 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
41802 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41803 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41804 (__isnanf): Likewise.
41805 (__isinf_ns): Likewise.
41806 (__isinf_nsf): Likewise.
41807 (__finite): Likewise.
41808 (__finitef): Likewise.
41809 (__ieee754_sqrt): Define as macro.
41810 (__ieee754_sqrtf): Define as macro.
41811 (__ieee754_sqrtl): Define as macro.
41812 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41813 inlined copy.
41814 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41815 __FINITE_MATH_ONLY__ consistent.
41816 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41817
12cc2fcd
AS
418182011-10-10 Andreas Schwab <schwab@linux-m68k.org>
41819
a843a204
AS
41820 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41821 of rawmemchr.
41822
12cc2fcd
AS
41823 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41824
c853acd5
UD
418252011-10-09 Ulrich Drepper <drepper@gmail.com>
41826
41827 * po/ja.po: Update from translation team.
41828
c658d255
RM
418292011-10-08 Roland McGrath <roland@hack.frob.com>
41830
110946e4
RM
41831 * locale/programs/locarchive.c (prepare_address_space): New function.
41832 (create_archive, enlarge_archive, open_archive): Use it.
41833
50604220
RM
41834 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41835 inside [SHARED], where it is used.
41836
c658d255
RM
41837 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41838
41839 * nss/getent.c (netgroup_keys): Remove unused variable.
41840 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41841
6a621eb7
UD
418422011-10-08 Ulrich Drepper <drepper@gmail.com>
41843
7edb55ce
UD
41844 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41845 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41846 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41847 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41848 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41849 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41850 * math/Makefile (libm-calls): Add s_isinf_ns.
41851 * math/divtc3.c: Use __isinf_nsl instead of isinf.
41852 * math/multc3.c: Likewise.
41853 * math/s_casin.c: Likewise.
41854 * math/s_casinf.c: Likewise.
41855 * math/s_casinl.c: Likewise.
41856 * math/s_ccos.c: Likewise.
41857 * math/s_ccosf.c: Likewise.
41858 * math/s_ccosl.c: Likewise.
41859 * math/s_ctan.c: Likewise.
41860 * math/s_ctanf.c: Likewise.
41861 * math/s_ctanh.c: Likewise.
41862 * math/s_ctanhf.c: Likewise.
41863 * math/s_ctanhl.c: Likewise.
41864 * math/s_ctanl.c: Likewise.
41865 * math/w_fmod.c: Likewise.
41866 * math/w_fmodf.c: Likewise.
41867 * math/w_fmodl.c: Likewise.
41868 * math/w_remainder.c: Likewise.
41869 * math/w_remainderf.c: Likewise.
41870 * math/w_remainderl.c: Likewise.
41871 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41872 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41873 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41874 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41875 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41876 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41877 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41878 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41879
187da0ae
UD
41880 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41881 of the number.
41882 * stdio-common/printf_fphex.c: Likewise.
41883 * stdio-common/printf_size.c: Likewise.
41884
9277c064
UD
41885 * math/e_exp10.c: Include math_private.h using <...> not "...".
41886 * math/e_exp10f.c: Likewise.
41887 * math/e_exp10l.c: Likewise.
41888 * math/e_exp2l.c: Likewise.
41889 * math/e_j0l.c: Likewise.
41890 * math/e_j1l.c: Likewise.
41891 * math/e_jnl.c: Likewise.
41892 * math/e_lgammal_r.c: Likewise.
41893 * math/e_rem_pio2l.c: Likewise.
41894 * math/e_scalb.c: Likewise.
41895 * math/e_scalbf.c: Likewise.
41896 * math/e_scalbl.c: Likewise.
41897 * math/k_cosl.c: Likewise.
41898 * math/k_sinl.c: Likewise.
41899 * math/k_tanl.c: Likewise.
41900 * math/s_cacoshf.c: Likewise.
41901 * math/s_catan.c: Likewise.
41902 * math/s_catanf.c: Likewise.
41903 * math/s_catanh.c: Likewise.
41904 * math/s_catanhf.c: Likewise.
41905 * math/s_catanhl.c: Likewise.
41906 * math/s_catanl.c: Likewise.
41907 * math/s_ccosh.c: Likewise.
41908 * math/s_ccoshf.c: Likewise.
41909 * math/s_ccoshl.c: Likewise.
41910 * math/s_cexp.c: Likewise.
41911 * math/s_cexpf.c: Likewise.
41912 * math/s_cexpl.c: Likewise.
41913 * math/s_clog.c: Likewise.
41914 * math/s_clog10.c: Likewise.
41915 * math/s_clog10f.c: Likewise.
41916 * math/s_clog10l.c: Likewise.
41917 * math/s_clogf.c: Likewise.
41918 * math/s_clogl.c: Likewise.
41919 * math/s_csin.c: Likewise.
41920 * math/s_csinf.c: Likewise.
41921 * math/s_csinh.c: Likewise.
41922 * math/s_csinhf.c: Likewise.
41923 * math/s_csinhl.c: Likewise.
41924 * math/s_csinl.c: Likewise.
41925 * math/s_csqrt.c: Likewise.
41926 * math/s_csqrtf.c: Likewise.
41927 * math/s_csqrtl.c: Likewise.
41928 * math/s_ctan.c: Likewise.
41929 * math/s_ctanf.c: Likewise.
41930 * math/s_ctanh.c: Likewise.
41931 * math/s_ctanhf.c: Likewise.
41932 * math/s_ctanhl.c: Likewise.
41933 * math/s_ctanl.c: Likewise.
41934 * math/s_ldexp.c: Likewise.
41935 * math/s_ldexpf.c: Likewise.
41936 * math/s_ldexpl.c: Likewise.
41937 * math/s_significand.c: Likewise.
41938 * math/s_significandf.c: Likewise.
41939 * math/s_significandl.c: Likewise.
41940 * math/w_acos.c: Likewise.
41941 * math/w_acosf.c: Likewise.
41942 * math/w_acosh.c: Likewise.
41943 * math/w_acoshf.c: Likewise.
41944 * math/w_acoshl.c: Likewise.
41945 * math/w_acosl.c: Likewise.
41946 * math/w_asin.c: Likewise.
41947 * math/w_asinf.c: Likewise.
41948 * math/w_asinl.c: Likewise.
41949 * math/w_atan2.c: Likewise.
41950 * math/w_atan2f.c: Likewise.
41951 * math/w_atan2l.c: Likewise.
41952 * math/w_atanh.c: Likewise.
41953 * math/w_atanhf.c: Likewise.
41954 * math/w_atanhl.c: Likewise.
41955 * math/w_cosh.c: Likewise.
41956 * math/w_coshf.c: Likewise.
41957 * math/w_coshl.c: Likewise.
41958 * math/w_dremf.c: Likewise.
41959 * math/w_exp10.c: Likewise.
41960 * math/w_exp10f.c: Likewise.
41961 * math/w_exp10l.c: Likewise.
41962 * math/w_exp2.c: Likewise.
41963 * math/w_exp2f.c: Likewise.
41964 * math/w_fmod.c: Likewise.
41965 * math/w_fmodf.c: Likewise.
41966 * math/w_fmodl.c: Likewise.
41967 * math/w_hypot.c: Likewise.
41968 * math/w_hypotf.c: Likewise.
41969 * math/w_hypotl.c: Likewise.
41970 * math/w_j0.c: Likewise.
41971 * math/w_j0f.c: Likewise.
41972 * math/w_j0l.c: Likewise.
41973 * math/w_j1.c: Likewise.
41974 * math/w_j1f.c: Likewise.
41975 * math/w_j1l.c: Likewise.
41976 * math/w_jn.c: Likewise.
41977 * math/w_jnf.c: Likewise.
41978 * math/w_jnl.c: Likewise.
41979 * math/w_lgamma.c: Likewise.
41980 * math/w_lgamma_r.c: Likewise.
41981 * math/w_lgammaf.c: Likewise.
41982 * math/w_lgammaf_r.c: Likewise.
41983 * math/w_lgammal.c: Likewise.
41984 * math/w_lgammal_r.c: Likewise.
41985 * math/w_log.c: Likewise.
41986 * math/w_log10.c: Likewise.
41987 * math/w_log10f.c: Likewise.
41988 * math/w_log10l.c: Likewise.
41989 * math/w_log2.c: Likewise.
41990 * math/w_log2f.c: Likewise.
41991 * math/w_log2l.c: Likewise.
41992 * math/w_logf.c: Likewise.
41993 * math/w_logl.c: Likewise.
41994 * math/w_pow.c: Likewise.
41995 * math/w_powf.c: Likewise.
41996 * math/w_powl.c: Likewise.
41997 * math/w_remainder.c: Likewise.
41998 * math/w_remainderf.c: Likewise.
41999 * math/w_remainderl.c: Likewise.
42000 * math/w_scalb.c: Likewise.
42001 * math/w_scalbf.c: Likewise.
42002 * math/w_scalbl.c: Likewise.
42003 * math/w_sinh.c: Likewise.
42004 * math/w_sinhf.c: Likewise.
42005 * math/w_sinhl.c: Likewise.
42006 * math/w_sqrt.c: Likewise.
42007 * math/w_sqrtf.c: Likewise.
42008 * math/w_sqrtl.c: Likewise.
42009 * math/w_tgamma.c: Likewise.
42010 * math/w_tgammaf.c: Likewise.
42011 * math/w_tgammal.c: Likewise.
42012
6a621eb7
UD
42013 * po/ja.po: Update from translation team.
42014
bf582445
AJ
420152011-09-29 Andreas Jaeger <aj@suse.de>
42016
f9efbf3a
AJ
42017 [BZ #13179]
42018 * sunrpc/netname.c (netname2host): Fix logic.
42019
bf582445
AJ
42020 [BZ #6779]
42021 [BZ #6783]
42022 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42023 correctly.
42024 * math/w_remainder.c (__remainder): Likewise.
42025 * math/w_remainderf.c (__remainderf): Likewise.
42026 * math/libm-test.inc (remainder_test): Add test cases.
42027
48693bea
AK
420282011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42029
42030 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
42031 sdiv_qrnnd.
42032
42622229
LD
420332011-10-07 Ulrich Drepper <drepper@gmail.com>
42034
42035 * string/test-memcmp.c: Avoid unncessary #defines.
42036 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42037
093ecf92
LD
420382011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42039
42040 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42041 Use new sse2 version for core i3 - i7 as it's faster
42042 than sse42 version.
42043 (bit_Prefer_PMINUB_for_stringop): New.
42044 * sysdeps/x86_64/rawmemchr.S: Update.
42045 Replace with faster SSE2 version.
42046 * sysdeps/x86_64/memrchr.S: New file.
42047 * sysdeps/x86_64/memchr.S: Update.
42048 Replace with faster SSE2 version.
42049
fde56e5c
MP
420502011-09-12 Marek Polacek <mpolacek@redhat.com>
42051
42052 * elf/dl-load.c (lose): Add cast to avoid warning.
42053
21fd49a9
UD
420542011-10-07 Ulrich Drepper <drepper@gmail.com>
42055
5a06e643
UD
42056 * po/ca.po: Update from translation team.
42057
684ae515
UD
42058 * inet/getnetgrent_r.c: Hook up nscd.
42059 * nscd/Makefile (routines): Add nscd_netgroup.
42060 (nscd-modules): Add netgroupcache.
42061 (CFLAGS-netgroupcache.c): Define.
42062 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42063 (cache_search): Add const to second parameter.
42064 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42065 INNETGR.
42066 (dbs): Add netgrdb entry.
42067 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42068 (verify_persistent_db): Handle netgrdb.
42069 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42070 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42071 GETFDNETGR.
42072 (netgroup_response_header): Define.
42073 (innetgroup_response_header): Define.
42074 (datahead): Add netgroup_response_header and innetgroup_response_header
42075 elements.
42076 * nscd/nscd.conf: Add entries for netgroup cache.
42077 * nscd/nscd.h (dbtype): Add netgrdb.
42078 (_PATH_NSCD_NETGROUP_DB): Define.
42079 (netgroup_iov_disabled): Declare.
42080 (xmalloc, xcalloc, xrealloc): Move declarations here.
42081 (cache_search): Adjust prototype.
42082 Add netgroup-related prototypes.
42083 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42084 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42085 (__nscd_innetgr): Declare.
42086 * nscd/selinux.c (perms): Use access_vector_t as element type and
42087 add netgroup-related initializers.
42088 * nscd/netgroupcache.c: New file.
42089 * nscd/nscd_netgroup.c: New file.
42090 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42091 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42092 For four parameters use innetgr.
42093 * nss/nss_files/files-init.c: Add definition and callback for netgr.
42094 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42095 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42096 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42097
21fd49a9
UD
42098 * nscd/connections.c (register_traced_file): Don't register file
42099 for disabled databases.
42100
054c0457
UD
421012011-10-06 Ulrich Drepper <drepper@gmail.com>
42102
32b63198
UD
42103 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42104
054c0457
UD
42105 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42106 from tree and freeing node.
42107
64031225
JO
421082011-09-25 Jiri Olsa <jolsa@redhat.com>
42109
42110 * nss/nsswitch.c (__nss_database_lookup): Handle
42111 nss_parse_service_list out of memory case.
42112
0490345c
JO
421132011-09-15 Jiri Olsa <jolsa@redhat.com>
42114
42115 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42116 out of memory case.
42117
3a62d00d
AS
421182011-10-04 Andreas Schwab <schwab@redhat.com>
42119
42120 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42121 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42122 pass it down.
42123 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42124 elf_machine_rela, elf_machine_lazy_rel.
42125 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42126 (ELF_DYNAMIC_DO_REL): Likewise.
42127 (ELF_DYNAMIC_DO_RELA): Likewise.
42128 (ELF_DYNAMIC_RELOCATE): Likewise.
42129 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42130 to ELF_DYNAMIC_DO_REL.
42131 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42132 (dl_main): In trace mode always set __RTLD_NOIFUNC.
42133 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42134 elf_machine_rela.
42135 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42136 skip_ifunc, don't call ifunc function if non-zero.
42137 (elf_machine_rela): Likewise.
42138 (elf_machine_lazy_rel): Likewise.
42139 (elf_machine_lazy_rela): Likewise.
42140 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42141 (elf_machine_lazy_rel): Likewise.
42142 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42143 Likewise.
42144 (elf_machine_lazy_rel): Likewise.
42145 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42146 Likewise.
42147 (elf_machine_lazy_rel): Likewise.
42148 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42149 (elf_machine_lazy_rel): Likewise.
42150 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42151 (elf_machine_lazy_rel): Likewise.
42152 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42153 (elf_machine_lazy_rel): Likewise.
42154 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42155 (elf_machine_lazy_rel): Likewise.
42156 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42157 (elf_machine_lazy_rel): Likewise.
42158 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42159 (elf_machine_lazy_rel): Likewise.
42160
68577918
UD
421612011-09-28 Ulrich Drepper <drepper@gmail.com>
42162
42163 * nss/nss_files/files-init.c (_nss_files_init): Use static
42164 initialization for all the *_traced_file variables.
42165
68822d74
AS
421662011-09-28 Andreas Schwab <schwab@redhat.com>
42167
42168 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42169
2056100b
RM
421702011-09-27 Roland McGrath <roland@hack.frob.com>
42171
42172 [BZ #13226]
42173 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42174
32c76b63
AS
421752011-09-27 Andreas Schwab <schwab@redhat.com>
42176
42177 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42178 Reread the line before reparsing it.
42179
bf972c9d
AS
421802011-09-26 Andreas Schwab <schwab@redhat.com>
42181
42182 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42183
e057a1b5
JM
421842011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
42185 Maxim Kuvyrkov <maxim@codesourcery.com>
42186 Joseph Myers <joseph@codesourcery.com>
42187
42188 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42189 if needed for __stack_chk_guard.
42190
bc7e1c36
RM
421912011-09-19 Roland McGrath <roland@hack.frob.com>
42192
ecb1482f
RM
42193 * sysdeps/posix/spawni.c (script_execute): Always define it.
42194 It will be optimized away if unused.
42195 (maybe_script_execute): New function.
42196 (__spawni): Call it.
42197
bc7e1c36
RM
42198 * Makerules: Don't include tls.make.
42199 (config-tls): Always set to thread.
42200 * tls.make.c: File removed.
42201
1c3b002b
MF
422022011-09-19 Mike Frysinger <vapier@gentoo.org>
42203
42204 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42205 * config.make.in (CPPFLAGS-config): New substituted variable.
42206
2840865d
UD
422072011-09-15 Ulrich Drepper <drepper@gmail.com>
42208
88738eb6
UD
42209 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42210
cbf645a6 42211 [BZ #13192]
2840865d
UD
42212 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42213 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42214
b402e91a
RM
422152011-09-15 Roland McGrath <roland@hack.frob.com>
42216
42217 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42218 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42219 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42220 (CALL_FAIL): Likewise.
42221 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42222 (CALL_FAIL): Macro removed.
42223 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42224
4c1a1f71
UD
422252011-09-15 Ulrich Drepper <drepper@gmail.com>
42226
42227 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42228 for __FINITE_MATH_ONLY__ == 1.
42229
edc121be
AS
422302011-09-15 Andreas Schwab <schwab@redhat.com>
42231
42232 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42233 __ieee754_sqrt instead of sqrt.
42234 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42235 __ieee754_sqrtf instead of sqrtf.
42236 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42237 __floorf instead of floorf.
42238 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42239 __floorf, __truncf instead of floorf, truncf.
42240
cd205654
UD
422412011-09-14 Ulrich Drepper <drepper@gmail.com>
42242
ee4d0315
UD
42243 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42244
cd205654
UD
42245 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42246 __extern_always_inline.
42247 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42248 32-bit.
42249
48b67d71
AS
422502011-09-14 Andreas Schwab <schwab@redhat.com>
42251
42252 * elf/rtld.c (dl_main): Also relocate in dependency order when
42253 doing symbol dependency testing.
42254
1ae12c75
AS
422552011-09-13 Andreas Schwab <schwab@linux-m68k.org>
42256
42257 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42258 Always define `refsym'.
42259
995a80df
AS
422602011-09-13 Andreas Schwab <schwab@redhat.com>
42261
e529793b
AS
42262 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42263 (__FD_ELT): Renamed from __FDELT.
42264 * misc/bits/select2.h (__FD_ELT): Likewise.
42265 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42266 __FD_MASK instead of __FDELT, __FDMASK.
42267 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42268 Likewise.
42269 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42270 Likewise.
42271
52d4fef8
AS
42272 * elf/Makefile (gen-ldd): Fix pattern.
42273
995a80df
AS
42274 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42275 (init_tls): Likewise.
42276
8682f8b0
UD
422772011-09-12 Ulrich Drepper <drepper@gmail.com>
42278
42279 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42280
de82006d
AS
422812011-09-12 Andreas Schwab <schwab@redhat.com>
42282
a7c8e6a1
AS
42283 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42284 `struct cmsghdr *' instead of `void *'.
42285 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42286 Likewise.
42287
0f31fe77
AS
422882011-09-11 Andreas Schwab <schwab@linux-m68k.org>
42289
42290 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42291 if non-absolute.
42292 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42293 ldd_rewrite_script.
0f31fe77 42294
32b4c839
UD
422952011-09-11 Ulrich Drepper <drepper@gmail.com>
42296
83cd1420
UD
42297 * configure.in: Remove --with-tls option.
42298 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42299 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42300 out in case it is missing.
42301 * sysdeps/ia64/elf/configure.in: Likewise.
42302 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42303 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42304 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42305 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42306 * sysdeps/sh/elf/configure.in: Likewise.
42307 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42308 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42309 * sysdeps/x86_64/elf/configure.in: Likewise.
42310 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42311 * sysdeps/mach/hurd/tls.h: Likewise.
42312
633f745d
UD
42313 [BZ #13067]
42314 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42315
f318beb8
UD
42316 [BZ #13090]
42317 * configure.in: Fix use of AC_INIT.
42318
32b4c839
UD
42319 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42320
3ce1f295
UD
423212011-09-10 Ulrich Drepper <drepper@gmail.com>
42322
bb016596
UD
42323 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42324 __set_errno.
8e58439c
UD
42325 * malloc/hooks.c: Likewise.
42326
aebae053 42327 [BZ #11929]
02d46fc4
UD
42328 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
42329 variables statically.
42330 (narenas): Initialize.
42331 (list_lock): Initialize.
bb016596
UD
42332 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
42333 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
42334 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42335 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
42336 Add initializers to main_arena and mp_.
42337 (malloc_state): Remove pagesize member. Change all users to use
42338 GLRO(dl_pagesize).
42339
42340 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42341 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
42342 is always initialized.
42343
22a89187
UD
42344 * malloc/malloc.c: Removed unused configurations and dead code.
42345 * malloc/arena.c: Likewise.
42346 * malloc/hooks.c: Likewise.
02d46fc4 42347 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 42348
d063d164
UD
42349 * include/tls.h: Removed. USE___THREAD must always be defined.
42350 * bits/libc-tsd.h: Don't handle !USE___THREAD.
42351 * elf/dl-libc.c: Likewise.
42352 * elf/dl-tsd.c: Likewise.
42353 * include/errno.h: Likewise.
42354 * include/netdb.h: Likewise.
42355 * include/resolv.h: Likewise.
42356 * inet/herrno-loc.c: Likewise.
42357 * inet/herrno.c: Likewise.
42358 * malloc/arena.c: Likewise.
42359 * malloc/hooks.c: Likewise.
42360 * malloc/malloc.c: Likewise.
42361 * resolv/res-state.c: Likewise.
42362 * resolv/res_libc.c: Likewise.
42363 * sysdeps/i386/dl-machine.h: Likewise.
42364 * sysdeps/ia64/dl-machine.h: Likewise.
42365 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42366 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42367 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42368 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42369 * sysdeps/sh/dl-machine.h: Likewise.
42370 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42371 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42372 * sysdeps/unix/i386/sysdep.S: Likewise.
42373 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42374 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42375 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42376 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42377 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42378 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42379 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42380 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42381 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42382 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42383 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42384 * sysdeps/x86_64/dl-machine.h: Likewise.
42385 * tls.make.c: Likewise.
42386
3ce1f295
UD
42387 * configure.in: Remove --with-__thread option. Make tests for
42388 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42389 tls_model attribute fail if no support is available. Remove
42390 USE_IN_LIBIO.
42391 * Makeconfig: Adjust for dropped configure option. All features are
42392 now mandatory.
42393 * Makerules: Likewise.
42394 * Versions.def: Likewise.
42395 * argp/argp-fmtstream.c: Likewise.
42396 * argp/argp-fmtstream.h: Likewise.
42397 * argp/argp-help.c: Likewise.
42398 * assert/assert.c: Likewise.
42399 * config.h.in: Likewise.
42400 * config.make.in: Likewise.
42401 * configure: Likewise.
42402 * configure.in: Likewise.
42403 * csu/Versions: Likewise.
42404 * csu/init.c: Likewise.
42405 * elf/tst-audit2.c: Likewise.
42406 * elf/tst-tls10.c: Likewise.
42407 * elf/tst-tls10.h: Likewise.
42408 * elf/tst-tls11.c: Likewise.
42409 * elf/tst-tls12.c: Likewise.
42410 * elf/tst-tls14.c: Likewise.
42411 * elf/tst-tlsmod11.c: Likewise.
42412 * elf/tst-tlsmod12.c: Likewise.
42413 * elf/tst-tlsmod13.c: Likewise.
42414 * elf/tst-tlsmod13a.c: Likewise.
42415 * elf/tst-tlsmod14a.c: Likewise.
42416 * elf/tst-tlsmod15b.c: Likewise.
42417 * elf/tst-tlsmod16a.c: Likewise.
42418 * elf/tst-tlsmod16b.c: Likewise.
42419 * elf/tst-tlsmod7.c: Likewise.
42420 * elf/tst-tlsmod8.c: Likewise.
42421 * elf/tst-tlsmod9.c: Likewise.
42422 * gmon/gmon.c: Likewise.
42423 * grp/fgetgrent_r.c: Likewise.
42424 * grp/putgrent.c: Likewise.
42425 * hurd/fopenport.c: Likewise.
42426 * include/libc-symbols.h: Likewise.
42427 * include/tls.h: Likewise.
42428 * intl/gettextP.h: Likewise.
42429 * intl/loadinfo.h: Likewise.
42430 * locale/global-locale.c: Likewise.
42431 * locale/localeinfo.h: Likewise.
42432 * mach/devstream.c: Likewise.
42433 * malloc/arena.c: Likewise.
42434 * malloc/set-freeres.c: Likewise.
42435 * misc/err.c: Likewise.
42436 * misc/getttyent.c: Likewise.
42437 * misc/mntent_r.c: Likewise.
42438 * posix/getopt.c: Likewise.
42439 * posix/wordexp.c: Likewise.
42440 * pwd/fgetpwent_r.c: Likewise.
42441 * resolv/Versions: Likewise.
42442 * resolv/res_hconf.c: Likewise.
42443 * shadow/fgetspent_r.c: Likewise.
42444 * shadow/putspent.c: Likewise.
42445 * stdio-common/printf_fphex.c: Likewise.
42446 * stdio-common/tmpfile.c: Likewise.
42447 * stdlib/abort.c: Likewise.
42448 * stdlib/fmtmsg.c: Likewise.
42449 * sunrpc/auth_unix.c: Likewise.
42450 * sunrpc/clnt_perr.c: Likewise.
42451 * sunrpc/clnt_tcp.c: Likewise.
42452 * sunrpc/clnt_udp.c: Likewise.
42453 * sunrpc/clnt_unix.c: Likewise.
42454 * sunrpc/openchild.c: Likewise.
42455 * sunrpc/svc_simple.c: Likewise.
42456 * sunrpc/svc_tcp.c: Likewise.
42457 * sunrpc/svc_udp.c: Likewise.
42458 * sunrpc/svc_unix.c: Likewise.
42459 * sunrpc/xdr.c: Likewise.
42460 * sunrpc/xdr_array.c: Likewise.
42461 * sunrpc/xdr_rec.c: Likewise.
42462 * sunrpc/xdr_ref.c: Likewise.
42463 * sunrpc/xdr_stdio.c: Likewise.
42464
1248c1c4
PB
424652011-09-09 Ulrich Drepper <drepper@gmail.com>
42466
42467 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42468
424692011-07-03 Andreas Jaeger <aj@suse.de>
42470
42471 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42472 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42473 regenerate with gen-libm-tests.pl.
42474
424752010-05-12 Petr Baudis <pasky@suse.cz>
42476
42477 [BZ #11589]
42478 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42479 around j0() zero points by switching to j1().
42480 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42481 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42482 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42483 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42484
f22e1074
UD
424852011-09-09 Ulrich Drepper <drepper@gmail.com>
42486
f19009c1
UD
42487 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42488 instead of 0.
42489 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 42490 instead of 0.
f19009c1
UD
42491 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42492 Patch in part by Pavel Roskin <proski@gnu.org>.
42493
3f8cc204
UD
42494 [BZ #13138]
42495 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42496 realloc.
42497 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
42498 Free memory block if necessary.
42499
f22e1074
UD
42500 [BZ #12847]
42501 * libio/genops.c (INTDEF): For string streams the _lock pointer can
42502 be NULL. Don't lock in this case.
42503
0a2349f9
RM
425042011-09-09 Roland McGrath <roland@hack.frob.com>
42505
42506 * elf/elf.h (ELFOSABI_GNU): New macro.
42507 (ELFOSABI_LINUX): Define to that.
42508
f3cdd467
DZ
425092011-07-29 Denis Zaitceff <zaitceff@gmail.com>
42510
42511 * string/strncat.c (strncat): Undef the symbol in case it has been
42512 defined in bits/string.h.
42513
74718d13
UD
425142011-09-09 Ulrich Drepper <drepper@gmail.com>
42515
633e9e0f
UD
42516 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42517
0a2349f9 42518 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
42519 link map.
42520
f9924780
AJ
425212011-08-17 Andreas Jaeger <aj@suse.de>
42522
42523 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42524
7f5517aa
PP
425252011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
42526 Ian Lance Taylor <iant@google.com>
42527
42528 * math/libm-test.inc (lround_test): New testcase.
42529 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42530
762011fe
UD
425312011-09-08 Ulrich Drepper <drepper@gmail.com>
42532
92963737
UD
42533 * Makefile: Remove support for automatic cvs check-ins.
42534 * Makerules: Likewise.
42535 * config.make.in: Likewise.
42536 * configure.in: Likewise.
42537 * intl/Makefile: Likewise.
42538 * locale/Makefile: Likewise.
42539 * po/Makefile: Likewise.
42540 * posix/Makefile: Likewise.
42541 * sysdeps/gnu/Makefile: Likewise.
42542 * sysdeps/mach/hurd/Makefile: Likewise.
42543 * sysdeps/sparc/sparc32/Makefile: Likewise.
42544
b0727fd8
JS
42545 [BZ #13118]
42546 * posix/Makefile (bug-regex32-ENV): Define.
42547 Patch by John Stanley <jpsinthemix@verizon.net>.
42548
a0f33f99
UD
42549 * misc/Makefile (headers): Add bits/select2.h.
42550 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42551 * misc/bits/select2.h: New file.
42552 * include/bits/select2.h: New file.
42553 * debug/Makefile (routines): Add fdelt_chk.
42554 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42555 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42556 FD_ISSET.
42557 * debug/fdelt_chk.c: New file.
42558
762011fe
UD
42559 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
42560 * wcsmbs/test-wmemcmp.c: Likewise.
42561 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 42562 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
42563
425642011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42565
42566 * string/Makefile (strop-tests): Add memcmp.
42567 * string/test-wmemcmp.c: New file.
42568 * string/test-memcmp.c: Add wmemcmp support.
42569
7f513ec8
RM
425702011-09-08 Roland McGrath <roland@hack.frob.com>
42571
0442afb4
RM
42572 [BZ #13153]
42573 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42574 2011-07-19 change.
42575
7f513ec8
RM
42576 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42577 garbage value in a __mach_port_mod_refs call in the cases of the
42578 task-self and thread-self ports.
42579
a12b2239
ST
425802011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42581
42582 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42583
610f9ab4
AS
425842011-09-08 Andreas Schwab <schwab@redhat.com>
42585
7f513ec8 42586 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 42587
48882a1a
LD
425882011-09-07 Ulrich Drepper <drepper@gmail.com>
42589
b49865be
UD
42590 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42591
fdc86bc9
UD
42592 * elf/dl-libc.c (dlerror_run): Pass back error code from
42593 dl_catch_error.
42594
c966526a
UD
42595 [BZ #13123]
42596 * elf/dl-load.c (lose): Free l_origin if it is valid.
42597
48882a1a
LD
42598 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42599 names.
42600 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42601 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42602 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42603 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42604 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42605 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42606
77a2a8b4
AZ
426072011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42608
42609 * sysdeps/powerpc/fpu/e_hypot.c: New file.
42610 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42611 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42612 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42613 * sysdeps/powerpc/fpu/k_cosf.c: New file.
42614 * sysdeps/powerpc/fpu/k_sinf.c: New file.
42615 * sysdeps/powerpc/fpu/s_cosf.c: New file.
42616 * sysdeps/powerpc/fpu/s_sinf.c: New file.
42617 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42618 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42619
24f579d8
AM
426202011-08-15 Alan Modra <amodra@gmail.com>
42621
42622 [BZ #13092]
42623 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42624 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42625 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
42626 ppc_mcount to static-only-routines.
42627 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42628 __mcount_internal.
42629 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42630 __mcount_internal with usual JUMPTARGET. Remove useless nop.
42631
3d4837df
UD
426322011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
42633
42634 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42635 for finite and infinity parameters.
42636
22700377
WS
426372011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42638
42639 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42640 and add nop instructions for throughput optimization.
42641 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42642
5025581e
WS
426432011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
42644
42645 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42646 aligned copy for power7 with vector-scalar instructions.
42647 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42648
08a300c9
L
426492011-07-24 H.J. Lu <hongjiu.lu@intel.com>
42650
42651 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42652 AVX check.
42653
59178ef9
AS
426542011-09-07 Andreas Schwab <schwab@redhat.com>
42655
42656 [BZ #13144]
42657 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42658 last change.
42659
e38ba7ab
UD
426602011-09-07 Ulrich Drepper <drepper@gmail.com>
42661
42662 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42663 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42664 syscall wrapper around clock_gettime in __vdso_clock_gettime.
42665 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42666 clock_gettime.
42667
d53a73ac
UD
426682011-09-06 Ulrich Drepper <drepper@gmail.com>
42669
fc8bffcc
UD
42670 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42671 Forgot to demangle the pointer.
42672
ceaa0c5d
UD
42673 * sysdeps/i386/sysdep.h: Define atom_text_section.
42674 * sysdeps/x86_64/sysdep.h: Likewise.
42675 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42676 section with atom_text_section.
42677 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42678 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42679 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42680 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42681 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42682
a77d3c17
UD
42683 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42684 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42685 already be defined. Change to take two parameters and don't assign
42686 result to variable. Adjust all users.
42687 Define INTERNAL_GETTIME if not already defined.
42688 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42689 call.
42690 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42691 HAVE_CLOCK_GETTIME_VSYSCALL.
42692 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42693
d53a73ac
UD
42694 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42695 gettimeofday vsyscall, just use time.
42696
a8f84144
AS
426972011-09-06 Andreas Schwab <schwab@redhat.com>
42698
42699 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42700 <errno.h>.
42701
ef606249
UD
427022011-09-06 Ulrich Drepper <drepper@gmail.com>
42703
42704 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42705 syscall on x86-64.
42706 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42707 syscall.
42708 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42709 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42710 syscall if possible.
42711
6585cb60
UD
427122011-09-05 Ulrich Drepper <drepper@gmail.com>
42713
42714 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42715 e_ident. Don't pass to find_mapsXX.
42716 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42717
a5f524e4
LD
427182011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42719
42720 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42721 strchr-sse2-no-bsf strrchr-sse2-no-bsf
42722 * sysdeps/x86_64/multiarch/strchr.S: Update.
42723 Check bit_slow_BSF bit.
42724 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42725 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42726 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42727
554881ef
UD
427282011-09-05 Ulrich Drepper <drepper@gmail.com>
42729
d96de963
UD
42730 [BZ #13134]
42731 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42732 before glibc 2.15.
42733 (tryshell): Define.
42734 (__spawni): Change last parameter to be flag. Test
42735 SPAWN_XFLAGS_USE_PATH flag to use path or not.
42736 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42737 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42738 * posix/spawni.c: Likewise.
42739 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42740 * posix/spawnp.c: Likewise. Change normal version to use
42741 SPAWN_XFLAGS_USE_PATH.
42742 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42743 SPAWN_XFLAGS_TRY_SHELL.
42744
d48e5868
UD
42745 [BZ #13150]
42746 * posix/glob.h: Remove gcc 1.x support.
42747
554881ef
UD
42748 [BZ #13068]
42749 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42750
693fb948
LD
427512011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42752
42753 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42754 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42755 strrchr-sse2-bsf
42756 * sysdeps/i386/i686/multiarch/strchr.S: New file.
42757 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42758 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42759 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42760 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42761 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42762
1b48c537
UD
427632011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42764
49d42c37
UD
42765 * sysdeps/x86_64/wcscmp.S: New file.
42766
1b48c537
UD
42767 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42768 wcscmp-c wcscmp-sse2
42769 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42770 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42771 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42772 * wcsmbs/wcscmp.c: Allow renaming.
42773
15c95c5d
DM
427742011-09-05 David S. Miller <davem@davemloft.net>
42775
42776 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42777 stack slot, rather than the struct return pointer slot.
42778 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42779 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42781 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42782
2f0ad8f3
UD
427832011-09-05 Ulrich Drepper <drepper@gmail.com>
42784
d88ae418
UD
42785 * po/ja.po: Update from translation team.
42786
2f0ad8f3
UD
42787 [BZ #13144]
42788 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42789 kernel in 64-bit binaries.
42790
5f4318d1
DM
427912011-09-01 David S. Miller <davem@davemloft.net>
42792
42793 * elf/elf.h (HWCAP_SPARC_*): Move to..
42794 * sysdeps/sparc/sysdep.h: this new file and add new values.
42795 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42796 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42797 _DL_HWCAP_COUNT to 24.
42798 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42799 entries.
42800 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42801 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42802 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42803 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42804 instead of magic constants.
42805 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42806
3ba57516
DM
428072011-08-31 David S. Miller <davem@davemloft.net>
42808
42809 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42810 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42811 Reimplement to do errno handling inline.
42812 (SYSCALL_ERROR_HANDLER): New macro.
42813 (__SYSCALL_STRING): Do not do errno handling in asm.
42814 (__CLONE_SYSCALL_STRING): Delete.
42815 (__INTERNAL_SYSCALL_STRING): Delete.
42816 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42817 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42818 (PSEUDO): Reimplement to do errno handling inline.
42819 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42820 (SYSCALL_ERROR_HANDLER): New macro.
42821 (__SYSCALL_STRING): Do not do errno handling in asm.
42822 (__CLONE_SYSCALL_STRING): Delete.
42823 (__INTERNAL_SYSCALL_STRING): Delete.
42824 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42825 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42826 i386.
42827 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42828 (inline_syscall*): Add 'err' argument.
42829 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42830 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42831 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42832 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42833
42834 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42835 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42836
2bc17433
AS
428372011-08-30 Andreas Schwab <schwab@redhat.com>
42838
42839 * elf/rtld.c (dl_main): Relocate objects in dependency order.
42840
fbeb5f4d
JO
428412011-08-29 Jiri Olsa <jolsa@redhat.com>
42842
42843 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42844 directive.
42845
ad69cc26
DM
428462011-08-24 David S. Miller <davem@davemloft.net>
42847
42848 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42849
39dd69df
AS
428502011-08-24 Andreas Schwab <schwab@redhat.com>
42851
42852 * elf/Makefile: Add rules to build and run unload8 test.
42853 * elf/unload8.c: New file.
42854 * elf/unload8mod1.c: New file.
42855 * elf/unload8mod1x.c: New file.
42856 * elf/unload8mod2.c: New file.
42857 * elf/unload8mod3.c: New file.
42858
42859 * elf/dl-close.c (_dl_close_worker): Reset private search list if
42860 it wasn't used.
42861
2c0b250a
DM
428622011-08-23 David S. Miller <davem@davemloft.net>
42863
42864 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42865 subtract stack bias.
42866 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42867 %sp not %fp in calculations.
42868 (_JMPBUF_UNWINDS_ADJ): Likewise.
42869
22044b48
DM
42870 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42871 (aio_suspend): Call it to force an exception region around the
42872 AIO_MISC_WAIT() invocation.
42873
2cae4995
AS
428742011-08-23 Andreas Schwab <schwab@redhat.com>
42875
42876 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42877 backslash.
42878
873a772e
AJ
428792011-07-04 Aurelien Jarno <aurelien@aurel32.net>
42880
42881 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42882 protection macro.
42883 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42884 and <dl-machine.h>.
42885 (Elf64_FuncDesc): Remove.
42886
25ad0df1
DM
428872011-08-22 David S. Miller <davem@davemloft.net>
42888
42889 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42890 sigaltstack check, add missing cfi directives.
42891 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42892 missing cfi directives, and sigaltstack handling.
42893
e888bcbe
AS
428942011-08-16 Andreas Schwab <schwab@redhat.com>
42895
42896 [BZ #11724]
42897 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42898 object is seen twice.
42899 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42900
42901 * elf/Makefile (distribute): Add tst-initorder2.c.
42902 (tests): Add tst-initorder2.
42903 (modules-names): Add tst-initorder2a tst-initorder2b
42904 tst-initorder2c tst-initorder2d. Add rules to build them.
42905 ($(objpfx)tst-initorder2.out): New rule.
42906 * elf/tst-initorder2.c: New file.
42907 * elf/tst-initorder2.exp: New file.
42908
87162f46
AS
429092011-08-22 Andreas Schwab <schwab@redhat.com>
42910
70538b7f
AS
42911 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42912
f55ffe58
AS
42913 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42914 dependencies back to end of function.
42915
87162f46
AS
42916 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42917 $(elfobjdir)/ld.so.
42918
91b392a4
UD
429192011-08-21 Ulrich Drepper <drepper@gmail.com>
42920
42921 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42922 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42923 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42924 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42925 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42926 of __vdso_gettimeofday.
42927 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42928 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
42929 attribute_hidden.
42930 (_libc_vdso_platform_setup): Remove initialization of
42931 __vdso_gettimeofday and __vdso_time.
42932
5c43483f
UD
429332011-08-20 Ulrich Drepper <drepper@gmail.com>
42934
775a77e7
UD
42935 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42936 and fgetc_unlocked.
42937 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42938 getc_unlocked.
89f447ed 42939
49c74ba9
UD
42940 * elf/dl-open.c (add_to_global): Report additions to the global scope
42941 for LD_DEBUG=scopes.
42942 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 42943 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 42944
5c43483f
UD
42945 [BZ #13114]
42946 * stdio-common/Makefile (tests): Add bug24.
42947 * stdio-common/bug24.c: New file.
42948
a101b025
AJ
429492011-08-19 Andreas Jaeger <aj@suse.de>
42950
42951 [BZ #13114]
42952 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42953 non-existant file when using close-on-exec mode.
42954
c88f1766
UD
429552011-08-20 Ulrich Drepper <drepper@gmail.com>
42956
0276a718
UD
42957 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42958 the very first instruction.
42959
c88f1766
UD
42960 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42961 the CFI state in the end.
42962 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42963 inclusion of dl-trampoline.h.
42964 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42965
51ccffa0
AS
429662011-08-19 Andreas Schwab <schwab@redhat.com>
42967
94d7165f
AS
42968 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42969 expectations for long double.
42970
51ccffa0
AS
42971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42972 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42973
fd708658 429742011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
42975
42976 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42977 artificual limit depends upon the system page size.
42978
44f0a71e
UD
429792011-08-17 Ulrich Drepper <drepper@gmail.com>
42980
42981 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42982 * resolv/Makefile: Define CFLAGS-libresolv.
42983
8de79a24
AS
429842011-08-17 Andreas Schwab <schwab@redhat.com>
42985
42986 * nss/makedb.c (compute_tables): Make variables used in nested
42987 function static.
42988
27724598
UD
429892011-08-17 Ulrich Drepper <drepper@gmail.com>
42990
c5305d88
UD
42991 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42992 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42993 if buffer was too small.
42994
27724598
UD
42995 * elf/pldd.c (main): Attach to all threads in the process.
42996 Rewrite /proc handling to use *at functions.
42997
076fe015
UD
429982011-08-16 Ulrich Drepper <drepper@gmail.com>
42999
174baab3
UD
43000 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
43001 specifies first scope to show.
43002 (dl_open_worker): Update callers. Move printing scope of new
43003 object to before the relocation.
44f0a71e 43004 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
43005 * sysdeps/generic/ldsodefs.h: Update declaration.
43006
076fe015
UD
43007 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
43008 string for the scope number.
43009
a60df2c3
UD
430102011-08-14 Ulrich Drepper <drepper@gmail.com>
43011
43012 * nscd/servicescache.c (cache_addserv): Make sure written is always
43013 initialized.
43014
5e4287d1
RM
430152011-08-14 Roland McGrath <roland@hack.frob.com>
43016
85ae0589
RM
43017 * sysdeps/i386/i486/bits/atomic.h
43018 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43019 statement expression, so as to suppress "set but not used" warning.
43020 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43021
69f63097
RM
43022 * string/strncat.c (STRNCAT): Use prototype definition.
43023
675456ef
RM
43024 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43025 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43026 -Iprograms here.
43027 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43028 (localedef-modules): Add localedef.
43029 (locale-modules): Add locale.
43030
5e4287d1
RM
43031 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43032 * elf/rtld.c (dl_main): Invert order of assignment in last change,
43033 to avoid a warning.
43034
9c96ff23
DM
430352011-08-14 David S. Miller <davem@davemloft.net>
43036
43037 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43038 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43039
f9ddf089
UD
430402011-08-13 Ulrich Drepper <drepper@gmail.com>
43041
44f0a71e 43042 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
43043 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43044 * elf/rtld.c (dl_main): Set l_name of vDSO.
43045 Call _dl_show_scope when DL_DEBUG_SCOPES.
43046 (process_dl_debug): Recognize scopes flag and also set it for all.
43047 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43048 Declare _dl_show_scope.
43049
1dc27704
UD
43050 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43051 (do_dlopen): Pass caller_dlopen to dl_open.
43052 (__libc_dlopen_mode): Initialize caller_dlopen.
43053
f9ddf089
UD
43054 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43055 of libc. Make tolower call locale-independent. Optimize a bit by
43056 using isdigit instead of isalnum.
43057 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43058
9ac533d3
UD
430592011-08-12 Ulrich Drepper <drepper@gmail.com>
43060
43061 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43062 was a dependency or dynamically loaded.
43063
89edf2e9
UD
430642011-08-11 Ulrich Drepper <drepper@gmail.com>
43065
8e999d29
UD
43066 * intl/l10nflist.c: Allow architecture-specific pop function.
43067 * sysdeps/x86_64/l10nflist.c: New file.
43068
89edf2e9
UD
43069 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43070 classification.
43071
14d96785
AS
430722011-08-10 Andreas Schwab <schwab@redhat.com>
43073
43074 * include/dirent.h: Add libc_hidden_proto for scandirat and
43075 scandirat64. Don't declare __scandirat64.
43076 * dirent/scandirat.c: Add libc_hidden_def.
43077 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43078 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43079
6761ac04
DM
430802011-08-10 David S. Miller <davem@davemloft.net>
43081
43082 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43083 enum.
43084 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43085 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43086 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43087
c55fbd1e
UD
430882011-08-09 Ulrich Drepper <drepper@gmail.com>
43089
43090 * Versions.def [libc]: Add GLIBC_2.15.
43091 * dirent/Makefile (routines): Add scandirat and scandirat64.
43092 * dirent/Versions [libc]: Export scandirat and scandirat64 for
43093 GLIBC_2.15.
43094 * dirent/dirent.h: Declare scandirat and scandirat64.
43095 * dirent/scandirat.c: New file.
43096 * dirent/scandirat64.c: New file.
43097 * sysdeps/wordsize-64/scandirat.c: New file.
43098 * sysdeps/wordsize-64/scandirat64.c: New file.
43099 * dirent/opendir.c: Define opendirat.
43100 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
43101 using scandirat.
43102 * dirent/scandir64.c: Adjust for scandir.c change.
43103 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
43104 __scandirat64, and __scandir_cancel_handler.
43105 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
43106 additional parameter and use openat instead of open (outside of ld.so).
43107 Add new __opendir as wrapper around __opendirat.
43108 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43109 here without requiring old scandirat implementation.
43110
879165f2
UD
431112011-08-08 Ulrich Drepper <drepper@gmail.com>
43112
43113 * dirent/scandir.c (cancel_handler): Renamed to
43114 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
43115 defined. Adjust users.
43116 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43117 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43118
cb7e923b
UD
431192011-08-04 Ulrich Drepper <drepper@gmail.com>
43120
16292edd
UD
43121 * string/test-string.h (IMPL): Use __STRING to expand name and then
43122 stringify it.
43123
cb7e923b
UD
43124 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
43125 of cleanups.
43126
cff82933
LD
431272011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43128
43129 * string/Makefile: Update.
43130 (strop-tests): Append strncat.
43131 * string/test-wcscmp.c: New file.
43132 New comprehensive test for wcscmp.
43133 * string/test-strcmp.c: Update.
43134 (WIDE): New define.
43135
9be9bfcc
AS
431362011-07-22 Andreas Schwab <schwab@redhat.com>
43137
43138 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43139 line.
43140
2e96f1c7
AS
431412011-07-26 Andreas Schwab <schwab@redhat.com>
43142
43143 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43144 encoding to ACE if AI_IDN.
43145
85188888
JJ
431462011-08-01 Jakub Jelinek <jakub@redhat.com>
43147
43148 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43149 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43150
5fa16e9b
LD
431512011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43152
43153 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43154 Fix overflow bug in strncat.
43155 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43156
43157 * string/test-strncat.c: Update.
43158 Add new tests for checking overflow bugs.
43159
431602011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43161
43162 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43163 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43164 * sysdeps/i386/i686/multiarch/strcat.S: New file.
43165 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43166 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43167 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43168 * sysdeps/i386/i686/multiarch/strncat.S: New file.
43169 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43170 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43171
43172 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43173 (USE_AS_STRCAT): Define.
43174 Add strcat and strncat support.
43175 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43176
8c1a459f
AS
431772011-07-25 Andreas Schwab <schwab@redhat.com>
43178
43179 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43180 __n bigger than INT_MAX+1.
43181 (__strncmp_g): Likewise.
43182
bba33c28
UD
431832011-07-23 Ulrich Drepper <drepper@gmail.com>
43184
798be72d
UD
43185 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43186 * libio/stido.h: Likewise.
43187
8accd4dc
UD
43188 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43189 (AF_NFC): Define.
43190 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43191 (AF_NFC): Define.
43192
cbff0d96
UD
43193 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43194 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43195 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43196 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43197 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43198
9191c04a
UD
43199 [BZ #13021]
43200 * scripts/test-installation.pl: Don't expect libnss_test1 to be
43201 installed.
43202
bba33c28
UD
43203 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43204 typo.
43205 (_dl_x86_64_save_sse): Likewise.
43206
90f139dd
UD
432072011-07-22 Ulrich Drepper <drepper@gmail.com>
43208
1aae088a
UD
43209 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43210 OSXSAVE.
43211 (_dl_x86_64_save_sse): Likewise.
43212
8e2045f5
UD
43213 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43214
90f139dd
UD
43215 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43216
1d002f25
AS
432172011-07-21 Andreas Schwab <schwab@redhat.com>
43218
43219 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43220 change.
43221 (_dl_x86_64_save_sse): Use correct AVX check.
43222
21137f89
UD
432232011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43224
43225 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43226 bug in strncpy/strncat.
43227 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43228
a65c0b7a
UD
432292011-07-21 Ulrich Drepper <drepper@gmail.com>
43230
43231 * string/tester.c (test_strcat): Add tests for different alignments
43232 of source and destination.
43233 (test_strncat): Likewise.
43234
6986b98a
UD
432352011-07-20 Ulrich Drepper <drepper@gmail.com>
43236
90bb2039
UD
43237 [BZ #12852]
43238 * posix/glob.c (glob): Check passed in values before using them in
43239 expressions to avoid some overflows.
43240 (glob_in_dir): Likewise.
43241
5644ef54
UD
43242 [BZ #13007]
43243 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43244 check for AVX enablement so that we don't crash with old kernels and
43245 new hardware.
43246 * elf/tst-audit4.c: Add same checks here.
43247 * elf/tst-audit6.c: Likewise.
43248
43249 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 43250
bfc9dc9b
AS
432512011-07-09 Andreas Schwab <schwab@linux-m68k.org>
43252
43253 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43254
702e64bb
UD
432552011-07-20 Ulrich Drepper <drepper@gmail.com>
43256
43257 * po/cs.po: Update from translation team.
43258 * po/bg.po: Likewise.
43259
295e904f
MP
432602011-07-12 Marek Polacek <mpolacek@redhat.com>
43261
43262 * misc/sys/cdefs.h: Add support for const attribute.
43263 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43264 to gnu_dev_{major,minor,makedev} functions.
43265
3ff94596
MP
432662011-07-20 Marek Polacek <mpolacek@redhat.com>
43267
43268 * intl/dcigettext.c (get_output_charset): Add missing bracket.
43269
28b59fca
AS
432702011-07-20 Andreas Schwab <schwab@redhat.com>
43271
43272 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43273 strlen results.
43274
19df733e
AK
432752011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43276
43277 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43278 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43279 register in order to avoid conflicts with the soft frame pointer
43280 being held in r11 when necessary.
43281 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43282 (INTERNAL_VSYSCALL_NCS): Likewise.
43283
c8835729
MP
432842011-07-14 Marek Polacek <mpolacek@redhat.com>
43285
43286 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43287 * elf/dl-fini.c (_dl_fini): Adjust caller.
43288 * elf/dl-close.c (_dl_close_worker): Likewise.
43289 * sysdeps/generic/ldsodefs.h: Adjust declaration.
43290
b902330c
MP
432912011-07-15 Marek Polacek <mpolacek@redhat.com>
43292
8991e135
MP
43293 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43294 "aux_cache->nlibs < 0".
43295
b902330c
MP
43296 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43297 in the reload-count case.
43298
99710781
LD
432992011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43300
43301 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43302 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43303 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43304 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43305 * sysdeps/x86_64/multiarch/strcat.S: New file.
43306 * sysdeps/x86_64/multiarch/strncat.S: New file.
43307 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43308 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43309 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43310 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43311 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43312 (USE_AS_STRCAT): Define.
43313 Add strcat and strncat support.
43314 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43315 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43316 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43317 * string/strncat.c: Update.
43318 (USE_AS_STRNCAT): Define.
43319 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43320 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43321 and i7.
43322 * sysdeps/x86_64/multiarch/init-arch.h
43323 (bit_Prefer_PMINUB_for_stringop): New.
43324 (index_Prefer_PMINUB_for_stringop): Likewise.
43325 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43326 bit_Prefer_PMINUB_for_stringop.
43327
7dc6bd90
UD
433282011-07-19 Ulrich Drepper <drepper@gmail.com>
43329
43330 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43331 buffer64.
43332 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43333 of casting of buffer.
43334 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43335 buffer32 and buffer64.
43336 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43337 writes instead of casting of buffer.
43338 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43339 buffer32.
43340 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43341 casting of buffer.
43342
e0e72284
AS
433432011-07-19 Andreas Schwab <schwab@redhat.com>
43344
43345 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43346
feb1eb0b
UD
433472011-07-19 Ulrich Drepper <drepper@gmail.com>
43348
43349 * nscd/nscd.c (termination_handler): Don't do anything for a database
43350 if it has not yet been initialized.
43351
298711ff
UD
433522011-07-18 Ulrich Drepper <drepper@gmail.com>
43353
43354 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43355
433562011-07-15 Marek Polacek <mpolacek@redhat.com>
43357
43358 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43359
f9d68389
UD
433602011-07-18 Ulrich Drepper <drepper@gmail.com>
43361
43362 * po/nl.po: Update from translation team.
43363 * po/sv.po: Likewise.
43364
db290cf5
RM
433652011-07-16 Roland McGrath <roland@hack.frob.com>
43366
43367 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43368 now disallowed by GCC.
5c550700 43369
fd5e21c7
RM
43370 * configure.in (use-default-link): Default to yes if a test -shared
43371 link meets our qualifications.
43372 * configure: Regenerated.
43373
5c550700
RM
43374 * config.make.in (output-format): New variable.
43375 * configure.in: Check for ld --print-output-format support.
43376 * configure: Regenerated.
43377 * Makerules ($(common-objpfx)format.lds)
43378 [$(output-format) != unknown]: Just use $(output-format),
43379 instead of the linker-script munging.
43380
9fa2c032
RM
433812011-07-14 Roland McGrath <roland@hack.frob.com>
43382
a6928d51
RM
43383 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43384 of $(common-objpfx)shlib.lds.
43385 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43386
661607b3
RM
43387 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43388 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43389
9fa2c032
RM
43390 * configure.in (-z relro check): Adjust test code to add a large
43391 writable data section after it.
43392 * configure: Regenerated.
43393
defe9061
RM
433942011-07-11 Roland McGrath <roland@hack.frob.com>
43395
43396 * configure.in (-z relro check): Fix test code to make the variable
43397 truly const.
43398 * configure: Regenerated.
43399
319b9ad4
UD
434002011-07-11 Ulrich Drepper <drepper@gmail.com>
43401
43402 * nscd/nscd.h (struct traced_file): Define.
43403 (struct database_dyn): Remove inotify_descr, reset_res, and filename
43404 elements. Add traced_files.
43405 (inotify_fd): Declare.
43406 (register_traced_file): Declare.
43407 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43408 (inotify_fd): Export.
43409 (resolv_conf_descr): Remove.
43410 (nscd_init): Move inotify descriptor creation to main.
43411 Don't register files for notification here.
43412 (register_traced_file): New function.
43413 (invalidate_cache): Don't use reset_res to determine whether to call
43414 res_init, go through the list of registered files.
43415 (main_loop_poll): The inotify descriptors are now stored in the
43416 structures for the traced files.
43417 (main_loop_epoll): Likewise
43418 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
43419 to __nss_disable_nscd.
43420 * nscd/cache.c (prune_cache): There is no single inotify descriptor
43421 for a database anymore. Check the records for all the registered
43422 files instead.
43423 * nss/Makefile (libnss_files-routines): Add files-init.
43424 (libnss_db-routines): Add db-init.
43425 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43426 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43427 * nss/nss_db/db-init.c: New file.
43428 * nss/nss_files/files-init.c: New file.
43429 * nss/nsswitch.c (nss_load_library): New function. Broken out of
43430 __nss_lookup_function.
43431 (__nss_lookup_function): Call nss_load_library.
43432 (nss_load_all_libraries): New function.
43433 (__nss_disable_nscd): Take parameter with callback function for files
43434 to register. Set is_nscd. Load all the DSOs for the NSS modules
43435 used for the cached services.
43436 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43437 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43438 options for features to all the files in nscd.
43439
43440 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43441
23bee3e8
RM
434422011-07-10 Roland McGrath <roland@hack.frob.com>
43443
43444 * csu/elf-init.c (__libc_csu_init): Comment typo.
43445
46a5b7f0
UD
434462011-07-09 Ulrich Drepper <drepper@gmail.com>
43447
43448 * po/pl.po: Update from translation team.
43449 * po/ja.po: Likewise.
43450 * po/ru.po: Likewise.
43451 * po/ko.po: Likewise.
43452 * po/fr.po: Likewise.
43453
d30cf5bb
RM
434542011-07-09 Roland McGrath <roland@hack.frob.com>
43455
113ddea4
RM
43456 * configure.in (.ctors/.dtors header and trailer check):
43457 Use an empirical test on a built program.
43458 * configure: Regenerated.
43459
574920b4
RM
43460 * configure.in (-z relro check): Use an empirical test on a built DSO.
43461 Detect, but do not require, on ia64.
43462 * configure: Regenerated.
43463
d30cf5bb
RM
43464 * configure.in (READELF): Find it with AC_CHECK_TOOL.
43465 Update tests that use readelf to use $READELF instead.
43466 * configure: Regenerated.
43467
8538fdb3
UD
434682011-07-08 Ulrich Drepper <drepper@gmail.com>
43469
43470 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43471 if the result is not used.
43472
04d08991
AJ
434732011-07-05 Andreas Jaeger <aj@suse.de>
43474
43475 [BZ#9696]
43476 * stdlib/tst-strtod.c: Add testcase.
43477
de283087
AD
434782011-07-07 Ulrich Drepper <drepper@gmail.com>
43479
4e5f31c8 43480 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 43481 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
43482 The latter has a higher limit. Take additional parameter to pass to
43483 the new function.
43484 (__pathconf): Pass file to __statfs_link_max.
43485 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43486 __statfs_link_max.
43487 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43488 __statfs_link_max.
43489
de283087
AD
43490 [BZ #12868]
43491 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43492 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43493 Handle Lustre.
43494 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43495 (__statfs_filesize_max): Likewise.
43496 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43497
c75fa153
AJ
434982011-07-05 Andreas Jaeger <aj@suse.de>
43499
43500 * resolv/res_comp.c (dn_skipname): Remove unused variable.
43501
1a544854
UD
435022011-07-06 Marek Polacek <mpolacek@redhat.com>
43503
43504 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43505 `status' variable.
43506 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43507 Likewise.
43508
6f0eec67
UD
435092011-07-04 H.J. Lu <hongjiu.lu@intel.com>
43510
43511 * Makefile (strop-tests): Add strncat.
43512 * string/test-strncat.c: New file.
43513
aae30307
UD
435142011-06-30 Marek Polacek <mpolacek@redhat.com>
43515
43516 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43517
c0cfb5eb
UD
435182011-06-21 Andreas Jaeger <aj@suse.de>
43519
43520 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43521 Copy rule from iconvdata/Makefile.
43522
01636b21
UD
435232011-07-06 Ulrich Drepper <drepper@gmail.com>
43524
43525 [BZ #12922]
43526 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43527 but no long options are defined, just return 'W'.
43528
9895c8bc
UD
435292011-06-22 Marek Polacek <mpolacek@redhat.com>
43530
43531 [BZ #9696]
43532 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43533
5d4cf042
UD
435342011-07-06 Ulrich Drepper <drepper@gmail.com>
43535
43536 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43537 netgroups to read.
960e5535 43538 (innetgr): Likewise.
5d4cf042 43539
751eb97e
RM
435402011-07-05 Roland McGrath <roland@hack.frob.com>
43541
43542 * config.make.in (install_root): Default to $(DESTDIR).
43543
f15f1e45
UD
435442011-07-05 Ulrich Drepper <drepper@gmail.com>
43545
43546 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43547
4e34ac6a
RM
435482011-07-02 Roland McGrath <roland@hack.frob.com>
43549
5e9b6af4
RM
43550 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43551
84f9ea0f
RM
43552 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43553 containing directory rather than embedding absolute directory names.
43554
ea5ee9f7
RM
43555 * scripts/check-local-headers.sh: Rewritten using awk.
43556 Match by word, not by line. Print error messages for matches.
43557 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43558
1b74661a
RM
43559 * Makerules [shlib-lds-flags empty]:
43560 ($(common-objpfx)libc_pic.opts): New target.
43561 ($(common-objpfx)libc_pic.os.clean): New target.
43562 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43563
43564 * config.make.in (OBJCOPY): New variable.
43565 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43566 * configure: Regenerated.
43567
f781ef40
RM
43568 * config.make.in (use-default-link): New variable.
43569 * configure.in (use_default_link): Grok --with-default-link to set it.
43570 * configure: Regenerated.
43571 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43572 (shlib-lds, shlib-lds-flags): Define to empty.
43573
2d4fa81e
RM
43574 * Makerules (shlib-lds): New variable.
43575 (shlib-lds-flags): New variable.
43576 (build-shlib, build-moduile, build-module-asneeded): Use it.
43577 ($(common-objpfx)libc.so): Use $(shlib-lds).
43578 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43579 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43580
31fffa6b
RM
43581 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43582 DT_FLAGS/DT_FLAGS_1 with zero flags.
43583
4e34ac6a
RM
43584 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43585 linker script munging.
43586
fcfc776b
UD
435872011-07-02 Ulrich Drepper <drepper@gmail.com>
43588
43589 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43590 as 128-bit value.
43591 * crypt/sha512.c (sha512_process_block): Perform total addition using
43592 128-bit if possible.
43593 (__sha512_finish_ctx): Likewise.
43594 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43595 as 64-bit value.
43596 * crypt/sha256.c (SWAP64): Define.
43597 (sha256_process_block): Perform total addition using 64-bit if
43598 possible.
43599 (__sha256_finish_ctx): Likewise.
43600
99231d9a
UD
436012011-07-01 Ulrich Drepper <drepper@gmail.com>
43602
43603 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
43604 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43605 * nscd/hstcache.c (cache_addhst): Likewise.
43606 * nscd/grpcache.c (cache_addgr): Likewise.
43607 * nscd/aicache.c (addhstaiX): Likewise
43608 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43609
445b4a53
TK
436102011-07-01 Thorsten Kukuk <kukuk@suse.de>
43611
43612 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43613 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43614 * nscd/hstcache.c (cache_addhst): Likewise.
43615 * nscd/grpcache.c (cache_addgr): Likewise.
43616 * nscd/aicache.c (addhstaiX): Likewise
43617
6d4d8e8e
AS
436182011-07-01 Andreas Schwab <schwab@redhat.com>
43619
43620 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43621 domain only when needed.
43622
89f654c5
AS
436232011-06-30 Andreas Schwab <schwab@redhat.com>
43624
43625 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43626 is always restored.
43627
cf3b23ff
UD
436282011-06-29 Ulrich Drepper <drepper@gmail.com>
43629
43630 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43631 are re-adding the entry.
43632 * nscd/servicescache.c (cache_addserv): Likewise.
43633
751626f9
AJ
436342011-06-30 Aurelien Jarno <aurelien@aurel32.net>
43635
43636 * sysdeps/generic/dl-irel.h: fix protection against multiple
43637 inclusions.
43638 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43639
9113ea1f
UD
436402011-06-28 Ulrich Drepper <drepper@gmail.com>
43641
5c0b8d90
UD
43642 [BZ #12935]
43643 * malloc/memusage.sh: Fix quoting in message.
43644 * debug/xtrace.sh: Likewise.
43645
9113ea1f
UD
43646 * configure.in: Remove support for --experimental-malloc option, make
43647 it the default.
43648 * config.make.in: Likewise.
43649 * malloc/Makefile: Likewise.
43650
a4172181
AS
436512011-06-27 Andreas Schwab <schwab@redhat.com>
43652
43653 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43654 two-byte characters.
43655
78a7eee7
RM
436562011-06-27 Roland McGrath <roland@hack.frob.com>
43657
62bede13
RM
43658 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43659 AC_CACHE_CHECK invocation.
43660 * configure: Regenerated.
43661
78a7eee7
RM
43662 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43663
5ce33a62
UD
436642011-06-27 Ulrich Drepper <drepper@gmail.com>
43665
034807a9
UD
43666 [BZ #12350]
43667 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
43668 bit from old_res_options.
43669
4902da17
UD
43670 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43671
5ce33a62
UD
43672 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43673 value type for setfct.
43674
c2344f56
L
436752011-06-23 H.J. Lu <hongjiu.lu@intel.com>
43676
43677 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43678 __gettimeofday instead of gettimeofday.
43679
68468076
UD
436802011-06-26 Ulrich Drepper <drepper@gmail.com>
43681
43682 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43683
acb0d739
L
436842011-06-24 H.J. Lu <hongjiu.lu@intel.com>
43685
43686 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43687
43688 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43689 info.
43690
8912479f
L
436912011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43692
43693 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43694 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43695 strcpy-sse2-unaligned strncpy-sse2-unaligned
43696 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43697 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43698 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43699 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43700 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43701 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43702 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43703 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43704 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43705 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43706 (STRCPY): Support SSE2 and SSSE3 versions.
43707
d5495a11
UD
437082011-06-24 Ulrich Drepper <drepper@gmail.com>
43709
43710 [BZ #12874]
43711 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43712 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43713 kernels which artificially limit size of requests.
43714
0b1cbaae
L
437152011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43716
43717 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43718 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43719 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43720 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43721 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43722 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43723 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43724 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43725 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43726 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43727 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43728 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43729 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43730 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43731 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43732 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43733 Enable unaligned load optimization for Intel Core i3, i5 and i7
43734 processors.
43735 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43736 Define.
43737 (index_Fast_Unaligned_Load): Define.
43738 (HAS_FAST_UNALIGNED_LOAD): Define.
43739
07f494a0
MP
437402011-06-23 Marek Polacek <mpolacek@redhat.com>
43741
43742 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43743
fa3fc0fe
UD
437442011-06-22 Ulrich Drepper <drepper@gmail.com>
43745
43746 [BZ #12907]
43747 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43748 until it is clear that the information is realy needed.
43749 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43750
e12df166
AS
437512011-06-22 Andreas Schwab <schwab@redhat.com>
43752
43753 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43754
852eb34d
UD
437552011-06-22 Ulrich Drepper <drepper@gmail.com>
43756
84e2a551
UD
43757 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43758 /sys/devices/system/cpu/online if it is usable.
43759
852eb34d
UD
43760 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43761 reading the information from the /proc filesystem to once a second.
43762
6e502e19
UD
437632011-06-21 Andreas Jaeger <aj@suse.de>
43764
43765 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43766 NULL after inclusion of kernel headers.
43767
75d39ff2
UD
437682011-06-21 Ulrich Drepper <drepper@gmail.com>
43769
51f9aa6a
UD
43770 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43771 calls to internal_setent.
43772
c0244a9d
UD
43773 [BZ #12885]
43774 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43775 addresses using gethostbyname4_r ignore IPv4 addresses.
43776
c5e3c2ae
UD
43777 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43778 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
43779
75d39ff2
UD
43780 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43781
42675c6f
DM
437822011-06-20 David S. Miller <davem@davemloft.net>
43783
43784 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43785 inclusions.
43786 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43787
43788 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43789 (elf_irel): Use it.
43790 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43791 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43792 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43793 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43794 * sysdeps/x86_64/dl-irel.h: Likewise.
43795
43796 * elf/dl-runtime.c: Use elf_ifunc_invoke.
43797 * elf/dl-sym.c: Likewise.
43798
57912a71
UD
437992011-06-15 Ulrich Drepper <drepper@gmail.com>
43800
43801 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
43802 need to dereference resplen2.
43803
ee22793d
AS
438042011-06-14 Andreas Schwab <schwab@redhat.com>
43805
43806 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43807
a9e836b0
UD
438082011-06-15 Ulrich Drepper <drepper@gmail.com>
43809
77fb9117
UD
43810 * Makeconfig: Define vardbdir and inst_vardbdir.
43811 * nss/Makefile: Add rules to install db-Makefile.
43812
40c1b22c
UD
43813 * nss/nss_db/db-XXX.c: Cleanup.
43814
9f2da732
UD
43815 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43816 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43817 GLIBC_PRIVATE.
43818 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43819 * nss/makedb.c: Implement -g option to specify that value strings
43820 are generated and should not be added to table iterated over for
43821 get*ent calls.
43822 * nss/nss_db/db-initgroups.c: New file.
43823
82e9a1f7
UD
43824 * nss/getent.c: Add support for initgroups lookups through getgrouplist
43825 interface.
43826
c41af17e
UD
43827 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43828 (internal_getgrouplist): Adjust to name change.
43829 Update use_initgroups_entry if this is not the first call.
43830 * nss/databases.def: Add initgroups entry.
43831
a9e836b0
UD
43832 * nss/makedb.c (compute_tables): Check result of multiple hash table
43833 sizes to minimize maximum chain length.
43834
2666d441
UD
438352011-06-14 Ulrich Drepper <drepper@gmail.com>
43836
43837 * Versions.def: Add entry for libnss_db.
43838 * shlib-versions: Likewise.
43839 * nss/Makefile: Add rules to build libnss_db.
43840 * nss/Versions: Add libnss_db information. Organize libnss_files
43841 entries better.
43842 * nss/db-Makefile: Add gshadow support. Change rules for the new
43843 makedb progra. Some minor improvements to generate smaller files.
43844 * nss/nss_db/nss_db.h: Move NSS database header data structures to
43845 here from...
43846 * nss/makedb.c: ...here.
43847 Improve database format to be smaller and require less memory at
43848 runtime.
43849 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
43850 db anymore.
43851 * nss/nss_db/db-netgrp.c: Likewise.
43852 * nss/nss_db/db-open.c: Likewise.
43853 * nss/nss_files/flies-XXX.x: Adjust comments.
43854 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43855 * nss/nss_files/files-grp.c: Likewise.
43856 * nss/nss_files/files-hosts.c: Likewise.
43857 * nss/nss_files/files-network.c: Likewise.
43858 * nss/nss_files/files-proto.c: Likewise.
43859 * nss/nss_files/files-pwd.c: Likewise.
43860 * nss/nss_files/files-rpc.c: Likewise.
43861 * nss/nss_files/files-service.c: Likewise.
43862 * nss/nss_files/files-sgrp.c: Likewise.
43863 * nss/nss_files/files-spwd.c: Likewise.
43864 * nss/nss_db/db-alias.c: Removed.
43865 * nss/nss_db/dummy-db.h: Removed.
43866
9ee76b5a
UD
438672011-06-02 Ulrich Drepper <drepper@gmail.com>
43868
43869 * nss/makedb.c: Rewritten to not use database library.
43870 * nss/Makefile: Update to build new makedb program.
43871
c71ca1f8
AJ
438722011-06-14 Andreas Jaeger <aj@suse.de>
43873
43874 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43875 memset declaration.
43876
3154bfb8
UD
438772011-06-10 Andreas Schwab <schwab@redhat.com>
43878
43879 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43880 tmpbuf.
43881
b350afab
RM
438822011-06-10 Roland McGrath <roland@hack.frob.com>
43883
decd4e50
RM
43884 * Makerules (shlib.lds): Fail if the linker script comes out empty.
43885 * elf/Makefile ($(objpfx)ld.so): Likewise.
43886
5615eaf2
RM
43887 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43888 Don't list ld.so twice in dependencies.
43889
43890 * posix/bug-regex31.c: Include <stdlib.h>.
43891
43892 * nscd/hstcache.c (cache_addhst): Remove unused variable.
43893
43894 * nis/nss_compat/compat-spwd.c
43895 (getspent_next_nss_netgr): Remove unused variable.
43896 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43897
43898 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43899 nonmembers" output to use the right array.
43900
43901 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43902
43903 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43904
43905 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43906 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43907 * catgets/gencat.c (read_input_file): Likewise.
43908 * locale/programs/locarchive.c (enlarge_archive): Likewise.
43909
43910 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43911 variable definition inside #if's controlling its use.
43912
43913 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43914
43915 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43916
43917 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43918
43919 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43920 unreachable code.
43921
43922 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43923
b68e08db
RM
43924 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43925 * configure: Regenerated.
43926
b350afab
RM
43927 * Makerules: Revert last change.
43928 * elf/Makefile: Likewise.
43929
28368601
RM
439302011-06-09 Roland McGrath <roland@hack.frob.com>
43931
43932 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43933 * elf/Makefile ($(objpfx)librtld.os): Likewise.
43934 (reloc-link): Likewise.
43935
11988f8f
UD
439362011-06-09 Ulrich Drepper <drepper@gmail.com>
43937
43938 * elf/Makefile: Add rules to build pldd.
43939 * elf/pldd.c: New file.
43940 * elf/pldd-xx.c: New file.
43941
e80fab37
UD
439422011-06-07 Ulrich Drepper <drepper@gmail.com>
43943
43944 * version.h: Update for 2.15 development version.
43945
9b849836
DM
439462011-06-07 David S. Miller <davem@davemloft.net>
43947
43948 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43949 ifuncs.
43950 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43951 elf_machine_lazy_rel): Likewise.
43952 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43953 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43954 elf_machine_lazy_rel): Likewise.
43955 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43956 dl_hwcap via passed in argument.
43957 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43958 Likewise.
43959
5a31b283
AK
439602011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43961
43962 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
43963
069e52f8
RM
439642011-06-06 Roland McGrath <roland@hack.frob.com>
43965
43966 [BZ #12849]
43967 * manual/fdl-1.1.texi: New file, verbatim from:
43968 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43969 * manual/lgpl-2.1.texi: New file, verbatim from:
43970 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43971 * manual/Makefile (licenses): New variable, list those new file names.
43972 (texis): Use it.
43973 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43974
43975 * manual/fdl.texi: File removed.
43976 * manual/lesser.texi: File removed.
43977 * manual/libc.texinfo (Copying, Documentation License):
43978 Use new @include file names, put @appendix directive before @include.
43979
f16846a5
JJ
439802011-06-04 Jakub Jelinek <jakub@redhat.com>
43981
43982 [BZ #12841]
43983 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43984 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43985 (mq_open): Add __NTH.
43986
3d29045b
L
439872011-06-02 H.J. Lu <hongjiu.lu@intel.com>
43988
43989 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43990 Assume Intel Core i3/i5/i7 processor if AVX is available.
43991
8c297311
UD
439922011-05-31 Ulrich Drepper <drepper@gmail.com>
43993
43994 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43995 typo.
43996
c8fc0c91
UD
439972011-05-31 Andreas Schwab <schwab@redhat.com>
43998
43999 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
44000 memory. Use alloca_account. Fix memory leak when retrying.
44001
5b27a807
UD
440022011-05-31 Ulrich Drepper <drepper@gmail.com>
44003
356f8bc6
UD
44004 * version.h (RELEASE): Bump for 2.14 release.
44005 * include/features.h (__GLIBC_MINOR__): Bump to 14.
44006
5b27a807
UD
44007 * config.make.in (RANLIB): Remove entry.
44008
01f16ab0
UD
440092011-05-30 Ulrich Drepper <drepper@gmail.com>
44010
41fce8bd
UD
44011 * po/Makefile (po-sed-cmd): Add ksh to extensions.
44012 (libc.pot): Work around missing support for .ksh extension in xgettext.
44013
4769ae77
UD
44014 [BZ #12684]
44015 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44016 if both request failed.
44017 (send_dg): In case of server errors clear resplen or *resplen2.
44018
6b1e7d19
UD
44019 [BZ #12454]
44020 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44021 when there are multiple maps.
44022 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44023 (_dl_fini): Remove test here.
44024
01f16ab0
UD
44025 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44026
b1ebd700
UD
440272011-05-29 Ulrich Drepper <drepper@gmail.com>
44028
7ae22829
UD
44029 [BZ #12350]
44030 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44031 bit from old_res_options.
44032 (gaih_inet): Likewise.
44033
553149f6 44034 [BZ #11099]
18a84741 44035 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
44036 as signed.
44037
652ffab1
UD
44038 * resolv/res_init.c (res_setoptions): Make the code more compact.
44039
16985fd0
UD
44040 [BZ #11558]
44041 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44042 set RES_USEVC.
44043
0464f746
UD
44044 [BZ #11634]
44045 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44046
7d17596c
UD
44047 * malloc/malloc.h: Mark malloc hook variables as deprecated.
44048
cf6bbbd7
UD
44049 [BZ #11781]
44050 * malloc/malloc.h: Declare malloc hook variables as volatile.
44051
13f1ab36
UD
44052 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44053 in last patch.
44054
b1ebd700
UD
44055 [BZ #11799]
44056 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 44057 raise in the comment.
80e2212d
UD
44058 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44059 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44060 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 44061
ce67228d
UD
440622011-05-28 Ulrich Drepper <drepper@gmail.com>
44063
8887a920
UD
44064 [BZ #12811]
44065 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44066 grow the buffers more if it already has to be sufficient.
44067 (build_wcs_upper_buffer): Likewise.
44068 * posix/regexec.c (check_matching): Likewise.
44069 (clean_state_log_if_needed): Likewise.
44070 (extend_buffers): Don't enlarge buffers beyond size of the input
44071 buffer.
44072 Patches mostly by Emil Wojak <emil@wojak.eu>.
44073 * posix/bug-regex32.c: New file.
44074 * posix/Makefile (tests): Add bug-regex32.
44075
4f031072
UD
44076 * locale/findlocale.c (_nl_find_locale): Return right away if
44077 _nl_explode_name failed.
44078 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44079
d0478f0c
UD
44080 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44081
de81b246
UD
44082 * debug/xtrace.sh: Unify messages.
44083 * malloc/memusage.sh: Likewise.
44084
c738465a
UD
44085 [BZ #12813]
44086 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44087 time symbol from vDSO. Substitute with vsyscall if not available.
44088 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44089 __vdso_time.
44090
f1f929d7
UD
44091 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44092 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44093 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44094 Add sendmmsg and internal_sendmmsg.
44095 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44096 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44097 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44098
ce67228d
UD
44099 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44100 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44101 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44102
e57420c6
UD
441032011-05-27 Ulrich Drepper <drepper@gmail.com>
44104
a8509ca5
UD
44105 [BZ #12813]
44106 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44107 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
44108 available.
44109 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44110 __vdso_getcpu.
44111
e57420c6
UD
44112 [BZ #12814]
44113 * iconvdata/Makefile (tests): Add bug-iconv9.
44114 * iconvdata/bug-iconv9.c: New file.
44115
4d07db15
AS
441162011-05-27 Andreas Schwab <schwab@redhat.com>
44117
44118 [BZ #12814]
44119 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44120
ea486f69
JJ
441212011-05-25 Jakub Jelinek <jakub@redhat.com>
44122
44123 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44124 (struct user_regs_struct): Change intcs field back to cs.
44125
6f038433
UD
441262011-05-25 Ulrich Drepper <drepper@gmail.com>
44127
44128 * po/ja.po: Update from translation team.
44129
67f86a25
UD
441302011-05-23 Ulrich Drepper <drepper@gmail.com>
44131
44132 [BZ #12795]
44133 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44134 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44135
def7fbd6
AS
441362011-05-20 Andreas Schwab <schwab@redhat.com>
44137
44138 * stdlib/longlong.h: Update from GCC.
44139
f50ef8f1
AS
441402011-05-23 Andreas Schwab <schwab@redhat.com>
44141
44142 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44143 parameter name.
44144 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44145 Add parameter name.
44146 (__sysconf): Pass it down.
44147
de7ce8f1
UD
441482011-05-22 Ulrich Drepper <drepper@gmail.com>
44149
f2962a71
UD
44150 [BZ #12671]
44151 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44152 some situations.
44153 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44154 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44155 add in in __libc_use_alloca calls. Adjust callers.
44156 (glob): Use malloc in some situations.
44157
de7ce8f1
UD
44158 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44159 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44160 pltexit.
44161
aec84f53
UD
441622011-05-21 Ulrich Drepper <drepper@gmail.com>
44163
05bb4a68
UD
44164 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44165 and CLOCK_BOOTTIME_ALARM.
44166
7ea72f99
UD
44167 [BZ #12782]
44168 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44169 is returned.
44170
7e4afad5
UD
44171 * string/_strerror.c (__strerror_r): Print negative errors as signed
44172 numbers.
44173
8e211fec
UD
44174 [BZ #12777]
44175 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44176 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44177 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44178
f7d82dc9
UD
44179 * configure.in: Fix typo in redirection and correct removal of test
44180 files in two cases.
44181
cc9e536d
UD
44182 [BZ #12788]
44183 * locale/setlocale.c (new_composite_name): Fix test to check for
44184 identical name of all categories.
44185
aec84f53
UD
44186 [BZ #12792]
44187 * libio/filedoalloc.c (local_isatty): New function.
44188 (_IO_file_doallocate): Use local_isatty.
44189 * stdio-common/perror.c (perror): In case a new stream is used
44190 forward the stream error.
44191 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44192 error flag.
44193
78e64fdc
RT
441942011-05-20 Ulrich Drepper <drepper@gmail.com>
44195
34a9094f
UD
44196 [BZ #11869]
44197 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44198 alloca.
44199 * include/alloca.h (extend_alloca_account): Define.
44200
78e64fdc
RT
44201 [BZ #11857]
44202 * posix/regex.h: Fix comments with documentation of user-accessible
44203 fields after compilation and describe correct free'ing of pattern
44204 after re_compile_pattern.
44205 Patch by Reuben Thomas <rrt@sc3d.org>.
44206
457bddfc
RA
442072011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
44208
44209 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44210 and -mno-altivec to prevent the compiler from using Altivec and/or
44211 VSX instructions when the corresponding registers are not available.
44212
a4527b51
AS
442132011-05-19 Andreas Schwab <schwab@redhat.com>
44214
44215 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44216
ed690b2f
UD
442172011-05-19 Ulrich Drepper <drepper@gmail.com>
44218
44219 * libio/freopen.c (freopen): Use __dup2, not dup2.
44220 * libio/freopen64.c (freopen64): Likewise.
44221
8db73634
L
442222011-05-17 H.J. Lu <hongjiu.lu@intel.com>
44223
44224 [BZ #12775]
44225 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44226 * math/Makefile (tests): Add test-powl.
44227 (CFLAGS-test-powl.c): Define.
44228 * math/test-powl.c: New file.
44229
0a197a9d
L
442302011-05-16 H.J. Lu <hongjiu.lu@intel.com>
44231
44232 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44233
ee30c380
UD
442342011-05-17 Ulrich Drepper <drepper@gmail.com>
44235
44236 [BZ #11837]
44237 * iconvdata/gb18030.c: Update to GB18020-2005.
44238
6ce75379
UD
442392011-05-16 Ulrich Drepper <drepper@gmail.com>
44240
a4b89fd8
AR
44241 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44242 RE_SYNTAX_POSIX_AWK): Update to match recent development.
44243 Patch by Aharon Robbins <arnold@skeeve.com>.
44244
ea389b12
UD
44245 [BZ #11892]
44246 * stdlib/putenv.c (putenv): Don't always create copy of the variable
44247 on the stack.
44248
68a3f91f
UD
44249 [BZ #11895]
44250 * misc/pselect.c (__pselect): Handle timeout value errors hidden
44251 through underflows.
44252
15cc7dd1
UD
44253 [BZ #12766]
44254 * misc/error.c (error_at_line): Ensure file_name and old_file_name
44255 point to strings before performing equality test for error_one_per_line
44256 mode.
44257
f3799213
UD
44258 [BZ #11697]
44259 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44260
d79a9c94
UD
44261 [BZ #11820]
44262 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44263 (struct user_fpregs_struct): Avoid __uint*_t types.
44264
56e5eb46
UD
44265 [BZ #6420]
44266 * malloc/mtrace.c (tr_where): Add additional parameter to point to
44267 symbol info. Use it instead of calling _dl_addr locally.
44268 (lock_and_info): New function.
44269 (tr_freehook): Call lock_and_info and pass symbol info as additional
44270 parameter to tr_where.
44271 (tr_mallochook): Likewise.
44272 (tr_reallochook): Likewise.
44273 (tr_memalignhook): Likewise.
44274
6ce75379
UD
44275 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
44276 used and couldn't be at all thread-safe.
44277
f8a3b5bf
UD
442782011-05-15 Ulrich Drepper <drepper@gmail.com>
44279
94b7cc37
UD
44280 * libio/freopen.c (freopen): Don't close old file descriptor
44281 before the new one is opened. Instead dup the new file descriptor
44282 to the old one after the new stream is created.
44283 * libio/freopen64.c (freopen64): Likewise.
44284 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44285 * libio/fileops.c (_IO_new_file_close_it): Handle new
44286 _IO_FLAGS2_NOCLOSE flag.
44287 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44288 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44289 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44290 _IO_FLAGS2_NOCLOSE flag.
44291 * include/unistd.h: Add hidden_proto for dup3.
44292 Define __have_dup3.
44293 * io/dup3.c: Define hidden symbol.
44294 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44295
bd25564e
UD
44296 [BZ #7101]
44297 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44298 when an incomplete long option is used.
44299 * posix/tst-getopt_long1.c: New file.
44300 * posix/Makefile (tests): Add tst-getopt_long1.
44301
c84cfef4
UD
44302 [BZ #10138]
44303 * scripts/config.guess: Update from autoconf-2.68.
44304 * scripts/config.sub: Likewise.
44305
3b85df27
UD
44306 [BZ #10157]
44307 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44308 tests into ...
44309 (has_cpuclock): ...this. New function.
44310 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44311 macro here based on has_cpuclock code.
44312
15a856b1
UD
44313 [BZ #10149]
44314 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44315 First byte (not low byte) is now always NUL.
44316 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44317
05f399e6
UD
44318 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44319 Use non-cancelable interfaces.
44320
10a52685 44321 [BZ #9809]
94ecc67d
UD
44322 * locale/iso-639.def: Add entry for Sorani.
44323
f8a3b5bf
UD
44324 [BZ #11901]
44325 * include/stdlib.h: Move include protection to the right place.
44326 Define abort_msg_s. Declare __abort_msg with it.
44327 * stdlib/abort.c (__abort_msg): Adjust type.
44328 * assert/assert.c (__assert_fail_base): New function. Majority
44329 of code from __assert_fail. Allocate memory for __abort_msg with
44330 mmap.
44331 (__assert_fail): Now call __assert_fail_base.
44332 * assert/assert-perr.c: Remove bulk of implementation. Use
44333 __assert_fail_base.
44334 * include/assert.hL Declare __assert_fail_base.
44335 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44336 mmap.
44337 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44338
1af4e298
UD
443392011-05-14 Ulrich Drepper <drepper@gmail.com>
44340
f8a3b5bf 44341 [BZ #11952]
d26dfc60
MG
44342 [BZ #12453]
44343 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44344 until all modules are registered in the DTV.
44345 * elf/Makefile: Add rules to build and run tst-tls19.
44346 * elf/tst-tls19.c: New file.
44347 * elf/tst-tls19mod1.c: New file.
44348 * elf/tst-tls19mod2.c: New file.
44349 * elf/tst-tls19mod3.c: New file.
44350 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44351
2fc54d6f
UD
44352 [BZ #12083]
44353 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44354 correctly.
44355
98d76b46
UD
44356 [BZ #12601]
44357 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44358 two-byte sequence errors.
44359 * iconvdata/Makefile (tests): Add bug-iconv8.
44360 * iconvdata/bug-iconv8.c: New file.
44361
da3c19ef
UD
44362 [BZ #12626]
44363 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44364 buf2 definition.
44365
ca408c15
UD
44366 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44367
d6f67f7d
UD
44368 [BZ #12432]
44369 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44370 (dummy_getcfa): New function.
44371 (init): Get _Unwind_GetCFA address, use dummy if not found.
44372 (backtrace_helper): In recursion check, also check whether CFA changes.
44373 (__backtrace): Completely initialize arg.
44374
1af4e298 44375 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
44376 storing incomplete byte sequence in state object. Avoid testing for
44377 guaranteed too small input if we know there is enough data available.
1af4e298 44378
da62f81b
AS
443792011-05-11 Andreas Schwab <schwab@redhat.com>
44380
44381 * Makeconfig (+link-pie): Indent.
44382 * Rules (binaries-pie): Define if $(have-fpie) and
44383 $(build-shared).
44384 (binaries-shared): Also filter out $(binaries-pie).
44385 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44386 * nscd/Makefile (others-pie): Add nscd.
44387 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44388 ($(objpfx)nscd): Remove command override.
44389 * login/Makefile (others-pie): Add pt_chown.
44390 ($(objpfx)pt_chown): Remove command override.
44391 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44392 remove command overrides.
44393
fcabc0f8
UD
443942011-05-13 Ulrich Drepper <drepper@gmail.com>
44395
20030ae6
UD
44396 * libio/tst_putwc.c: Fix error messages.
44397
fcabc0f8
UD
44398 [BZ #12724]
44399 * libio/fileops.c (_IO_new_file_close_it): Always flush when
44400 currently writing and seek to current position when not.
44401 * libio/Makefile (tests): Add bug-fclose1.
44402 * libio/bug-fclose1.c: New file.
44403
320a5dc0
PB
444042011-05-12 Ulrich Drepper <drepper@gmail.com>
44405
44406 [BZ #12511]
44407 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44408 don't set DF_1_NODELETE here.
44409 (do_lookup_x): When entering new entry test for copy relocation
44410 and if necessary set DF_1_NODELETE flag.
44411 * elf/tst-unique4.cc: New file.
44412 * elf/tst-unique4.h: New file.
44413 * elf/tst-unique4lib.cc: New file.
44414 * elf/Makefile: Add rules to build and run tst-unique4.
44415 Patch by Piotr Bury <pbury@goahead.com>.
44416
22836f52
UD
444172011-05-11 Ulrich Drepper <drepper@gmail.com>
44418
f574184a
UD
44419 [BZ #12052]
44420 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44421
e1fb097f
UD
44422 [BZ #12625]
44423 * misc/mntent_r.c (addmntent): Flush the stream after the output
44424
22836f52
UD
44425 [BZ #12393]
44426 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44427 (is_trusted_path_normalize): Skip initial colon. Append slash
44428 to empty buffer. Duplicate is_trusted_path code but allow
44429 constructed patch to be prefix.
44430 (is_dst): Allow $ORIGIN followed by /.
44431 (_dl_dst_substitute): Correct clearing of check_for_trusted.
44432 Correct testing of result of is_trusted_path_normalize
44433 (decompose_rpath): Fix warning.
44434
7b3b0b2a
UD
444352011-05-10 Ulrich Drepper <drepper@gmail.com>
44436
44437 [BZ #11257]
44438 * grp/initgroups.c (internal_getgrouplist): When we found the service
44439 list through the initgroups entry in nsswitch.conf do not always
44440 continue on a successful lookup. Don't always use the
eac80ce2 44441 __nss_group_database value if it is set.
7b3b0b2a
UD
44442 * nss/nsswitch.conf (initgroups): Change action for successful db
44443 lookup to continue for compatibility.
44444
2a81eaa5
UD
444452011-05-09 Ulrich Drepper <drepper@gmail.com>
44446
be97a69e
UD
44447 [BZ #11532]
44448 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44449 and CP774 modules.
44450 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44451 and CP774 modules.
44452 * iconvdata/tst-tables.sh: Likewise.
44453 * iconvdata/cp770.c: New file.
44454 * iconvdata/cp771.c: New file.
44455 * iconvdata/cp772.c: New file.
44456 * iconvdata/cp773.c: New file.
44457 * iconvdata/cp774.c: New file.
44458 * iconvdata/testdata/CP770: New file.
44459 * iconvdata/testdata/CP770..UTF8: New file.
44460 * iconvdata/testdata/CP771: New file.
44461 * iconvdata/testdata/CP771..UTF8: New file.
44462 * iconvdata/testdata/CP772: New file.
44463 * iconvdata/testdata/CP772..UTF8: New file.
44464 * iconvdata/testdata/CP773: New file.
44465 * iconvdata/testdata/CP773..UTF8: New file.
44466 * iconvdata/testdata/CP774: New file.
44467 * iconvdata/testdata/CP774..UTF8: New file.
44468
44469 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44470 END CHARMAP line.
44471 * iconvdata/gen-8bit-gap.sh: Likewise.
44472 * iconvdata/gen-8bit.sh: Likewise.
44473
c1e9e399
UD
44474 * locale/iso-639.def: Add ary entry.
44475
24c55fb3 44476 [BZ #11258]
96b4b1b0
UD
44477 * locale/C-translit.h.in: Add U20A1 transliteration.
44478
bdc2f971
KB
44479 [BZ #12178]
44480 * locale/iso-639.def: Add wae entry.
44481 Patch by Kevin Bortis <bortis@translate-wae.ch>.
44482
2952b117
UD
44483 [BZ #12545]
44484 * locale/programs/localedef.c (construct_output_path): Use ssize_t
44485 for n.
44486
2a81eaa5
UD
44487 [BZ #12711]
44488 * locale/C-translit.h.in: Add entry for U20B9.
44489 Patch by pravin.d.s@gmail.com.
44490
28377d1b
UD
444912011-05-08 Ulrich Drepper <drepper@gmail.com>
44492
7fb90fb8
UD
44493 [BZ #12713]
44494 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44495 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
44496 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
44497 in rtld. Use *stat64.
7fb90fb8 44498 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 44499 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 44500 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
44501 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44502 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44503 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44504 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44505 __fstatat64 macros.
7fb90fb8
UD
44506 * include/dirent.h: Add libc_hidden_proto for rewinddir.
44507 * dirent/rewinddir.c: Add libc_hidden_def.
44508 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 44509 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 44510
28377d1b
UD
44511 * include/dirent.h (__alloc_dir): Add flags parameter.
44512 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44513 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44514 __alloc_dir.
44515 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
44516 from fdopendir if O_CLOEXEC is already set.
44517
66bdbaa4
AM
445182011-03-15 Alan Modra <amodra@gmail.com>
44519
44520 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44521 l_tls_firstbyte_offset non-zero. Save padding offset in
44522 l_tls_firstbyte_offset for later use.
44523 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44524 freeing static tls block.
44525
95721191
JN
445262011-03-05 Jonathan Nieder <jrnieder@gmail.com>
44527
44528 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44529 where #ifdef was intended. The intent is to prevent ARG_MAX from
44530 being defined by the kernel headers.
44531
f87dfb1f
UD
445322011-05-07 Ulrich Drepper <drepper@gmail.com>
44533
44534 [BZ #12734]
44535 * resolv/resolv.h: Define RES_NOTLDQUERY.
44536 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44537 no-tld-query and set RES_NOTLDQUERY.
44538 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44539 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44540 modern BIND to search name as TLD unless forbidden.
44541
47c3cd7a
UD
445422011-05-07 Petr Baudis <pasky@suse.cz>
44543 Ulrich Drepper <drepper@gmail.com>
44544
44545 [BZ #12393]
44546 * elf/dl-load.c (fillin_rpath): Move trusted path check...
44547 (is_trusted_path): ...to here.
c1e9ea35 44548 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 44549 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 44550 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 44551
8a35c912
PP
445522011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44553
44554 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44555 __BEGIN/__END_DECLS.
44556
acd41f47
UD
445572011-05-06 Ulrich Drepper <drepper@gmail.com>
44558
44559 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44560 NSS_STATUS_NOTFOUND if no record was found.
44561
597df647
AS
445622011-05-05 Andreas Schwab <schwab@redhat.com>
44563
44564 * sunrpc/Makefile (headers): Add rpc/netdb.h.
44565 (headers-not-in-tirpc): Remove rpc/netdb.h
44566 * resolv/netdb.h: Revert last change.
44567
b9af1301
PP
445682011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44569
44570 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44571 circular dependency between libgcc.a and libc.a.
44572
4e34d5f5
AS
445732011-05-05 Andreas Schwab <schwab@redhat.com>
44574
44575 * resolv/netdb.h: Don't include <rpc/netdb.h>.
44576 * nis/Makefile: Don't install rpcsvc/*.
44577 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44578 instead of <rpc/types.h>.
44579 (MAXHOSTNAMELEN): Define.
44580
00ee369c
AS
445812011-05-03 Andreas Schwab <schwab@redhat.com>
44582
44583 * elf/ldconfig.c (add_dir): Don't crash on empty path.
44584
0b592a30
MB
445852011-04-28 Maciej Babinski <mbabinski@google.com>
44586
44587 [BZ #12714]
44588 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44589 gethostbyname4_r when IPv6 results are possible.
44590
6e04cbbe
UD
445912011-05-02 Ulrich Drepper <drepper@gmail.com>
44592
44593 [BZ #12723]
44594 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44595 _PC_PIPE_BUF handling.
44596
e4ecafe0
BH
445972011-04-30 Bruno Haible <bruno@clisp.org>
44598
44599 [BZ #12717]
44600 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44601 * resolv/netdb.h (getnameinfo): Change type of flags parameter
44602 to 'int'.
44603 * inet/getnameinfo.c (getnameinfo): Likewise.
44604
125ee683
UD
446052011-04-29 Ulrich Drepper <drepper@gmail.com>
44606
44607 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44608 to groups setting in database lookup.
44609 * nss/nsswitch.conf: Add initgroups entry.
44610
b722481a
EB
446112011-04-22 Ulrich Drepper <drepper@gmail.com>
44612
44613 [BZ #12685]
44614 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44615 mode string.
44616 Patch by Eric Blake <eblake@redhat.com>.
44617
4df46dbd
L
446182011-04-20 H.J. Lu <hongjiu.lu@intel.com>
44619
44620 * sunrpc/Makefile (need-export-routines): Add svc_run.
44621 (routines): Remove svc_run.
44622 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44623 * sunrpc/clnt_perr.c (clnt_perrno): Export.
44624 * sunrpc/svc_run.c (svc_run): Likewise.
44625 * sunrpc/svc_udp.c (svcudp_create): Likewise.
44626
e84142d2
UD
446272011-04-21 Ulrich Drepper <drepper@gmail.com>
44628
44629 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44630 problem in reallocation in last patch.
44631
877175d8
UD
446322011-04-20 Ulrich Drepper <drepper@gmail.com>
44633
44634 * sunrpc/Makefile: Move inclusion of Rules.
44635
ab8eed78
UD
446362011-04-19 Ulrich Drepper <drepper@gmail.com>
44637
44638 * nss/nss_files/files-initgroups.c: New file.
44639 * nss/Makefile (libnss_files-routines): Add files-initgroups.
44640 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44641 _nss_files_initgroups_dyn.
44642
e3d8f584
RS
446432011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
44644
44645 * elf/elf.h (R_ARM_IRELATIVE): Define.
44646
af190f45
UD
446472011-04-19 Ulrich Drepper <drepper@gmail.com>
44648
44649 * po/ru.po: Update from translation team.
44650
53cf59ef
UD
446512011-04-17 Ulrich Drepper <drepper@gmail.com>
44652
44653 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44654 dependencies.
44655
4c559bcd
MF
446562011-02-06 Mike Frysinger <vapier@gentoo.org>
44657
44658 [BZ #12653]
44659 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44660 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44661 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44662 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44663 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44664
4420675c
AS
446652011-03-28 Andreas Schwab <schwab@linux-m68k.org>
44666
44667 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44668 differing bytes.
44669 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44670 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44671 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44672
75ea32ab
UD
446732011-04-17 Ulrich Drepper <drepper@gmail.com>
44674
44675 [BZ #12420]
44676 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44677 storing it.
44678 * stdlib/bug-getcontext.c: New file.
44679 * stdlib/Makefile: Add rules to build and run bug-getcontext.
44680
27390476
AK
446812011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44682
44683 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44684 instructions into .machine "z9-109".
44685 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44686 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44687
10442705
AK
446882011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44689
44690 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44691 between environment variables and auxiliary vector.
44692
7b57bfe5
UD
446932011-04-16 Ulrich Drepper <drepper@gmail.com>
44694
44695 * Makefile: Add rules to build linkobj/libc.so.
44696 * include/libc-symbols.h: Define libc_hidden_nolink.
44697 * include/rpc/auth.h: Mark functions which are to be hidden.
44698 * include/rpc/auth_des.h: Likewise.
44699 * include/rpc/auth_unix.h: Likewise.
44700 * include/rpc/clnt.h: Likewise.
44701 * include/rpc/des_crypt.h: Likewise.
44702 * include/rpc/key_prot.h: Likewise.
44703 * include/rpc/pmap_clnt.h: Likewise.
44704 * include/rpc/pmap_prot.h: Likewise.
44705 * include/rpc/pmap_rmt.h: Likewise.
44706 * include/rpc/rpc_msg.h: Likewise.
44707 * include/rpc/svc.h: Likewise.
44708 * include/rpc/svc_auth.h: Likewise.
44709 * include/rpc/xdr.h: Likewise.
44710 * nis/Makefile: Link all DSOs against linkobj/libc.so.
44711 * nss/Makefile: Likewise.
44712 * sunrpc/Makefile: Don't install headers. Build library with normal
44713 entry points. Don't build rpcinfo. Link RPC tests appropriately.
44714 * sunrpc/auth_des.c: Hide exported symbols by default, export some
44715 for the compat linking library. Remove use of INTDEF/INTUSE.
44716 * sunrpc/auth_none.c: Likewise.
44717 * sunrpc/auth_unix.c: Likewise.
44718 * sunrpc/authdes_prot.c: Likewise.
44719 * sunrpc/authuxprot.c: Likewise.
44720 * sunrpc/clnt_gen.c: Likewise.
44721 * sunrpc/clnt_perr.c: Likewise.
44722 * sunrpc/clnt_raw.c: Likewise.
44723 * sunrpc/clnt_simp.c: Likewise.
44724 * sunrpc/clnt_tcp.c: Likewise.
44725 * sunrpc/clnt_udp.c: Likewise.
44726 * sunrpc/clnt_unix.c: Likewise.
44727 * sunrpc/des_crypt.c: Likewise.
44728 * sunrpc/des_soft.c: Likewise.
44729 * sunrpc/get_myaddr.c: Likewise.
44730 * sunrpc/key_call.c: Likewise.
44731 * sunrpc/key_prot.c: Likewise.
44732 * sunrpc/netname.c: Likewise.
44733 * sunrpc/pm_getmaps.c: Likewise.
44734 * sunrpc/pm_getport.c: Likewise.
44735 * sunrpc/pmap_clnt.c: Likewise.
44736 * sunrpc/pmap_prot.c: Likewise.
44737 * sunrpc/pmap_prot2.c: Likewise.
44738 * sunrpc/pmap_rmt.c: Likewise.
44739 * sunrpc/publickey.c: Likewise.
44740 * sunrpc/rpc_cmsg.c: Likewise.
44741 * sunrpc/rpc_common.c: Likewise.
44742 * sunrpc/rpc_dtable.c: Likewise.
44743 * sunrpc/rpc_prot.c: Likewise.
44744 * sunrpc/rpc_thread.c: Likewise.
44745 * sunrpc/rtime.c: Likewise.
44746 * sunrpc/svc.c: Likewise.
44747 * sunrpc/svc_auth.c: Likewise.
44748 * sunrpc/svc_authux.c: Likewise.
44749 * sunrpc/svc_raw.c: Likewise.
44750 * sunrpc/svc_run.c: Likewise.
44751 * sunrpc/svc_simple.c: Likewise.
44752 * sunrpc/svc_tcp.c: Likewise.
44753 * sunrpc/svc_udp.c: Likewise.
44754 * sunrpc/svc_unix.c: Likewise.
44755 * sunrpc/svcauth_des.c: Likewise.
44756 * sunrpc/xcrypt.c: Likewise.
44757 * sunrpc/xdr.c: Likewise.
44758 * sunrpc/xdr_array.c: Likewise.
44759 * sunrpc/xdr_float.c: Likewise.
44760 * sunrpc/xdr_intXX_t.c: Likewise.
44761 * sunrpc/xdr_mem.c: Likewise.
44762 * sunrpc/xdr_rec.c: Likewise.
44763 * sunrpc/xdr_ref.c: Likewise.
44764 * sunrpc/xdr_sizeof.c: Likewise.
44765 * sunrpc/xdr_stdio.c: Likewise.
44766
e6c61494
UD
447672011-04-10 Ulrich Drepper <drepper@gmail.com>
44768
44769 [BZ #12650]
44770 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44771 * sysdeps/ia64/dl-tls.h: Likewise.
44772 * sysdeps/powerpc/dl-tls.h: Likewise.
44773 * sysdeps/s390/dl-tls.h: Likewise.
44774 * sysdeps/sh/dl-tls.h: Likewise.
44775 * sysdeps/sparc/dl-tls.h: Likewise.
44776 * sysdeps/x86_64/dl-tls.h: Likewise.
44777 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44778
34fe483e
AS
447792011-03-14 Andreas Schwab <schwab@redhat.com>
44780
44781 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44782 rpath element also skip the following colon.
44783 (expand_dynamic_string_token): Add is_path parameter and pass
44784 down to DL_DST_REQUIRED and _dl_dst_substitute.
44785 (decompose_rpath): Call expand_dynamic_string_token with
44786 non-zero is_path. Ignore empty rpaths.
44787 (_dl_map_object_from_fd): Call expand_dynamic_string_token
44788 with zero is_path.
44789
f12a32e6
AS
447902011-04-08 Andreas Schwab <schwab@linux-m68k.org>
44791
44792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44793 Make cancelable.
44794
38a7d692
UD
447952011-04-09 Ulrich Drepper <drepper@gmail.com>
44796
44797 [BZ #12655]
44798 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44799 Patch by Filipe David Manana <fdmanana@apache.org>.
44800
e451d22b
AS
448012011-04-07 Andreas Schwab <schwab@redhat.com>
44802
44803 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44804 Maintain aligned stack.
44805 (CHECK_RSP): Remove unused macro.
44806
dedc7c7b
UD
448072011-04-03 Ulrich Drepper <drepper@gmail.com>
44808
44809 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44810 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44811
94521213
UD
448122011-04-02 Ulrich Drepper <drepper@gmail.com>
44813
44814 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44815
8cb700c0 44816 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 44817
0354e355
L
448182011-03-26 H.J. Lu <hongjiu.lu@intel.com>
44819
44820 [BZ #12518]
44821 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44822 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44823 * sysdeps/x86_64/memmove.c: New file.
44824 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44825 (memcpy): Renamed to ...
44826 (__new_memcpy): This.
44827 (memcpy): Provide GLIBC_2_14 memcpy.
44828 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44829 (memcpy): Provide GLIBC_2_2_5 memcpy.
44830
8593482f
UD
448312011-04-01 Ulrich Drepper <drepper@gmail.com>
44832
44833 [BZ #12631]
44834 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44835
81a5726b
AS
448362011-03-30 Andreas Schwab <schwab@redhat.com>
44837
44838 * misc/syncfs.c: New file.
44839 * misc/Makefile (routines): Add syncfs.
44840 * posix/unistd.h: Declare syncfs.
44841 * sysdeps/unix/syscalls.list: Add syncfs.
44842
00e5419f
AS
448432011-04-01 Andreas Schwab <schwab@redhat.com>
44844
44845 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44846 open_by_handle_at.
44847 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44848 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44849 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44850 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44851 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44852 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44853 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44854
748876bf
UD
448552011-04-01 Ulrich Drepper <drepper@gmail.com>
44856
658e451d
UD
44857 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44858 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44859 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44860 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44861 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44862 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44863 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44864
748876bf
UD
44865 * io/Makefile: Compile fallocate.c, fallocate64.c, and
44866 sync_file_range.c with -fexceptions.
44867 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44868 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44869 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44870 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44871 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44872 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44873 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
44874 sync_file_range as cancellation point
44875 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
44876 now a wrapper around __call_sync_file_range with cancellation handling.
44877 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44878 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
44879 function name to __call_sync_file_range.
44880 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44881 Add call_sync_file_range.
748876bf 44882
6e63d5e1
AS
448832011-04-01 Andreas Schwab <schwab@redhat.com>
44884
44885 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 44886 bits/timex.h.
6e63d5e1 44887
46998f74
UD
448882011-04-01 Ulrich Drepper <drepper@gmail.com>
44889
4c1423ed
UD
44890 * iconv/iconv.h: Fix typo in comment.
44891 * io/fcntl.h: Likewise.
44892 * libio/stdio.h: Likewise.
44893 * posix/spawn.h: Likewise.
44894 * posix/unistd.h: Likewise.
44895 * stdlib/stdlib.h: Likewise.
44896 * time/time.h: Likewise.
44897 * wcsmbs/wchar.h: Likewise.
44898
158648c0
UD
44899 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44900 open_by_handle): Add.
44901 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44902 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
44903 Augment a few comments.
44904 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44905 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44906 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44907 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44908 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44909 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44910 open_by_handle.
44911
46998f74
UD
44912 * io/fcntl.h (AT_EMPTY_PATH): Define.
44913
83fe108b
UD
449142011-03-30 Ulrich Drepper <drepper@gmail.com>
44915
44916 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44917 * sysdeps/unix/sysv/linux/bits/time.h: New file.
44918 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44919 to...
44920 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
44921 * Versions.def: Add GLIBC_2.14.
44922 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44923 Export.
83fe108b 44924
bb242059
UD
449252011-03-22 Ulrich Drepper <drepper@gmail.com>
44926
44927 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44928 round counter.
44929 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44930
c97a1282
L
449312011-03-20 H.J. Lu <hongjiu.lu@intel.com>
44932
44933 [BZ #12597]
44934 * string/test-strncmp.c (do_page_test): New function.
44935 (check2): Likewise.
44936 (test_main): Call check2.
44937 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44938
2a115601
UD
449392011-03-20 Ulrich Drepper <drepper@gmail.com>
44940
44941 [BZ #12587]
44942 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44943 Handle cache information in CPU leaf 4.
44944 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44945
8126d904
UD
449462011-03-18 Ulrich Drepper <drepper@gmail.com>
44947
042c49c6 44948 [BZ #12583]
8126d904
UD
44949 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44950 character representation.
44951 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44952
ccfe366e
RA
449532011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
44954
44955 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44956 END(__isnan) to END(__isnanf) to match function entry point/label
44957 EALIGN(__isnanf,...).
44958
c6e13027
JJ
449592011-03-10 Jakub Jelinek <jakub@redhat.com>
44960
44961 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44962
33f85a3f
UD
449632011-03-10 Ulrich Drepper <drepper@gmail.com>
44964
028478fa
UD
44965 [BZ #12510]
44966 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44967 copy from the symbol referenced in the relocation to initialize the
44968 used variable.
44969 Patch by Piotr Bury <pbury@goahead.com>.
44970 * elf/Makefile: Add rules to build and tst-unique3.
44971 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44972 * elf/tst-unique3.cc: New file.
44973 * elf/tst-unique3.h: New file.
44974 * elf/tst-unique3lib.cc: New file.
44975 * elf/tst-unique3lib2.cc: New file.
44976
33f85a3f
UD
44977 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44978
03592fc7
MF
449792011-03-10 Mike Frysinger <vapier@gentoo.org>
44980
44981 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44982 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
44983 to _start.
03592fc7 44984
6a5ee102
UD
449852011-03-06 Ulrich Drepper <drepper@gmail.com>
44986
44987 * elf/dl-load.c (_dl_map_object): If we are looking for the first
44988 to-be-loaded object along a path to loader is ld.so.
44989
7e4ba49c
HJ
449902011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44991 Ulrich Drepper <drepper@gmail.com>
44992
44993 * sysdeps/x86_64/memset.S: After aligning destination, code
44994 branches to different locations depending on the value of
44995 misalignment, when multiarch is enabled. Fix this.
44996
449972011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44998
44999 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
45000 Set _x86_64_preferred_memory_instruction for AMD processsors.
45001 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45002 Set bit_Prefer_SSE_for_memop for AMD processors.
45003
13a804de
UD
450042011-03-04 Ulrich Drepper <drepper@gmail.com>
45005
45006 * libio/fmemopen.c (fmemopen): Optimize a bit.
45007
9d25c392
AS
450082011-03-03 Andreas Schwab <schwab@redhat.com>
45009
45010 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
45011
a5543c6a
RM
450122011-03-03 Roland McGrath <roland@redhat.com>
45013
45014 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45015
012d35f7
DM
450162011-02-28 Aurelien Jarno <aurelien@aurel32.net>
45017
7e4ba49c 45018 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
45019 __bzero_ultra1 instead of __memset_ultra1.
45020
4bff6e01
AS
450212011-02-23 Andreas Schwab <schwab@redhat.com>
45022 Ulrich Drepper <drepper@gmail.com>
45023
45024 [BZ #12509]
45025 * include/link.h (struct link_map): Add l_orig_initfini.
45026 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45027 returning unsuccessfully.
45028 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45029 close of a file loaded at startup, restore the original l_initfini
45030 list.
45031 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45032 list, store the pointer.
45033 * elf/Makefile ($(objpfx)noload-mem): New rule.
45034 (noload-ENV): Define.
45035 (tests): Add $(objpfx)noload-mem.
45036 * elf/noload.c: Include <memcheck.h>.
45037 (main): Call mtrace. Close all opened handles.
45038
f2092faf
AS
450392011-02-17 Andreas Schwab <schwab@redhat.com>
45040
45041 [BZ #12454]
45042 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45043 dependencies are missing.
45044
6c8a2e88
ST
450452011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
45046
f2092faf 45047 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
45048 Hurd needs munmap.
45049 * sysdeps/mach/hurd/ifreq.h: New file.
45050
84a42118
PB
450512011-01-27 Petr Baudis <pasky@suse.cz>
45052 Ulrich Drepper <drepper@gmail.com>
45053
071f805e 45054 [BZ 12445]#
84a42118
PB
45055 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45056 to extend_alloca().
45057 * stdio-common/bug23.c: New file.
45058 * stdio-common/Makefile (tests): Add bug23.
45059
e23fe25b
AS
450602010-09-28 Andreas Schwab <schwab@redhat.com>
45061 Ulrich Drepper <drepper@gmail.com>
45062
45063 [BZ #12489]
45064 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45065 before performing relro protection. At old place add assertion
45066 to make sure nothing changed.
45067
d3f02e10
NS
450682011-02-17 Nathan Sidwell <nathan@codesourcery.com>
45069 Glauber de Oliveira Costa <glommer@gmail.com>
45070
45071 * elf/elf.h: Add new ARM TLS relocs.
45072
d55fd7a5
RA
450732011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
45074
45075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45076 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45077 cast from r3.
45078 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
45079 'tests' variable.
45080 * sysdeps/wordsize-64/tst-writev.c: New file.
45081
2206397e
RA
450822011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
45083
45084 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45085 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45086 insns in _dl_start to prevent a TOC reference before relocs are
45087 resolved.
45088
e9433893
UD
450892011-02-15 Ulrich Drepper <drepper@gmail.com>
45090
45091 [BZ #12469]
45092 * Makeconfig: Remove RANLIB definition.
45093 * Makerules: Don't use RANLIB.
45094 * aclocal.m4: Remove ranlib test.
45095 * configure.in: No need to check for ranlib.
45096 * elf/rtld-Rules: Don't use RANLIB.
45097
f75286c6
ST
450982011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
45099
8e31c82d
ST
45100 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45101 protection macro.
45102 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45103 inclusion protection macro.
45104
f75286c6
ST
45105 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45106 SIGRTMIN and SIGRTMAX and print information in that case only when
45107 SIGRTMIN is defined.
45108
c1d0e639
JJ
451092011-02-11 Jakub Jelinek <jakub@redhat.com>
45110
45111 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45112 arginfo fn returning -1.
45113
45114 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45115 and thousands string is zero terminated.
45116
edf9294e
AS
451172011-02-03 Andreas Schwab <schwab@redhat.com>
45118
45119 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45120 sysdeps/unix/sysv/linux/bits/socket.h.
45121
2b7e92df
ST
451222011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
45123
edf9294e
AS
45124 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45125 (__CPU_COUNT): Remove old macros.
45126 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45127 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45128 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
45129 (__sched_cpualloc, __sched_cpufree): Add declarations.
45130
a4c7ea7b
UD
451312011-02-05 Ulrich Drepper <drepper@gmail.com>
45132
45133 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45134 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45135 * nscd/aicache.c (addhstaiX): Return timeout of added value.
45136 (readdhstai): Return value of addhstaiX call.
45137 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45138 (addgrbyX): Return value returned by cache_addgr.
45139 (readdgrbyname): Return value returned by addgrbyX.
45140 (readdgrbygid): Likewise.
45141 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45142 (addpwbyX): Return value returned by cache_addpw.
45143 (readdpwbyname): Return value returned by addhstbyX.
45144 (readdpwbyuid): Likewise.
45145 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45146 (addservbyX): Return value returned by cache_addserv.
45147 (readdservbyname): Return value returned by addservbyX:
45148 (readdservbyport): Likewise.
45149 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45150 (addhstbyX): Return value returned by cache_addhst.
45151 (readdhstbyname): Return value returned by addhstbyX.
45152 (readdhstbyaddr): Likewise.
45153 (readdhstbynamev6): Likewise.
45154 (readdhstbyaddrv6): Likewise.
45155 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45156 (readdinitgroups): Return value returned by addinitgroupsX.
45157 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45158 (prune_cache): Keep track of timeout value of re-added entries.
45159 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45160 * nscd/nscd.h: Adjust prototypes of readd* functions.
45161
a0bf67cc
RM
451622011-02-04 Roland McGrath <roland@redhat.com>
45163
45164 * nis/nis_server.c (nis_servstate): Use the right name for 0.
45165 (nis_stats): Likewise.
45166 * nis/nis_modify.c (nis_modify): Likewise.
45167 * nis/nis_remove.c (nis_remove): Likewise.
45168 * nis/nis_add.c (nis_add): Likewise.
45169
45170 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45171
45172 * posix/fnmatch_loop.c: Add some consts.
45173
45174 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45175
435b95eb
L
451762011-02-02 H.J. Lu <hongjiu.lu@intel.com>
45177
45178 [BZ #12460]
45179 * config.make.in (config-cflags-novzeroupper): Define.
45180 * configure.in: Substitute libc_cv_cc_novzeroupper.
45181 * elf/Makefile (AVX-CFLAGS): Define.
45182 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45183 (CFLAGS-tst-auditmod4a.c): Likewise.
45184 (CFLAGS-tst-auditmod4b.c): Likewise.
45185 (CFLAGS-tst-auditmod6b.c): Likewise.
45186 (CFLAGS-tst-auditmod6c.c): Likewise.
45187 (CFLAGS-tst-auditmod7b.c): Likewise.
45188 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45189
8517b15e
UD
451902011-02-02 Ulrich Drepper <drepper@gmail.com>
45191
45192 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45193 function to the callback.
45194 Patch partly by Jiri Olsa <jolsa@redhat.com>.
45195
10a656fe
AS
451962011-02-02 Andreas Schwab <schwab@redhat.com>
45197
45198 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45199 of errno.
45200
968dad0a
UD
452012011-01-19 Ulrich Drepper <drepper@gmail.com>
45202
9f94d2ea 45203 [BZ #11724]
968dad0a
UD
45204 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45205 of constructors.
45206 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45207 of destructors.
45208 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45209
45210 [BZ #11724]
45211 * elf/Makefile: Add rules to build and run new test.
45212 * elf/tst-initorder.c: New file.
45213 * elf/tst-initorder.exp: New file.
45214 * elf/tst-initordera1.c: New file.
45215 * elf/tst-initordera2.c: New file.
45216 * elf/tst-initordera3.c: New file.
45217 * elf/tst-initordera4.c: New file.
45218 * elf/tst-initorderb1.c: New file.
45219 * elf/tst-initorderb2.c: New file.
45220 * elf/tst-order-a1.c: New file.
45221 * elf/tst-order-a2.c: New file.
45222 * elf/tst-order-a3.c: New file.
45223 * elf/tst-order-a4.c: New file.
45224 * elf/tst-order-b1.c: New file.
45225 * elf/tst-order-b2.c: New file.
45226 * elf/tst-order-main.c: New file.
45227 New test case by George Gensure <werkt0@gmail.com>.
45228
86e92359
UD
452292010-10-01 Andreas Schwab <schwab@redhat.com>
45230
45231 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45232 decoding ACE if AI_CANONIDN.
45233
5d5732b0
UD
452342011-01-18 Ulrich Drepper <drepper@gmail.com>
45235
45236 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45237
a77e8cbc
UD
452382011-01-17 Ulrich Drepper <drepper@gmail.com>
45239
6392473f
UD
45240 * version.h (RELEASE): Bump for 2.13 release.
45241 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45242
620a0529
UD
45243 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45244
18ba70a5
UD
45245 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45246 MADV_NOHUGEPAGE.
32465c3e
UD
45247 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45248 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45249 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45250 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45251 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45252 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45253
c0dafcf1
UD
45254 * posix/getconf.c: Update copyright year.
45255 * catgets/gencat.c: Likewise.
45256 * csu/version.c: Likewise.
45257 * debug/catchsegv.sh: Likewise.
45258 * debug/xtrace.sh: Likewise.
45259 * elf/ldconfig.c: Likewise.
45260 * elf/ldd.bash.in: Likewise.
45261 * elf/sprof.c (print_version): Likewise.
45262 * iconv/iconv_prog.c: Likewise.
45263 * iconv/iconvconfig.c: Likewise.
45264 * locale/programs/locale.c: Likewise.
45265 * locale/programs/localedef.c: Likewise.
45266 * malloc/memusage.sh: Likewise.
45267 * malloc/mtrace.pl: Likewise.
45268 * nscd/nscd.c (print_version): Likewise.
45269 * nss/getent.c: Likewise.
45270
a77e8cbc
UD
45271 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45272 PF_CAIF, and PF_ALG.
45273 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45274
77e8bddf
AS
452752011-01-16 Andreas Schwab <schwab@linux-m68k.org>
45276
1f20b93a
AS
45277 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45278 (modules-names): Use them.
45279 (ifunc-test-modules, ifunc-pie-tests): Define.
45280 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45281 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45282 (test-extras): Likewise.
45283 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45284 $(compile-command.c).
45285 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45286 (all-built-dso): Define.
45287 (check-textrel.out, check-execstack.out): Depend on it.
45288
77e8bddf
AS
45289 * configure.in: Don't override --enable-multi-arch.
45290
bc425b33
UD
452912011-01-15 Ulrich Drepper <drepper@gmail.com>
45292
45293 [BZ #6812]
45294 * nscd/hstcache.c (tryagain): Define.
45295 (cache_addhst): Return tryagain not notfound for temporary errors.
45296 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45297 failed.
45298
794c3ad3
UD
452992011-01-14 Ulrich Drepper <drepper@gmail.com>
45300
70181fdd
UD
45301 [BZ #10563]
45302 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45303 to make the syscall.
45304 * sysdeps/unix/sysv/linux/setgroups.c: New file.
45305
794c3ad3
UD
45306 [BZ #12378]
45307 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45308 and fall back to matching as normal character if the string ends before
45309 the matching ']' is found. This is what POSIX requires.
45310 * posix/testfnm.c: Adjust test result.
45311 * posix/globtest.sh: Adjust test result. Add new test.
45312 * posix/tst-fnmatch.input: Likewise.
45313 * posix/tst-fnmatch2.c: Add new test.
45314
68dc9497
AS
453152010-12-28 Andreas Schwab <schwab@linux-m68k.org>
45316
45317 * elf/Makefile (check-execstack): Revert last change. Depend on
45318 check-execstack.h.
45319 (check-execstack.h): New target.
45320 (generated): Add check-execstack.h.
45321 * elf/check-execstack.c: Include "check-execstack.h".
45322 (main): Revert last change.
45323 (handle_file): Return zero if GNU_STACK is absent and
45324 DEFAULT_STACK_PERMS doesn't include PF_X.
45325
451f001b
UD
453262011-01-13 Ulrich Drepper <drepper@gmail.com>
45327
cfa28e56
UD
45328 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45329 in child fails because the descriptor is already closed.
8cf8ce17
UD
45330 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45331 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45332 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 45333
1086d70d
UD
45334 [BZ #12397]
45335 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45336 syscall.
45337
451f001b
UD
45338 [BZ #10484]
45339 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45340 temporary buffer used to handle multi lookups locally.
a85b5cb4 45341 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 45342
08769175
UD
453432011-01-12 Ulrich Drepper <drepper@gmail.com>
45344
45345 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45346 loader is ld.so.
45347
5e49c52e
UD
453482011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
45349
45350 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45351 alignment for SSE2.
45352
60522a5f
UD
453532011-01-12 Ulrich Drepper <drepper@gmail.com>
45354
45355 [BZ #12394]
45356 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45357 characters. When rounding increased number of integer digits recompute
45358 number of groups.
45359 * stdio-common/tst-grouping.c: New file.
45360 * stdio-common/Makefile: Add rules to build and run tst-grouping.
45361
f257bbd7
UD
453622011-01-09 Ulrich Drepper <drepper@gmail.com>
45363
45364 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45365 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
45366
45367 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45368 void.
45369 * bits/select.h: Likewise.
45370
fa9c15cb
UD
453712011-01-08 Ulrich Drepper <drepper@gmail.com>
45372
45373 * po/ja.po: Update from translation team.
45374
16c2895f
DM
453752011-01-04 David S. Miller <davem@sunset.davemloft.net>
45376
45377 [BZ #11155]
45378 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45379 implementation just like for lxstat, fxstatat, et al.
45380
2543fef2
JM
453812010-12-27 Jim Meyering <meyering@redhat.com>
45382
45383 [BZ #12348]
45384 * posix/regexec.c (build_trtable): Return failure indication upon
45385 calloc failure. Otherwise, re_search_internal could infloop on OOM.
45386
98727dbe
UD
453872010-12-25 Ulrich Drepper <drepper@gmail.com>
45388
5bd6dc5c
UD
45389 [BZ #12201]
45390 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45391 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45392 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45393 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45394
97983464
UD
45395 [BZ #12207]
45396 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45397
98727dbe
UD
45398 [BZ #12204]
45399 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45400 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45401
4a531bb0
L
454022010-12-15 H.J. Lu <hongjiu.lu@intel.com>
45403
45404 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45405 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45406 script has SORT_BY_INIT_PRIORITY.
45407 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45408 NO_CTORS_DTORS_SECTIONS is defined.
45409 * elf/soinit.c: Likewise.
45410 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45411 NO_CTORS_DTORS_SECTIONS is defined.
45412 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45413 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45414 * sysdeps/sh/init-first.c: Likewise.
45415 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45416
07eb4b71
UD
454172010-12-24 Ulrich Drepper <drepper@gmail.com>
45418
45419 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45420 always use the slow path.
45421
30950a5f
RA
454222010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
45423
45424 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45425 similar rule which adds the sysdep directories to the header search in
45426 order to pick up the correct platform stackinfo.h.
45427 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45428 perform test if it is, otherwise return successfully without testing.
45429 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45430 DEFAULT_STACK_PERMS define in stackinfo.h.
45431 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45432 defined in stackinfo.h.
45433 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45434 DEFAULT_STACK_PERMS defined in stackinfo.h.
45435 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45436 * sysdeps/ia64/stackinfo.h: Likewise.
45437 * sysdeps/s390/stackinfo.h: Likewise.
45438 * sysdeps/sh/stackinfo.h: Likewise.
45439 * sysdeps/sparc/stackinfo.h: Likewise.
45440 * sysdeps/x86_64/stackinfo.h: Likewise.
45441 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45442 PF_X for powerpc64. Retain PF_X for powerpc32.
45443
db753e2c
UD
454442010-12-19 Ulrich Drepper <drepper@gmail.com>
45445
14b697f7
UD
45446 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45447 accurately.
db753e2c
UD
45448 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45449 GETDENTS_64BIT_ALIGNED.
45450
28300719
UD
454512010-12-14 Ulrich Drepper <dreper@gmail.com>
45452
14b697f7 45453 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 45454
4f197237
AS
454552010-12-10 Andreas Schwab <schwab@redhat.com>
45456
dbb0472f
AS
45457 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45458 _GNU_SOURCE.
45459
4f197237
AS
45460 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45461 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45462 Remove __restrict.
45463 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45464 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45465
fb88ac72
UD
454662010-12-09 Ulrich Drepper <drepper@gmail.com>
45467
45468 [BZ #11655]
45469 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45470 are initialized.
45471
42acbb92
JJ
454722010-12-09 Jakub Jelinek <jakub@redhat.com>
45473
45474 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45475
c038d98d
UD
454762010-12-03 Ulrich Drepper <drepper@gmail.com>
45477
45478 * po/it.po: Update from translation team.
45479
3a4a2499
L
454802010-12-01 H.J. Lu <hongjiu.lu@intel.com>
45481
45482 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45483 unused codes.
45484
1e24cf6e
UD
454852010-11-30 Ulrich Drepper <drepper@gmail.com>
45486
45487 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45488
a7690819
AS
454892010-11-24 Andreas Schwab <schwab@redhat.com>
45490
45491 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45492 specially.
45493 (gaih_getanswer_slice): Likewise.
45494
3bf8d1b1
JJ
454952010-10-20 Jakub Jelinek <jakub@redhat.com>
45496
45497 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45498
6db52fbb
PB
454992010-05-31 Petr Baudis <pasky@suse.cz>
45500
45501 [BZ #11149]
45502 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45503 silently even in the chroot mode.
45504
eaca7569
UD
455052010-11-22 Ulrich Drepper <drepper@gmail.com>
45506
45507 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45508 last patch a bit. Pretty printing
45509
3056dcdb
UD
455102010-05-31 Petr Baudis <pasky@suse.cz>
45511
45512 [BZ #10085]
45513 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45514 initialization of skip_initgroups_dyn.
45515
cf7c9078
UD
455162010-11-19 Ulrich Drepper <drepper@gmail.com>
45517
45518 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45519 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45520
a1fb5e3e
UD
455212010-11-16 Ulrich Drepper <drepper@gmail.com>
45522
45523 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45524
3540d66b
AS
455252010-11-11 Andreas Schwab <schwab@redhat.com>
45526
45527 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45528 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45529 (tst-fnmatch-ENV): Set MALLOC_TRACE.
45530 ($(objpfx)tst-fnmatch-mem): New rule.
45531 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45532 * posix/tst-fnmatch.c (main): Call mtrace.
45533
13b69574
L
455342010-11-11 H.J. Lu <hongjiu.lu@intel.com>
45535
45536 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45537 Support Intel processor model 6 and model 0x2c.
45538
da93d214
LM
455392010-11-10 Luis Machado <luisgpm@br.ibm.com>
45540
45541 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45542 signed comparison.
45543
8ca52c6e
L
455442010-11-09 H.J. Lu <hongjiu.lu@intel.com>
45545
45546 [BZ #12205]
45547 * string/test-strncasecmp.c (check_result): New function.
45548 (do_one_test): Use it.
45549 (check1): New function.
45550 (test_main): Use it.
45551 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45552 Support strcasecmp and strncasecmp.
45553
69da074d
UD
455542010-11-08 Ulrich Drepper <drepper@gmail.com>
45555
45556 [BZ #12194]
45557 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45558 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45559
ff02d528
L
455602010-11-07 H.J. Lu <hongjiu.lu@intel.com>
45561
45562 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45563 IFUNC support.
45564 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45565 memset-x86-64.
45566 * sysdeps/x86_64/multiarch/bzero.S: New file.
45567 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45568 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45569 * sysdeps/x86_64/multiarch/memset.S: New file.
45570 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45571 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45572 Set bit_Prefer_SSE_for_memop for Intel processors.
45573 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45574 Define.
45575 (index_Prefer_SSE_for_memop): Define.
45576 (HAS_PREFER_SSE_FOR_MEMOP): Define.
45577
344d0b54
LM
455782010-11-04 Luis Machado <luisgpm@br.ibm.com>
45579
45580 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45581 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45582
c0dde15b
UD
455832010-11-03 H.J. Lu <hongjiu.lu@intel.com>
45584
45585 [BZ #12191]
45586 * sysdeps/i386/i686/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
45591 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45592 (__x86_64_raw_data_cache_size_half): Likewise.
45593 (__x86_64_raw_shared_cache_size): Likewise.
45594 (__x86_64_raw_shared_cache_size_half): Likewise.
45595 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45596 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45597 and __x86_64_raw_shared_cache_size_half. Round
45598 __x86_64_data_cache_size_half, __x86_64_data_cache_size
45599 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45600 to multiple of 256 bytes.
45601
0e516e0e
MS
456022010-11-03 Ulrich Drepper <drepper@gmail.com>
45603
45604 [BZ #12167]
45605 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45606 of inacessible symlinks. Verify result of symlink before returning it.
45607 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45608 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45609
0e012e87
ER
456102010-10-28 Erich Ritz <erichritz@gmail.com>
45611
45612 * math/math.h (isinf): Fix typo in comment.
45613
de0ff7bc
UD
456142010-11-01 Ulrich Drepper <drepper@gmail.com>
45615
45616 * po/da.po: Update from translation team.
45617
fa41c84d
UD
456182010-10-26 Ulrich Drepper <drepper@gmail.com>
45619
45620 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45621 is added to the list.
45622
f0967738
AK
456232010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45624 Ulrich Drepper <drepper@gmail.com>
45625
45626 * elf/dl-object.c (_dl_new_object): Don't append the new object to
45627 the global list here. Move code to...
45628 (_dl_add_to_namespace_list): ...here. New function.
45629 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45630 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45631 * elf/dl-load.c (lose): Don't remove the element from the list.
45632 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45633 (_dl_map_object): Likewise.
45634
456352010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
45636
45637 [BZ #12159]
45638 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45639 into all bytes of SSE register.
45640 Patch by Richard Li <richardpku@gmail.com>.
45641
f0967738 456422010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
45643
45644 [BZ #12140]
45645 * malloc/malloc.c (_int_free): Fill correct number of bytes when
45646 perturbing.
45647
d0b9e94f
MB
456482010-10-20 Michael B. Brutman <brutman@us.ibm.com>
45649
45650 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45651 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45652 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45653 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45655 submachine.
45656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45657
8e9f92e9
AS
456582010-10-22 Andreas Schwab <schwab@redhat.com>
45659
45660 * include/dlfcn.h (__RTLD_SECURE): Define.
45661 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
45662 mode & __RTLD_SECURE instead.
45663 (open_path): Rename preloaded parameter to secure.
45664 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45665 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45666 * elf/dl-deps.c (openaux): Likewise.
45667 * elf/rtld.c (struct map_args): Remove is_preloaded.
45668 (map_doit): Don't use it.
45669 (dl_main): Likewise.
45670 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45671 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45672
bc96fbda
AS
456732010-09-09 Andreas Schwab <schwab@redhat.com>
45674
45675 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45676 (sysd-rules-targets): Remove duplicates.
45677 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45678 rtld-%.$o dependency.
45679
22cd1c9b
AS
456802010-10-18 Andreas Schwab <schwab@redhat.com>
45681
45682 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45683 _dl_map_object do it.
45684
18edac48
UD
456852010-10-19 Ulrich Drepper <drepper@gmail.com>
45686
45687 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45688 fast fma builtins, define the macros in the C99 standard.
45689 (FP_FAST_FMAF): Likewise.
45690 (FP_FAST_FMAL): Likewise.
45691 * sysdeps/x86_64/bits/mathdef.h: Likewise.
45692
45693 * bits/mathdef.h: Update copyright year.
45694 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45695
d2050124
MM
456962010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
45697
45698 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45699 builtins, define the macros in the C99 standard.
45700 (FP_FAST_FMAF): Likewise.
45701 (FP_FAST_FMAL): Likewise.
45702 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45703 multiply/add.
45704 (FP_FAST_FMAF): Likewise.
45705
475facd1
JJ
457062010-10-15 Jakub Jelinek <jakub@redhat.com>
45707
45708 [BZ #3268]
45709 * math/libm-test.inc (fma_test): Some new testcases.
45710 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45711 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45712 y and infinite z. Do multiplication by C already in long double.
45713 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45714 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45715 y and infinite z. Do bitwise or of inexact bit into u.d.
45716 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45717 * sysdeps/i386/fpu/s_fmaf.S: Removed.
45718 * sysdeps/i386/fpu/s_fma.S: Removed.
45719 * sysdeps/i386/fpu/s_fmal.S: Removed.
45720
7c08a05c
JJ
457212010-10-16 Jakub Jelinek <jakub@redhat.com>
45722
45723 [BZ #3268]
45724 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45725 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45726 computation is not scheduled after fetestexcept. Fix value
45727 of minimum denormal long double.
45728
f3f7372d
JJ
457292010-10-14 Jakub Jelinek <jakub@redhat.com>
45730
45731 [BZ #3268]
45732 * math/libm-test.inc (fma_test): Add some more tests.
45733 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45734 correctly.
45735
14d43591
AS
457362010-10-15 Andreas Schwab <schwab@redhat.com>
45737
45738 * scripts/data/localplt-s390-linux-gnu.data: New file.
45739 * scripts/data/localplt-s390x-linux-gnu.data: New file.
45740
5e908464
JJ
457412010-10-13 Jakub Jelinek <jakub@redhat.com>
45742
45743 [BZ #3268]
45744 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45745 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45746 instead of dbl-64.
45747 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45748 inlines.
45749 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45750 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45751 if one of x and y is very large and the other is subnormal.
45752 * sysdeps/s390/fpu/s_fmaf.c: New file.
45753 * sysdeps/s390/fpu/s_fma.c: New file.
45754 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45755 * sysdeps/powerpc/fpu/s_fma.S: New file.
45756 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45757 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45758 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45759
457602010-10-12 Jakub Jelinek <jakub@redhat.com>
45761
45762 [BZ #3268]
45763 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45764 fma tests.
45765 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45766 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45767 * sysdeps/i386/i686/multiarch/s_fma.c: Include
45768 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45769 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45770 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45771 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45772
b833d51f
UD
457732010-10-12 Ulrich Drepper <drepper@redhat.com>
45774
45775 [BZ #12078]
45776 * posix/regcomp.c (parse_branch): One more memory leak plugged.
45777 * posix/bug-regex31.input: Add test case.
45778
1751705d
UD
457792010-10-11 Ulrich Drepper <drepper@gmail.com>
45780
e9b9cbf5
UD
45781 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45782 * posix/bug-regex31.input: New file.
45783
45784 [BZ #12078]
45785 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45786 (parse_sub_exp): Fix last change, use postorder.
45787
ef06edbe
UD
45788 * posix/bug-regex31.c: New file.
45789 * posix/Makefile: Add rules to build and run bug-regex31.
45790
a129c80d
UD
45791 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45792
45793 [BZ #12078]
45794 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45795
b76b818e
UD
45796 [BZ #12108]
45797 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45798 to have entries in sys_siglist.
45799
1751705d
UD
45800 [BZ #12093]
45801 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45802 be NULL.
45803
9ff8d36f
JJ
458042010-10-07 Jakub Jelinek <jakub@redhat.com>
45805
45806 [BZ #3268]
45807 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45808 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45809 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45810 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45811 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45812 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45813 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45814 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45815 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45816 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45817 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45818 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45819 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45820 * math/ftestexcept.c (fetestexcept): Likewise.
45821 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45822 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45823 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45824 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45825 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45826 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45827 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45828
af325969
UD
458292010-10-11 Ulrich Drepper <drepper@gmail.com>
45830
c579b202 45831 [BZ #12107]
af325969
UD
45832 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45833 newline.
45834
67a67b95
UD
458352010-10-06 Ulrich Drepper <drepper@gmail.com>
45836
45837 * string/bug-strstr1.c: New file.
45838 * string/Makefile: Add rules to build and run bug-strstr1.
45839
5fb308bc
EB
458402010-10-05 Eric Blake <eblake@redhat.com>
45841
45842 [BZ #12092]
45843 * string/str-two-way.h (two_way_long_needle): Always clear memory
45844 when skipping input due to the shift table.
45845
45db99c7
UD
458462010-10-03 Ulrich Drepper <drepper@gmail.com>
45847
3b111893
UD
45848 [BZ #12005]
45849 * malloc/mcheck.c: Handle large requests.
45850
45db99c7
UD
45851 [BZ #12077]
45852 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45853 for strncmp and strncasecmp.
45854 * string/stratcliff.c: Add tests for strcmp and strncmp.
45855 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45856
cf7a1eb8
NI
458572010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45858
45859 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45860 __set_fpscr.
45861
6484ba5e
AJ
458622010-09-30 Andreas Jaeger <aj@suse.de>
45863
45864 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45865 (CGROUP_SUPER_MAGIC): Define.
45866 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45867 Handle btrfs and cgroup file systems.
45868 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45869 Likewise.
45870
91c42559
LM
458712010-09-27 Luis Machado <luisgpm@br.ibm.com>
45872
45873 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45874 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45875
87a97932
AK
458762010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45877
45878 [BZ #12067]
45879 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45880 trying to locate the ELF header.
45881
c21cc9bc
AS
458822010-09-27 Andreas Schwab <schwab@redhat.com>
45883
45884 [BZ #11611]
45885 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45886 Mask out sign-bit copies when constructing f_fsid.
45887
315970f6
PB
458882010-09-24 Petr Baudis <pasky@suse.cz>
45889
45890 * debug/stack_chk_fail_local.c: Add missing licence exception.
45891 * debug/warning-nop.c: Likewise.
45892
1ac7a2c7
JM
458932010-09-15 Joseph Myers <joseph@codesourcery.com>
45894
45895 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45896 implementing getdents64 using getdents syscall, set d_type if
45897 __ASSUME_GETDENTS32_D_TYPE.
45898
56801c50
AS
458992010-09-16 Andreas Schwab <schwab@redhat.com>
45900
45901 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45902 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45903
dda51327
UD
459042010-09-21 Ulrich Drepper <drepper@redhat.com>
45905
45906 [BZ #12037]
45907 * posix/unistd.h: Undo change of feature selection for ftruncate from
45908 2010-01-11.
45909
8ffcee4a
UD
459102010-09-20 Ulrich Drepper <drepper@redhat.com>
45911
a545ecd9 45912 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
45913 detection.
45914
e24f0a8b
AS
459152010-09-20 Andreas Schwab <schwab@redhat.com>
45916
45917 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45918 fanotify_mark.
45919 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45920
7291c56f
AS
459212010-09-14 Andreas Schwab <schwab@redhat.com>
45922
45923 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45924 variables after CHECK_SP call.
45925 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45926
bc5fb037
AS
459272010-09-13 Andreas Schwab <schwab@redhat.com>
45928 Ulrich Drepper <drepper@redhat.com>
45929
45930 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45931 re-relocationg ld.so.
45932 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45933 _dl_init_paths call.
45934 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
45935 here anymore.
45936
e66e7419
UD
459372010-09-14 Ulrich Drepper <drepper@redhat.com>
45938
45939 * resolv/res_init.c (__res_vinit): Count the default server we added.
45940
c044aa75
CLT
459412010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
45942 Ulrich Drepper <drepper@redhat.com>
45943
45944 [BZ #11968]
45945 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45946 (____longjmp_chk): Use %ebx for saving value across system call.
45947 Add unwind info.
45948
32cf4069
AS
459492010-09-06 Andreas Schwab <schwab@redhat.com>
45950
45951 * manual/Makefile: Don't mix pattern rules with normal rules.
45952
817328ee
AS
459532010-09-05 Andreas Schwab <schwab@linux-m68k.org>
45954
45955 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45956 operation.
45957 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45958 * libio/iofopncook.c (_IO_cookie_init): Likewise.
45959 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45960 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45961 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45962 Likewise.
45963
29fddf61
UD
459642010-09-04 Ulrich Drepper <drepper@redhat.com>
45965
45966 [BZ #11979]
45967 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45968 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45969
0959ffc9
UD
459702010-09-02 Ulrich Drepper <drepper@redhat.com>
45971
45972 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45973 * sysdeps/x86_64/addmul_1.S: Likewise.
45974 * sysdeps/x86_64/lshift.S: Likewise.
45975 * sysdeps/x86_64/mul_1.S: Likewise.
45976 * sysdeps/x86_64/rshift.S: Likewise.
45977 * sysdeps/x86_64/sub_n.S: Likewise.
45978 * sysdeps/x86_64/submul_1.S: Likewise.
45979
ece29840
ST
459802010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
45981
0959ffc9
UD
45982 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45983 Define __sched_param instead of SCHED_* and sched_param when
ece29840 45984 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 45985 * bits/sched.h [__need_schedparam]
ece29840 45986 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
45987 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45988 (__defined_schedparam): Define to 1.
ece29840
ST
45989 (__sched_param): New structure, identical to sched_param.
45990 (__need_schedparam): Undefine.
45991
e53a31fe
MF
459922010-08-31 Mike Frysinger <vapier@gentoo.org>
45993
fdc0c10d
MF
45994 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45995 (epoll_create1): Declare.
45996
e53a31fe
MF
45997 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45998
a726d796
AS
459992010-08-31 Andreas Schwab <schwab@redhat.com>
46000
46001 [BZ #7066]
46002 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
46003 shifting retval into place.
46004
2f3e3dc7
UD
460052010-09-01 Ulrich Drepper <drepper@redhat.com>
46006
f2933da9
UD
46007 * nis/rpcsvc/nis.h: Update copyright notice.
46008 * nis/rpcsvc/nis.x: Likewise.
46009 * nis/rpcsvc/nis_callback.h: Likewise.
46010 * nis/rpcsvc/nis_callback.x: Likewise.
46011 * nis/rpcsvc/nis_object.x: Likewise.
46012 * nis/rpcsvc/nis_tags.h: Likewise.
46013 * nis/rpcsvc/yp.h: Likewise.
46014 * nis/rpcsvc/yp.x: Likewise.
46015 * nis/rpcsvc/ypupd.h: Likewise.
46016 * nis/yp_xdr.c: Likewise.
46017 * nis/ypupdate_xdr.c: Likewise.
46018
2f3e3dc7
UD
46019 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
46020 mainly the body of pmap_getport. Add parameters to specify timeouts.
46021 (pmap_getport): Use __libc_rpc_getport.
46022 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46023 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46024 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46025
f3dcc2f9
AS
460262010-08-31 Andreas Schwab <schwab@linux-m68k.org>
46027
46028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46029 fanotify_mark.
46030
6d34eb5b
RM
460312010-08-27 Roland McGrath <roland@redhat.com>
46032
46033 * sysdeps/i386/i686/multiarch/Makefile
46034 (CFLAGS-varshift.c): New variable.
46035
9ea3de11
UD
460362010-08-27 Ulrich Drepper <drepper@redhat.com>
46037
c96d23fc
UD
46038 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46039 * sysdeps/i386/i686/multiarch/varshift.c: New file.
46040
9ea3de11
UD
46041 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46042
46043 * sysdeps/x86_64/strlen.S: Minimal code improvement.
46044
623aac7f
L
460452010-08-26 H.J. Lu <hongjiu.lu@intel.com>
46046
46047 * sysdeps/x86_64/strlen.S: Unroll the loop.
46048 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46049 strlen-sse2 strlen-sse2-bsf.
46050 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46051 __strlen_no_bsf if bit_Slow_BSF is set.
46052 (__strlen_sse42): Removed.
46053 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46054 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46055
8b2b7715
RM
460562010-08-25 Roland McGrath <roland@redhat.com>
46057
46058 * sysdeps/x86_64/multiarch/varshift.S: File removed.
46059 * sysdeps/x86_64/multiarch/varshift.c: New file.
46060 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46061 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46062 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46063 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46064
e73015f2
L
460652010-08-25 H.J. Lu <hongjiu.lu@intel.com>
46066
46067 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46068 strlen-sse2 strlen-sse2-bsf.
46069 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46070 __strlen_sse2_bsf if bit_Slow_BSF is unset.
46071 (__strlen_sse2): Removed.
46072 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46073 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46074 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46075 bit_Slow_BSF for Atom.
46076 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46077 (index_Slow_BSF): Define.
46078 (HAS_SLOW_BSF): Define.
46079
df24a73e
UD
460802010-08-25 Ulrich Drepper <drepper@redhat.com>
46081
46082 [BZ #10851]
46083 * resolv/res_init.c (__res_vinit): When no server address at all
46084 is given default to loopback.
46085
f2ac4868
RM
460862010-08-24 Roland McGrath <roland@redhat.com>
46087
09055553
RM
46088 * configure.in: Remove config-name.h generation.
46089 * configure: Regenerated.
46090 * config-name.in: File removed.
46091 * scripts/config-uname.sh: New file.
46092 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46093 ($(objdir)config-name.h): New target.
46094
f2ac4868
RM
46095 * sunrpc/rpc_parse.h: Avoid nested comment.
46096
73f27d5e
RH
460972010-08-24 Richard Henderson <rth@redhat.com>
46098 Ulrich Drepper <drepper@redhat.com>
46099 H.J. Lu <hongjiu.lu@intel.com>
46100
46101 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46102 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46103 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46104 Replace _mm_srli_si128 with __m128i_shift_right. Replace
46105 _mm_alignr_epi8 with _mm_loadu_si128.
46106 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46107 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46108 (__m128i_shift_right): Removed.
46109 * sysdeps/i386/i686/multiarch/varshift.h: New file.
46110 * sysdeps/i386/i686/multiarch/varshift.S: New file.
46111 * sysdeps/x86_64/multiarch/varshift.h: New file.
46112 * sysdeps/x86_64/multiarch/varshift.S: New file.
46113
84b9230c
MF
461142010-08-21 Mike Frysinger <vapier@gentoo.org>
46115
46116 * configure.in: Move assembler checks to before sysdep dir checking.
46117
9bbd0ddc
PB
461182010-08-20 Petr Baudis <pasky@suse.cz>
46119
46120 * LICENSES: Sync the sunrpc license.
46121
9da4bb31
UD
461222010-08-19 Ulrich Drepper <drepper@redhat.com>
46123
a7ab6ec8
UD
46124 * sunrpc/auth_des.c: Update copyright notice once again.
46125 * sunrpc/auth_none.c: Likewise.
46126 * sunrpc/auth_unix.c: Likewise.
46127 * sunrpc/authdes_prot.c: Likewise.
46128 * sunrpc/authuxprot.c: Likewise.
46129 * sunrpc/bindrsvprt.c: Likewise.
46130 * sunrpc/clnt_gen.c: Likewise.
46131 * sunrpc/clnt_perr.c: Likewise.
46132 * sunrpc/clnt_raw.c: Likewise.
46133 * sunrpc/clnt_simp.c: Likewise.
46134 * sunrpc/clnt_tcp.c: Likewise.
46135 * sunrpc/clnt_udp.c: Likewise.
46136 * sunrpc/clnt_unix.c: Likewise.
46137 * sunrpc/des_crypt.c: Likewise.
46138 * sunrpc/des_soft.c: Likewise.
46139 * sunrpc/get_myaddr.c: Likewise.
46140 * sunrpc/getrpcport.c: Likewise.
46141 * sunrpc/key_call.c: Likewise.
46142 * sunrpc/key_prot.c: Likewise.
46143 * sunrpc/openchild.c: Likewise.
46144 * sunrpc/pm_getmaps.c: Likewise.
46145 * sunrpc/pm_getport.c: Likewise.
46146 * sunrpc/pmap_clnt.c: Likewise.
46147 * sunrpc/pmap_prot.c: Likewise.
46148 * sunrpc/pmap_prot2.c: Likewise.
46149 * sunrpc/pmap_rmt.c: Likewise.
46150 * sunrpc/rpc/auth.h: Likewise.
46151 * sunrpc/rpc/auth_unix.h: Likewise.
46152 * sunrpc/rpc/clnt.h: Likewise.
46153 * sunrpc/rpc/des_crypt.h: Likewise.
46154 * sunrpc/rpc/key_prot.h: Likewise.
46155 * sunrpc/rpc/netdb.h: Likewise.
46156 * sunrpc/rpc/pmap_clnt.h: Likewise.
46157 * sunrpc/rpc/pmap_prot.h: Likewise.
46158 * sunrpc/rpc/pmap_rmt.h: Likewise.
46159 * sunrpc/rpc/rpc.h: Likewise.
46160 * sunrpc/rpc/rpc_des.h: Likewise.
46161 * sunrpc/rpc/rpc_msg.h: Likewise.
46162 * sunrpc/rpc/svc.h: Likewise.
46163 * sunrpc/rpc/svc_auth.h: Likewise.
46164 * sunrpc/rpc/types.h: Likewise.
46165 * sunrpc/rpc/xdr.h: Likewise.
46166 * sunrpc/rpc_clntout.c: Likewise.
46167 * sunrpc/rpc_cmsg.c: Likewise.
46168 * sunrpc/rpc_common.c: Likewise.
46169 * sunrpc/rpc_cout.c: Likewise.
46170 * sunrpc/rpc_dtable.c: Likewise.
46171 * sunrpc/rpc_hout.c: Likewise.
46172 * sunrpc/rpc_main.c: Likewise.
46173 * sunrpc/rpc_parse.c: Likewise.
46174 * sunrpc/rpc_parse.h: Likewise.
46175 * sunrpc/rpc_prot.c: Likewise.
46176 * sunrpc/rpc_sample.c: Likewise.
46177 * sunrpc/rpc_scan.c: Likewise.
46178 * sunrpc/rpc_scan.h: Likewise.
46179 * sunrpc/rpc_svcout.c: Likewise.
46180 * sunrpc/rpc_tblout.c: Likewise.
46181 * sunrpc/rpc_util.c: Likewise.
46182 * sunrpc/rpc_util.h: Likewise.
46183 * sunrpc/rpcinfo.c: Likewise.
46184 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46185 * sunrpc/rpcsvc/key_prot.x: Likewise.
46186 * sunrpc/rpcsvc/klm_prot.x: Likewise.
46187 * sunrpc/rpcsvc/mount.x: Likewise.
46188 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46189 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46190 * sunrpc/rpcsvc/rex.x: Likewise.
46191 * sunrpc/rpcsvc/rstat.x: Likewise.
46192 * sunrpc/rpcsvc/rusers.x: Likewise.
46193 * sunrpc/rpcsvc/sm_inter.x: Likewise.
46194 * sunrpc/rpcsvc/spray.x: Likewise.
46195 * sunrpc/rpcsvc/yppasswd.x: Likewise.
46196 * sunrpc/rtime.c: Likewise.
46197 * sunrpc/svc.c: Likewise.
46198 * sunrpc/svc_auth.c: Likewise.
46199 * sunrpc/svc_authux.c: Likewise.
46200 * sunrpc/svc_raw.c: Likewise.
46201 * sunrpc/svc_run.c: Likewise.
46202 * sunrpc/svc_simple.c: Likewise.
46203 * sunrpc/svc_tcp.c: Likewise.
46204 * sunrpc/svc_udp.c: Likewise.
46205 * sunrpc/svc_unix.c: Likewise.
46206 * sunrpc/svcauth_des.c: Likewise.
46207 * sunrpc/xcrypt.c: Likewise.
46208 * sunrpc/xdr.c: Likewise.
46209 * sunrpc/xdr_array.c: Likewise.
46210 * sunrpc/xdr_float.c: Likewise.
46211 * sunrpc/xdr_mem.c: Likewise.
46212 * sunrpc/xdr_rec.c: Likewise.
46213 * sunrpc/xdr_ref.c: Likewise.
46214 * sunrpc/xdr_sizeof.c: Likewise.
46215 * sunrpc/xdr_stdio.c: Likewise.
46216
9da4bb31
UD
46217 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46218 handling.
46219
bdaa77bc
AS
462202010-08-19 Andreas Schwab <schwab@redhat.com>
46221
46222 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46223
fe2f79db
LM
462242010-08-19 Luis Machado <luisgpm@br.ibm.com>
46225
46226 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46227 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46228 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46229 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46230 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46231 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46232 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46233 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46234 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46235 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46236 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46237 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46238 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46239 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46240
b9b42ee0
AB
462412010-07-26 Anton Blanchard <anton@samba.org>
46242
46243 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46244 * malloc/arena.c (heap_trim): Likewise.
46245
1c06ba31
UD
462462010-08-16 Ulrich Drepper <drepper@redhat.com>
46247
46248 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46249 here. Not...
46250 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46251 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46252
f8392f40
L
462532010-08-12 H.J. Lu <hongjiu.lu@intel.com>
46254
46255 * sysdeps/i386/elf/Makefile: New file.
46256
3162f12e
AS
462572010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46258
46259 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46260 from fanotify_init.
46261 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46262 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46263
28c90b2c
UD
462642010-08-15 Ulrich Drepper <drepper@redhat.com>
46265
46266 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46267 of strncasecmp_l.
1feccb6c 46268 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 46269
ca6bb004
UD
462702010-08-14 Ulrich Drepper <drepper@redhat.com>
46271
e9f82e0d
UD
46272 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46273 strncase_l-nonascii.
46274 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46275 Add strncase_l-ssse3.
46276 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46277 * sysdeps/x86_64/strcmp.S: Likewise.
46278 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46279 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46280 * sysdeps/x86_64/strncase.S: New file.
46281 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46282 * sysdeps/x86_64/strncase_l.S: New file.
46283 * string/Makefile (strop-tests): Add strncasecmp.
46284 * string/test-strncasecmp.c: New file.
46285
46286 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46287 warning.
46288
ca6bb004
UD
46289 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46290 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46291
052fa7b3
AS
462922010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46293
46294 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46295
962dba78
UD
462962010-08-12 Ulrich Drepper <drepper@redhat.com>
46297
46298 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46299 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46300 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46301
bebff237
AM
463022010-05-01 Alan Modra <amodra@gmail.com>
46303
46304 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46305 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46306 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46307 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46308 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46309 tidying. Don't tail-call __sigjmp_save for static lib.
46310 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46311 save location.
46312 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46313 (CALL_MCOUNT): Add eh info, and nop after bl.
46314 (TAIL_CALL_SYSCALL_ERROR): New macro.
46315 (PSEUDO_RET): Use it.
46316 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46317 Correct save location of integer regs and cr.
46318 (_dl_profile_resolve): Correct cr save location. Delete nops
46319 after bl when SHARED. Reduce cfi size a little by better
46320 placement of cfi directives.
46321 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46322 make a stack frame. Instead use parm save area as a temp.
46323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46324 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
46325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46326 Don't make a stack frame for parent, use parm save area.
46327 Increase child stack frame to 112 bytes. Don't save unused reg,
46328 and adjust reg usage. Set up cfi on error recovery and
46329 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46331 (__makecontext): Add dummy nop after jump to exit.
46332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46333 Use correct parm save area and cr save, reduce stack frame.
46334 Correct cfi for possible PSEUDO_RET frame setup.
46335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46336 Branch to local label emitted by PSEUDO_RET rather than
46337 __syscall_error.
46338
02637374
AS
463392010-08-12 Andreas Schwab <schwab@redhat.com>
46340
46341 [BZ #11904]
46342 * locale/programs/locale.c (print_assignment): New function.
46343 (show_locale_vars): Use it.
46344
c3e2f19b
UD
463452010-08-11 Ulrich Drepper <drepper@redhat.com>
46346
3cdaa6ad
UD
46347 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46348 field.
46349 (struct statfs64): Likewise.
46350 (_STATFS_F_FLAGS): Define.
46351 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46352 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46353 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46354 (ST_VALID): Define locally.
46355 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46356 __statvfs_getflags, use the provided value.
46357 * sysdeps/unix/sysv/linux/kernel-features.h: Define
46358 __ASSUME_STATFS_F_FLAGS.
46359
754f7da3
UD
46360 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46361
10b3bedc
UD
46362 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46363 Add sys/fanotify.h.
46364 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46365 fanotify_mask for GLIBC_2.13.
46366 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46367 fanotify_init and fanotify_mark.
46368 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46369 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46370
c08fb0d7
UD
46371 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46372 Add prlimit.
46373 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46374 prlimit64 for GLIBC_2.13.
46375 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46376 prlimit64.
46377 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46378 syscall.
46379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46380 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46381 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46382 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46383 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
46384 add prlimit alias.
46385 * sysdeps/unix/sysv/linux/prlimit.c: New file.
46386
15bac72b
UD
46387 [BZ #11903]
46388 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46389 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46390
c3e2f19b
UD
46391 * nss/Makefile: Add rules to build and run tst-nss-test1.
46392 * shlib-versions: Add entry for libnss_test1.
46393 * nss/nss_test1.c: New file.
46394 * nss/tst-nss-test1.c: New file.
46395
46396 * nss/nsswitch.c (__nss_database_custom): Define new variable.
46397 (__nss_configure_lookup): Set appropriate entry in
46398 __nss_configure_lookup to true.
46399 * nss/nsswitch.h: Define enum with indeces of databases in
46400 databases and __nss_database_custom arrays. Declare
46401 __nss_database_custom.
46402 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46403 to avoid using nscd when custom rules are installed.
46404 * nss/getXXbyYY_r.c: Likewise.
46405 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46406
46407 * nss/nss_files/files-parse.c: Whitespace fixes.
46408
f15ce4d8
UD
464092010-08-09 Ulrich Drepper <drepper@redhat.com>
46410
46411 [BZ #11883]
46412 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46413 * posix/fnmatch_loop.c: Likewise.
46414
d22e4cc9
AK
464152010-07-17 Andi Kleen <ak@linux.intel.com>
46416
46417 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46418 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46419 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46420 * Versions.def [GLIBC_2.13]: Add.
46421
805bc17d
UD
464222010-08-06 Ulrich Drepper <drepper@redhat.com>
46423
46424 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46425 Also fail if tpwd after pwuid call is NULL.
46426
5a42321d
ST
464272010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
46428
46429 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46430 when converting to ms.
46431
fd3ebeda
ST
464322010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46433
46434 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46435 EOPNOTSUPP errors with ENOTTY.
46436 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46437 EOPNOTSUPP errors with ENOTTY.
46438
73507d3a
UD
464392010-07-31 Ulrich Drepper <drepper@redhat.com>
46440
46441 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46442 Add strcasecmp_l-ssse3.
46443 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46444 strcasecmp.
46445 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46446 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46447 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46448
fe36dd02
UD
464492010-07-30 Ulrich Drepper <drepper@redhat.com>
46450
66f6765a
UD
46451 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46452
42e08a54
UD
46453 * string/Makefile (strop-tests): Add strcasecmp.
46454 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46455 strcasecmp_l-nonascii.
46456 (gen-as-const-headers): Add locale-defines.sym.
46457 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46458 * sysdeps/x86_64/strcasecmp.S: New file.
46459 * sysdeps/x86_64/strcasecmp_l.S: New file.
46460 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46461 * sysdeps/x86_64/locale-defines.sym: New file.
46462 * string/test-strcasecmp.c: New file.
46463
fe36dd02
UD
46464 * string/test-strcasestr.c: Test both ends of the range of characters.
46465 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46466
48cbc0d6
RM
464672010-07-29 Roland McGrath <roland@redhat.com>
46468
76e6d6bc 46469 [BZ #11856]
48cbc0d6
RM
46470 * manual/locale.texi (Yes-or-No Questions): Fix example code.
46471
880113d9
UD
464722010-07-27 Ulrich Drepper <drepper@redhat.com>
46473
46474 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46475 for ld.so.
46476
deb9cabb
AS
464772010-07-27 Andreas Schwab <schwab@redhat.com>
46478
46479 * manual/memory.texi (Malloc Tunable Parameters): Document
46480 M_PERTURB.
46481
1c7570ff
RM
464822010-07-26 Roland McGrath <roland@redhat.com>
46483
46484 [BZ #11840]
46485 * configure.in (-fgnu89-inline check): Set and substitute
46486 gnu89_inline, not libc_cv_gnu89_inline.
46487 * configure: Regenerated.
46488 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46489
24fb0f88
UD
464902010-07-26 Ulrich Drepper <drepper@redhat.com>
46491
46492 * string/test-strnlen.c: New file.
46493 * string/Makefile (strop-tests): Add strnlen.
46494 * string/tester.c (test_strnlen): Add a few more test cases.
46495 * string/tst-strlen.c: Better error reporting.
46496
46497 * sysdeps/x86_64/strnlen.S: New file.
46498
8e96b93a
UD
464992010-07-24 Ulrich Drepper <drepper@redhat.com>
46500
46501 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46502 lower-latency instructions.
46503
dbc676d4
UD
465042010-07-23 Ulrich Drepper <drepper@redhat.com>
46505
46506 * string/test-strcasestr.c: New file.
46507 * string/test-strstr.c: New file.
46508 * string/Makefile (strop-tests): Add strstr and strcasestr.
46509 * string/str-two-way.h: Don't undefine MAX.
46510 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46511
f6a31e0e
AS
465122010-07-21 Andreas Schwab <schwab@redhat.com>
46513
46514 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46515 strcasestr-nonascii.
46516 (CFLAGS-strcasestr-nonascii.c): Define.
46517 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46518 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46519 Remove unused attribute.
46520
5dbc3b6c
RM
465212010-07-20 Roland McGrath <roland@redhat.com>
46522
46523 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46524 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
46525 ld.so.cache was broken. With it, there is no way to disable dsocaps
46526 like LD_HWCAP_MASK can disable hwcaps.
46527
23d101d8
EPM
465282010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46529
46530 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46531
cc9f2e47
UD
465322010-07-16 Ulrich Drepper <drepper@redhat.com>
46533
46534 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46535 call in strcasestr.
46536 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46537 __strcasestr_sse42_nonascii.
46538 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46539 strcasestr-nonascii.c.
46540 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46541
77c1b069
LM
465422010-06-15 Luis Machado <luisgpm@br.ibm.com>
46543
46544 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46545 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46546 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46547 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46548
440566c3
UD
465492010-07-09 Ulrich Drepper <drepper@redhat.com>
46550
46551 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46552 fcntl.
46553
5be9d05d
AS
465542010-07-06 Andreas Schwab <schwab@redhat.com>
46555
c30b7ee2 46556 [BZ #11577]
5be9d05d
AS
46557 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46558 dl_signal_cerror.
46559
8a492a67
UD
465602010-07-06 Ulrich Drepper <drepper@redhat.com>
46561
46562 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46563 _PC_PIPE_BUF using F_GETPIPE_SZ.
46564
713df3d5
RM
465652010-07-05 Roland McGrath <roland@redhat.com>
46566
46567 * manual/arith.texi (Rounding Functions): Fix rint description
46568 implicit in round description.
46569
702e8f14
UD
465702010-07-02 Ulrich Drepper <drepper@redhat.com>
46571
46572 * elf/Makefile: Fix linking for a few tests to make recent linker
46573 happy.
46574
52ed8be9
AS
465752010-06-30 Andreas Schwab <schwab@redhat.com>
46576
46577 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46578 $(common-objpfx)libc_nonshared.a.
46579
f47c9a11
LM
465802010-06-21 Luis Machado <luisgpm@br.ibm.com>
46581
46582 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46583 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46584 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46585 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46586 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46587 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46588 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46589 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46604 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46605 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46606 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46607 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46608 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46609 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46610 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46611 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46612 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46613 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46614 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46615 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46630
6fb8cbcb
L
466312010-06-25 H.J. Lu <hongjiu.lu@intel.com>
46632
46633 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46634 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
46635 * string/memmove.c (memmove): Renamed to ...
46636 (MEMMOVE): ...this. Default to memmove.
46637 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46638 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46639 (END_CHK): Define.
46640 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46641 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46642 mempcpy-ssse3-back memmove-ssse3-back.
46643 * sysdeps/x86_64/multiarch/bcopy.S: New file .
46644 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46645 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46646 * sysdeps/x86_64/multiarch/memcpy.S: New file.
46647 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46648 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46649 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46650 * sysdeps/x86_64/multiarch/memmove.c: New file.
46651 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46652 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46653 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46654 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46655 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46656 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46657 Define.
46658 (index_Fast_Copy_Backward): Define.
46659 (HAS_ARCH_FEATURE): Define.
46660 (HAS_FAST_REP_STRING): Define.
46661 (HAS_FAST_COPY_BACKWARD): Define.
46662
4e733bac 466632010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
46664
46665 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46666 Restore proper fallback handling.
46667
63c4ed22
UD
466682010-06-19 Ulrich Drepper <drepper@redhat.com>
46669
ac2b484c
UD
46670 [BZ #11701]
46671 * posix/group_member.c (__group_member): Correct checking loop.
46672
63c4ed22
UD
46673 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46674 OOM in getpwuid_r correctly. Return error number when the caller
46675 should return, otherwise -1.
46676 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46677 call returning > 0 value.
46678 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46679
765ade4b
AS
466802010-06-07 Andreas Schwab <schwab@redhat.com>
46681
46682 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46683 libc_nonshared.a from targets in modules-names.
46684
80da2e09
KS
466852010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
46686
46687 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46688 requires it.
46689
158db122
LM
466902010-06-10 Luis Machado <luisgpm@br.ibm.com>
46691
46692 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46693 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46694 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46695 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46696
caa78cf8
AS
466972010-06-02 Andreas Schwab <schwab@redhat.com>
46698
46699 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46700
b2ef2c01
UD
467012010-06-14 Ulrich Drepper <drepper@redhat.com>
46702
46703 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46704 and F_GETPIPE_SZ.
46705 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46706 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46707 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46708 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46709 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46710 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46711
fbd643b6
RM
467122010-06-14 Roland McGrath <roland@redhat.com>
46713
46714 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46715
f32f2869
JJ
467162010-06-07 Jakub Jelinek <jakub@redhat.com>
46717
46718 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46719 __REDIRECT followed by __THROW.
46720 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46721 * posix/getopt.h (getopt): Likewise.
46722
2a50c078
EPM
467232010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46724
46725 * hurd/lookup-at.c (__file_name_lookup_at): Accept
46726 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
46727 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46728 in AT_FLAGS.
46729 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46730 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46731
eb5ad2eb
LM
467322010-05-28 Luis Machado <luisgpm@br.ibm.com>
46733
46734 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46735
3c88fe1e
L
467362010-05-26 H.J. Lu <hongjiu.lu@intel.com>
46737
46738 [BZ #11640]
46739 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46740 Properly check family and model.
46741
d2f73151
TY
467422010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
46743
46744 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46745
ebd2e13d
LM
467462010-05-24 Luis Machado <luisgpm@br.ibm.com>
46747
46748 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46749
b32b8b45
UD
467502010-05-21 Ulrich Drepper <drepper@redhat.com>
46751
46752 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46753 symbol reference.
46754
9acbe24d
AS
467552010-05-19 Andreas Schwab <schwab@redhat.com>
46756
46757 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46758 symbol reference.
46759
f0ccf6ea
AS
467602010-05-21 Andreas Schwab <schwab@redhat.com>
46761
3d04ff3a
AS
46762 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46763 and internal_recvmmsg.
46764 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46765 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46766 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46767 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46768
f0ccf6ea
AS
46769 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46770 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46771 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46772
5b08ac57
AS
467732010-05-20 Andreas Schwab <schwab@redhat.com>
46774
46775 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46776
4828935d
LM
467772010-05-17 Luis Machado <luisgpm@br.ibm.com>
46778
46779 POWER7 optimizations.
46780 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46781 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46782
373d545e
UD
467832010-05-19 Ulrich Drepper <drepper@redhat.com>
46784
46785 * version.h: Update for 2.13 development version.
46786
21a2b1ae
AS
467872010-05-12 Andrew Stubbs <ams@codesourcery.com>
46788
46789 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46790 exceptions. Return 0.
46791
3f7dcb2b
RM
467922010-05-07 Roland McGrath <roland@redhat.com>
46793
46794 * elf/ldconfig.c (main): Add a const.
46795
5f24d53a 467962010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 46797
a160f8d8
UD
46798 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46799 (args_options): Add no-idn option.
46800 (ahosts_keys_int): Add idn_flags to ai_flags.
46801 (parse_option): Handle 'i' option to clear idn_flags.
46802
5f24d53a
UD
46803 * malloc/malloc.c (_int_free): Possible race in the most recently
46804 added check. Only act on the data if no current modification
46805 happened.
265bb1ce
UD
46806
46807See ChangeLog.17 for earlier changes.