]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove some old cruft variables from configure.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
1c9f1a02
RM
12013-01-10 Roland McGrath <roland@hack.frob.com>
2
3 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4 never set.
5 * configure: Regenerated.
6
b9de2dde
DM
72013-01-10 David S. Miller <davem@davemloft.net>
8
9 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10 sparc V9 rather than using V8 code.
11 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13
e7f68ef4
RM
142013-01-10 Roland McGrath <roland@hack.frob.com>
15
16 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
17 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
18 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
20 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
21 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
23 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
27 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
28 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
29 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
30 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
31 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
33 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
34 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
35 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
36 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
37 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
38 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
39 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
40 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
41 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
42 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
43
5a47cc9c
DM
442013-01-10 David S. Miller <davem@davemloft.net>
45
46 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47
4cf8f209
L
482013-01-10 H.J. Lu <hongjiu.lu@intel.com>
49
50 * posix/Makefile (tests-static): New variable.
51 (tests): Add $(tests-static).
52 (tst-exec-static-ARGS): New variable.
53 (tst-spawn-static-ARGS): Likewise.
54 * posix/tst-exec-static.c: New file.
55 * posix/tst-spawn-static.c: Likewise.
56 * posix/tst-exec.c: Support run directly.
57 * posix/tst-spawn.c: Likewise.
58
fed0faa1
JM
592013-01-10 Joseph Myers <joseph@codesourcery.com>
60
828beb13
JM
61 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
62 long.
63 * math/bits/mathcalls.h (llrint): Likewise.
64 (llround): Likewise.
65 * stdlib/stdlib.h (struct drand48_data): Likewise.
66 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
67 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
68 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
69 Likewise.
70 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
71 Likewise.
72 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
73 (elf_greg_t): Likewise.
74 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
75 (__jmp_buf): Likewise.
76 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
77 definitions.
78 (llrint): Likewise, for all definitions.
79 (llrintl): Likewise.
80
fed0faa1
JM
81 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
82 Remove [__GNUC__] condition.
83 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
84 condition to just [__USE_ISOC99].
85 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
86
1a20cb20
L
872013-01-10 H.J. Lu <hongjiu.lu@intel.com>
88
89 [BZ #14200]
90 * sysdeps/unix/sysv/linux/x86/bits/environments.h
91 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
92 defined.
93 (_POSIX_V6_ILP32_OFF32): Likewise.
94 (_XBS5_ILP32_OFF32): Likewise.
95 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
96 (__ILP32_OFFBIG_LDFLAGS): Likewise.
97
751b85f7
SP
982013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
99
7490eb81
SP
100 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
101
751b85f7
SP
102 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
103 doubles __mpexp_twomm1. Adjust usage.
104 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
105 Remove.
106
988197f0
AS
1072013-01-10 Andreas Schwab <schwab@suse.de>
108
109 [BZ #14964]
110 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
111 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
112
e83d7298
DM
1132013-01-09 David S. Miller <davem@davemloft.net>
114
034ed64b 115 [BZ #15003]
e83d7298
DM
116 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
117 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
118 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
119 TCP_FASTOPEN): Define.
120 (tcp_repair_opt): New structure.
121 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
122 enum values.
123 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
124 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
125 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
126 (tcp_cookie_transactions): New structure.
127
d5e0b9bd
AB
1282013-01-09 Anton Blanchard <anton@samba.org>
129
130 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
131 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
132 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
133 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
134
0c07e3ea
JM
1352013-01-09 Joseph Myers <joseph@codesourcery.com>
136
137 * include/features.h (__USE_ANSI): Remove.
138
232f7002
RM
1392013-01-09 Roland McGrath <roland@hack.frob.com>
140
ad98e30c
RM
141 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
142
232f7002
RM
143 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
144
950c99ca
SP
1452013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
146
b5792741
SP
147 * sysdeps/s390/fpu/libm-test-ulps: Update.
148
47cf2278
SP
149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
150
950c99ca
SP
151 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
152 (__acr): Likewise.
153 (__cpy): Likewise.
154 (norm): Likewise.
155 (denorm): Likewise.
156 (__mp_dbl): Likewise.
157 (__dbl_mp): Likewise.
158 (add_magnitudes): Likewise.
159 (sub_magnitudes): Likewise.
160 (__add): Likewise.
161 (__sub): Likewise.
162 (__mul): Likewise.
163 (__inv): Likewise.
164 (__dvd): Likewise.
165 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
166 (__acr): Likewise.
167 (__cpy): Likewise.
168 (norm): Likewise.
169 (denorm): Likewise.
170 (__mp_dbl): Likewise.
171 (__dbl_mp): Likewise.
172 (add_magnitudes): Likewise.
173 (sub_magnitudes): Likewise.
174 (__add): Likewise.
175 (__sub): Likewise.
176 (__mul): Likewise.
177 (__inv): Likewise.
178 (__dvd): Likewise.
179 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
180 (__acr): Likewise.
181 (__cpy): Likewise.
182 (norm): Likewise.
183 (denorm): Likewise.
184 (__mp_dbl): Likewise.
185 (__dbl_mp): Likewise.
186 (add_magnitudes): Likewise.
187 (sub_magnitudes): Likewise.
188 (__add): Likewise.
189 (__sub): Likewise.
190 (__mul): Likewise.
191 (__inv): Likewise.
192 (__dvd): Likewise.
193
eede9df9
JM
1942013-01-08 Joseph Myers <joseph@codesourcery.com>
195
196 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
197 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
198 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
199 2 && __USE_EXTERN_INLINES]: Likewise.
200
c40ea3d9
AJ
2012013-01-08 Andreas Jaeger <aj@suse.de>
202
203 [BZ# 14985]
204 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
205 Remove.
206 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
207 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
208
2ccdea26
AB
2092013-01-07 Anton Blanchard <anton@samba.org>
210
211 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
212 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
213 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
214 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
215 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
216 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
217 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
218 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
219 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
220 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
221 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
222 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
223 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
224 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
225 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
226 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
227 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
228 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
229 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
230 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
231 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
232 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
233 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
234 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
235 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
236 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
237 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
238 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
239 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
240 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
241 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
242 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
243 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
244 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
245 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
246 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
247 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
248 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
249 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
250 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
251 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
252 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
253 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
254
a9708fed
JM
2552013-01-07 Joseph Myers <joseph@codesourcery.com>
256
375607b9
JM
257 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
258 (__MALLOC_PMT): Likewise.
259 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
260 [__GNUC__], only on [_LIBC].
261 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
262 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
263 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
264 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
265 forward declaration.
266 (realloc_hook_ini): Likewise.
267 (memalign_hook_ini): Likewise.
268 (__libc_memalign): Do not use __MALLOC_PMT in variable
269 declaration.
270 (__libc_valloc): Likewise.
271 (__libc_pvalloc): Likewise.
272 (__libc_calloc): Likewise.
273 (__posix_memalign): Likewise.
274
a9708fed
JM
275 [BZ #14996]
276 * math/s_casinh.c: Include <float.h>.
277 (__casinh): Do not do computation with squaring and square root
278 for large arguments.
279 * math/s_casinhf.c: Include <float.h>.
280 (__casinhf): Do not do computation with squaring and square root
281 for large arguments.
282 * math/s_casinhl.c: Include <float.h>.
283 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
284 (__casinhl): Do not do computation with squaring and square root
285 for large arguments.
286 * math/libm-test.inc (casin_test): Add more tests.
287 (casinh_test): Likewise.
288 * sysdeps/i386/fpu/libm-test-ulps: Update.
289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
290
afec409a
L
2912013-01-04 H.J. Lu <hongjiu.lu@intel.com>
292
293 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
294 (__x86_64_raw_data_cache_size): Likewise.
295 (__x86_64_data_cache_size_half): Likewise.
296 (__x86_64_raw_data_cache_size_half): Likewise.
297 (__x86_64_shared_cache_size): Likewise.
298 (__x86_64_raw_shared_cache_size): Likewise.
299 (__x86_64_shared_cache_size_half): Likewise.
300 (__x86_64_raw_shared_cache_size_half): Likewise.
301 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
302 to ...
303 (__x86_data_cache_size): This.
304 (__x86_64_raw_data_cache_size): Renamed to ...
305 (__x86_raw_data_cache_size): This.
306 (__x86_64_data_cache_size_half): Renamed to ...
307 (__x86_data_cache_size_half): This.
308 (__x86_64_raw_data_cache_size_half): Renamed to ...
309 (__x86_raw_data_cache_size_half): This.
310 (__x86_64_shared_cache_size): Renamed to ...
311 (__x86_shared_cache_size): This.
312 (__x86_64_raw_shared_cache_size): Renamed to ...
313 (__x86_raw_shared_cache_size): This.
314 (__x86_64_shared_cache_size_half): Renamed to ...
315 (__x86_shared_cache_size_half): This.
316 (__x86_64_raw_shared_cache_size_half): Renamed to ...
317 (__x86_raw_shared_cache_size_half): This.
318 * sysdeps/x86_64/memcpy.S: Updated.
319 * sysdeps/x86_64/memset.S: Likewise.
320 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
321 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
322 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
323
0b3986d0
DM
3242013-01-04 David S. Miller <davem@davemloft.net>
325
326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
327
e47686e9
AS
3282013-01-04 Andreas Schwab <schwab@linux-m68k.org>
329
d643bac1
AS
330 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
331 1 to avoid redefinition warning.
332 (__USE_GNU): Don't define.
333 (init_signaling_nan): Protoize.
334
e47686e9
AS
335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
336
b18decba
SP
3372013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
338
fffb407f
SP
339 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
340 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
341 (__cpymn): Likewise.
342 (norm): Remove commented code.
343 (denorm): Likewise.
344 (__mp_dbl): Likewise.
345 (__inv): Likewise.
346 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
347 (__cpymn): Likewise.
348 (norm): Remove commented code.
349 (denorm): Likewise.
350 (__mp_dbl): Likewise.
351 (__inv): Likewise.
352
b18decba
SP
353 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
354 mp_no value for 1.0 and 2.0.
355 (norm): Use RADIXI instead of radixi.d.
356 (denorm): Likewise.
357 (__mul): Use 0.0 instead of zero.d.
358 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
359 mp_no value for 1.0 and 2.0.
360 (norm): Use RADIXI instead of radixi.d.
361 (denorm): Likewise.
362 (__mul): Use 0.0 instead of zero.d.
363
cdc1c96f
JM
3642013-01-04 Joseph Myers <joseph@codesourcery.com>
365
366 [BZ #14994]
367 * math/s_casinh.c (__casinh): Reduce finite argument to first
368 quadrant then set signs of results at the end.
369 * math/s_casinhf.c (__casinhf): Likewise.
370 * math/s_casinhl.c (__casinhl): Likewise.
371 * math/libm-test.inc (casin_test): Add more tests.
372 (casinh_test): Likewise.
373 * sysdeps/i386/fpu/libm-test-ulps: Update.
374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
375
302913e1
SP
3762013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
377
6420d207
SP
378 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
379
a9e48ab4
SP
380 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
381
b7837264
SP
382 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
383 declarations.
384 (denorm): Likewise.
385 (__mp_dbl): Likewise.
386 (__inv): Likewise.
387
f8af25d2
SP
388 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
389 and adjust the header comment.
390
302913e1
SP
391 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
392 variable name from declaration.
393
5d7dd1ca
L
3942013-01-03 H.J. Lu <hongjiu.lu@intel.com>
395
396 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
397 Initialize COMMON_CPUID_INDEX_7 element.
398 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
399 (CPUID_RTM): Likewise.
400 (HAS_RTM): Likewise.
401 (COMMON_CPUID_INDEX_7): New enum.
402
2f5f40f4
AS
4032013-01-03 Andreas Schwab <schwab@linux-m68k.org>
404
405 [BZ #14981]
406 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
407 size is zero, record memory as freed.
408
4056f4a0
AJ
4092013-01-03 Andreas Jaeger <aj@suse.de>
410
411 * po/ia.po: Add new Interlingua translation.
412
ab15736f 4132012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
414
415 * locale/programs/localedef.c: Fix description of '--posix' flag.
416
568035b7
JM
4172013-01-02 Joseph Myers <joseph@codesourcery.com>
418
e6898b8d
JM
419 * NEWS: Update dates in second copyright notice.
420 * README: Update copyright dates in example.
421 * manual/libc.texinfo: Update copyright dates.
422 * scripts/test-installation.pl: Update copyright date in --version
423 output.
424
0e2f9562
JM
425 * hurd/ctty-input.c: Fix copyright notice formatting.
426 * hurd/ctty-output.c: Likewise.
427 * hurd/dtable.c: Likewise.
428 * hurd/hurd-raise.c: Likewise.
429 * hurd/hurdprio.c: Likewise.
430 * hurd/msgportdemux.c: Likewise.
431 * misc/sys/file.h: Likewise.
432 * misc/sys/ioctl.h: Likewise.
433 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
434 * sysdeps/mach/hurd/chdir.c: Likewise.
435 * sysdeps/mach/hurd/fchdir.c: Likewise.
436 * sysdeps/mach/hurd/rename.c: Likewise.
437 * sysdeps/mach/hurd/rmdir.c: Likewise.
438 * sysdeps/mach/hurd/seekdir.c: Likewise.
439 * sysdeps/mach/hurd/setsid.c: Likewise.
440 * sysdeps/posix/wait3.c: Likewise.
441
568035b7
JM
442 * All files with FSF copyright notices: Update copyright dates
443 using scripts/update-copyrights.
444 * intl/plural.c: Regenerated.
445 * locale/programs/charmap-kw.h: Likewise.
446 * locale/programs/locfile-kw.h: Likewise.
447
da08f647
SP
4482013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
449
0f5477af
SP
450 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
451 four values.
452
44e0d4c2
SP
453 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
454 calculation loop and add branch prediction.
455
4d55b4e5
SP
456 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
457 check access beyond bounds of m1np.
458
da08f647
SP
459 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
460 MPTWO.
461 (__inv): Remove local variable MPTWO to use the global
462 constant.
463 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
464 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
465 variable MPTWO.
466 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
467 MP3HALFS static const.
468
8e051029
DM
4692013-01-01 David S. Miller <davem@davemloft.net>
470
471 * po/ca.po: Update from translation team.
472
f4cf5f2d
JM
4732013-01-01 Joseph Myers <joseph@codesourcery.com>
474
475 * scripts/update-copyrights: New file.
476 * Makeconfig: Reformat copyright notice.
477 * ctype/ctype.h: Likewise.
478 * debug/swprintf_chk.c: Likewise.
479 * elf/dl-cache.c: Likewise.
480 * elf/dl-debug.c: Likewise.
481 * elf/dl-object.c: Likewise.
482 * grp/initgroups.c: Likewise.
483 * hurd/Makefile: Likewise.
484 * hurd/hurd/signal.h: Likewise.
485 * hurd/hurdfault.c: Likewise.
486 * hurd/hurdioctl.c: Likewise.
487 * hurd/hurdlookup.c: Likewise.
488 * hurd/intr-msg.c: Likewise.
489 * iconv/gconv_open.c: Likewise.
490 * libio/swprintf.c: Likewise.
491 * locale/lc-ctype.c: Likewise.
492 * locale/nl_langinfo.c: Likewise.
493 * mach/Machrules: Likewise.
494 * mach/Makefile: Likewise.
495 * malloc/obstack.h: Likewise.
496 * manual/Makefile: Likewise.
497 * manual/tsort.awk: Likewise.
498 * misc/bits/stab.def: Likewise.
499 * nis/nis_print_group_entry.c: Likewise.
500 * nis/nis_table.c: Likewise.
501 * nis/nss_compat/compat-pwd.c: Likewise.
502 * nis/nss_compat/compat-spwd.c: Likewise.
503 * po/Makefile: Likewise.
504 * posix/fnmatch.c: Likewise.
505 * posix/regex.h: Likewise.
506 * resolv/Makefile: Likewise.
507 * resolv/nss_dns/dns-network.c: Likewise.
508 * resolv/res_hconf.c: Likewise.
509 * scripts/gen-sorted.awk: Likewise.
510 * soft-fp/soft-fp.h: Likewise.
511 * stdio-common/printf.h: Likewise.
512 * stdlib/monetary.h: Likewise.
513 * stdlib/random.c: Likewise.
514 * stdlib/random_r.c: Likewise.
515 * sysdeps/generic/Makefile: Likewise.
516 * sysdeps/gnu/Makefile: Likewise.
517 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
518 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
519 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
520 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
521 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
522 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
523 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
524 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
525 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
526 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
527 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
528 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
529 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
530 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
531 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
532 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
533 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
534 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
535 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
536 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
537 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
538 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
539 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
540 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
541 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
542 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
543 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
544 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
545 * sysdeps/mach/hurd/errnos.awk: Likewise.
546 * sysdeps/mach/hurd/fork.c: Likewise.
547 * sysdeps/mach/hurd/getcwd.c: Likewise.
548 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
549 * sysdeps/mach/hurd/mmap.c: Likewise.
550 * sysdeps/mach/hurd/utimes.c: Likewise.
551 * sysdeps/mach/hurd/xmknod.c: Likewise.
552 * sysdeps/posix/profil.c: Likewise.
553 * sysdeps/posix/readdir_r.c: Likewise.
554 * sysdeps/powerpc/bits/mathdef.h: Likewise.
555 * sysdeps/powerpc/bits/setjmp.h: Likewise.
556 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
557 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
558 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
559 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
560 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
561 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
562 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
563 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
564 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
565 * sysdeps/pthread/lio_listio.c: Likewise.
566 * sysdeps/sparc/dl-procinfo.h: Likewise.
567 * sysdeps/unix/i386/sysdep.S: Likewise.
568 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
569 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
570 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
571 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
573 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
574 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
575 * sysdeps/unix/sysv/linux/speed.c: Likewise.
576 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
577 * sysdeps/wordsize-32/divdi3.c: Likewise.
578 * time/sys/time.h: Likewise.
579 * wcsmbs/Makefile: Likewise.
580
0549fbba
DM
5812013-01-01 David S. Miller <davem@davemloft.net>
582
a141f1a7
DM
583 * po/fr.po: Update from translation team.
584
0549fbba
DM
585 * catgets/gencat.c: Update copyright year.
586 * csu/version.c: Likewise.
587 * debug/catchsegv.sh: Likewise.
588 * debug/pcprofiledump.c: Likewise.
589 * debug/xtrace.sh: Likewise.
590 * elf/ldconfig.c: Likewise.
591 * elf/ldd.bash.in: Likewise.
592 * elf/pldd.c: Likewise.
593 * elf/sotruss.ksh: Likewise.
594 * elf/sprof.c: Likewise.
595 * iconv/iconv_prog.c: Likewise.
596 * iconv/iconvconfig.c: Likewise.
597 * locale/programs/locale.c: Likewise.
598 * locale/programs/localedef.c: Likewise.
599 * login/programs/pt_chown.c: Likewise.
600 * malloc/memusage.sh: Likewise.
601 * malloc/memusagestat.c: Likewise.
602 * malloc/mtrace.pl: Likewise.
603 * nscd/nscd.c: Likewise.
604 * nss/getent.c: Likewise.
605 * nss/makedb.c: Likewise.
606 * posix/getconf.c: Likewise.
607
18ea052c
SP
6082012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
609
610 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
611 numbers.
612
9c89fca6
MF
6132012-12-30 Mike Frysinger <vapier@gentoo.org>
614
615 * math/bits/mathcalls.h (modf): Use __nonnull.
616
085ec079
SP
6172012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
618
619 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
620 (split): Use macro CN instead of the bare value.
621 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
622 could be used.
623 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
624 instead of the bare value.
625 (power1): Likewise.
626
6d9f97e1
SP
6272012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
628
d63f73be
SP
629 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
630 __ATAN_TWOM.
631 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
632
6d9f97e1
SP
633 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
634 their values.
635 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
636 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
637 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
638 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
639
4c4febf5
AJ
6402012-12-28 Andreas Jaeger <aj@suse.de>
641
af5843ef
AJ
642 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
643 values are from Linux 3.7.
644
4c4febf5
AJ
645 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
646 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
647
99136f82
SP
6482012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
649
2f216c3c 650 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
651 TRUE case.
652
99136f82
SP
653 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
654 (norm): Likewise.
655 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
656 variables with preprocessor constants.
657 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
658 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
659 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
660
7fffbdff
BH
6612012-12-27 Bruno Haible <bruno@clisp.org>
662
663 [BZ #14317]
664 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
665 only if needed.
666
b76eb5f0
SP
6672012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
668
31a7fe5c
SP
669 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
670 and use variable directly.
671 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
672
b76eb5f0
SP
673 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
674 MPONE.
675 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
676 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
677 variable MPONE.
678 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
679 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
680 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
681 include directive. Remove local variable MPONE.
682 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
683 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
684 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
685
2c8bfe7d
DM
6862012-12-25 David S. Miller <davem@davemloft.net>
687
688 * version.h (RELEASE): Set to "development".
689 (VERSION): Set to "2.17.90".
690 * NEWS: Add 2.18 section.
691
147d03b0
DM
6922012-12-21 David S. Miller <davem@davemloft.net>
693
694 * po/hr.po: Update from translation team.
695
a8ebb2b9
AK
6962012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
697
698 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
699
95b4f1b6
SE
7002012-12-19 Steve Ellcey <sellcey@mips.com>
701
b2d94007 702 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 703
cedb2a90
MS
7042012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
705
706 * manual/contrib.texi (Contributors): Spelling correction.
707
bbf527d6
DM
7082012-12-15 David S. Miller <davem@davemloft.net>
709
710 * po/ru.po: Update from translation team.
711
bc38c906
DM
7122012-12-13 David S. Miller <davem@davemloft.net>
713
85429b1a
DM
714 * NEWS: Mention IFUNC testsuite enhancements.
715
d283e353
DM
716 * po/pl.po: Update from translation team.
717 * po/bg.po: Likewise.
718
bc38c906
DM
719 * manual/contrib.texi (Contributors): Update entries for Hongjiu
720 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
721
a181b0d7
DM
7222012-12-11 David S. Miller <davem@davemloft.net>
723
4641d57e
DM
724 * po/sv.po: Update from translation team.
725
f7bc6495
DM
726 * po/vi.po: Update from translation team.
727
6fc9048f
DM
728 * po/cs.po: Update from translation team.
729
a181b0d7
DM
730 * po/de.po: Update from translation team.
731 * po/eo.po: Likewise.
732 * po/nl.po: Likewise.
733
f70bfe80
SP
7342012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
735
3c8b4190
SP
736 [BZ #14246]
737 * manual/argp.texi (Argp Helper Functions): Move node to follow
738 Argp Parsing State.
739
f70bfe80
SP
740 [BZ #14872]
741 * manual/conf.texi (Limits on File System Capacity): Mention if
742 terminating null is included in the max size.
743
188f0adf
AJ
7442012-12-10 Andreas Jaeger <aj@suse.de>
745
746 * po/cs.po: Update from translation team.
747
56e7d3ad
SP
7482012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
749
750 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
751 void pointer and cast to uintptr_t.
752 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
753 path.
754 * sysdeps/s390/s390-64/memcpy.S: Likewise.
755 * sysdeps/s390/s390-64/memset.S: Likewise.
756
76f2d2ea 7572012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
758
759 [BZ #14833]
760 * menual/message.texi (Message Translation): Fix typos.
761 (Helper programs for gettext): Likewise.
762
67cbf9a2
AS
7632012-12-07 Andreas Schwab <schwab@linux-m68k.org>
764
765 [BZ #14898]
766 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
767 Change to -1.
768
682d0e9a
DM
7692012-12-07 David S. Miller <davem@davemloft.net>
770
771 * po/libc.pot: Update.
772
573cd484
RH
7732012-12-07 Richard Henderson <rth@redhat.com>
774
7e9da188 775 [BZ #10114]
573cd484
RH
776 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
777 normal/normal case to before the switch.
778 (_FP_DIV): Likewise.
779
e933a943
MF
7802012-12-06 Carlos O'Donell <carlos@systemhalted.org>
781 Mike Frysinger <vapier@gentoo.org>
782
783 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
784 check for __NR_fadvise64_64.
785
82123268
CM
7862012-12-06 Chris Metcalf <cmetcalf@tilera.com>
787
788 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
789 0, not just to plain "0" as a statement.
790 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
791 with cw.
792
d9814526
JM
7932012-12-06 Joseph Myers <joseph@codesourcery.com>
794
795 * NEWS: Use sourceware.org in Bugzilla URL.
796
7728c574
SP
7972012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
798
f16946dd
SP
799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
800 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
801
5704bbcb
SP
802 * stdio-common/tst-put-error.c (do_test): Add newline to the
803 padded test to ensure flush.
804
17aa0516
JL
8052012-12-05 Jeff Law <law@redhat.com>
806
807 * sunrpc/etc.rpc (fedfs_admin): Add entry.
808
363313b5
JM
8092012-12-05 Joseph Myers <joseph@codesourcery.com>
810
effbd42a
JM
811 * README: Don't refer to ports add-on as distributed separately.
812 Mention AArch64 in list of systems supported in the ports add-on.
813
87600365
JM
814 * LICENSES: Add more non-FSF copyright and license notices.
815
a0d7066a
JM
816 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
817 ((unused)).
818
66ca5a5b
JM
819 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
820
363313b5
JM
821 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
822 10000 as width of padded output.
823
b37984ad
JM
8242012-12-04 Joseph Myers <joseph@codesourcery.com>
825
9003570a
JM
826 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
827
b37984ad
JM
828 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
829 variable LX with __attribute__ ((unused)).
830 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
831 Likewise.
832 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
833 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
834 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
835 with __attribute__ ((unused)).
836
c8df52ec
DM
8372012-12-04 David S. Miller <davem@abraco.davemloft.net>
838
839 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
840
b3b099af
JM
8412012-12-04 Joseph Myers <joseph@codesourcery.com>
842
c33aa6e3
JM
843 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
844 (CFLAGS-nldbl-acos.c): New variable.
845 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
846 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
847 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
848 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
849 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
850 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
851 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
852 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
853 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
854 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
855 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
856 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
857 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
858 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
859 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
860 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
861 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
862 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
863 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
864 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
865 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
866 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
867 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
868 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
869 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
870 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
871 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
872 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
873 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
874 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
875 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
876 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
877 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
878 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
879 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
880 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
881 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
882 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
883 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
884 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
885 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
886 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
887 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
888 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
889 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
890 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
891 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
892 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
893 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
894 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
895 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
896 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
897 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
898 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
899 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
900 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
901 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
902 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
903 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
904 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
905 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
906 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
907 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
908 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
909 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
910 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
911 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
912 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
913 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
914 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
915 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
916 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
917 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
918 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
919 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
920 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
921 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
922 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
923 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
924 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
925 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
926 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
927 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
928 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
929 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
930 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
931 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
932 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
933 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
934 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
935 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
936 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
937 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
938 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
939 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
940 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
941 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
942
20f0018d
JM
943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
944 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
945
b3b099af
JM
946 [BZ #14914]
947 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
948 whole low double instead of just low 47 bits when splitting values
949 into two parts.
950
029264d1
AM
9512012-12-03 Allan McRae <allan@archlinux.org>
952
953 * manual/stdio.texi (Predefined Printf Handlers): Remove
954 @hsep and @vsep usage.
955
c9d6789e
MF
9562012-12-03 Mike Frysinger <vapier@gentoo.org>
957
958 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
959 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
960
4b7634a5
JL
9612012-12-03 Jeff Law <law@redhat.com>
962
963 * time/sys/time.h (settimeofday): Do not mark TV argument
964 as __nonnull.
965
eb6cbd24
MF
9662012-12-01 Mike Frysinger <vapier@gentoo.org>
967
968 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
969 when currently writing and seek to current position when not.
970 * libio/Makefile (tests): Remove bug-fclose1.
971 * libio/bug-fclose1.c: Delete.
972
f638872a
JM
9732012-12-01 Joseph Myers <joseph@codesourcery.com>
974
975 * manual/arith.texi (feenableexcept): Fix typo.
976 (fedisableexcept): Likewise.
977
48085d14
RM
9782012-11-30 Roland McGrath <roland@hack.frob.com>
979
980 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
981 second, differently-typed declaration, rather than a cast.
982
1a538b9f
SP
9832012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
984
985 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
986 * include/rpc/svc.h: ... here.
987
d07f2ff1 9882012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
989
990 [BZ #13013]
991 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
992 depending n and resplen2 to catch cases where answer
993 equals answerp2.
994
c93ec1f0
CD
9952012-11-29 Carlos O'Donell <carlos@systemhalted.org>
996
997 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
998 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
999
37db69de
MF
10002012-11-29 Mike Frysinger <vapier@gentoo.org>
1001
1002 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
1003
e10c4e4f
RM
10042012-11-29 Roland McGrath <roland@hack.frob.com>
1005
1006 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
1007
2af1b328
JL
10082012-11-28 Jeff Law <law@redhat.com>
1009
1010 [BZ #13761]
1011 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
1012 dataset_temporary. Track alloca usage into alloca_used.
1013 If dataset is large allocate and release it via malloc/free.
1014
111db5b1
FW
10152012-06-04 Florian Weimer <fweimer@redhat.com>
1016
f06cc227 1017 [BZ #14197]
111db5b1
FW
1018 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
1019
dd694abd
DM
10202012-11-28 David S. Miller <davem@davemloft.net>
1021
1022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1023
9984dd01
JM
10242012-11-28 Joseph Myers <joseph@codesourcery.com>
1025
1026 [BZ #14803]
1027 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
1028 of pi/2 rounded to nearest to 64 bits.
1029 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
1030 nearest to 64 bits.
1031 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
1032 bits.
1033
14bc93a9
JL
10342012-11-28 Jeff Law <law@redhat.com>
1035 Martin Osvald <mosvald@redhat.com>
1036
1037 [BZ #14889]
1038 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
1039 * sunrpc/svc.c: Include time.h.
1040 (__svc_accept_failed): New function.
1041 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
1042 any reason other than EINTR, call __svc_accept_failed.
1043 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
1044 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
1045
e3c6aa3a
AS
10462012-11-28 Andreas Schwab <schwab@suse.de>
1047
1048 * scripts/abilist.awk: Also handle indirect functions in .opd
1049 section.
1050
1bead169
JM
10512012-11-28 Joseph Myers <joseph@codesourcery.com>
1052
1053 [BZ #13881]
1054 * sysdeps/x86/fpu/powl_helper.c: New file.
1055 * sysdeps/x86/fpu/Makefile: Likewise.
1056 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
1057 (p3): New object.
1058 (__ieee754_powl): Use __powl_helper for finite arguments except
1059 integer exponents below 8.
1060 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
1061 (p3): New object.
1062 (__ieee754_powl): Use __powl_helper for finite arguments except
1063 integer exponents below 8.
1064 * math/libm-test.inc (pow_test): Add more tests and enable some
1065 previously disabled tests.
1066 * sysdeps/i386/fpu/libm-test-ulps: Update.
1067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1068
0817d63d
SP
10692012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1070 Carlos O'Donell <carlos_odonell@mentor.com>
1071
1072 * nss/makedb.c (is_prime): Assert that input is odd and greater
1073 than 4. Note that fact in a comment too.
1074 (next_prime): Add 4 to input.
1075
de2fd463
SP
10762012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1077
1078 [BZ #11741]
1079 * libio/Makefile (tests): Add test case tst-fwrite-error.
1080 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
1081 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1082 * libio/tst-fwrite-error.c: New test case.
1083
c515fb51
L
10842012-11-26 H.J. Lu <hongjiu.lu@intel.com>
1085
1086 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
1087 before casting to void *.
1088 * include/libc-internal.h (__pointer_type): New macro.
1089 (__integer_if_pointer_type_sub): Likewise.
1090 (__integer_if_pointer_type): Likewise.
1091 (cast_to_integer): Likewise.
1092 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
1093 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
1094 before casting to atomic64_t.
1095 (atomic_exchange_acq): Likewise.
1096 (__arch_exchange_and_add_body): Likewise.
1097 (__arch_add_body): Likewise.
1098 (atomic_add_negative): Likewise.
1099 (atomic_add_zero): Likewise.
1100
4cf77aa9
JM
11012012-11-26 Joseph Myers <joseph@codesourcery.com>
1102
1103 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
1104 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
1105 (add_fdes): Likewise.
1106 (linear_search_fdes): Likewise.
1107 (binary_search_unencoded_fdes): Likewise.
1108
d260b3b4
AS
11092012-11-26 Andreas Schwab <schwab@linux-m68k.org>
1110
1111 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
1112
67060746
AC
11132012-11-24 Adam Conrad <adconrad@0c3.net>
1114
1115 * configure.in: Autodetect C++ header directories.
1116 * configure: Regenerated.
1117
800938a1
MF
11182012-11-23 Mike Frysinger <vapier@gentoo.org>
1119
1120 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
1121
4e6e34e6
AS
11222012-11-23 Andreas Schwab <schwab@linux-m68k.org>
1123
1124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1125
7c7feb47
JM
11262012-11-22 Joseph Myers <joseph@codesourcery.com>
1127
7184dcdf
JM
1128 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
1129 LDBL_MANT_DIG == 106]: Disable some tests.
1130 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1131 Likewise.
1132 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1133 Likewise.
1134
0a42601f
JM
1135 [BZ #14871]
1136 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
1137 input for small inputs. Return +/- pi/2 for large inputs.
1138 * math/libm-test.inc (atan_test): Add more tests.
1139
79c9b9fe
JM
1140 * sysdeps/generic/unwind-dw2-fde-glibc.c
1141 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
1142 __attribute__ ((unused)).
1143
c60d3bf2
JM
1144 [BZ #14645]
1145 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
1146 x * y if x and y are nonzero and z is zero.
1147
ef1e0867
JM
1148 [BZ #14811]
1149 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
1150 nonzero exponents with absolute value below 0x1p-117 to +/-
1151 0x1p-117.
1152
1468ded3
JM
1153 [BZ #14869]
1154 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
1155 up arguments below 2**-450, not just those below 2**-500.
1156 * math/libm-test.inc (hypot_test): Add another test.
1157
8e27e3cc
JM
1158 [BZ #14868]
1159 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
1160 Return a+b for ratio over 2**120, not 2**60.
1161 * math/libm-test.inc (hypot_test): Add another test.
1162
c9c0279b
JM
1163 * math/libm-test.inc (clog_test): Use
1164 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
1165 (clog10_test): Likewise.
1166
7c7feb47
JM
1167 [BZ #6778]
1168 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
1169
fff1530e
AS
11702012-11-22 Andreas Schwab <schwab@suse.de>
1171
1172 * sysdeps/i386/fpu/libm-test-ulps: Update.
1173
94558d30
PT
11742012-11-22 Pino Toscano <toscano.pino@tiscali.it>
1175
1176 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
1177 printf output with newline.
1178
7e1be741
L
11792012-11-21 H.J. Lu <hongjiu.lu@intel.com>
1180
6bfea974
L
1181 [BZ #14865]
1182 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
1183 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
1184 -z nodlopen, -z initfirst and -z execstack support.
1185 * configure: Regenerated.
1186
7e1be741
L
1187 * elf/elf.h (DF_1_NODIRECT): New macro.
1188 (DF_1_IGNMULDEF): Likewise.
1189 (DF_1_NOKSYMS): Likewise.
1190 (DF_1_NOHDR): Likewise.
1191 (DF_1_EDITED): Likewise.
1192 (DF_1_NORELOC): Likewise.
1193 (DF_1_SYMINTPOSE): Likewise.
1194 (DF_1_GLOBAUDIT): Likewise.
1195 (DF_1_SINGLETON): Likewise.
1196 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
1197 DT_1_SUPPORTED_MASK bits.
1198 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
1199
105ce2ce
CD
12002012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
1201
1202 * sysdeps/unix/make-syscalls.sh: Document prefixes.
1203
123be9de
TS
12042012-11-20 Thomas Schwinge <thomas@codesourcery.com>
1205
d072f3f7
TS
1206 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
1207 macro.
1208
123be9de
TS
1209 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
1210 (sendmmsg): Move declarations...
1211 * socket/sys/socket.h: ... here.
1212 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
1213 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
1214 include it from...
1215 * socket/recvmmsg.c: ... this new file.
1216 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
1217 (sendmmsg): Rename to __sendmmsg, create weak alias and make
1218 definition of __sendmmsg hidden.
1219 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1220 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
1221 Move ENOSYS stub into and include it from...
1222 * socket/sendmmsg.c: ... this new file.
1223 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
1224 (sysdep_routines): Move recvmmsg and sendmmsg...
1225 * socket/Makefile (routines): ... here.
1226 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
1227 (GLIBC_PRIVATE): Add __sendmmsg.
1228 * include/sys/socket.h (__sendmmsg): Add declarations.
1229 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
1230 sendmmsg.
1231
cf9a5d18
JM
12322012-11-20 Joseph Myers <joseph@codesourcery.com>
1233
1234 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
1235 variable I1 with __attribute__ ((unused)).
1236 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1237
ecd4caf9
JM
12382012-11-19 Joseph Myers <joseph@codesourcery.com>
1239
be14d48f
JM
1240 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
1241 DUMMY variables with __attribute__ ((unused)).
1242
ecd4caf9
JM
1243 * bits/byteswap.h: Include <bits/types.h>.
1244 (__bswap_64): Use __uint64_t instead of unsigned long long int.
1245
986cab95
PT
12462012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1247
1248 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
1249 string_t. Do not manually set errno.
1250 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
1251 length with __strnlen. Make sure to both set errno and return it on
1252 failure.
1253
6d33cc9d
DM
12542012-11-19 David S. Miller <davem@davemloft.net>
1255
1256 With help from Joseph Myers.
1257 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
1258 very large arguments properly.
1259 * math/libm-test.inc (atan_test): New tests.
1260 (atan2_test): New tests.
1261 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1262 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1263
ee663277
JM
12642012-11-19 Joseph Myers <joseph@codesourcery.com>
1265
877f2d8e
JM
1266 [BZ #14856]
1267 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
1268 Define to 3.
1269
116fc08a
JM
1270 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
1271 [POSIX] (EADDRNOTAVAIL): Likewise.
1272 [POSIX] (EAFNOSUPPORT): Likewise.
1273 [POSIX] (EALREADY): Likewise.
1274 [POSIX] (ECONNABORTED): Likewise.
1275 [POSIX] (ECONNREFUSED): Likewise.
1276 [POSIX] (ECONNRESET): Likewise.
1277 [POSIX] (EDESTADDRREQ): Likewise.
1278 [POSIX] (EDQUOT): Likewise.
1279 [POSIX] (EHOSTUNREACH): Likewise.
1280 [POSIX] (EIDRM): Likewise.
1281 [POSIX] (EISCONN): Likewise.
1282 [POSIX] (ELOOP): Likewise.
1283 [POSIX] (EMULTIHOP): Likewise.
1284 [POSIX] (ENETDOWN): Likewise.
1285 [POSIX] (ENETUNREACH): Likewise.
1286 [POSIX] (ENOBUFS): Likewise.
1287 [POSIX] (ENODATA): Likewise.
1288 [POSIX] (ENOLINK): Likewise.
1289 [POSIX] (ENOMSG): Likewise.
1290 [POSIX] (ENOPROTOOPT): Likewise.
1291 [POSIX] (ENOSR): Likewise.
1292 [POSIX] (ENOSTR): Likewise.
1293 [POSIX] (ENOTCONN): Likewise.
1294 [POSIX] (ENOTSOCK): Likewise.
1295 [POSIX] (EOPNOTSUPP): Likewise.
1296 [POSIX] (EOVERFLOW): Likewise.
1297 [POSIX] (EPROTO): Likewise.
1298 [POSIX] (EPROTONOSUPPORT): Likewise.
1299 [POSIX] (EPROTOTYPE): Likewise.
1300 [POSIX] (ESTALE): Likewise.
1301 [POSIX] (ETIME): Likewise.
1302 [POSIX] (ETXTBSY): Likewise.
1303 [POSIX] (EWOULDBLOCK): Likewise.
1304 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
1305 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
1306 [POSIX] (SEEK_CUR): Likewise.
1307 [POSIX] (SEEK_END): Likewise.
1308 [POSIX || UNIX98] (mode_t): Do not require.
1309 [POSIX] (off_t): Likewise.
1310 [POSIX] (pid_t): Likewise.
1311 [POSIX] (sys/stat.h): Do not allow header.
1312 [POSIX] (unistd.h): Likewise.
1313 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
1314 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
1315 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
1316 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
1317 require.
1318 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
1319 sigevent): Specify elements.
1320 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
1321 entry.
1322 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
1323 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
1324
a483863f
JM
1325 * conform/data/cpio.h-data [POSIX]: Disable whole file.
1326 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
1327 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
1328 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
1329 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
1330 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
1331 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
1332 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
1333 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
1334 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
1335 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
1336 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
1337 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
1338 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
1339 Likewise.
1340 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
1341 Likewise.
1342 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
1343 Likewise.
1344 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
1345 Likewise.
1346 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
1347 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
1348 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
1349 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
1350 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
1351 Specify lower bound on value.
1352 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
1353 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
1354 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
1355 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
1356 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
1357 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
1358 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
1359 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
1360 value.
1361 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
1362 as optional.
1363 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
1364 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
1365 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
1366 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
1367 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
1368 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
1369 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
1370 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
1371 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
1372 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
1373 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
1374 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
1375 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
1376 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
1377 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
1378 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
1379 entry.
1380 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
1381 optional.
1382 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
1383 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
1384 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
1385 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
1386 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
1387 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
1388 Likewise.
1389 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
1390 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
1391 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
1392 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
1393 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
1394 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
1395 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
1396 as optional.
1397 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
1398 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
1399 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
1400 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
1401 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
1402 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
1403 specify as optional.
1404 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
1405 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
1406 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
1407 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
1408 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
1409 [XPG3] (NL_LANGMAX): Likewise.
1410 [POSIX || XPG3] (NL_MSGMAX): Likewise.
1411 [POSIX || XPG3] (NL_NMAX): Likewise.
1412 [POSIX || XPG3] (NL_SETMAX): Likewise.
1413 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
1414 [XPG3] (NZERO): Likewise.
1415 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
1416 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
1417 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
1418 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
1419 (REG_ERANGE): Expect.
1420 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
1421 optional-constant.
1422 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
1423 Use (void) in prototype.
1424 [POSIX] (*_t): Allow.
1425 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
1426 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
1427 (WRDE_BADVAL): Expect.
1428
5ba924e3
JM
1429 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
1430 expect.
1431 [XPG3 || XPG4] (O_RSYNC): Likewise.
1432 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
1433 Likewise.
1434 [XPG3 || XPG4] (pthread_sigmask): Likewise.
1435 [XPG3 || XPG4] (sigqueue): Likewise.
1436 [XPG3 || XPG4] (sigtimedwait): Likewise.
1437 [XPG3 || XPG4] (sigwaitinfo): Likewise.
1438 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
1439 [XPG3 || XPG4] (vsnprintf): Likewise.
1440 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
1441 Likewise.
1442 [XPG3 || XPG4] (blksize_t): Likewise.
1443 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
1444 Likewise.
1445 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
1446 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1447 [XPG3 || XPG4] (struct itimerspec): Likewise.
1448 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
1449 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
1450 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
1451 [XPG3 || XPG4] (clockid_t): Likewise.
1452 [XPG3 || XPG4] (timer_t): Likewise.
1453 [XPG3 || XPG4] (clock_getres): Likewise.
1454 [XPG3 || XPG4] (clock_gettime): Likewise.
1455 [XPG3 || XPG4] (clock_settime): Likewise.
1456 [XPG3 || XPG4] (nanosleep): Likewise.
1457 [XPG3 || XPG4] (timer_create): Likewise.
1458 [XPG3 || XPG4] (timer_delete): Likewise.
1459 [XPG3 || XPG4] (timer_gettime): Likewise.
1460 [XPG3 || XPG4] (timer_getoverrun): Likewise.
1461 [XPG3 || XPG4] (timer_settime): Likewise.
1462 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
1463 [XPG3 || XPG4] (getlogin_r): Likewise.
1464 [XPG3 || XPG4] (pread): Likewise.
1465 [XPG3 || XPG4] (pthread_atfork): Likewise.
1466 [XPG3 || XPG4] (pwrite): Likewise.
1467
ee663277
JM
1468 [BZ #14835]
1469 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
1470 <bits/siginfo.h>.
1471
942caa16
PT
14722012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1473
e19af380
PT
1474 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
1475 finalizing MALLSTREAM.
1476
942caa16
PT
1477 * sysdeps/mach/hurd/syncfs.c: New file.
1478
cfde9b46
SP
14792012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1480
1481 [BZ #14719]
1482 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
1483 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
1484 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
1485 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
1486 (_nss_dns_gethostbyname4_r): Likewise.
1487 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
1488 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
1489
f6da27e5
PH
14902012-11-19 Peng Haitao <penght@cn.fujitsu.com>
1491
1492 [BZ #13763]
1493 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
1494
6665d4a2
SM
14952012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
1496
1f51ee92
SM
1497 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
1498 * elf/cache.c (print_entry): Print ",AArch64" for
1499 FLAG_AARCH64_LIB64
1500
6665d4a2
SM
1501 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
1502 * elf/cache.c (print_entry): Print ",hard-float" for
1503 FLAG_ARM_LIBHF.
1504
05b227bd
DM
15052012-11-18 David S. Miller <davem@davemloft.net>
1506
1507 With help from Joseph Myers.
1508 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
1509 cutoff to 2**-13.
1510 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
1511 cutoff to 2**-25.
1512 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
1513 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
1514 small.
1515 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1516 * math/libm-test.inc (y0_test): New tests.
1517 (y1_test): New tests.
1518 * sysdeps/i386/fpu/libm-test-ulps: Update.
1519 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1521
786b0b67
AS
15222012-11-18 Andreas Schwab <schwab@linux-m68k.org>
1523
1524 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
1525 64-bit targets.
1526 * configure: Regenerated.
1527
8e18b86d
DM
15282012-11-17 David S. Miller <davem@davemloft.net>
1529
1530 [BZ #14811]
1531 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
1532 nonzero exponents with absolute value below 0x1p-128 to +/-
1533 0x1p-128.
1534
531f1ae0
JM
15352012-11-17 Joseph Myers <joseph@codesourcery.com>
1536
12df29e2
JM
1537 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
1538
150dc1a0
JM
1539 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
1540
531f1ae0
JM
1541 * posix/getconf-speclist.c: New file.
1542 * posix/posix-envs.def: Likewise.
1543 * posix/confstr.c (START_ENV_GROUP): New macro.
1544 (END_ENV_GROUP): Likewise.
1545 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1546 (KNOWN_PRESENT_ENV_STRING): Likewise.
1547 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1548 (UNKNOWN_ENVIRONMENT): Likewise.
1549 (confstr): Include posix-envs.def instead of handling
1550 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
1551 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
1552 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
1553 (END_ENV_GROUP): Likewise.
1554 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1555 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1556 (UNKNOWN_ENVIRONMENT): Likewise.
1557 (__sysconf): Include posix-envs.def instead of handling associated
1558 cases directly here.
1559 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
1560 preprocessing getconf-speclist.c rather than running getconf or
1561 generating empty file.
1562
a93f9cbc
PT
15632012-11-16 Pino Toscano <toscano.pino@tiscali.it>
1564
1565 * scripts/check-local-headers.sh: Ignore 'mach' headers.
1566
d64d9f87
AL
15672012-11-16 Andrej Lajovic <natrij@gmail.com>
1568
1569 [BZ #14672]
1570 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
1571
447885eb
DM
15722012-11-16 David S. Miller <davem@davemloft.net>
1573
1574 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
1575 smaller than LDBL_EPSILON/2.0L, just return xm1.
1576
bcbf9830
L
15772012-11-16 H.J. Lu <hongjiu.lu@intel.com>
1578
1579 * elf/tst-array1.c (init): Set constructor priority to 1000.
1580 (fini): Set destructor priority to 1000.
1581 * elf/tst-array2dep.c: Likewise.
1582
2b766585
SP
15832012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1584
1585 [BZ #11741]
1586 * libio/fileops.c (_IO_new_file_write): Correctly return error.
1587 (_IO_new_file_xsputn): Also return EOF if none of the input
1588 data was written when overflow failed.
1589 * libio/iopadn.c (_IO_padn): Likewise.
1590 * libio/iowpadn.c (_IO_wpadn): Likewise.
1591 * stdio-common/tst-put-error.c: Add copyright notice.
1592 (do_test): Add case for printing padded string.
1593 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
1594 _IO_padn returned error.
1595 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
1596 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
1597 return EOF.
1598
b1848fde
SP
15992012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1600
1601 * libio/libioP.h: Add comment note that the references to C++
1602 bits are now obsolete.
1603
2fd89785
MS
16042012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1605
1606 * math/libm-test.inc (check_complex): Use asprintf.
1607
e3ea5409
JM
16082012-11-14 Joseph Myers <joseph@codesourcery.com>
1609
1610 * debug/pcprofiledump.c (print_version): Update copyright year.
1611 * malloc/memusagestat.c (print_version): Likewise.
1612
2e64d265
L
16132012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1614
1615 [BZ #14831]
1616 * elf/Makefile (tests): Add tst-audit8.
1617 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
1618 ($(objpfx)tst-audit8.out): New target.
1619 (tst-audit8-ENV): New variable.
1620 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
1621 audit if l_reloc_result is NULL.
1622 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
1623 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
1624 * elf/tst-audit8.c: New file.
1625
c485e4d2
MS
16262012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1627
1628 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
1629 * misc/Makefile (CFLAGS-select.c): Define.
1630 * posix/Makefile (CFLAGS-pause.c): Define.
1631
3a0d900a
DM
16322012-11-13 David S. Miller <davem@davemloft.net>
1633
1634 * crypt/Makefile: Move test targets after toplevel Rules
1635 inclusion. Grab any necessary sysdep routines when linking.
1636 * crypt/md5.c (md5_process_block): Remove define, we will always
1637 name it __md5_process_block.
1638 (md5_finish_ctx): Update md5_process_block call.
1639 (md5_stream): Likewise.
1640 (md5_process_bytes): Likewise.
1641 (md5_process_block): Rename to __md5_process_block and move to ...
1642 * crypt/md5-block.c: ... here.
1643 * crypt/sha256.c (sha256_process_block): Move to ...
1644 * crypt/sha256-block.c: ... here.
1645 * crypt/sha512.c (sha512_process_block): Move to ...
1646 * crypt/sha512-block.c: ... here.
1647 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1648 path.
1649 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1650 * sysdeps/sparc/sparc64/multiarch/Makefile
1651 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1652 crypt subdir.
1653 (localedef-aux): Add md5 crypto assembler when in locale subdir.
1654 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1655 multiarch changes.
1656 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1657 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1658 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1659 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1660 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
1661 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
1662 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
1663 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
1664 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
1665 file.
1666 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
1667 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
1668 file.
1669 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
1670
8ca89318
JM
16712012-11-13 Joseph Myers <joseph@codesourcery.com>
1672
e27d476a
JM
1673 * timezone/tzselect.ksh: Update from tzcode git revision
1674 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
1675 * timezone/zdump.c: Likewise.
1676 * timezone/zic.c: Likewise.
1677 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
1678 in TZVERSION setting, not $(PKGVERSION).
1679 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
1680 REPORT_BUGS_TO settings.
1681
8ca89318
JM
1682 [BZ #14838]
1683 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
1684 macro.
1685
47594329
MS
16862012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1687
1688 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1689 detection to immediately after _FP_ROUND().
1690 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1691 bits are 0.
1692
640ac3f1
DM
16932012-11-11 David S. Miller <davem@davemloft.net>
1694
1695 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1696 inttypes.h
1697 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1698 __close rather than their public counterparts.
1699
3d2577bb
JM
17002012-11-10 Joseph Myers <joseph@codesourcery.com>
1701
1702 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1703 file.
1704 [UNIX98] (sem_timedwait): Do not expect.
1705 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1706 [XPG4 || UNIX98] (sockatmark): Do not expect.
1707 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1708 (clock_getcpuclockid): Do not expect.
1709 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1710 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1711 Do not expect.
1712 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1713 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1714 [UNIX98] (vwscanf): Likewise.
1715 [UNIX98] (vswscanf): Likewise.
1716
fb1ae1ee
JM
17172012-11-09 Joseph Myers <joseph@codesourcery.com>
1718
9ec6f8bd
JM
1719 * timezone/version.h: Remove file.
1720 * timezone/README: Do not refer to version.h.
1721 * timezone/Makefile ($(objpfx)zic.o): New dependency on
1722 $(objpfx)version.h.
1723 ($(objpfx)zdump.o): Likewise.
c3f81911 1724 ($(objpfx)version.h): New target.
9ec6f8bd 1725
0aa8f8a1
JM
1726 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1727 2012i.
1728 * timezone/README: Don't mention modification to tzselect.ksh.
1729 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1730 work on unmodified tzselect.ksh. Substitute version numbers in
1731 tzselect.ksh.
1732
4e87147f
JM
1733 * Makefile (format-me): Remove.
1734 (INSTALL): Adjust indentation. Use commands directly instead of
1735 using $(format-me).
1736
8b748aed
JM
1737 * aclocal.m4 (ACX_PKGVERSION): New macro.
1738 (ACX_BUGURL): Likewise.
1739 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1740 (PKGVERSION): New AC_DEFINE_UNQUOTED.
1741 (REPORT_BUGS_TO): Likewise.
1742 * configure: Regenerated.
1743 * config.h.in (PKGVERSION): New macro.
1744 (REPORT_BUGS_TO): Likewise.
1745 * config.make.in (PKGVERSION): New variable.
1746 (PKGVERSION_TEXI): Likewise.
1747 (REPORT_BUGS_TO): Likewise.
1748 (REPORT_BUGS_TEXI): Likewise.
1749 * Makefile (format-me): Use -I$(common-objpfx)manual.
1750 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1751 ($(common-objpfx)manual/%): New target.
1752 (manual/%): Remove target.
1753 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1754 (print_version): Use PKGVERSION.
1755 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1756 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1757 and REPORT_BUGS_TO.
1758 ($(objpfx)xtrace): Likewise.
1759 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1760 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1761 (print_version): Use PKGVERSION.
1762 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1763 (do_version): Use PKGVERSION.
1764 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1765 REPORT_BUGS_TO.
1766 (common-ldd-rewrite): Likewise.
1767 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1768 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1769 (print_version): Use PKGVERSION.
1770 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1771 * elf/pldd.c (argp_program_bug_address): Remove variable.
1772 (more_help): New function.
1773 (argp): Use more_help.
1774 (print_version): Use PKGVERSION.
1775 * elf/sln.c (main): Use PKGVERSION.
1776 (usage): Use REPORT_BUGS_TO.
1777 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1778 (top level): Use PKGVERSION.
1779 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1780 (print_version): Use PKGVERSION.
1781 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1782 (print_version): Use PKGVERSION.
1783 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1784 (print_version): Use PKGVERSION.
1785 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1786 (print_version): Use PKGVERSION.
1787 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1788 (print_version): Use PKGVERSION.
1789 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1790 (print_version): Use PKGVERSION.
1791 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1792 and BUGURL.
1793 ($(objpfx)memusage): Likewise.
1794 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1795 (do_version): Use PKGVERSION.
1796 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1797 (print_version): Use PKGVERSION.
1798 * malloc/mtrace.pl ($PACKAGE): Remove variable.
1799 ($PKGVERSION): New variable.
1800 ($REPORT_BUGS_TO): Likewise.
1801 (usage): Use $REPORT_BUGS_TO.
1802 (top level): Use $PKGVERSION.
1803 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1804 ($(objpfx)pkgvers.texi): New rule.
1805 ($(objpfx)stamp-pkgvers): Likewise.
1806 * manual/install.texi: Include pkgvers.texi.
1807 (--with-pkgversion): Document new configure option.
1808 (--with-bugurl): Likewise.
1809 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1810 than necessarily for this particular distribution. Use
1811 REPORT_BUGS_TO for where to report bugs.
1812 * INSTALL: Regenerated.
1813 * manual/libc.texinfo: Include pkgvers.texi.
1814 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1815 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1816 (print_version): Use PKGVERSION.
1817 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1818 (print_version): Use PKGVERSION.
1819 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1820 (print_version): Use PKGVERSION.
1821 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1822 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1823 macro.
1824 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1825 (print_version): Use PKGVERSION.
1826 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1827 (print_version): Use PKGVERSION.
1828 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1829 and PKGVERSION.
1830
92e4b6a9
JM
1831 * timezone/checktab.awk: Update from tzcode 2012i.
1832 * timezone/ialloc.c: Likewise.
1833 * timezone/private.h: Likewise.
1834 * timezone/scheck.c: Likewise.
1835 * timezone/tzfile.h: Likewise.
1836 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1837 (TZVERSION): Hardcode tzcode version number.
1838 * timezone/zdump.c: Update from tzcode 2012i.
1839 * timezone/zic.c: Likewise.
1840 * timezone/version.h: New file.
1841 * timezone/README: Describe version.h. Update upstream location.
1842
9bde902c
JM
1843 [BZ #14824]
1844 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1845 (mktemp): Enable declaration.
1846 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1847 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1848 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1849 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1850 Likewise.
1851 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1852 Likewise.
1853 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1854 Likewise.
1855 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1856 Likewise.
1857 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1858 Likewise.
1859 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1860 Likewise.
1861
fb1ae1ee
JM
1862 [BZ #14821]
1863 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1864 offset in buffer as u_int32_t not u_long. Consistently use memcpy
1865 for copies of such integer values.
1866 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1867 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1868
2c1adbcb
AJ
18692012-11-09 Andreas Jaeger <aj@suse.de>
1870
1871 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1872 definitions and declarations that are provided by
1873 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1874
d0f8457e
AK
18752012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1876
3a235abb 1877 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
1878 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1879 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1880 definition.
1881
57241e26
MS
18822012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1883
1884 * elf/elf.h: Update comment before AArch64 relocations.
1885
60e8270d
DM
18862012-11-07 David S. Miller <davem@davemloft.net>
1887
1888 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1889 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1890 (__start_context): Declare.
1891 (__makecontext_ret): Delete.
1892 (__makecontext): Hook up __start_context instead of
1893 __makecontext_ret.
1894 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1895 (sysdep_routines): Add __start_context when in stdlib.
1896
0fbb0fbc
JM
18972012-11-07 Joseph Myers <joseph@codesourcery.com>
1898
1899 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1900 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1901 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
1902 hardcoded "nm".
1903 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
1904 (READELF): New variable. Use it instead of hardcoded "readelf".
1905
eb48db7e
L
19062012-11-07 H.J. Lu <hongjiu.lu@intel.com>
1907
1908 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1909 * sysdeps/x86/Makefile: Here.
1910 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1911 * sysdeps/x86/tst-xmmymm.sh: This.
1912
05bcf62a
JM
19132012-11-07 Joseph Myers <joseph@codesourcery.com>
1914
c4b6cf53
JM
1915 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1916 expectations.
1917 [UNIX98] (pthread_barrier_t): Do not expect.
1918 [UNIX98] (pthread_barrierattr_t): Likewise.
1919 [UNIX98] (pthread_spinlock_t): Likewise.
1920 [UNIX98] (pthread_barrier_destroy): Likewise.
1921 [UNIX98] (pthread_barrier_init): Likewise.
1922 [UNIX98] (pthread_barrier_wait): Likewise.
1923 [UNIX98] (pthread_barrierattr_destroy): Likewise.
1924 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1925 [UNIX98] (pthread_barrierattr_init): Likewise.
1926 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1927 [UNIX98] (pthread_getcpuclockid): Likewise.
1928 [UNIX98] (pthread_mutex_timedlock): Likewise.
1929 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1930 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1931 [UNIX98] (pthread_sigmask): Likewise.
1932 [UNIX98] (pthread_spin_destroy): Likewise.
1933 [UNIX98] (pthread_spin_init): Likewise.
1934 [UNIX98] (pthread_spin_lock): Likewise.
1935 [UNIX98] (pthread_spin_trylock): Likewise.
1936 [UNIX98] (pthread_spin_unlock): Likewise.
1937 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1938 Do not expect.
1939 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1940 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1941 [XPG3 || XPG4] (pthread_cond_t): Likewise.
1942 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1943 [XPG3 || XPG4] (pthread_key_t): Likewise.
1944 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1945 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1946 [XPG3 || XPG4] (pthread_once_t): Likewise.
1947 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1948 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1949 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1950 [XPG3 || XPG4] (pthread_t): Likewise.
1951
cbe6e120
JM
1952 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1953 not expect.
1954 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1955
1b126443
JM
1956 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1957 Change function return type to int.
1958
b961a573
JM
1959 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1960 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1961 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1962 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1963 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1964 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1965 [!POSIX] (posix_madvise): Likewise.
1966 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1967 && !UNIX98].
1968 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1969 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1970 (mode_t): Likewise.
1971 (posix_mem_offset): Likewise.
1972 (posix_typed_mem_get_info): Likewise.
1973 (posix_typed_mem_open): Likewise.
1974
9e188909
JM
1975 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1976 Change condition to [XOPEN2K8].
1977
05bcf62a
JM
1978 * conform/conformtest.pl: Preprocess allow-header data with -x c
1979 instead of from stdin.
1980 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1981 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1982 [C99-based standards] (cerfc): Likewise.
1983 [C99-based standards] (cexp2): Likewise.
1984 [C99-based standards] (cexpm1): Likewise.
1985 [C99-based standards] (clog10): Likewise.
1986 [C99-based standards] (clog1p): Likewise.
1987 [C99-based standards] (clog2): Likewise.
1988 [C99-based standards] (clgamma): Likewise.
1989 [C99-based standards] (ctgamma): Likewise.
1990 [C99-based standards] (cerff): Likewise.
1991 [C99-based standards] (cerfcf): Likewise.
1992 [C99-based standards] (cexp2f): Likewise.
1993 [C99-based standards] (cexpm1f): Likewise.
1994 [C99-based standards] (clog10f): Likewise.
1995 [C99-based standards] (clog1pf): Likewise.
1996 [C99-based standards] (clog2f): Likewise.
1997 [C99-based standards] (clgammaf): Likewise.
1998 [C99-based standards] (ctgammaf): Likewise.
1999 [C99-based standards] (cerfl): Likewise.
2000 [C99-based standards] (cerfcl): Likewise.
2001 [C99-based standards] (cexp2l): Likewise.
2002 [C99-based standards] (cexpm1l): Likewise.
2003 [C99-based standards] (clog10l): Likewise.
2004 [C99-based standards] (clog1pl): Likewise.
2005 [C99-based standards] (clog2l): Likewise.
2006 [C99-based standards] (clgammal): Likewise.
2007 [C99-based standards] (ctgammal): Likewise.
2008 * conform/data/inttypes.h-data [C99-based standards]: Include
2009 stdint.h-data. Remove all expectations for stdint.h contents.
2010 [C99-based standards] (PRI*): Do not allow.
2011 [C99-based standards] (SCN*): Likewise.
2012 [C99-based standards] (*_t): Likewise.
2013 [C99-based-standards] (PRId8): Expect macro.
2014 [C99-based-standards] (PRIi8): Likewise.
2015 [C99-based-standards] (PRIo8): Likewise.
2016 [C99-based-standards] (PRIu8): Likewise.
2017 [C99-based-standards] (PRIx8): Likewise.
2018 [C99-based-standards] (PRIX8): Likewise.
2019 [C99-based-standards] (SCNd8): Likewise.
2020 [C99-based-standards] (SCNi8): Likewise.
2021 [C99-based-standards] (SCNo8): Likewise.
2022 [C99-based-standards] (SCNu8): Likewise.
2023 [C99-based-standards] (SCNx8): Likewise.
2024 [C99-based-standards] (PRIdLEAST8): Likewise.
2025 [C99-based-standards] (PRIiLEAST8): Likewise.
2026 [C99-based-standards] (PRIoLEAST8): Likewise.
2027 [C99-based-standards] (PRIuLEAST8): Likewise.
2028 [C99-based-standards] (PRIxLEAST8): Likewise.
2029 [C99-based-standards] (PRIXLEAST8): Likewise.
2030 [C99-based-standards] (SCNdLEAST8): Likewise.
2031 [C99-based-standards] (SCNiLEAST8): Likewise.
2032 [C99-based-standards] (SCNoLEAST8): Likewise.
2033 [C99-based-standards] (SCNuLEAST8): Likewise.
2034 [C99-based-standards] (SCNxLEAST8): Likewise.
2035 [C99-based-standards] (PRIdFAST8): Likewise.
2036 [C99-based-standards] (PRIiFAST8): Likewise.
2037 [C99-based-standards] (PRIoFAST8): Likewise.
2038 [C99-based-standards] (PRIuFAST8): Likewise.
2039 [C99-based-standards] (PRIxFAST8): Likewise.
2040 [C99-based-standards] (PRIXFAST8): Likewise.
2041 [C99-based-standards] (SCNdFAST8): Likewise.
2042 [C99-based-standards] (SCNiFAST8): Likewise.
2043 [C99-based-standards] (SCNoFAST8): Likewise.
2044 [C99-based-standards] (SCNuFAST8): Likewise.
2045 [C99-based-standards] (SCNxFAST8): Likewise.
2046 [C99-based-standards] (PRId16): Likewise.
2047 [C99-based-standards] (PRIi16): Likewise.
2048 [C99-based-standards] (PRIo16): Likewise.
2049 [C99-based-standards] (PRIu16): Likewise.
2050 [C99-based-standards] (PRIx16): Likewise.
2051 [C99-based-standards] (PRIX16): Likewise.
2052 [C99-based-standards] (SCNd16): Likewise.
2053 [C99-based-standards] (SCNi16): Likewise.
2054 [C99-based-standards] (SCNo16): Likewise.
2055 [C99-based-standards] (SCNu16): Likewise.
2056 [C99-based-standards] (SCNx16): Likewise.
2057 [C99-based-standards] (PRIdLEAST16): Likewise.
2058 [C99-based-standards] (PRIiLEAST16): Likewise.
2059 [C99-based-standards] (PRIoLEAST16): Likewise.
2060 [C99-based-standards] (PRIuLEAST16): Likewise.
2061 [C99-based-standards] (PRIxLEAST16): Likewise.
2062 [C99-based-standards] (PRIXLEAST16): Likewise.
2063 [C99-based-standards] (SCNdLEAST16): Likewise.
2064 [C99-based-standards] (SCNiLEAST16): Likewise.
2065 [C99-based-standards] (SCNoLEAST16): Likewise.
2066 [C99-based-standards] (SCNuLEAST16): Likewise.
2067 [C99-based-standards] (SCNxLEAST16): Likewise.
2068 [C99-based-standards] (PRIdFAST16): Likewise.
2069 [C99-based-standards] (PRIiFAST16): Likewise.
2070 [C99-based-standards] (PRIoFAST16): Likewise.
2071 [C99-based-standards] (PRIuFAST16): Likewise.
2072 [C99-based-standards] (PRIxFAST16): Likewise.
2073 [C99-based-standards] (PRIXFAST16): Likewise.
2074 [C99-based-standards] (SCNdFAST16): Likewise.
2075 [C99-based-standards] (SCNiFAST16): Likewise.
2076 [C99-based-standards] (SCNoFAST16): Likewise.
2077 [C99-based-standards] (SCNuFAST16): Likewise.
2078 [C99-based-standards] (SCNxFAST16): Likewise.
2079 [C99-based-standards] (PRId32): Likewise.
2080 [C99-based-standards] (PRIi32): Likewise.
2081 [C99-based-standards] (PRIo32): Likewise.
2082 [C99-based-standards] (PRIu32): Likewise.
2083 [C99-based-standards] (PRIx32): Likewise.
2084 [C99-based-standards] (PRIX32): Likewise.
2085 [C99-based-standards] (SCNd32): Likewise.
2086 [C99-based-standards] (SCNi32): Likewise.
2087 [C99-based-standards] (SCNo32): Likewise.
2088 [C99-based-standards] (SCNu32): Likewise.
2089 [C99-based-standards] (SCNx32): Likewise.
2090 [C99-based-standards] (PRIdLEAST32): Likewise.
2091 [C99-based-standards] (PRIiLEAST32): Likewise.
2092 [C99-based-standards] (PRIoLEAST32): Likewise.
2093 [C99-based-standards] (PRIuLEAST32): Likewise.
2094 [C99-based-standards] (PRIxLEAST32): Likewise.
2095 [C99-based-standards] (PRIXLEAST32): Likewise.
2096 [C99-based-standards] (SCNdLEAST32): Likewise.
2097 [C99-based-standards] (SCNiLEAST32): Likewise.
2098 [C99-based-standards] (SCNoLEAST32): Likewise.
2099 [C99-based-standards] (SCNuLEAST32): Likewise.
2100 [C99-based-standards] (SCNxLEAST32): Likewise.
2101 [C99-based-standards] (PRIdFAST32): Likewise.
2102 [C99-based-standards] (PRIiFAST32): Likewise.
2103 [C99-based-standards] (PRIoFAST32): Likewise.
2104 [C99-based-standards] (PRIuFAST32): Likewise.
2105 [C99-based-standards] (PRIxFAST32): Likewise.
2106 [C99-based-standards] (PRIXFAST32): Likewise.
2107 [C99-based-standards] (SCNdFAST32): Likewise.
2108 [C99-based-standards] (SCNiFAST32): Likewise.
2109 [C99-based-standards] (SCNoFAST32): Likewise.
2110 [C99-based-standards] (SCNuFAST32): Likewise.
2111 [C99-based-standards] (SCNxFAST32): Likewise.
2112 [C99-based-standards] (PRId64): Likewise.
2113 [C99-based-standards] (PRIi64): Likewise.
2114 [C99-based-standards] (PRIo64): Likewise.
2115 [C99-based-standards] (PRIu64): Likewise.
2116 [C99-based-standards] (PRIx64): Likewise.
2117 [C99-based-standards] (PRIX64): Likewise.
2118 [C99-based-standards] (SCNd64): Likewise.
2119 [C99-based-standards] (SCNi64): Likewise.
2120 [C99-based-standards] (SCNo64): Likewise.
2121 [C99-based-standards] (SCNu64): Likewise.
2122 [C99-based-standards] (SCNx64): Likewise.
2123 [C99-based-standards] (PRIdLEAST64): Likewise.
2124 [C99-based-standards] (PRIiLEAST64): Likewise.
2125 [C99-based-standards] (PRIoLEAST64): Likewise.
2126 [C99-based-standards] (PRIuLEAST64): Likewise.
2127 [C99-based-standards] (PRIxLEAST64): Likewise.
2128 [C99-based-standards] (PRIXLEAST64): Likewise.
2129 [C99-based-standards] (SCNdLEAST64): Likewise.
2130 [C99-based-standards] (SCNiLEAST64): Likewise.
2131 [C99-based-standards] (SCNoLEAST64): Likewise.
2132 [C99-based-standards] (SCNuLEAST64): Likewise.
2133 [C99-based-standards] (SCNxLEAST64): Likewise.
2134 [C99-based-standards] (PRIdFAST64): Likewise.
2135 [C99-based-standards] (PRIiFAST64): Likewise.
2136 [C99-based-standards] (PRIoFAST64): Likewise.
2137 [C99-based-standards] (PRIuFAST64): Likewise.
2138 [C99-based-standards] (PRIxFAST64): Likewise.
2139 [C99-based-standards] (PRIXFAST64): Likewise.
2140 [C99-based-standards] (SCNdFAST64): Likewise.
2141 [C99-based-standards] (SCNiFAST64): Likewise.
2142 [C99-based-standards] (SCNoFAST64): Likewise.
2143 [C99-based-standards] (SCNuFAST64): Likewise.
2144 [C99-based-standards] (SCNxFAST64): Likewise.
2145 [C99-based-standards] (PRIdMAX): Likewise.
2146 [C99-based-standards] (PRIiMAX): Likewise.
2147 [C99-based-standards] (PRIoMAX): Likewise.
2148 [C99-based-standards] (PRIuMAX): Likewise.
2149 [C99-based-standards] (PRIxMAX): Likewise.
2150 [C99-based-standards] (PRIXMAX): Likewise.
2151 [C99-based-standards] (SCNdMAX): Likewise.
2152 [C99-based-standards] (SCNiMAX): Likewise.
2153 [C99-based-standards] (SCNoMAX): Likewise.
2154 [C99-based-standards] (SCNuMAX): Likewise.
2155 [C99-based-standards] (SCNxMAX): Likewise.
2156 [C99-based-standards] (PRIdPTR): Likewise.
2157 [C99-based-standards] (PRIiPTR): Likewise.
2158 [C99-based-standards] (PRIoPTR): Likewise.
2159 [C99-based-standards] (PRIuPTR): Likewise.
2160 [C99-based-standards] (PRIxPTR): Likewise.
2161 [C99-based-standards] (PRIXPTR): Likewise.
2162 [C99-based-standards] (SCNdPTR): Likewise.
2163 [C99-based-standards] (SCNiPTR): Likewise.
2164 [C99-based-standards] (SCNoPTR): Likewise.
2165 [C99-based-standards] (SCNuPTR): Likewise.
2166 [C99-based-standards] (SCNxPTR): Likewise.
2167 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
2168 allow.
2169 * conform/data/stdint.h-data: Update comments to clarify
2170 requirements.
2171 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
2172 type.
2173 [C99-based standards] (INT8_MAX): Likewise.
2174 [C99-based standards] (INT16_MIN): Likewise.
2175 [C99-based standards] (INT16_MAX): Likewise.
2176 [C99-based standards] (INT32_MIN): Likewise.
2177 [C99-based standards] (INT32_MAX): Likewise.
2178 [C99-based standards] (INT64_MIN): Likewise.
2179 [C99-based standards] (INT64_MAX): Likewise.
2180 [C99-based standards] (UINT8_MAX): Likewise.
2181 [C99-based standards] (UINT16_MAX): Likewise.
2182 [C99-based standards] (UINT32_MAX): Likewise.
2183 [C99-based standards] (UINT64_MAX): Likewise.
2184 [C99-based standards] (INT_LEAST8_MIN): Likewise.
2185 [C99-based standards] (INT_LEAST8_MAX): Likewise.
2186 [C99-based standards] (INT_LEAST16_MIN): Likewise.
2187 [C99-based standards] (INT_LEAST16_MAX): Likewise.
2188 [C99-based standards] (INT_LEAST32_MIN): Likewise.
2189 [C99-based standards] (INT_LEAST32_MAX): Likewise.
2190 [C99-based standards] (INT_LEAST64_MIN): Likewise.
2191 [C99-based standards] (INT_LEAST64_MAX): Likewise.
2192 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
2193 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
2194 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
2195 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
2196 [C99-based standards] (INT_FAST8_MIN): Likewise.
2197 [C99-based standards] (INT_FAST8_MAX): Likewise.
2198 [C99-based standards] (INT_FAST16_MIN): Likewise.
2199 [C99-based standards] (INT_FAST16_MAX): Likewise.
2200 [C99-based standards] (INT_FAST32_MIN): Likewise.
2201 [C99-based standards] (INT_FAST32_MAX): Likewise.
2202 [C99-based standards] (INT_FAST64_MIN): Likewise.
2203 [C99-based standards] (INT_FAST64_MAX): Likewise.
2204 [C99-based standards] (UINT_FAST8_MAX): Likewise.
2205 [C99-based standards] (UINT_FAST16_MAX): Likewise.
2206 [C99-based standards] (UINT_FAST32_MAX): Likewise.
2207 [C99-based standards] (UINT_FAST64_MAX): Likewise.
2208 [C99-based standards] (INTPTR_MIN): Likewise.
2209 [C99-based standards] (INTPTR_MAX): Likewise.
2210 [C99-based standards] (UINTPTR_MAX): Likewise.
2211 [C99-based standards] (INTMAX_MIN): Likewise.
2212 [C99-based standards] (INTMAX_MAX): Likewise.
2213 [C99-based standards] (UINTMAX_MAX): Likewise.
2214 [C99-based standards] (PTRDIFF_MIN): Likewise.
2215 [C99-based standards] (PTRDIFF_MAX): Likewise.
2216 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
2217 [C99-based standards] (SIZE_MAX): Likewise.
2218 [C99-based standards] (WCHAR_MAX): Likewise.
2219 [C99-based standards] (WINT_MAX): Likewise.
2220 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
2221 constraint on value.
2222 [C99-based standards] (WCHAR_MIN): Likewise.
2223 [C99-based standards] (WINT_MIN): Likewise.
2224 [C99-based standards] (*_t): Allow.
2225 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
2226 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
2227 Include math.h-data and complex.h-data. Remove all expectations
2228 of math.h and complex.h contents.
2229 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
2230 at end of line.
2231 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
2232 (struct tm): Expect tag.
2233 [C99-based-standards] (wcstof): Expect function.
2234 [C99-based-standards] (wcstold): Likewise.
2235 [C99-based-standards] (wcstoll): Likewise.
2236 [C99-based-standards] (wcstoull): Likewise.
2237 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
2238 macro-int-constant. Specify type.
2239 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
2240 constraint on value.
2241 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2242 Specify type.
2243 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
2244 Specify value.
2245 [ISO C standards]: Do not allow headers.
2246 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
2247 wcs[abcdefghijklmnopqrstuvwxyz]*.
2248 [ISO C standards] (*_t): Do not allow.
2249 * conform/data/wctype.h-data [C99-based standards] (iswblank):
2250 Expect function.
2251 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
2252 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2253 Specify type.
2254 [ISO C standards]: Do not allow headers.
2255 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
2256 is[abcdefghijklmnopqrstuvwxyz]*.
2257 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
2258 to[abcdefghijklmnopqrstuvwxyz]*.
2259 [ISO C standards] (*_t): Do not allow.
2260 * conform/data/stdalign.h-data: New file.
2261 * conform/data/stdbool.h-data: Likewise.
2262 * conform/data/stdnoreturn.h-data: Likewise.
2263
7514feb8
RM
22642012-11-07 Roland McGrath <roland@hack.frob.com>
2265
2266 [BZ #14815]
2267 * manual/filesys.texi (Directory Entries): Typo fix.
2268 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
2269
19b2ecfc
MS
22702012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2271
2272 * elf/elf.h (EM_AARCH64): New macro.
2273 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
2274 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
2275 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
2276 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
2277 (R_AARCH64_TLSDESC): Likewise.
2278 (NT_ARM_TLS): Likewise.
2279 (NT_ARM_HW_BREAK): Likewise.
2280 (NT_ARM_HW_WATCH): Likewise.
2281
60e235ee
JM
22822012-11-07 Joseph Myers <joseph@codesourcery.com>
2283
2284 [BZ #14811]
2285 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
2286 (__ieee754_powl): Saturate nonzero exponents with absolute value
2287 below 0x1p-79 to +/- 0x1p-79.
2288 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
2289 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
2290 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
2291 nonzero exponents with absolute value below 0x1p-32 to +/-
2292 0x1p-32.
2293 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
2294 (__ieee754_powl): Saturate nonzero exponents with absolute value
2295 below 0x1p-79 to +/- 0x1p-79.
2296 * math/libm-test.inc (pow_test): Add more tests.
2297
0ab234b7
AK
22982012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2299
2300 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
2301 _dl_s390_cap_flags with kernel. Increase string length.
2302 (_dl_s390_platforms): Add z196 and zEC12.
2303
45832f74
JM
23042012-11-07 Joseph Myers <joseph@codesourcery.com>
2305
2306 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
2307 Change XOPEN21K to XOPEN2K.
2308
19218757
MK
23092012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
2310
2311 * string/memmove.c: Use memcpy when possible.
2312
c5f45721
AJ
23132012-11-06 Andreas Jaeger <aj@suse.de>
2314
2315 * po/eo.po: Update from translation team.
2316
82477c28
JM
23172012-11-06 Joseph Myers <joseph@codesourcery.com>
2318
2319 [BZ #14793]
2320 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
2321 exponent and small x and y exponents, scale x or y up. Increase
2322 by 2 the exponent used in scaling up.
2323 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2324 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2325 * math/libm-test.inc (fma_test): Add more tests.
2326 (fma_test_towardzero): Likewise.
2327 (fma_test_downward): Likewise.
2328 (fma_test_upward): Likewise.
2329
99252c8c
JM
23302012-11-05 Joseph Myers <joseph@codesourcery.com>
2331
acfa885f
JM
2332 [BZ #14805]
2333 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
2334 fenv_t *.
2335
99252c8c
JM
2336 [BZ #14801]
2337 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
2338 namespace for names of struct fields.
2339 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
2340 fenv_t fields.
2341 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2342 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
2343
d6d98dea
ST
23442012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2345
2346 [BZ #3665]
2347 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
2348
e10bb107
TS
23492012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2350
2351 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
2352 PTR_DEMANGLE.
2353
2354 [BZ #5246]
2355 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
2356 PTR_DEMANGLE.
2357
a0c2940d
JM
23582012-11-04 Joseph Myers <joseph@codesourcery.com>
2359
2360 [BZ #14797]
2361 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
2362 definitely overflow as x * y not x * y + z.
2363 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2364 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2365 * math/libm-test.inc (fma_test): Add more tests.
2366 (fma_test_towardzero): Likewise.
2367 (fma_test_downward): Likewise.
2368 (fma_test_upward): Likewise.
2369
b830319d
TS
23702012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2371
2372 [BZ #157]
2373
2374 * include/stub-tag.h: Remove file.
2375 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
2376 '#include' of it.
2377 * manual/maint.texi (Porting): Don't reference it.
2378 * Makerules ($(objpfx)stubs): Likewise.
2379 * dirent/closedir.c: Don't include <stub-tag.h>.
2380 * dirent/dirfd.c: Likewise.
2381 * dirent/fdopendir.c: Likewise.
2382 * dirent/getdents.c: Likewise.
2383 * dirent/getdents64.c: Likewise.
2384 * dirent/opendir.c: Likewise.
2385 * dirent/readdir.c: Likewise.
2386 * dirent/readdir64.c: Likewise.
2387 * dirent/readdir64_r.c: Likewise.
2388 * dirent/readdir_r.c: Likewise.
2389 * dirent/rewinddir.c: Likewise.
2390 * dirent/seekdir.c: Likewise.
2391 * dirent/telldir.c: Likewise.
2392 * gmon/profil.c: Likewise.
2393 * grp/setgroups.c: Likewise.
2394 * inet/if_index.c: Likewise.
2395 * io/access.c: Likewise.
2396 * io/chdir.c: Likewise.
2397 * io/chmod.c: Likewise.
2398 * io/chown.c: Likewise.
2399 * io/close.c: Likewise.
2400 * io/dup.c: Likewise.
2401 * io/dup2.c: Likewise.
2402 * io/dup3.c: Likewise.
2403 * io/euidaccess.c: Likewise.
2404 * io/faccessat.c: Likewise.
2405 * io/fchdir.c: Likewise.
2406 * io/fchmod.c: Likewise.
2407 * io/fchmodat.c: Likewise.
2408 * io/fchown.c: Likewise.
2409 * io/fchownat.c: Likewise.
2410 * io/fcntl.c: Likewise.
2411 * io/flock.c: Likewise.
2412 * io/fstatfs.c: Likewise.
2413 * io/fstatfs64.c: Likewise.
2414 * io/fstatvfs.c: Likewise.
2415 * io/fstatvfs64.c: Likewise.
2416 * io/futimens.c: Likewise.
2417 * io/fxstat.c: Likewise.
2418 * io/fxstat64.c: Likewise.
2419 * io/fxstatat.c: Likewise.
2420 * io/fxstatat64.c: Likewise.
2421 * io/getcwd.c: Likewise.
2422 * io/isatty.c: Likewise.
2423 * io/lchmod.c: Likewise.
2424 * io/lchown.c: Likewise.
2425 * io/link.c: Likewise.
2426 * io/linkat.c: Likewise.
2427 * io/lseek.c: Likewise.
2428 * io/lseek64.c: Likewise.
2429 * io/lxstat64.c: Likewise.
2430 * io/mkdir.c: Likewise.
2431 * io/mkdirat.c: Likewise.
2432 * io/mkfifo.c: Likewise.
2433 * io/mkfifoat.c: Likewise.
2434 * io/open.c: Likewise.
2435 * io/open64.c: Likewise.
2436 * io/openat.c: Likewise.
2437 * io/openat64.c: Likewise.
2438 * io/pipe.c: Likewise.
2439 * io/pipe2.c: Likewise.
2440 * io/poll.c: Likewise.
2441 * io/posix_fadvise.c: Likewise.
2442 * io/posix_fadvise64.c: Likewise.
2443 * io/posix_fallocate.c: Likewise.
2444 * io/posix_fallocate64.c: Likewise.
2445 * io/read.c: Likewise.
2446 * io/readlink.c: Likewise.
2447 * io/readlinkat.c: Likewise.
2448 * io/rmdir.c: Likewise.
2449 * io/sendfile.c: Likewise.
2450 * io/sendfile64.c: Likewise.
2451 * io/statfs.c: Likewise.
2452 * io/statfs64.c: Likewise.
2453 * io/statvfs.c: Likewise.
2454 * io/statvfs64.c: Likewise.
2455 * io/symlink.c: Likewise.
2456 * io/symlinkat.c: Likewise.
2457 * io/ttyname.c: Likewise.
2458 * io/ttyname_r.c: Likewise.
2459 * io/umask.c: Likewise.
2460 * io/unlink.c: Likewise.
2461 * io/unlinkat.c: Likewise.
2462 * io/utime.c: Likewise.
2463 * io/utimensat.c: Likewise.
2464 * io/write.c: Likewise.
2465 * io/xmknod.c: Likewise.
2466 * io/xmknodat.c: Likewise.
2467 * io/xstat.c: Likewise.
2468 * io/xstat64.c: Likewise.
2469 * login/getpt.c: Likewise.
2470 * login/grantpt.c: Likewise.
2471 * login/unlockpt.c: Likewise.
2472 * math/e_acoshl.c: Likewise.
2473 * math/e_acosl.c: Likewise.
2474 * math/e_asinl.c: Likewise.
2475 * math/e_atan2l.c: Likewise.
2476 * math/e_atanhl.c: Likewise.
2477 * math/e_coshl.c: Likewise.
2478 * math/e_expl.c: Likewise.
2479 * math/e_fmodl.c: Likewise.
2480 * math/e_gammal_r.c: Likewise.
2481 * math/e_hypotl.c: Likewise.
2482 * math/e_j0l.c: Likewise.
2483 * math/e_j1l.c: Likewise.
2484 * math/e_jnl.c: Likewise.
2485 * math/e_lgammal_r.c: Likewise.
2486 * math/e_log10l.c: Likewise.
2487 * math/e_log2l.c: Likewise.
2488 * math/e_logl.c: Likewise.
2489 * math/e_powl.c: Likewise.
2490 * math/e_rem_pio2l.c: Likewise.
2491 * math/e_sinhl.c: Likewise.
2492 * math/e_sqrtl.c: Likewise.
2493 * math/fclrexcpt.c: Likewise.
2494 * math/fedisblxcpt.c: Likewise.
2495 * math/feenablxcpt.c: Likewise.
2496 * math/fegetenv.c: Likewise.
2497 * math/fegetexcept.c: Likewise.
2498 * math/fegetround.c: Likewise.
2499 * math/feholdexcpt.c: Likewise.
2500 * math/fesetenv.c: Likewise.
2501 * math/fesetround.c: Likewise.
2502 * math/feupdateenv.c: Likewise.
2503 * math/fgetexcptflg.c: Likewise.
2504 * math/fraiseexcpt.c: Likewise.
2505 * math/fsetexcptflg.c: Likewise.
2506 * math/ftestexcept.c: Likewise.
2507 * math/k_cosl.c: Likewise.
2508 * math/k_rem_pio2l.c: Likewise.
2509 * math/k_sinl.c: Likewise.
2510 * math/k_tanl.c: Likewise.
2511 * math/s_asinhl.c: Likewise.
2512 * math/s_atanl.c: Likewise.
2513 * math/s_cbrtl.c: Likewise.
2514 * math/s_erfl.c: Likewise.
2515 * math/s_expm1l.c: Likewise.
2516 * math/s_log1pl.c: Likewise.
2517 * math/s_tanhl.c: Likewise.
2518 * misc/acct.c: Likewise.
2519 * misc/brk.c: Likewise.
2520 * misc/chflags.c: Likewise.
2521 * misc/chroot.c: Likewise.
2522 * misc/fchflags.c: Likewise.
2523 * misc/fgetxattr.c: Likewise.
2524 * misc/flistxattr.c: Likewise.
2525 * misc/fremovexattr.c: Likewise.
2526 * misc/fsetxattr.c: Likewise.
2527 * misc/fsync.c: Likewise.
2528 * misc/ftruncate.c: Likewise.
2529 * misc/futimes.c: Likewise.
2530 * misc/futimesat.c: Likewise.
2531 * misc/getdomain.c: Likewise.
2532 * misc/getdtsz.c: Likewise.
2533 * misc/gethostid.c: Likewise.
2534 * misc/gethostname.c: Likewise.
2535 * misc/getloadavg.c: Likewise.
2536 * misc/getpagesize.c: Likewise.
2537 * misc/getsysstats.c: Likewise.
2538 * misc/getxattr.c: Likewise.
2539 * misc/gtty.c: Likewise.
2540 * misc/ioctl.c: Likewise.
2541 * misc/lgetxattr.c: Likewise.
2542 * misc/listxattr.c: Likewise.
2543 * misc/llistxattr.c: Likewise.
2544 * misc/lremovexattr.c: Likewise.
2545 * misc/lsetxattr.c: Likewise.
2546 * misc/lutimes.c: Likewise.
2547 * misc/madvise.c: Likewise.
2548 * misc/mincore.c: Likewise.
2549 * misc/mlock.c: Likewise.
2550 * misc/mlockall.c: Likewise.
2551 * misc/mmap.c: Likewise.
2552 * misc/mprotect.c: Likewise.
2553 * misc/msync.c: Likewise.
2554 * misc/munlock.c: Likewise.
2555 * misc/munlockall.c: Likewise.
2556 * misc/munmap.c: Likewise.
2557 * misc/preadv.c: Likewise.
2558 * misc/preadv64.c: Likewise.
2559 * misc/ptrace.c: Likewise.
2560 * misc/pwritev.c: Likewise.
2561 * misc/pwritev64.c: Likewise.
2562 * misc/readv.c: Likewise.
2563 * misc/reboot.c: Likewise.
2564 * misc/remap_file_pages.c: Likewise.
2565 * misc/removexattr.c: Likewise.
2566 * misc/revoke.c: Likewise.
2567 * misc/select.c: Likewise.
2568 * misc/setdomain.c: Likewise.
2569 * misc/setegid.c: Likewise.
2570 * misc/seteuid.c: Likewise.
2571 * misc/sethostid.c: Likewise.
2572 * misc/sethostname.c: Likewise.
2573 * misc/setregid.c: Likewise.
2574 * misc/setreuid.c: Likewise.
2575 * misc/setxattr.c: Likewise.
2576 * misc/sstk.c: Likewise.
2577 * misc/stty.c: Likewise.
2578 * misc/swapoff.c: Likewise.
2579 * misc/swapon.c: Likewise.
2580 * misc/sync.c: Likewise.
2581 * misc/syncfs.c: Likewise.
2582 * misc/syscall.c: Likewise.
2583 * misc/truncate.c: Likewise.
2584 * misc/ualarm.c: Likewise.
2585 * misc/usleep.c: Likewise.
2586 * misc/ustat.c: Likewise.
2587 * misc/utimes.c: Likewise.
2588 * misc/vhangup.c: Likewise.
2589 * misc/writev.c: Likewise.
2590 * posix/_exit.c: Likewise.
2591 * posix/alarm.c: Likewise.
2592 * posix/execve.c: Likewise.
2593 * posix/fexecve.c: Likewise.
2594 * posix/fork.c: Likewise.
2595 * posix/fpathconf.c: Likewise.
2596 * posix/getaddrinfo.c: Likewise.
2597 * posix/getegid.c: Likewise.
2598 * posix/geteuid.c: Likewise.
2599 * posix/getgid.c: Likewise.
2600 * posix/getgroups.c: Likewise.
2601 * posix/getlogin.c: Likewise.
2602 * posix/getlogin_r.c: Likewise.
2603 * posix/getpgid.c: Likewise.
2604 * posix/getpid.c: Likewise.
2605 * posix/getppid.c: Likewise.
2606 * posix/getresgid.c: Likewise.
2607 * posix/getresuid.c: Likewise.
2608 * posix/getsid.c: Likewise.
2609 * posix/getuid.c: Likewise.
2610 * posix/glob64.c: Likewise.
2611 * posix/nanosleep.c: Likewise.
2612 * posix/pathconf.c: Likewise.
2613 * posix/pause.c: Likewise.
2614 * posix/posix_madvise.c: Likewise.
2615 * posix/pread.c: Likewise.
2616 * posix/pread64.c: Likewise.
2617 * posix/pwrite.c: Likewise.
2618 * posix/pwrite64.c: Likewise.
2619 * posix/sched_getaffinity.c: Likewise.
2620 * posix/sched_getp.c: Likewise.
2621 * posix/sched_gets.c: Likewise.
2622 * posix/sched_primax.c: Likewise.
2623 * posix/sched_primin.c: Likewise.
2624 * posix/sched_rr_gi.c: Likewise.
2625 * posix/sched_setaffinity.c: Likewise.
2626 * posix/sched_setp.c: Likewise.
2627 * posix/sched_sets.c: Likewise.
2628 * posix/sched_yield.c: Likewise.
2629 * posix/setgid.c: Likewise.
2630 * posix/setlogin.c: Likewise.
2631 * posix/setpgid.c: Likewise.
2632 * posix/setresgid.c: Likewise.
2633 * posix/setresuid.c: Likewise.
2634 * posix/setsid.c: Likewise.
2635 * posix/setuid.c: Likewise.
2636 * posix/sleep.c: Likewise.
2637 * posix/spawni.c: Likewise.
2638 * posix/sysconf.c: Likewise.
2639 * posix/times.c: Likewise.
2640 * posix/wait.c: Likewise.
2641 * posix/wait3.c: Likewise.
2642 * posix/wait4.c: Likewise.
2643 * posix/waitpid.c: Likewise.
2644 * resolv/gai_sigqueue.c: Likewise.
2645 * resource/getpriority.c: Likewise.
2646 * resource/getrlimit.c: Likewise.
2647 * resource/getrusage.c: Likewise.
2648 * resource/nice.c: Likewise.
2649 * resource/setpriority.c: Likewise.
2650 * resource/setrlimit.c: Likewise.
2651 * resource/ulimit.c: Likewise.
2652 * rt/aio_cancel.c: Likewise.
2653 * rt/aio_fsync.c: Likewise.
2654 * rt/aio_read.c: Likewise.
2655 * rt/aio_sigqueue.c: Likewise.
2656 * rt/aio_suspend.c: Likewise.
2657 * rt/aio_write.c: Likewise.
2658 * rt/clock_getres.c: Likewise.
2659 * rt/clock_gettime.c: Likewise.
2660 * rt/clock_nanosleep.c: Likewise.
2661 * rt/clock_settime.c: Likewise.
2662 * rt/lio_listio.c: Likewise.
2663 * rt/mq_close.c: Likewise.
2664 * rt/mq_getattr.c: Likewise.
2665 * rt/mq_notify.c: Likewise.
2666 * rt/mq_open.c: Likewise.
2667 * rt/mq_receive.c: Likewise.
2668 * rt/mq_send.c: Likewise.
2669 * rt/mq_setattr.c: Likewise.
2670 * rt/mq_timedreceive.c: Likewise.
2671 * rt/mq_timedsend.c: Likewise.
2672 * rt/mq_unlink.c: Likewise.
2673 * rt/shm_open.c: Likewise.
2674 * rt/shm_unlink.c: Likewise.
2675 * rt/timer_create.c: Likewise.
2676 * rt/timer_delete.c: Likewise.
2677 * rt/timer_getoverr.c: Likewise.
2678 * rt/timer_gettime.c: Likewise.
2679 * rt/timer_settime.c: Likewise.
2680 * setjmp/__longjmp.c: Likewise.
2681 * setjmp/setjmp.c: Likewise.
2682 * signal/kill.c: Likewise.
2683 * signal/killpg.c: Likewise.
2684 * signal/raise.c: Likewise.
2685 * signal/sigaction.c: Likewise.
2686 * signal/sigaltstack.c: Likewise.
2687 * signal/sigblock.c: Likewise.
2688 * signal/sigignore.c: Likewise.
2689 * signal/sigintr.c: Likewise.
2690 * signal/signal.c: Likewise.
2691 * signal/sigpause.c: Likewise.
2692 * signal/sigpending.c: Likewise.
2693 * signal/sigqueue.c: Likewise.
2694 * signal/sigreturn.c: Likewise.
2695 * signal/sigset.c: Likewise.
2696 * signal/sigsetmask.c: Likewise.
2697 * signal/sigstack.c: Likewise.
2698 * signal/sigsuspend.c: Likewise.
2699 * signal/sigtimedwait.c: Likewise.
2700 * signal/sigvec.c: Likewise.
2701 * signal/sigwait.c: Likewise.
2702 * signal/sigwaitinfo.c: Likewise.
2703 * signal/sysv_signal.c: Likewise.
2704 * socket/accept.c: Likewise.
2705 * socket/accept4.c: Likewise.
2706 * socket/bind.c: Likewise.
2707 * socket/connect.c: Likewise.
2708 * socket/getpeername.c: Likewise.
2709 * socket/getsockname.c: Likewise.
2710 * socket/getsockopt.c: Likewise.
2711 * socket/isfdtype.c: Likewise.
2712 * socket/listen.c: Likewise.
2713 * socket/recv.c: Likewise.
2714 * socket/recvfrom.c: Likewise.
2715 * socket/recvmsg.c: Likewise.
2716 * socket/send.c: Likewise.
2717 * socket/sendmsg.c: Likewise.
2718 * socket/sendto.c: Likewise.
2719 * socket/setsockopt.c: Likewise.
2720 * socket/shutdown.c: Likewise.
2721 * socket/sockatmark.c: Likewise.
2722 * socket/socket.c: Likewise.
2723 * socket/socketpair.c: Likewise.
2724 * stdio-common/ctermid.c: Likewise.
2725 * stdio-common/cuserid.c: Likewise.
2726 * stdio-common/remove.c: Likewise.
2727 * stdio-common/rename.c: Likewise.
2728 * stdio-common/renameat.c: Likewise.
2729 * stdio-common/tempname.c: Likewise.
2730 * stdlib/getcontext.c: Likewise.
2731 * stdlib/makecontext.c: Likewise.
2732 * stdlib/setcontext.c: Likewise.
2733 * stdlib/swapcontext.c: Likewise.
2734 * stdlib/system.c: Likewise.
2735 * streams/fattach.c: Likewise.
2736 * streams/fdetach.c: Likewise.
2737 * streams/getmsg.c: Likewise.
2738 * streams/getpmsg.c: Likewise.
2739 * streams/putmsg.c: Likewise.
2740 * streams/putpmsg.c: Likewise.
2741 * sysdeps/unix/bsd/getpt.c: Likewise.
2742 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2743 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2744 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2746 Likewise.
2747 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2748 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2749 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2750 * sysvipc/msgctl.c: Likewise.
2751 * sysvipc/msgget.c: Likewise.
2752 * sysvipc/msgrcv.c: Likewise.
2753 * sysvipc/msgsnd.c: Likewise.
2754 * sysvipc/semctl.c: Likewise.
2755 * sysvipc/semget.c: Likewise.
2756 * sysvipc/semop.c: Likewise.
2757 * sysvipc/semtimedop.c: Likewise.
2758 * sysvipc/shmat.c: Likewise.
2759 * sysvipc/shmctl.c: Likewise.
2760 * sysvipc/shmdt.c: Likewise.
2761 * sysvipc/shmget.c: Likewise.
2762 * termios/tcdrain.c: Likewise.
2763 * termios/tcflow.c: Likewise.
2764 * termios/tcflush.c: Likewise.
2765 * termios/tcgetattr.c: Likewise.
2766 * termios/tcgetpgrp.c: Likewise.
2767 * termios/tcsendbrk.c: Likewise.
2768 * termios/tcsetattr.c: Likewise.
2769 * termios/tcsetpgrp.c: Likewise.
2770 * time/adjtime.c: Likewise.
2771 * time/clock.c: Likewise.
2772 * time/getitimer.c: Likewise.
2773 * time/gettimeofday.c: Likewise.
2774 * time/setitimer.c: Likewise.
2775 * time/settimeofday.c: Likewise.
2776 * time/stime.c: Likewise.
2777 * time/time.c: Likewise.
2778
27792012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 2780
a20492cf
PT
2781 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2782 /usr/old/bin.
2783
72e182e3
PT
2784 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2785 instead of spaces.
2786 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2787
fbeafede
JM
27882012-11-03 Joseph Myers <joseph@codesourcery.com>
2789
5b5b04d6
JM
2790 [BZ #14796]
2791 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2792 FE_TONEAREST before applying Dekker multiplication and Knuth
2793 addition. Clear inexact exceptions and check for exact zero
2794 results afterwards.
2795 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2796 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2797 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2798 * math/libm-test.inc (fma_test): Add more tests.
2799 (fma_test_towardzero): Likewise.
2800 (fma_test_downward): Likewise.
2801 (fma_test_upward): Likewise.
2802 * sysdeps/generic/math_private.h (default_libc_fesetround): New
2803 function.
2804 (libc_fesetround): New macro.
2805 (libc_fesetroundf): Likewise.
2806 (libc_fesetroundl): Likewise.
2807 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2808 function.
2809 (libc_fesetround_387): Likewise.
2810 (libc_fesetroundf): New macro.
2811 (libc_fesetround): Likewise.
2812 (libc_fesetroundl): Likewise.
2813 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2814 function.
2815 (libc_fesetroundf): New macro.
2816 (libc_fesetround): Likewise.
2817 (libc_fesetroundl): Likewise.
2818 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2819 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2820 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2821 libm_hidden_ver.
2822 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2823 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2824 libm_hidden_def.
2825 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2826 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2827 libm_hidden_ver.
2828 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2829 libm_hidden_def.
2830
fbeafede
JM
2831 [BZ #3439]
2832 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2833 integer constant usable in #if and use that to give value to enum
2834 constant.
2835 (FE_DIVBYZERO): Likewise.
2836 (FE_UNDERFLOW): Likewise.
2837 (FE_OVERFLOW): Likewise.
2838 (FE_INVALID): Likewise.
2839 (FE_INVALID_SNAN): Likewise.
2840 (FE_INVALID_ISI): Likewise.
2841 (FE_INVALID_IDI): Likewise.
2842 (FE_INVALID_ZDZ): Likewise.
2843 (FE_INVALID_IMZ): Likewise.
2844 (FE_INVALID_COMPARE): Likewise.
2845 (FE_INVALID_SOFTWARE): Likewise.
2846 (FE_INVALID_SQRT): Likewise.
2847 (FE_INVALID_INTEGER_CONVERSION): Likewise.
2848 (FE_TONEAREST): Likewise.
2849 (FE_TOWARDZERO): Likewise.
2850 (FE_UPWARD): Likewise.
2851 (FE_DOWNWARD): Likewise.
2852 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2853 (FE_DIVBYZERO): Likewise.
2854 (FE_OVERFLOW): Likewise.
2855 (FE_UNDERFLOW): Likewise.
2856 (FE_INEXACT): Likewise.
2857 (FE_TONEAREST): Likewise.
2858 (FE_DOWNWARD): Likewise.
2859 (FE_UPWARD): Likewise.
2860 (FE_TOWARDZERO): Likewise.
2861 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2862 (FE_UNDERFLOW): Likewise.
2863 (FE_OVERFLOW): Likewise.
2864 (FE_DIVBYZERO): Likewise.
2865 (FE_INVALID): Likewise.
2866 (FE_TONEAREST): Likewise.
2867 (FE_TOWARDZERO): Likewise.
2868 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2869 (FE_OVERFLOW): Likewise.
2870 (FE_UNDERFLOW): Likewise.
2871 (FE_DIVBYZERO): Likewise.
2872 (FE_INEXACT): Likewise.
2873 (FE_TONEAREST): Likewise.
2874 (FE_TOWARDZERO): Likewise.
2875 (FE_UPWARD): Likewise.
2876 (FE_DOWNWARD): Likewise.
2877 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2878 (FE_DIVBYZERO): Likewise.
2879 (FE_OVERFLOW): Likewise.
2880 (FE_UNDERFLOW): Likewise.
2881 (FE_INEXACT): Likewise.
2882 (FE_TONEAREST): Likewise.
2883 (FE_DOWNWARD): Likewise.
2884 (FE_UPWARD): Likewise.
2885 (FE_TOWARDZERO): Likewise.
2886
105ca950
CM
28872012-11-02 Chris Metcalf <cmetcalf@tilera.com>
2888
2889 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2890
a542b389
AS
28912012-11-03 Andreas Schwab <schwab@linux-m68k.org>
2892
2893 * scripts/cross-test-ssh.sh (command): Use newlines to separate
2894 commands. Quote $PWD.
2895 (blacklist_exports): Don't use remove_newlines. Replace "declare
2896 -x" by "export".
2897 (remove_newlines): Remove.
2898
f62c8abc
L
28992012-11-02 H.J. Lu <hongjiu.lu@intel.com>
2900
2901 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2902 * stdlib/stdlib.h (atof): Moved to ...
2903 * include/bits/stdlib-float.h: Here. New file.
2904 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2905 * stdlib/bits/stdlib-float.h: New file.
2906 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2907 -mno-sse -mno-mmx.
2908 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2909 <xmmintrin.h>.
2910
0155d5b2
JM
29112012-11-02 Joseph Myers <joseph@codesourcery.com>
2912
a68d0680
JM
2913 * conform/conformtest.pl (@headers): Add fenv.h.
2914 * conform/data/fenv.h-data: New file.
2915 * include/fenv.h [_ISOMAC]: Disable all contents of file except
2916 include of <math/fenv.h>.
2917
caf7f573
JM
2918 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2919 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2920 && !UNIX98]. Enables tests for XOPEN2K8.
2921 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2922 POSIX2008]: Likewise.
2923
6c073ad6
JM
2924 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2925 (struct rusage): Do not expect type or its members.
2926
0155d5b2
JM
2927 [BZ #3439]
2928 * math/math.h (FP_NAN): Define macro to integer constant usable in
2929 #if and use that to give value to enum constant.
2930 (FP_INFINITE): Likewise.
2931 (FP_ZERO): Likewise.
2932 (FP_SUBNORMAL): Likewise.
2933 (FP_NORMAL): Likewise.
2934
b5dcacb4
AS
29352012-11-02 Andreas Schwab <schwab@linux-m68k.org>
2936
2937 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2938 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2939 arguments.
2940
f7934be8
RM
29412012-11-02 Roland McGrath <roland@hack.frob.com>
2942
2943 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2944 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2945 autoconf-time if not.
2946 * configure.in: Remove AC_PREREQ.
2947
d7d08bde
TMQMF
29482012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2949
2950 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2951 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2952 of the internal implementation.
2953
dcdae19a
JM
29542012-11-02 Joseph Myers <joseph@codesourcery.com>
2955
2956 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2957 except include of <misc/sys/syslog.h>.
2958
d6cffd3e
AS
29592012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2960
2961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2962 function returns with a NULL context exit with zero.
2963
b3563932
TMQMF
29642012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2965
2966 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2967
b288a93d
L
29682012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2969
2970 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2971 (run_program_cmd): This.
2972 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2973 (tst_langinfo): New variable. Use it.
2974
a2421a68
SAS
29752012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2976
2977 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2978 floating point opcodes.
2979
6f796e1b
TS
29802012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2981
7402596b
TS
2982 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2983 variable.
2984
d0d4f868
TS
2985 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2986
6f796e1b
TS
2987 * sysdeps/mach/hurd/powerpc: Remove directory.
2988 * sysdeps/mach/powerpc: Likewise.
2989
4da224a2
AS
29902012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2991
2992 * scripts/check-local-headers.sh: Ignore c++ headers.
2993
341dd673
TS
29942012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2995
2996 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2997 __libc_cleanup_region_start argument.
2998
473611b2
JM
29992012-11-01 Joseph Myers <joseph@codesourcery.com>
3000
3001 [BZ #14784]
3002 [BZ #14785]
3003 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
3004 x * y using scaling, not as x * y + z.
3005 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3006 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3007 * math/libm-test.inc (fma_test): Add more tests.
3008 (fma_test_towardzero): Likewise.
3009 (fma_test_downward): Likewise.
3010 (fma_test_upward): Likewise.
3011
4078da3d
TS
30122012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3013
3014 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
3015
903252aa
JM
30162012-10-31 Joseph Myers <joseph@codesourcery.com>
3017
3018 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
3019 New variable.
3020
cbc818d0
TS
30212012-10-31 Thomas Schwinge <thomas@codesourcery.com>
3022
3023 * rt/tst-shm.c (worker): Correct checking for mmap failure.
3024
5a03cb1e
AS
30252012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3026
3027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3028 Fix sort order.
3029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3030 Likewise.
3031
90aff2ff
TMQMF
30322012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3033
3034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3035 Fix the order of the list for glibc 2.17.
3036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3037 Likewise.
3038
1818fcb7
AS
30392012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3040
3041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3042
ef82f4da
JM
30432012-10-31 Joseph Myers <joseph@codesourcery.com>
3044
16a0e2ec
JM
3045 [BZ #14610]
3046 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
3047 for low part of x being zero before using __atanl (y).
3048 * math/libm-test.inc (atan2_test): Add another test.
3049
0eb69512
JM
3050 * manual/install.texi (Configuring and compiling): Document
3051 general use of test-wrapper and test-wrapper-env.
3052 * INSTALL: Regenerated.
3053
ef82f4da
JM
3054 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
3055 (__fma): Do not extract and scale down low bits on after-rounding
3056 systems when result rounded to normal precision would have normal
3057 exponent.
3058 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
3059 (__fmal): Do not extract and scale down low bits on after-rounding
3060 systems when result rounded to normal precision would have normal
3061 exponent.
3062 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
3063 (__fmal): Do not extract and scale down low bits on after-rounding
3064 systems when result rounded to normal precision would have normal
3065 exponent.
3066 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
3067 macro.
3068 (fma_test): Add more tests.
3069 (fma_test_towardzero): Likewise.
3070 (fma_test_downward): Likewise.
3071 (fma_test_upward): Likewise.
3072
954ef0d9
L
30732012-10-30 H.J. Lu <hongjiu.lu@intel.com>
3074
3075 * sysdeps/i386/tininess.h: Renamed to ...
3076 * sysdeps/x86/tininess.h: This.
3077 * sysdeps/x86_64/tininess.h: Removed.
3078
df61ffb2
JM
30792012-10-30 Joseph Myers <joseph@codesourcery.com>
3080
3081 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
3082 input. Use $(build-program-cmd).
3083 ($(objpfx)tst-array1-static.out): Likewise.
3084 ($(objpfx)tst-array2.out): Likewise.
3085 ($(objpfx)tst-array3.out): Likewise.
3086 ($(objpfx)tst-array4.out): Likewise.
3087 ($(objpfx)tst-array5.out): Likewise.
3088 ($(objpfx)tst-array5-static.out): Likewise.
3089
01767843
CM
30902012-10-30 Chris Metcalf <cmetcalf@tilera.com>
3091
47cc1490
CM
3092 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
3093 if defined.
3094
01767843
CM
3095 * nss/nsswitch.h (nss_interface_function): Provide new
3096 macro for use with NSS functions.
3097 * grp/initgroups.c: Use new macro.
3098 * nss/getXXbyYY.c: Likewise.
3099 * nss/getXXbyYY_r.c: Likewise.
3100 * nss/getXXent.c: Likewise.
3101 * nss/getXXent_r.c: Likewise.
3102 * sysdeps/posix/getaddrinfo.c: Likewise.
3103
8321aa97
AJ
31042012-10-30 Andreas Jaeger <aj@suse.de>
3105
3106 * po/ru.po: Update Russion translation from translation project.
3107
2a27fd6d
JM
31082012-10-30 Joseph Myers <joseph@codesourcery.com>
3109
8627a232
JM
3110 [BZ #14152]
3111 [BZ #14783]
3112 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
3113 result and shift together with sticky bit instead of replicating
3114 round-to-nearest rounding.
3115 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3116 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3117 * math/libm-test.inc (fma_test): Add more tests. Do not permit
3118 missing underflow exceptions.
3119 (fma_test_towardzero): Add more tests.
3120 (fma_test_downward): Likewise.
3121 (fma_test_upward): Likewise.
3122
2a27fd6d
JM
3123 [BZ #14047]
3124 * sysdeps/generic/tininess.h: New file.
3125 * sysdeps/i386/tininess.h: Likewise.
3126 * sysdeps/sh/tininess.h: Likewise.
3127 * sysdeps/x86_64/tininess.h: Likewise.
3128 * stdlib/tst-strtod-underflow.c: Likewise.
3129 * stdlib/tst-tininess.c: Likewise.
3130 * stdlib/strtod_l.c: Include <tininess.h>.
3131 (round_and_return): Do not set errno for exact underflow cases.
3132 Force an underflow exception when setting errno for underflow.
3133 Determine underflow based on rounding to normal precision if
3134 TININESS_AFTER_ROUNDING.
3135 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
3136 ERANGE for exact underflow cases.
3137 * stdlib/Makefile (tests): Add tst-tininess and
3138 tst-strtod-underflow.
3139 ($(objpfx)tst-tininess): Use $(link-libm).
3140 ($(objpfx)tst-strtod-underflow): Likewise.
3141
e7170363
AJ
31422012-10-30 Andreas Jaeger <aj@suse.de>
3143
e5088dc6
AJ
3144 [BZ#14767]
3145 * elf/Makefile (tests): Remove conditional for have-initfini-array
3146 since this is now always required and the variable does not exist
3147 anymore.
3148 (tests-static): Likewise.
3149 (modules-names): Likewise.
3150
e7170363 3151 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
3152
3153 * elf/tst-array1.c (fini_array): Make writeable so that it can be
3154 merged with constructor/destructor.
3155 (init_array): Likewise.
3156 * elf/tst-array2dep.c (fini_array): Likewise.
3157 (init_array): Likewise.
3158
60457d8a
MF
31592012-10-29 Mike Frysinger <vapier@gentoo.org>
3160
3161 * manual/message.texi: Delete @cartouche tags.
3162
8bece752
PT
31632012-10-29 Pino Toscano <toscano.pino@tiscali.it>
3164
94ce799f
PT
3165 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
3166 EOPNOTSUPP.
3167 * sysdeps/mach/hurd/fsync.c: Likewise.
3168
8bece752
PT
3169 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
3170 [_POSIX_REALTIME_SIGNALS]: Change condition to
3171 [_POSIX_REALTIME_SIGNALS > 0].
3172
86ebe6b1
AJ
31732012-10-27 Andreas Jaeger <aj@suse.de>
3174
3175 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
3176 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
3177 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
3178 [__WORDSIZE != 64]: Likewise.
3179
54399c08
L
31802012-10-26 H.J. Lu <hongjiu.lu@intel.com>
3181
3182 * iconvdata/tst-table.sh: Remove ${SHELL}.
3183 * iconvdata/tst-tables.sh: Likewise.
3184
e2211bed
DM
31852012-10-25 David S. Miller <davem@davemloft.net>
3186
3187 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3188 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
3189 of strtoull.
3190
f303f97c
DM
3191 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
3192 ifunc-impl-list.c
3193 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3194 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
3195 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
3196 file.
3197
1e9d84cd
RM
31982012-10-25 Roland McGrath <roland@hack.frob.com>
3199
3200 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3201 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
3202 __getdirentries.
3203
df381762
JM
32042012-10-25 Joseph Myers <joseph@codesourcery.com>
3205 Jim Blandy <jimb@codesourcery.com>
3206
3207 * scripts/cross-test-ssh.sh: New file.
3208 * manual/install.texi (Configuring and compiling): Document use of
3209 cross-test-ssh.sh.
3210 * INSTALL: Regenerated.
3211
bff64913
PT
32122012-10-25 Pino Toscano <toscano.pino@tiscali.it>
3213
3214 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
3215 EOPNOTSUPP.
3216
25fe8932
JM
32172012-10-25 Joseph Myers <joseph@codesourcery.com>
3218
3219 * Makeconfig (run-program-prefix): Fix comment.
3220
cc1290d0
JM
32212012-10-24 Joseph Myers <joseph@codesourcery.com>
3222 Jim Blandy <jimb@codesourcery.com>
3223
3224 * Makeconfig (test-wrapper): New variable,
3225 (test-wrapper-env): Likewise.
3226 [$(cross-compiling) = yes && $(test-wrapper) != ""]
3227 (run-built-tests): Define to yes.
3228 (run-program-prefix): Use $(test-wrapper).
3229 (built-program-cmd): Likewise.
3230 * Rules (make-test-out): Use $(test-wrapper-env) and
3231 $(host-built-program-cmd).
3232 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
3233 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
3234 tst-pathopt.sh.
3235 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
3236 $(test-wrapper-env) to tst-rtld-load-self.sh.
3237 ($(objpfx)order2.out): Use $(test-wrapper).
3238 ($(objpfx)tst-initorder.out): Likewise.
3239 ($(objpfx)tst-initorder2.out): Likewise.
3240 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
3241 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
3242 (test_wrapper_env): New variable. Use it to run ld.so.
3243 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
3244 Use it to run ld.so.
3245 (test_wrapper_env): Likewise.
3246 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
3247 $(test-wrapper) to run-iconv-test.sh.
3248 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
3249 (ICONV): Use $test_wrapper.
3250 * posix/Makefile ($(objpfx)globtest.out): Pass
3251 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
3252 globtest.sh, not $(run-program-prefix).
3253 * posix/globtest.sh (run_via_rtld_prefix): New variable.
3254 (test_wrapper): Likewise.
3255 (test_wrapper_env): Likewise. Use it to run globtest with HOME
3256 set together with run_via_rtld_prefix.
3257 (run_program_prefix): Define in terms of test_wrapper and
3258 run_via_rtld_prefix.
3259
6e6249d0
RM
32602012-10-24 Roland McGrath <roland@hack.frob.com>
3261
3262 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
3263 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
3264 Targets removed.
3265
3266 [BZ #14743]
3267 * include/time.h: Remove librt_hidden_proto (clock_gettime).
3268 Declare __clock_getres, __clock_gettime, __clock_settime,
3269 __clock_nanosleep, and __clock_getcpuclockid.
3270 * rt/clock_gettime.c: Define __clock_gettime as an alias.
3271 Remove librt_hidden_def (clock_gettime).
3272 * sysdeps/unix/clock_gettime.c: Likewise.
3273 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
3274 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3275 * rt/clock_getres.c: Define __clock_getres as an alias.
3276 * sysdeps/posix/clock_getres.c: Likewise.
3277 * rt/clock_settime.c: Define __clock_settime as an alias.
3278 * sysdeps/unix/clock_settime.c: Likewise.
3279 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
3280 * sysdeps/unix/clock_nanosleep.c: Likewise.
3281 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3282 * rt/clock-compat.c: New file.
3283 * rt/Makefile (librt-routines): Add clock-compat and move
3284 $(clock-routines) to ...
3285 (routines): ... here, new variable.
3286 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
3287 Don't add get_clockfreq here.
3288 * rt/Versions (libc: GLIBC_2.17): New version set.
3289 Add clock_* symbols here.
3290 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
3291 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
3292 (GLIBC_2.17): Add clock_* symbols.
3293 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3294 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3295 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3297 Likewise.
3298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3299 Likewise.
3300 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3301 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3304 * NEWS: Mention the move.
3305
3306 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3307 Use __open, __read, __close rather than their public counterparts.
3308 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3309 (__get_clockfreq_via_cpuinfo): Likewise.
3310 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
3311 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
3312
3313 * config.h.in (HAVE_IFUNC): New #undef.
3314 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
3315 was successful.
3316 * configure: Regenerated.
3317
0cae3f4b
MF
33182012-10-24 Mike Frysinger <vapier@gentoo.org>
3319
3320 * configure.in: Move READELF check to start of file.
3321 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
3322 libc_cv_asm_gnu_indirect_function in the process.
3323 * configure: Regenerated.
3324
8175a253
MF
33252012-10-24 Mike Frysinger <vapier@gentoo.org>
3326
3327 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
3328 send the output to /dev/null.
3329 (libc_cv_cc_with_libunwind): Likewise.
3330 (libc_cv_as_noexecstack): Likewise.
3331 * configure: Regenerate.
3332
0708a7d1
JM
33332012-10-24 Joseph Myers <joseph@codesourcery.com>
3334
10b40d85
JM
3335 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
3336
0708a7d1
JM
3337 * posix/globtest.sh (TMPDIR): Do not set.
3338 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
3339 (testout): Likewise.
3340
9fddec1a
AJ
33412012-10-24 Andreas Jaeger <aj@suse.de>
3342
3a8db22f
AJ
3343 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
3344 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
3345 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
3346 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
3347 posix_fadvise64, posix_fallocate64.
3348
9fddec1a
AJ
3349 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
3350 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
3351 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
3352 Likewise.
3353 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
3354 Likewise.
3355 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
3356
3357 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
3358 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
3359 <bits/fcntl-linux.h>.
3360 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
3361
3362 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
3363 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
3364 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
3365 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
3366 [__WORDSIZE != 64]: Likewise.
3367
ebfd1bbd
JM
33682012-10-23 Joseph Myers <joseph@codesourcery.com>
3369
03ac099f
JM
3370 * Makeconfig (run-built-tests): New variable.
3371 * Rules [$(cross-compiling) = yes]: Change condition to
3372 [$(run-built-tests) = no].
3373 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
3374 to [$(run-built-tests) = yes].
3375 * elf/Makefile [$(cross-compiling) = no]: Likewise
3376 * grp/Makefile [$(cross-compiling) = no]: Likewise.
3377 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
3378 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
3379 * intl/Makefile [$(cross-compiling) = no]: Likewise.
3380 * io/Makefile [$(cross-compiling) = no]: Likewise.
3381 * libio/Makefile [$(cross-compiling) = no]: Likewise.
3382 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
3383 * misc/Makefile [$(cross-compiling) = no]: Likewise.
3384 * posix/Makefile [$(cross-compiling) = no]: Likewise.
3385 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
3386 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
3387 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
3388 * string/Makefile [$(cross-compiling) = no]: Likewise.
3389
ebfd1bbd
JM
3390 * posix/Makefile ($(objpfx)globtest.out): Pass
3391 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
3392 $(rtld-installed-name).
3393 * posix/globtest.sh (elf_objpfx): Remove variable.
3394 (rtld_installed_name): Likewise.
3395 (library_path): Likewise.
3396 (run_program_prefix): New variable. Use for running globtest
3397 binary.
3398
166bca24
JB
33992012-10-23 Jim Blandy <jimb@codesourcery.com>
3400 Joseph Myers <joseph@codesourcery.com>
3401
3402 * Makeconfig (host-built-program-cmd): New variable.
3403 * elf/Makefile (tst-stackguard1-ARGS): Use
3404 $(host-built-program-cmd).
3405 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
3406 (tst-spawn-ARGS): Likewise.
3407 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
3408
88866099
JM
34092012-10-23 Joseph Myers <joseph@codesourcery.com>
3410 Jim Blandy <jimb@codesourcery.com>
3411
3412 * Makeconfig (run-via-rtld-prefix): New variable.
3413 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
3414 (built-program-cmd): Likewise.
3415
b4b4c296
AJ
34162012-10-22 Andreas Jaeger <aj@suse.de>
3417
3418 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
3419 __O_RSYNC if it exists, otherwise to O_SYNC.
3420
6fb54a22
JB
34212012-10-22 Jim Blandy <jimb@codesourcery.com>
3422 Joseph Myers <joseph@codesourcery.com>
3423
3424 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
3425 /dev/null.
3426 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
3427 from /dev/null
3428 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
3429 /dev/null.
3430
481b90b9
AJ
34312012-10-22 Andreas Jaeger <aj@suse.de>
3432
2a0e2669
AJ
3433 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
3434 Define always.
3435 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
3436
76e38f9a
AJ
3437 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3438 bits/fcntl-linux.h.
3439
7cd37b43
AJ
3440 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
3441 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
3442
481b90b9
AJ
3443 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
3444 to __O_LARGEFILE.
3445 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
3446 to __O_LARGEFILE.
3447
aba75984
JB
34482012-10-21 Jim Blandy <jimb@codesourcery.com>
3449 Joseph Myers <joseph@codesourcery.com>
3450
3451 * config.make.in (NM): New variable.
3452
88d4247f
AJ
34532012-10-21 Andreas Jaeger <aj@suse.de>
3454
3455 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3456 definitions and declarations that are provided by
3457 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3458
f2eed205
L
34592012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3460
3461 [BZ #14683]
3462 * elf/Makefile (tests-static): Add tst-leaks1-static.
3463 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
3464 ($(objpfx)tst-leaks1-static): New rule.
3465 ($(objpfx)tst-leaks1-static-mem): Likewise.
3466 (tst-leaks1-static-ENV): New macro.
3467 * elf/dl-open.c (dl_open_worker): Check the main application
3468 only if SHARED is defined.
3469 * elf/tst-leaks1-static.c: New file.
3470
335e6931
AJ
34712012-10-20 Andreas Jaeger <aj@suse.de>
3472
3473 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
3474 generic values for Linux.
3475 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
3476 and declarations that are provided by <bits/fcntl-linux.h> and
3477 include <bits/fcntl-linux.h>.
3478 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3479 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3480
ac5c94d3
RM
34812012-10-20 Roland McGrath <roland@hack.frob.com>
3482
3483 * io/fcntl.h: Move include of <bits/types.h> to the top and
3484 include it unconditionally.
3485
de54b33a
L
34862012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3487
228cfb01
L
3488 * wcsmbs/Makefile (tests-ifunc): New variable.
3489 (tests): Add $(tests-ifunc).
3490 * wcsmbs/test-wcschr-ifunc.c: New file.
3491 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3492 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3493 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3494 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3495 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3496
69f07e5f
L
3497 * string/Makefile (tests-ifunc): New variable.
3498 (tests): Add $(tests-ifunc).
3499 * string/test-memccpy.c (TEST_NAME): New macro.
3500 * string/test-memchr.c (TEST_NAME): Likewise.
3501 * string/test-memcmp.c (TEST_NAME): Likewise.
3502 * string/test-memcpy.c (TEST_NAME): Likewise.
3503 * string/test-memmem.c (TEST_NAME): Likewise.
3504 * string/test-memmove.c (TEST_NAME): Likewise.
3505 * string/test-memset.c (TEST_NAME): Likewise.
3506 * string/test-rawmemchr.c (TEST_NAME): Likewise.
3507 * string/test-stpcpy.c (TEST_NAME): Likewise.
3508 * string/test-stpncpy.c (TEST_NAME): Likewise.
3509 * string/test-strcasecmp.c (TEST_NAME): Likewise.
3510 * string/test-strcasestr.c (TEST_NAME): Likewise.
3511 * string/test-strcat.c (TEST_NAME): Likewise.
3512 * string/test-strchr.c (TEST_NAME): Likewise.
3513 * string/test-strcmp.c(TEST_NAME): Likewise.
3514 * string/test-strcpy.c (TEST_NAME): Likewise.
3515 * string/test-strcspn.c (TEST_NAME): Likewise.
3516 * string/test-strlen.c (TEST_NAME): Likewise.
3517 * string/test-strncasecmp.c (TEST_NAME): Likewise.
3518 * string/test-strncmp.c (TEST_NAME): Likewise.
3519 * string/test-strncpy.c (TEST_NAME): Likewise.
3520 * string/test-strnlen.c (TEST_NAME): Likewise.
3521 * string/test-strpbrk.c (TEST_NAME): Likewise.
3522 * string/test-strrchr.c (TEST_NAME): Likewise.
3523 * string/test-strspn.c (TEST_NAME): Likewise.
3524 * string/test-strstr.c (TEST_NAME): Likewise.
3525 * string/test-bcopy-ifunc.c: New file.
3526 * string/test-bzero-ifunc.c: Likewise.
3527 * string/test-memccpy-ifunc.c: Likewise.
3528 * string/test-memchr-ifunc.c: Likewise.
3529 * string/test-memcmp-ifunc.c: Likewise.
3530 * string/test-memcpy-ifunc.c: Likewise.
3531 * string/test-memmem-ifunc.c: Likewise.
3532 * string/test-memmove-ifunc.c: Likewise.
3533 * string/test-mempcpy-ifunc.c: Likewise.
3534 * string/test-memset-ifunc.c: Likewise.
3535 * string/test-rawmemchr-ifunc.c: Likewise.
3536 * string/test-stpcpy-ifunc.c: Likewise.
3537 * string/test-stpncpy-ifunc.c: Likewise.
3538 * string/test-strcasecmp-ifunc.c: Likewise.
3539 * string/test-strcasestr-ifunc.c: Likewise.
3540 * string/test-strcat-ifunc.c: Likewise.
3541 * string/test-strchr-ifunc.c: Likewise.
3542 * string/test-strchrnul-ifunc.c: Likewise.
3543 * string/test-strcmp-ifunc.c: Likewise.
3544 * string/test-strcpy-ifunc.c: Likewise.
3545 * string/test-strcspn-ifunc.c: Likewise.
3546 * string/test-strlen-ifunc.c: Likewise.
3547 * string/test-strncasecmp-ifunc.c: Likewise.
3548 * string/test-strncat-ifunc.c: Likewise.
3549 * string/test-strncmp-ifunc.c: Likewise.
3550 * string/test-strncpy-ifunc.c: Likewise.
3551 * string/test-strnlen-ifunc.c: Likewise.
3552 * string/test-strpbrk-ifunc.c: Likewise.
3553 * string/test-strrchr-ifunc.c: Likewise.
3554 * string/test-strspn-ifunc.c: Likewise.
3555 * string/test-strstr-ifunc.c: Likewise.
3556
de54b33a
L
3557 * debug/Makefile (tests-ifunc): New variable.
3558 (tests): Add $(tests-ifunc).
3559 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
3560 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
3561 * debug/test-stpcpy_chk-ifunc.c: New file.
3562 * debug/test-strcpy_chk-ifunc.c: Likewise.
3563
88481c16
SP
35642012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3565
3566 [BZ #13601]
3567 * elf/dl-load.c (open_verify): Retry read if the entire ELF
3568 header is not read in.
3569
135948bd
JM
35702012-10-19 Joseph Myers <joseph@codesourcery.com>
3571
89f1c388
JM
3572 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
3573 script to $(SHELL) as $<. Pass $(common-objpfx) to script
3574 directly. Pass built executable to script as
3575 $(built-program-cmd).
3576 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
3577 $testprogram without using LD_LIBRARY_PATH and $ldso.
3578
e40a0d21
JM
3579 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
3580 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
3581 $(rtld-installed-name).
3582 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
3583 (rtld_installed_name): Likewise.
3584 (library_path): Likewise.
3585 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
3586 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
3587 $(run-program-prefix) to tst-tables.sh.
3588 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
3589 it to run tst-table-from and tst-table-to.
3590 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
3591 Pass it to tst-table.sh.
3592 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
3593 $(run-program-prefix) to tst-gettext.sh.
3594 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
3595 tst-translit.sh.
3596 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
3597 tst-gettext2.sh.
3598 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
3599 to run tst-gettext.
3600 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
3601 to run tst-gettext2.
3602 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
3603 to run tst-translit.
3604 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
3605 $(run-program-prefix) to tst-mtrace.sh.
3606 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
3607 to run tst-mtrace.
3608 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
3609 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
3610 $(rtld-installed-name).
3611 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
3612 (rtld_installed_name): Likewise.
3613 (run_program_prefix): New variable. Use it to run wordexp-test.
3614
728e272a
JM
3615 * Makeconfig (ARCH): Remove all definitions.
3616 (machine): Likewise.
3617 [ARCH]: Remove conditional code.
3618 [!objdir]: Give error.
3619 [!objdir] (objpfx): Remove.
3620 [!objdir] (common-objpfx): Likewise.
3621 [!objdir] (common-objdir): Likewise.
3622 * configure.in (config_makefile): Remove. Hardcode Makefile in
3623 AC_CONFIG_FILES call.
3624 * configure: Regenerated.
3625
d528cdcf
JM
3626 [BZ #13888]
3627 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
3628 or TMPDIR.
3629 (testout): Likewise.
3630
135948bd
JM
3631 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
3632 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
3633 $(rtld-installed-name).
3634 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
3635 (rtld_installed_name): Likwise.
3636 (runit): Remove function.
3637 (run_getconf): New variable, Use it for running getconf binary.
3638
38c78296
L
36392012-10-18 H.J. Lu <hongjiu.lu@intel.com>
3640
3641 [BZ #14716]
3642 * string/test-memmem.c (check_result): New function.
3643 (do_one_test): Use it.
3644 (check1): New function.
3645 (test_main): Use it.
3646
d077f65f
MT
36472012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
3648
3649 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3650
ced52c71
JM
36512012-10-18 Joseph Myers <joseph@codesourcery.com>
3652
3653 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3654 (_G_LSEEK64): Likewise.
3655 (_G_MMAP64): Likewise.
3656 (_G_FSTAT64): Likewise.
3657 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3658 (_G_LSEEK64): Likewise.
3659 (_G_MMAP64): Likewise.
3660 (_G_FSTAT64): Likewise.
3661 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
3662 unconditional. Call __mmap64 directly.
3663 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
3664 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
3665 __lseek64 directly.
3666 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
3667 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
3668 __mmap64 directly.
3669 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
3670 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
3671 __lseek64 directly.
3672 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
3673 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
3674 __lseek64 directly.
3675 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
3676 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
3677 __lseek64 directly.
3678 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
3679 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
3680 __fxstat64 directly.
3681 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
3682 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
3683 unconditional.
3684 (freopen64) [!_G_OPEN64]: Remove conditional code.
3685 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3686 unconditional.
3687 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3688 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3689 unconditional.
3690 (ftello64) [!_G_LSEEK64]: Remove conditional code.
3691 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3692 unconditional.
3693 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3694 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3695 unconditional.
3696 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3697 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3698 unconditional.
3699 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3700 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3701 unconditional.
3702 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3703 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3704 unconditional.
3705 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3706
b741de23
SP
37072012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3708
3709 [BZ #12140]
3710 * manual/memory.texi (Malloc Tunable Parameters): Add note
3711 about free list pointers overwriting some perturb bytes.
3712 Wording suggested by Roland McGrath.
3713
f9b9d9c9
JM
37142012-10-17 Joseph Myers <joseph@codesourcery.com>
3715
3716 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3717 (lgamma_test): Likewise.
3718 (tgamma_test): Likewise.
3719
172a631a
FW
37202012-10-16 Florian Weimer <fweimer@redhat.com>
3721
3722 [BZ #14700]
3723 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3724 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3725
e9f37252
MK
37262012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
3727
3728 * NEWS: Mention BZ #14716.
3729 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3730 when removing AVAILABLE1_USES_J macro.
3731
d394eb74
L
37322012-10-12 H.J. Lu <hongjiu.lu@intel.com>
3733
3734 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3735 (__bswap_64): __uint64_t for unsigned 64-bit int.
3736
ca38dc17
AS
37372012-10-12 Andreas Schwab <schwab@linux-m68k.org>
3738
3739 * include/string.h (memmem): Declare libc hidden alias.
3740 * string/memmem.c (memmem): Define libc hidden alias.
3741 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3742 __read, __close instead of open, read, close.
3743
9a387d1f
L
37442012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3745
ac49ecaf
L
3746 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3747 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3748 global and hidden.
3749 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3750 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3751 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3752 Likewise.
3753 (__rawmemchr_sse2): Likewise.
3754 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3755 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3756 (__strchr_sse2): Likewise.
3757 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3758 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3759 (__strcasecmp_sse2): Likewise.
3760 (__strncasecmp_sse2): Likewise.
3761 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3762 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3763 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3764 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3765 (__strrchr_sse2): Likewise.
3766 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3767 ifunc-impl-list.c.
3768 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3769 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3770 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3771 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3772 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3773 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3774 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3775 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3776 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3777 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3778 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3779 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3780 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3781 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3782 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3783 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3784 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3785 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3786 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3787 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3788 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3789 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3790 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3791 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3792 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3793 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3794 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3795 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3796 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3797 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3798
b090e8ea
L
3799 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3800 global and hidden.
3801 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3802 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3803 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3804 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3805 Likewise.
3806 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3807 Likewise.
3808 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3809 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3810 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3811 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3812 ifunc-impl-list.c.
3813 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3814 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3815 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3816 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3817 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3818 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3819 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3820 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3821 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3822 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3823 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3824 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3825 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3826 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3827 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3828 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3829 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3830 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3831 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3832 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3833 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3834 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3835 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3836 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3837 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3838 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3839 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3840 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3841 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3842 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3843 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3844 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3845 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3846 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3847 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3848 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3849 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3850 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3851 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3852 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3853 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3854
11dd4af6
L
3855 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3856 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3857 * include/ifunc-impl-list.h: New file.
3858 * misc/ifunc-impl-list.c: Likewise.
3859 * misc/Makefile (routines): Add ifunc-impl-list.
3860 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3861 * string/test-string.h: Include <ifunc-impl-list.h>.
3862 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3863 impl_array): New variables.
3864 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3865 are defined.
3866 (test_init): Call __libc_ifunc_impl_list to initialize
3867 func_list if TEST_IFUNC and TEST_NAME are defined.
3868
9a387d1f
L
3869 * string/Makefile (strop-tests): Add bcopy and bzero.
3870 * string/test-bcopy.c: New file.
3871 * string/test-bzero.c: Likewise.
3872 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3873 defined.
3874 * string/test-memset.c: Support bzero test if TEST_BZERO is
3875 defined.
3876 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3877 __libc_memmove.
3878 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3879 __libc_memset.
3880 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3881 of memset.
3882
472371b9
JM
38832012-10-10 Joseph Myers <joseph@codesourcery.com>
3884
1e4a9536
JM
3885 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3886 * configure: Regenerated.
3887
d173d12e
JM
3888 * Makeconfig (+link-static-before-libc): Don't include
3889 $(link-static-libc).
3890
472371b9
JM
3891 * libio/libio.h (_IO_pos_t): Remove.
3892
89a3ad0b
AO
38932012-10-10 Alexandre Oliva <aoliva@redhat.com>
3894
3895 * NEWS: Add note about FIPS mode. Wording suggested by Roland
3896 McGrath.
3897
e7451425
AO
38982012-10-10 Alexandre Oliva <aoliva@redhat.com>
3899
3900 * crypt/crypt-entry.c: Include fips-private.h.
3901 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3902 * crypt/md5c-test.c (main): Tolerate disabled MD5.
3903 * sysdeps/unix/sysv/linux/fips-private.h: New file.
3904 * sysdeps/generic/fips-private.h: New file, dummy fallback.
3905
4ba74a35
AO
39062012-10-10 Alexandre Oliva <aoliva@redhat.com>
3907
3908 * crypt/crypt-private.h: Include stdbool.h.
3909 (_ufc_setup_salt_r): Return bool.
3910 * crypt/crypt-entry.c: Include errno.h.
3911 (__crypt_r): Return NULL with EINVAL for bad salt.
3912 * crypt/crypt_util.c (bad_for_salt): New.
3913 (_ufc_setup_salt_r): Check that salt is long enough and within
3914 the specified alphabet.
3915 * crypt/badsalttest.c: New file.
3916 * crypt/Makefile (tests): Add it.
3917 ($(objpfx)badsalttest): New.
3918
f96f1242
MK
39192012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
3920
3921 * NEWS: Add entry for BZ #14602.
3922
0e8e0c1c
JM
39232012-10-09 Joseph Myers <joseph@codesourcery.com>
3924
3925 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3926 type-generic.
3927 * math/libm-test.inc: Update comment listing what functions and
3928 macros are tested.
3929 (isgreater_test): New function.
3930 (isgreaterequal_test): Likewise.
3931 (isless_test): Likewise.
3932 (islessequal_test): Likewise.
3933 (islessgreater_test): Likewise.
3934 (isunordered_test): Likewise.
3935 (main): Call the new functions.
3936
273edc5e
RM
39372012-10-09 Roland McGrath <roland@hack.frob.com>
3938
b8493de0
RM
3939 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3940 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3941 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3942 * sysdeps/i386/configure: Regenerated.
3943 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3944 * sysdeps/mach/configure: Regenerated.
3945 * sysdeps/mach/hurd/configure: Regenerated.
3946 * sysdeps/powerpc/configure: Regenerated.
3947 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3948 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3949 * sysdeps/s390/s390-32/configure: Regenerated.
3950 * sysdeps/s390/s390-64/configure: Regenerated.
3951 * sysdeps/sh/configure: Regenerated.
3952 * sysdeps/sparc/configure: Regenerated.
3953 * sysdeps/unix/sysv/linux/configure: Regenerated.
3954 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3955 * sysdeps/x86_64/configure: Regenerated.
3956
273edc5e
RM
3957 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3958 defined. Don't check if MAP is NULL.
3959
c8450f70
JM
39602012-10-09 Joseph Myers <joseph@codesourcery.com>
3961
3962 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3963 (_G_stat64): Likewise.
3964 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3965 (_G_stat64): Likewise.
3966 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3967 instead of struct _G_stat64.
3968 * libio/fileops.c (mmap_remap_check): Likewise.
3969 (decide_maybe_mmap): Likewise.
3970 (_IO_new_file_seekoff): Likewise.
3971 (_IO_file_stat): Likewise.
3972 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3973 _G_off64_t.
3974 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3975 instead of struct _G_stat64.
3976 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3977
57e605ba
MK
39782012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3979
3980 [BZ #14602]
3981 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3982 Replace with ...
3983 (CHECK_EOL): New macro.
3984 (two_way_short_needle): Check beginning of haystack for EOL. Use
3985 CHECK_EOL.
3986 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3987 Replace with CHECK_EOL.
3988 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3989 Replace with CHECK_EOL.
3990
ef1bb361
JM
39912012-10-08 Joseph Myers <joseph@codesourcery.com>
3992
3993 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3994 type-generic.
3995 * math/libm-test.inc: Update comment listing what functions and
3996 macros are tested.
3997 (finite_test): New function.
3998 (isinf_test): Likewise.
3999 (isnan_test): Likewise.
4000 (fpclassify_test): Test subnormal input.
4001 (isfinite_test): Likewise.
4002 (isnormal_test): Likewise.
4003 (main): Call the new functions.
4004
55f11534
JN
40052012-10-08 Jonathan Nieder <jrnieder@gmail.com>
4006
4007 [BZ #14660]
4008 * Makerules (%.dynsym): Force C locale when running
4009 $(OBJDUMP) --dynamic-syms.
4010
1ab29350
AS
40112012-10-08 Andreas Schwab <schwab@linux-m68k.org>
4012
4013 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
4014 <stdint.h>.
4015
f1ecb7ef
DM
40162012-10-06 David S. Miller <davem@davemloft.net>
4017
4018 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
4019 upper 32-bits of the length value in %o2 since we use branch-on-register
4020 tests which consider the entire 64-bit register.
4021
5d41d91a
L
40222012-10-06 H.J. Lu <hongjiu.lu@intel.com>
4023
4024 * string/test-strstr.c (check2): Add a test for page boundary.
4025
3baddb72
DM
40262012-10-05 David S. Miller <davem@davemloft.net>
4027
4028 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
4029 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
4030 file.
4031 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4032 sysdep_routines.
4033 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4034 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
4035 and bzero when HWCAP_SPARC_CRYPTO is present.
4036
9cee5585
L
40372012-10-05 H.J. Lu <hongjiu.lu@intel.com>
4038
d7e0dab9
L
4039 [BZ #14602]
4040 * string/test-strstr.c (check2): New function.
4041 (test_main): Call check2.
4042
03759f47
L
4043 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
4044 and bug-strchr1.
4045 * string/bug-strcasestr1.c (do_test): Moved to ...
4046 * string/test-strcasestr.c (check1): Here. New function.
4047 (do_one_test): Break out result checking code into ...
4048 (check_result): This. New function.
4049 (do_one_test): Call check_result.
4050 (test_main): Call check1.
4051 * string/bug-strchr1.c (do_test): Moved to ...
4052 * string/test-strchr.c (check1): Here. New function.
4053 (do_one_test): Break out result checking code into ...
4054 (check_result): This. New function.
4055 (do_one_test): Call check_result.
4056 (test_main): Call check1.
4057 * string/bug-strstr1.c (main): Moved to ...
4058 * string/test-strchr.c (check1): Here. New function.
4059 (do_one_test): Break out result checking code into ...
4060 (check_result): This. New function.
4061 (do_one_test): Call check_result.
4062 (test_main): Call check1.
4063 * string/bug-strcasestr1.c: Removed.
4064 * string/bug-strchr1.c: Likewise.
4065 * string/bug-strstr1.c: Likewise.
4066
53cea63e
L
4067 * elf/Makefile (dl-routines): Add hwcaps.
4068 * elf/dl-support.c (_dl_important_hwcaps): Removed.
4069 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
4070 (_dl_important_hwcaps): Moved to ...
4071 * elf/dl-hwcaps.c: Here. New file.
4072 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
4073
9cee5585 4074 [BZ #14557]
bb859b06
L
4075 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
4076 if IS_IN_rtld isn't defined.
4077
9cee5585
L
4078 * elf/dl-support.c (_dl_sysinfo_map): New.
4079 Include "get-dynamic-info.h" and "setup-vdso.h".
4080 (_dl_non_dynamic_init): Call setup_vdso.
4081 * elf/dynamic-link.h: Don't include <assert.h>.
4082 (elf_get_dynamic_info): Moved to ...
4083 * elf/get-dynamic-info.h: Here. New file.
4084 * elf/dynamic-link.h: Include "get-dynamic-info.h".
4085 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
4086 * elf/setup-vdso.h: Here. New file.
4087 * elf/rtld.c: Include "setup-vdso.h".
4088 (dl_main): Call setup_vdso.
4089
23c31b76
JM
40902012-10-05 Joseph Myers <joseph@codesourcery.com>
4091
28234b07
JM
4092 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
4093 creal in comment listing functions tested. List finite, isinf,
4094 isnan, isless, islessequal, isgreater, isgreaterequal,
4095 islessgreater, isunordered, lgamma_r and pow10 as functions and
4096 macros not tested. Mention which functions not tested are aliases
4097 for other functions. Fix typo. Note that signs of NaNs are not
4098 tested.
4099
23c31b76
JM
4100 * scripts/config.guess: Update from config.git.
4101 * scripts/config.sub: Likewise.
4102
9043e228
RM
41032012-10-04 Roland McGrath <roland@hack.frob.com>
4104
4105 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
4106 * misc/madvise.c (madvise): Renamed to __madvise.
4107 Make madvise a weak alias.
4108 * include/sys/mman.h: Declare __madvise.
4109 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
4110 * sysdeps/unix/syscalls.list
4111 (madvise): Make __madvise the strong name, and madvise a weak alias.
4112 * sysdeps/unix/sysv/linux/syscalls.list
4113 (madvise, mmap): Remove redundant entries.
4114 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
4115 * malloc/malloc.c (mtrim): Likewise.
4116 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
4117
f57f8055
RM
41182012-10-03 Roland McGrath <roland@hack.frob.com>
4119
4120 * sysdeps/mach/hurd/dl-cache.c: File removed.
4121 * config.h.in (USE_LDCONFIG): New #undef.
4122 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
4123 * configure: Regenerated.
4124 * elf/Makefile (dl-routines): Add dl-cache only under
4125 [$(use-ldconfig) = yes].
4126 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
4127 cache on [USE_LDCONFIG].
4128 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
4129 [USE_LDCONFIG].
4130 * elf/rtld.c (dl_main): Likewise.
4131
5bb0c10a
PT
41322012-10-03 Pino Toscano <toscano.pino@tiscali.it>
4133
4134 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
4135 _SC_LEVEL4_CACHE_LINESIZE.
4136
010188c6
RM
41372012-10-03 Roland McGrath <roland@hack.frob.com>
4138
4139 * sysdeps/unix/bsd/confstr.h: File removed.
4140
b6c5ec07
AO
41412012-10-02 Alexandre Oliva <aoliva@redhat.com>
4142
4143 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
4144 sys/sdt-config.h.
4145
408223d4
RM
41462012-10-02 Roland McGrath <roland@hack.frob.com>
4147
4148 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
4149 Make 'mapoff' field ElfW(Off) rather than off_t.
4150
bb9510dc
DL
41512012-10-02 Dmitry V. Levin <ldv@altlinux.org>
4152
fc997c6e
DL
4153 * nscd/Makefile: Remove nscd-cflags and all its users.
4154 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
4155 (CFLAGS-nonlib): Add compiler flags for nscd modules.
4156
bb9510dc
DL
4157 [BZ #10631]
4158 * malloc.c (malloc_printerr): Clarify error message.
4159
05699367
L
41602012-10-02 H.J. Lu <hongjiu.lu@intel.com>
4161
4162 [BZ #14648]
4163 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4164 Set bit_FMA_Usable if FMA is supported.
4165 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
4166 macro.
4167 (bit_FMA4_Usable): Updated.
4168 (index_FMA_Usable): New macro.
4169 (CPUID_FMA): Likewise
4170 (HAS_FMA): Defined with bit_FMA_Usable.
4171
51367701
RM
41722012-10-01 Roland McGrath <roland@hack.frob.com>
4173
4174 * bits/types.h (__swblk_t): Type removed.
4175 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
4176 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
4177 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4178 (__SWBLK_T_TYPE): Likewise.
4179 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4180 (__SWBLK_T_TYPE): Likewise.
4181 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4182 (__SWBLK_T_TYPE): Likewise.
4183 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4184 (__SWBLK_T_TYPE): Likewise.
4185
4d57bf63 41862012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 4187 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
4188
4189 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
4190 (xdr_mapname): Use YPMAXMAP as maxsize.
4191 (xdr_peername): Use YPMAXPEER as maxsize.
4192 (xdr_keydat): Use YPAXRECORD as maxsize.
4193 (xdr_valdat): Use YPMAXRECORD as maxsize.
4194
93c65d43
RM
41952012-10-01 Roland McGrath <roland@hack.frob.com>
4196
497a03d6
RM
4197 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
4198
93c65d43
RM
4199 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
4200 * csu/init-first.c: ... here.
4201 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
4202 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4203 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4204 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4205 * sysdeps/i386/init-first.c: File removed.
4206 * sysdeps/sh/init-first.c: File removed.
4207
bec749fd
JM
42082012-10-01 Joseph Myers <joseph@codesourcery.com>
4209
4210 [BZ #14645]
4211 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
4212 if x * y might underflow to zero and z is zero.
4213 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4214 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4215 * math/libm-test.inc (min_subnorm_value): New variable.
4216 (fma_test): Add more tests.
4217 (fma_test_towardzero): Likewise.
4218 (fma_test_downward): Likewise
4219 (fma_test_upward): Likewise.
4220 (initialize): Set min_subnorm_value.
4221
8ec5b013
JM
42222012-09-29 Joseph Myers <joseph@codesourcery.com>
4223
4224 [BZ #14638]
4225 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
4226 0 + 0.
4227 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
4228 mode for addition resulting in exact zero.
4229 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
4230 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
4231 exact 0 + 0.
4232 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4233 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4234 * math/libm-test.inc (fma_test): Add more tests.
4235 (fma_test_towardzero): New function.
4236 (fma_test_downward): Likewise.
4237 (fma_test_upward): Likewise.
4238 (main): Call the new functions.
4239
b1fa802e
DM
42402012-09-28 David S. Miller <davem@davemloft.net>
4241
4242 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
4243
d3b9fd9e
RM
42442012-09-28 Roland McGrath <roland@hack.frob.com>
4245
ea4d37b3
RM
4246 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
4247 instead of SIGALRM.
4248
ac51c949
RM
4249 * sysdeps/gnu/_G_config.h: Moved to ...
4250 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
4251 * sysdeps/mach/hurd/_G_config.h: Moved to ...
4252 * sysdeps/generic/_G_config.h: ... here.
4253
28c195f7
RM
4254 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
4255
848917f9
RM
4256 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
4257
6bacf05b
RM
4258 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
4259 Conditionalize target on [libnss_test1.so-version].
4260
91363dbb
RM
4261 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
4262
cc87f7d8
RM
4263 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
4264 (elfobjdir): Move out of conditionals.
4265
b1c608fe
RM
4266 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
4267 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
4268 (__nss_lookup_function): Conditionalize label remove_from_tree on
4269 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 4270
1d9a6d96
DM
42712012-09-28 David S. Miller <davem@davemloft.net>
4272
4273 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
4274 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
4275 file.
4276 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4277 sysdep_routines.
4278 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4279 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
4280 when HWCAP_SPARC_CRYPTO is present.
4281
72581615
PT
42822012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4283
4284 * io/tst-mknodat.c: Create a FIFO instead of a socket.
4285
715a900c
JL
42862012-09-28 Andreas Schwab <schwab@linux-m68k.org>
4287
4288 [BZ #6530]
4289 * stdio-common/vfprintf.c (process_string_arg): Revert
4290 2000-07-22 change.
4291
42922011-09-28 Jonathan Nieder <jrnieder@gmail.com>
4293
4294 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
4295 for testcase.
4296 * stdio-common/tst-sprintf.c: Include <locale.h>
4297 (main): Test sprintf's handling of incomplete multibyte
4298 characters.
4299
9bac1d86
L
43002012-09-28 H.J. Lu <hongjiu.lu@intel.com>
4301
4302 * elf/dl-runtime.c (VERSYMIDX): Removed.
4303 * elf/dl-version.c (VERSYMIDX): Likewise.
4304 * elf/do-rel.h (VERSYMIDX): Likewise.
4305 (VALIDX): Likewise.
4306 * elf/dynamic-link.h (VERSYMIDX): Likewise.
4307 * elf/rtld.c (VALIDX): Likewise.
4308 (ADDRIDX): Likewise.
9bac1d86
L
4309 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
4310 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
4311 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
4312 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
4313 (VALIDX): Likewise.
4314 (ADDRIDX): Likewise.
9bac1d86 4315
b31606c0
PT
43162012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4317
4318 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
4319
11541177
JL
43202012-09-28 Dmitry V. Levin <ldv@altlinux.org>
4321
4322 [BZ #11438]
4323 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
4324 to global scope.
4325 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
4326 addresses are in the same scope as 192.0.2/24.
4327 * posix/gai.conf: Document new scope table defaults.
4328
adb26fae
SP
43292012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4330
4331 [BZ #5298]
4332 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
4333 for ftell. Compute offsets from write pointers instead.
4334 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4335
4573c6b0
SP
43362012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4337
4338 [BZ #14543]
4339 * libio/Makefile (tests): New test case tst-fseek.
4340 * libio/tst-fseek.c: New test case to verify that fseek/ftell
4341 combination works in wide mode.
4342 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
4343 state when the external buffer state changes.
4344
aa9bbfe6
DM
43452012-09-27 David S. Miller <davem@davemloft.net>
4346
4347 [BZ #14376]
4348 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
4349 pass reloc->r_addend in as the 'high' argument to
4350 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
4351
784421e7
DM
4352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4353
c39bc8b8
PT
43542012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4355
4356 * rt/tst-aio2.c: Include <pthread.h>.
4357 * rt/tst-aio3.c: Likewise.
4358
1ccc2399
SE
43592012-09-27 Steve Ellcey <sellcey@mips.com>
4360
4361 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
4362
31ed4153
L
43632012-09-27 H.J. Lu <hongjiu.lu@intel.com>
4364
25f5f885
L
4365 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
4366 contents on [SHARED].
31ed4153 4367
b7bfe116
MP
43682012-09-26 Marek Polacek <polacek@redhat.com>
4369
4370 [BZ #14530]
4371 [BZ #13741]
4372 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
4373 for C++ and GCC <4.3 as well as for non GCC compilers.
4374
43c4edba
MT
43752012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4376
4377 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4378
6a1bf82f
RM
43792012-09-25 Roland McGrath <roland@hack.frob.com>
4380
4381 * Makefile.in (all, install): Declare with .PHONY.
4382 Reported by Michael Hope <michael.hope@linaro.org>.
4383
8ad11b9a
TMQMF
43842012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4385
4386 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
4387 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
4388 system header.
4389 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
4390 Likewise.
4391 (sydep_routines): Add the new and the internal functions.
4392 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
4393 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
4394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
4395 (GLIBC_2.17): Add the new function.
4396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4397 (GLIBC_2.17): Likewise.
4398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4399 (GLIBC_2.17): Likewise.
4400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
4401 (GLIBC_2.17): Likewise.
4402 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
4403
7e2fca8d
AM
44042012-09-25 Alan Modra <amodra@gmail.com>
4405
4406 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
4407 Add release barrier before setting once_control to say
4408 initialisation is done. Add hints on lwarx. Use macro in
4409 place of isync.
4410 (clear_once_control): Add release barrier.
4411
b87c4b24
JM
44122012-09-25 Joseph Myers <joseph@codesourcery.com>
4413
d032e0d2
JM
4414 [BZ #13629]
4415 * math/s_clog.c (__clog): Handle more values close to |z| = 1
4416 specially.
4417 * math/s_clog10.c (__clog10): Likewise.
4418 * math/s_clog10f.c (__clog10f): Likewise.
4419 * math/s_clog10l.c (__clog10l): Likewise.
4420 * math/s_clogf.c (__clogf): Likewise.
4421 * math/s_clogl.c (__clogl): Likewise.
4422 * math/Makefile (libm-calls): Add x2y2m1.
4423 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
4424 (__x2y2m1): Likewise.
4425 (__x2y2m1l): Likewise.
4426 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
4427 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
4428 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4429 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4430 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4431 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4432 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
4433 * sysdeps/i386/fpu/libm-test-ulps: Update.
4434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4435
b87c4b24
JM
4436 [BZ #14621]
4437 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
4438 int as type of variable DEPTH.
4439 (glob): Use size_t instead of int as type of variables NEWCOUNT
4440 and OLD_PATHC.
4441
6d3bf199
LD
44422012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4443
22bf5c17
LD
4444 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4445 Add s_sincosf-sse2.
4446 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
4447 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
4448 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
4449 macros for using routine as __sincosf_ia32.
4450 Use macro for function declaration and weak_alias.
4451 * sysdeps/i386/fpu/libm-test-ulps: Update.
4452
4453 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
4454 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4455
4456 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
4457 subnormal argument.
4458 * math/s_cexpf.c (__cexpf): Likewise.
4459 * math/s_csinf.c (__csinf): Likewise.
4460 * math/s_csinhf.c (__csinhf): Likewise.
4461 * math/s_ctanf.c (__ctanf): Likewise.
4462 * math/s_ctanhf.c (__ctanhf): Likewise.
4463 * math/s_ccosh.c (__ccoshf): Likewise.
4464 * math/s_cexp.c (__cexpl): Likewise.
4465 * math/s_csin.c (__csin): Likewise.
4466 * math/s_csinh.c (__csinh): Likewise.
4467 * math/s_ctan.c (__ctan): Likewise.
4468 * math/s_ctanh.c (ctanh): Likewise.
4469 * math/s_ccoshl.c (__ccoshl): Likewise.
4470 * math/s_cexpl.c (__cexpl): Likewise.
4471 * math/s_csinl.c (__csinl): Likewise.
4472 * math/s_csinhl.c (__csinhl): Likewise.
4473 * math/s_ctanl.c (__ctanl): Likewise.
4474 * math/s_ctanhl.c (__ctanhl): Likewise.
4475
203e5603
JM
44762012-09-25 Joseph Myers <joseph@codesourcery.com>
4477
4478 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4479 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
4480 (_IO_off_t): Define to __off_t, not _G_off_t.
4481 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
4482 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
4483 (_IO_wint_t): Define to wint_t, not _G_wint_t.
4484 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
4485 type of __dummy and __dummy2 fields.
4486 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
4487 (_G_ssize_t): Likewise.
4488 (_G_off_t): Likewise.
4489 (_G_pid_t): Likewise.
4490 (_G_uid_t): Likewise.
4491 (_G_wchar_t): Likewise.
4492 (_G_wint_t): Likewise.
4493 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
4494 (_G_ssize_t): Likewise.
4495 (_G_off_t): Likewise.
4496 (_G_pid_t): Likewise.
4497 (_G_uid_t): Likewise.
4498 (_G_wchar_t): Likewise.
4499 (_G_wint_t): Likewise.
4500 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
4501 (_G_ssize_t): Likewise.
4502 (_G_off_t): Likewise.
4503 (_G_pid_t): Likewise.
4504 (_G_uid_t): Likewise.
4505 (_G_wchar_t): Likewise.
4506 (_G_wint_t): Likewise.
4507
9fab36eb
SP
45082012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4509
4510 * malloc/arena.c: Include malloc-sysdep.h.
4511 (shrink_heap): Use check_may_shrink_heap to decide if madvise
4512 is sufficient to shrink the heap or an unmap is needed.
4513 * sysdeps/generic/malloc-sysdep.h: New file. Define
4514 new function check_may_shrink_heap.
4515 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
4516 new function check_may_shrink_heap.
4517
2b4f00d1
SP
45182012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4519
4520 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
4521 comments.
4522
9a9028b1
DL
45232012-09-24 Dmitry V. Levin <ldv@altlinux.org>
4524
57c69bef
DL
4525 * catgets/test-gencat.sh: Add "set -e".
4526 * elf/tst-pathopt.sh: Likewise.
4527 * grp/tst_fgetgrent.sh: Likewise.
4528 * iconvdata/run-iconv-test.sh: Likewise.
4529 * intl/tst-gettext.sh: Likewise.
4530 * intl/tst-gettext2.sh: Likewise.
4531 * intl/tst-gettext4.sh: Likewise.
4532 * intl/tst-gettext6.sh: Likewise.
4533 * intl/tst-translit.sh: Likewise.
4534 * io/ftwtest-sh: Likewise.
4535 * libio/test-freopen.sh: Likewise.
4536 * malloc/tst-mtrace.sh: Likewise.
4537 * posix/globtest.sh: Likewise.
4538 * posix/tst-getconf.sh: Likewise.
4539 * posix/wordexp-tst.sh: Likewise.
4540 * stdio-common/tst-printf.sh: Likewise.
4541 * stdio-common/tst-unbputc.sh: Likewise.
4542 * stdlib/tst-fmtmsg.sh: Likewise.
4543 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4544 * catgets/Makefile: Do not specify -e option when running
4545 testsuite shell scripts.
4546 * elf/Makefile: Likewise.
4547 * grp/Makefile: Likewise.
4548 * iconvdata/Makefile: Likewise.
4549 * intl/Makefile: Likewise.
4550 * io/Makefile: Likewise.
4551 * libio/Makefile: Likewise.
4552 * malloc/Makefile: Likewise.
4553 * posix/Makefile: Likewise.
4554 * stdio-common/Makefile: Likewise.
4555 * stdlib/Makefile: Likewise.
4556 * sysdeps/x86_64/Makefile: Likewise.
4557
9a9028b1
DL
4558 * io/ftwtest-sh: Add copyright header.
4559 * posix/globtest.sh: Likewise.
4560 * posix/tst-getconf.sh: Likewise.
4561 * posix/wordexp-tst.sh: Likewise.
4562 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4563
ced6f16e
L
45642012-09-24 H.J. Lu <hongjiu.lu@intel.com>
4565
94b32c39
L
4566 [BZ #13679]
4567 * Makeconfig (+link): Defined as $(+link-static) if
4568 $(build-shared) isn't yes.
4569 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
4570 isn't yes.
4571 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
4572
189e935b
L
4573 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
4574
ced6f16e
L
4575 [BZ #14562]
4576 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
4577 new chunk size with MALLOC_ALIGN_MASK.
4578
a9f8e53a
JM
45792012-09-24 Joseph Myers <joseph@codesourcery.com>
4580
4581 [BZ #5044]
4582 * stdio-common/printf_fphex.c: Include <stdbool.h> and
4583 <rounding-mode.h>.
4584 (__printf_fphex): Determine rounding using get_rounding_mode and
4585 round_away.
4586 * stdio-common/tst-printf-round.c (struct hex_test): New
4587 structure.
4588 (hex_tests): New variable.
4589 (test_hex_in_one_mode): New function.
4590 (do_test): Also run tests for hex float output.
4591
43153109
JM
45922012-09-21 Joseph Myers <joseph@codesourcery.com>
4593
4594 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4595 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4596 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
4597 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4598 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4599 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
4600 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4601 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4602
8a26625d
JM
46032012-09-20 Joseph Myers <joseph@codesourcery.com>
4604
4605 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
4606 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
4607 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
4608 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
4609
f3fd569c
DL
46102012-09-19 Dmitry V. Levin <ldv@altlinux.org>
4611
4612 [BZ #14579]
4613 * elf/rtld.c (dl_main): Limit the check for self loading to normal
4614 mode only.
4615 * elf/tst-rtld-load-self.sh: New test.
4616 * elf/Makefile: Run it.
4617
63bbedd4
JM
46182012-09-18 Joseph Myers <joseph@codesourcery.com>
4619
4620 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
4621 (tst-writev-ENV): Remove.
4622 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
4623
626f8b6a
CM
46242012-09-17 Chris Metcalf <cmetcalf@tilera.com>
4625
4626 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
4627
b7aaa4d6
JM
46282012-09-17 Joseph Myers <joseph@codesourcery.com>
4629
4630 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
4631 unconditional.
4632 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
4633 Likewise.
4634 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
4635 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
4636 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4637 Likewise.
4638
65513990
L
46392012-09-14 H.J. Lu <hongjiu.lu@intel.com>
4640
4641 [BZ #14587]
4642 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4643 * config.make.in (have-cpp-asm-debuginfo): Removed.
4644 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4645 * configure: Regenerated.
4646
784761be
JM
46472012-09-14 Joseph Myers <joseph@codesourcery.com>
4648
4649 [BZ #5044]
4650 * stdio-common/printf_fp.c: Include <stdbool.h> and
4651 <rounding-mode.h>.
4652 (___printf_fp): Determine rounding using get_rounding_mode and
4653 round_away.
4654 * stdio-common/tst-printf-round.c: New file.
4655 * stdio-common/Makefile (tests): Add tst-printf-round.
4656 (link-libm): New variable.
4657 ($(objpfx)tst-printf-round): Depend in $(link-libm).
4658
9503345f
L
46592012-09-13 H.J. Lu <hongjiu.lu@intel.com>
4660
4661 [BZ #14576]
4662 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
4663 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
4664 Likewise.
4665 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
4666 Likewise.
4667
ad35fc00
JM
46682012-09-13 Joseph Myers <joseph@codesourcery.com>
4669
4670 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
4671 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4672 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4673 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4674
6c9b0f68
JM
46752012-09-12 Joseph Myers <joseph@codesourcery.com>
4676
4677 [BZ #14518]
4678 * include/rounding-mode.h: New file.
4679 * sysdeps/generic/get-rounding-mode.h: Likewise.
4680 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
4681 * stdlib/strtod_l.c: Include <rounding-mode.h>.
4682 (MAX_VALUE): New macro.
4683 (MIN_VALUE): Likewise.
4684 (overflow_value): New function.
4685 (underflow_value): Likewise.
4686 (round_and_return): Use overflow_value and underflow_value to
4687 determine return values in overflow and underflow cases. Use
4688 round_away to determine rounding depending on rounding mode.
4689 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4690 determine return values in overflow and underflow cases.
4691 * stdlib/tst-strtod-round.c: Include <fenv.h>.
4692 (struct test_results): New structure.
4693 (struct test): Use struct test_results to store expected results
4694 for all rounding modes.
4695 (TEST): Include expected results for all rounding modes.
4696 (test_in_one_mode): New function.
4697 (do_test): Use test_in_one_mode to compute and check results.
4698 Check results for all rounding modes.
4699 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4700 $(link-libm).
4701
19fcedd5
AM
47022012-12-09 Allan McRae <allan@archlinux.org>
4703
1e9d84cd 4704 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 4705
8bbfd2f1
JM
47062012-09-11 Joseph Myers <joseph@codesourcery.com>
4707
4708 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4709 (_G_int32_t): Likewise.
4710 (_G_uint16_t): Likewise.
4711 (_G_uint32_t): Likewise.
4712 (_G_HAVE_BOOL): Likewise.
4713 (_G_HAVE_ATEXIT): Likewise.
4714 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4715 (_G_HAVE_IO_FILE_OPEN): Likewise.
4716 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4717 (_G_int32_t): Likewise.
4718 (_G_uint16_t): Likewise.
4719 (_G_uint32_t): Likewise.
4720 (_G_HAVE_BOOL): Likewise.
4721 (_G_HAVE_ATEXIT): Likewise.
4722 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4723 (_G_HAVE_IO_FILE_OPEN): Likewise.
4724 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4725 (_G_int32_t): Likewise.
4726 (_G_uint16_t): Likewise.
4727 (_G_uint32_t): Likewise.
4728 (_G_HAVE_BOOL): Likewise.
4729 (_G_HAVE_ATEXIT): Likewise.
4730 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4731 (_G_HAVE_IO_FILE_OPEN): Likewise.
4732
b1dc5912
L
47332012-09-11 H.J. Lu <hongjiu.lu@intel.com>
4734
4735 * csu/libc-tls.c: Update copyright years.
4736
0e886ef9
JM
47372012-09-10 Joseph Myers <joseph@codesourcery.com>
4738
28361c5e
JM
4739 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4740 [!_G_USING_THUNKS]: Remove conditional code.
4741 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4742 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4743
0e886ef9
JM
4744 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4745 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4746 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4747 (_G_VTABLE_LABEL_PREFIX): Likewise.
4748 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4749 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4750 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4751 (_G_VTABLE_LABEL_PREFIX): Likewise.
4752 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4753 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4754 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4755 (_G_VTABLE_LABEL_PREFIX): Likewise.
4756 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4757
bcba7aa2
L
47582012-09-10 H.J. Lu <hongjiu.lu@intel.com>
4759
4760 * libio/Makefile: Include ../Makeconfig before tests.
4761 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4762 only if $(build-shared) is yes.
4763
06585ee8
L
4764 * iconv/gconv_db.c: Update copyright years.
4765
80ccd52c
LD
47662012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4767
4768 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4769 unwind info if defined PIC. Fix special cases description.
4770 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4771
4772 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4773 DP_HI_MASK entry.
4774 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4775
691bc9c1
L
47762012-09-07 H.J. Lu <hongjiu.lu@intel.com>
4777
3d9b46b3
L
4778 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4779
de2139a9
L
4780 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4781 is NULL.
4782
5ca78dd0
L
4783 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4784 (LDLIBS-tst-chk4): This.
4785 (LDFLAGS-tst-chk5): Renamed to ...
4786 (LDLIBS-tst-chk5): This.
4787 (LDFLAGS-tst-chk6): Renamed to ...
4788 (LDLIBS-tst-chk6): This.
4789 (LDFLAGS-tst-lfschk4): Renamed to ...
4790 (LDLIBS-tst-lfschk4): This.
4791 (LDFLAGS-tst-lfschk5): Renamed to ...
4792 (LDLIBS-tst-lfschk5): This.
4793 (LDFLAGS-tst-lfschk6): Renamed to ...
4794 (LDLIBS-tst-lfschk6): This.
4795
691bc9c1
L
4796 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4797 on $(common-objpfx)soversions.mk.
4798
65cafb1c
JM
47992012-09-07 Joseph Myers <joseph@codesourcery.com>
4800
4801 [BZ #10014]
4802 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4803 example host name.
4804
c78ab094
SP
48052012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4806
4807 * malloc/arena.c (arena_get_retry): New function that gets
4808 another arena for the caller to try its request on.
4809 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4810 current arena cannot fulfill the request.
4811 (__libc_memalign): Likewise.
4812 (__libc_memalign): Likewise.
4813 (__libc_pvalloc): Likewise.
4814 (__libc_calloc): Likewise.
4815
01f49f59
JT
48162012-09-05 John Tobey <john.tobey@gmail.com>
4817
4818 [BZ #13542]
4819 * manual/arith.texi (Operations on Complex): Fix description
4820 of carg branch cut.
4821
4c23fed5
JM
48222012-09-06 Joseph Myers <joseph@codesourcery.com>
4823
1d3c8572
JM
4824 [BZ #10014]
4825 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4826 host name.
4827
4c23fed5
JM
4828 [BZ #10038]
4829 * manual/memory.texi (Memory): Make order of menu items match
4830 order of sections.
4831
04570aaa
L
48322012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4833
4834 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4835 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
4836 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4837
b80af2f4
L
48382012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4839
4840 * csu/libc-tls.c (static_dtv): Renamed to ...
4841 (_dl_static_dtv): This. Make it global.
4842 (_dl_initial_dtv): Removed.
4843 (__libc_setup_tls): Updated.
4844 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4845 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4846 DL_INITIAL_DTV.
4847
2abe9f15
PM
48482012-09-06 Petr Machata <pmachata@redhat.com>
4849
4850 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4851 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4852 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4853 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4854
0948c3af
L
48552012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4856
4857 [BZ #14545]
4858 * csu/libc-tls.c (_dl_initial_dtv): New variable.
4859 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4860 freeing dtv[-1].
4861
a5055ad1
L
48622012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4863
4864 [BZ #14544]
4865 * Makeconfig (link-static-before-libc): Replace $(+prector)
4866 with $(+prectorT).
4867 (link-static-after-libc): Replace $(+postctor) with
4868 $(+postctorT).
4869 (link-bounded): Replace $(+prector)/$(+postctor) with
4870 $(+prectorT)/$(+postctorT).
4871 (+prectorT): New macro.
4872 (+postctorT): Likewise.
4873
ed8c2ecd
JM
48742012-09-06 Joseph Myers <joseph@codesourcery.com>
4875
4876 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4877 (round_str): Handle values above the maximum for IBM long double
4878 as inexact.
4879 * stdlib/tst-strtod-round.c (tests): Regenerated.
4880
14c996c8
AK
48812012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4882
4883 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4884 assembler flag.
4885 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4886 zarch_nohighgprs around the zarch optimized routines.
4887 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4888 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4889 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4890 for zarch.
4891
430d6ce6
DM
48922012-09-05 David S. Miller <davem@davemloft.net>
4893
4894 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4895
ff04dda4
DM
4896 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4897 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4898 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4899 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4900 entries.
4901
24d4e01b
AO
49022012-09-05 Alexandre Oliva <aoliva@redhat.com>
4903
4904 * malloc/arena.c: Fold copyright years.
4905 * malloc/mcheck.c, malloc/memusage.c: Likewise.
4906
61d58174
AO
49072012-09-05 Alexandre Oliva <aoliva@redhat.com>
4908
4909 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4910
20196a5e
AO
49112012-09-05 Alexandre Oliva <aoliva@redhat.com>
4912
4913 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
4914
5c447383
AO
49152012-09-05 Alexandre Oliva <aoliva@redhat.com>
4916
4917 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4918 change internal state upon failure.
4919
fad64255
AO
49202012-09-05 Alexandre Oliva <aoliva@redhat.com>
4921
4922 * malloc/mcheck.c (mcheck_check_all): Fix typo.
4923 * malloc/memusage.c (mmap): Likewise.
4924 (mmap64, mremap): Likewise. Adjust name in comment.
4925
1ffb8c90
SP
49262012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4927
4928 * libio/fileops.c: Fix typos in comments.
4929 * libio/oldfileops.c: Likewise.
4930 * libio/wfileops.c: Likewise.
4931
6ef9cc37
SP
49322012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4933
4934 [BZ #1349]
4935 * malloc/Makefile (tests): Add tst-malloc-usable test case.
4936 (tst-malloc-usable-ENV): Set environment for test case.
4937 * malloc/hooks.c (malloc_check_get_size): New function to get
4938 requested size.
4939 * malloc/malloc.c (musable): Use malloc_check_get_size.
4940 * malloc/tst-malloc-usable.c: New test case.
4941
4d038ae3
AS
49422012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4943
4944 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4945
c4e85184
AM
49462012-09-05 Allan McRae <allan@archlinux.org>
4947
b9dafc56 4948 [BZ #13966]
c4e85184
AM
4949 * configure.in (CXX_SYSINCLUDES): Use compiler output to
4950 determine header location.
4951 * configure: Regenerated.
4952
e1343020
AS
49532012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4954
4955 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4956 float format.
4957 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
4958 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4959 format.
e1343020
AS
4960 (test): Regenerate.
4961
0a9f1987
DM
49622012-09-04 David S. Miller <davem@davemloft.net>
4963
4964 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4965 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4966 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4967
29237804
FW
49682012-09-04 Florian Weimer <fweimer@redhat.com>
4969
4970 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4971 failures.
4972
edb3cb88
FW
4973 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4974
60160d83
JM
49752012-09-04 Joseph Myers <joseph@codesourcery.com>
4976
4977 [BZ #9914]
4978 * libio/iogetdelim.c: Include <limits.h>.
4979 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4980 + len + 1 would overflow.
4981
bcd6c8dc
AJ
49822012-09-03 Andreas Jaeger <aj@suse.de>
4983
4984 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4985 * sysdeps/i386/fpu/libm-test-ulps: Update.
4986
4ffffbd2
LD
49872012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4988
4989 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4990 Add s_sinf-sse2, s_conf-sse2.
4991
4992 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4993 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4994 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4995 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4996
4997 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4998 for using routine as __sinf_ia32.
4999 Use macro for function declaration and weak_alias.
5000 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
5001 for using routine as __cosf_ia32.
5002 Use macro for function declaration and weak_alias.
5003
5004 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
5005 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
5006
5007 * sysdeps/x86_64/fpu/s_sinf.S: New file.
5008 * sysdeps/x86_64/fpu/s_cosf.S: New file.
5009 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5010
5011 * math/libm-test.inc (cos_test): Add more test cases.
5012 (sin_test): Likewise.
5013 (sincos_test): Likewise.
5014
511fa286
AK
50152012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5016
5017 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5018 (IFUNC_RESOLVE): Make pointers to the specialized implementations
5019 hidden.
5020 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5021
5f30cfec
L
50222012-09-02 H.J. Lu <hongjiu.lu@intel.com>
5023
5024 [BZ #14538]
5025 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
5026 first element of the GOT.
5027 (elf_machine_load_address): Return the difference between
5028 the runtime address of _DYNAMIC and elf_machine_dynamic ().
5029
0786794f
AM
50302012-09-01 Allan McRae <allan@archlinux.org>
5031
5f30cfec
L
5032 [BZ #13412]
5033 * configure.in (AWK): Require gawk version 3.0 or later.
5034 * configure: Regenerated.
0786794f 5035
26889eac
JM
50362012-09-01 Joseph Myers <joseph@codesourcery.com>
5037
5038 * sysdeps/unix/sysv/linux/kernel-features.h
5039 (__ASSUME_POSIX_CPU_TIMERS): Remove.
5040 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5041 [__NR_clock_getres]: Make code unconditional.
5042 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
5043 (clock_getcpuclockid): Remove code left unreachable by removal of
5044 conditionals.
5045 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
5046 code unconditional.
5047 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5048 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5049 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
5050 Make code unconditional.
5051 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5052 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5053 * sysdeps/unix/sysv/linux/clock_settime.c
5054 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
5055 conditional code.
5056 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
5057 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5058
d22e28b0
L
50592012-08-29 H.J. Lu <hongjiu.lu@intel.com>
5060
5061 [BZ #14476]
5062 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
5063 scripts/test-installation.pl.
5064
5065 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
5066 and $ld_so_version if it is set.
5067
050af9c4
SP
50682012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5069
5070 [BZ #14516]
5071 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
5072 failure if reading from procfs failed.
5073 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
5074
ad845c0b
JM
50752012-08-27 Joseph Myers <joseph@codesourcery.com>
5076
5077 * sysdeps/unix/sysv/linux/kernel-features.h
5078 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
5079 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5080 Remove conditional code.
5081 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5082 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
5083 Remove conditional code.
5084 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5085 * sysdeps/unix/sysv/linux/i386/fxstat.c
5086 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5087 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5088 * sysdeps/unix/sysv/linux/i386/fxstatat.c
5089 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5090 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5091 * sysdeps/unix/sysv/linux/i386/lxstat.c
5092 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5093 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5094 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
5095 Remove conditional code.
5096 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5097 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5098 Remove conditional code.
5099 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5100 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
5101 <kernel-features.h>.
5102 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
5103 Remove.
5104 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
5105 Remove conditional code.
5106 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5107 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
5108 Remove conditional.
5109
5dbf56af
MF
51102012-08-27 Mike Frysinger <vapier@gentoo.org>
5111
5112 [BZ #5400]
5113 * NEWS: Add fixed bug number.
5114
d6e70f43
JM
51152012-08-27 Joseph Myers <joseph@codesourcery.com>
5116
7efb4737
JM
5117 [BZ #14519]
5118 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
5119 underflowing exponent in case of negative sign.
5120 * stdlib/tst-strtod-round-data: Add more tests.
5121 * stdlib/tst-strtod-round.c (tests): Regenerated.
5122
af92131a
JM
5123 [BZ #3479]
5124 * stdlib/strtod_l.c (NDIG): Remove.
5125 (HEXNDIG): Likewise.
5126 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
5127 smallest representable value.
5128 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
5129 lie within an exact representation of 1/2 ulp of the result.
5130 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
5131 unconditionally.
5132 (TENS_P9_IDX): Define unconditionally.
5133 (TENS_P9_SIZE): Likewise.
5134 (TENS_P10_IDX): Likewise.
5135 (TENS_P10_SIZE): Likewise.
5136 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
5137 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
5138 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
5139 entries for 10^2^13 and 10^2^14.
5140 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
5141 (TENS_P13_IDX): Define.
5142 (TENS_P13_SIZE): Likewise.
5143 (TENS_P14_IDX): Likewise.
5144 (TENS_P14_SIZE): Likewise.
5145 (_fpioconst_pow10): Change array size to
5146 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
5147 unconditional.
5148 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
5149 1024]: Add entries for 10^2^13 and 10^2^14.
5150 [LAST_POW10 > _LAST_POW10]: Remove #error.
5151 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
5152 (_fpioconst_pow10): Change array size to
5153 FPIOCONST_POW10_ARRAY_SIZE.
5154 * stdlib/gen-fpioconst.c: New file.
5155 * stdlib/gen-tst-strtod-round.c: Likewise.
5156 * stdlib/tst-strtod-round-data: Likewise.
5157 * stdlib/tst-strtod-round.c: Likewise.
5158 * stdlib/Makefile (tests): Add tst-strtod-round.
5159
d6e70f43
JM
5160 [BZ #14459]
5161 * stdlib/strtod_l.c: Include <stdint.h>.
5162 (NDEBUG): Do not define.
5163 (round_and_return): Change EXPONENT parameter to type intmax_t.
5164 Rearrange calculations to avoid internal overflow possibilities.
5165 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
5166 Rearrange calculations to avoid internal overflow possibilities.
5167 Assert that number fits inside MPNSIZE limbs.
5168 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
5169 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
5170 calculations and add assertions to avoid internal overflow
5171 possibilities. Add casts to avoid signed/unsigned operations.
5172 * stdlib/tst-strtod-overflow.c: New file.
5173 * stdlib/Makefile (tests): Add tst-strtod-overflow.
5174
1f529f7d
MP
51752012-08-25 Marek Polacek <polacek@redhat.com>
5176
5177 * time/time.h: Fix some typos in comments.
5178
59a629f1
RM
51792012-08-23 Roland McGrath <roland@hack.frob.com>
5180
5181 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
5182 * posix/tst-rfc3484-2.c: Likewise.
5183 * posix/tst-rfc3484-3.c: Likewise.
5184
d3bafbc9
SM
51852012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
5186
5187 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
5188 (EF_ARM_ABI_FLOAT_HARD): Likewise.
5189
4efcc022
JM
51902012-08-23 Joseph Myers <joseph@codesourcery.com>
5191
5192 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
5193 #include of fxstatat64.c.
5194
3cc3ef96
RM
51952012-08-22 Roland McGrath <roland@hack.frob.com>
5196
f04e2132
RM
5197 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
5198 * shadow/getspent_r.c: Likewise.
5199 * shadow/getspnam.c: Likewise.
5200 * shadow/getspnam_r.c: Likewise.
5201 * gshadow/getsgent.c: Likewise.
5202 * gshadow/getsgent_r.c: Likewise.
5203 * gshadow/getsgnam.c: Likewise.
5204 * gshadow/getsgnam_r.c: Likewise.
5205 * inet/getnetbyad.c: Likewise.
5206 * inet/getnetbyad_r.c: Likewise.
5207 * inet/getnetbynm.c: Likewise.
5208 * inet/getnetbynm_r.c: Likewise.
5209 * inet/getnetent.c: Likewise.
5210 * inet/getnetent_r.c: Likewise.
5211 * inet/getproto.c: Likewise.
5212 * inet/getproto_r.c: Likewise.
5213 * inet/getprtent.c: Likewise.
5214 * inet/getprtent_r.c: Likewise.
5215 * inet/getprtname.c: Likewise.
5216 * inet/getprtname_r.c: Likewise.
5217 * inet/getrpcbyname.c: Likewise.
5218 * inet/getrpcbyname_r.c: Likewise.
5219 * inet/getrpcbynumber.c: Likewise.
5220 * inet/getrpcbynumber_r.c: Likewise.
5221 * inet/getrpcent.c: Likewise.
5222 * inet/getrpcent_r.c: Likewise.
5223 * inet/getaliasent.c: Likewise.
5224 * inet/getaliasent_r.c: Likewise.
5225 * inet/getaliasname.c: Likewise.
5226 * inet/getaliasname_r.c: Likewise.
5227 * nscd/getgrgid_r.c: Likewise.
5228 * nscd/getgrnam_r.c: Likewise.
5229 * nscd/gethstbyad_r.c: Likewise.
5230 * nscd/gethstbynm3_r.c: Likewise.
5231 * nscd/getpwnam_r.c: Likewise.
5232 * nscd/getpwuid_r.c: Likewise.
5233 * nscd/getsrvbynm_r.c: Likewise.
5234 * nscd/getsrvbypt_r.c: Likewise.
5235 * nscd/gai.c: Likewise.
5236
c53d909c
RM
5237 * configure.in (build_nscd): New substituted variable, set
5238 by --disable-build-nscd and defaults to $use_nscd.
5239 * configure: Regenerated.
5240 * config.make.in (build-nscd): New substituted variable.
5241 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
5242 Change conditional to require [$(build-nscd) = yes] as well.
5243 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
5244
3cc3ef96
RM
5245 [BZ# 13696]
5246 * configure.in (use_nscd): New substituted variable, set by
5247 --disable-nscd. If enabled, define USE_NSCD.
5248 * configure: Regenerated.
5249 * config.h.in: Add USE_NSCD.
5250 * config.make.in (use-nscd): New substituted variable.
5251 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
5252 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
5253 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
5254 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
5255 (CFLAGS-getgrnam_r.c): Likewise.
5256 (CFLAGS-initgroups.c): Likewise.
5257 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
5258 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
5259 Variables removed.
5260 * inet/getnetgrent_r.c
5261 (nscd_setnetgrent): New function, broken out of ...
5262 (setnetgrent): ... here. Call it.
5263 (innetgr): Conditionalize nscd bits on [USE_NSCD].
5264 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
5265 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
5266 * nscd/Makefile (routines, aux): Move definitions after include of
5267 Makeconfig. Conditionalize on [$(use-nscd) != no].
5268 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
5269 Conditionalize on [USE_NSCD].
5270 (is_nscd, nscd_init_cb): Likewise.
5271 (nss_load_library): Conditionalize init callback on [USE_NSCD].
5272 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
5273 * nss/nss_db/db-init.c: Likewise.
5274 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
5275 [USE_NSCD].
5276 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
5277 (make_request): Use it.
5278 (cache_valid_p): New function.
5279 (__check_pf): Use it.
5280 * NEWS: Add item for --disable-nscd.
5281
07e51550
DL
52822012-08-22 Dmitry V. Levin <ldv@altlinux.org>
5283
5284 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
5285 to support sed >= 4.2.1-20-ga9bf076.
5286 * configure: Regenerated.
5287
35a5b08b
RM
52882012-08-22 Roland McGrath <roland@hack.frob.com>
5289
5290 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
5291 Conditionalize whole body on [IREL].
5292
8479f23a
JL
52932012-08-22 Jeff Law <law@redhat.com>
5294
5295 [BZ #14505]
5296 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
5297 if the family is PF_UNSPEC.
5298
48da0b21
MF
52992012-08-22 Mike Frysinger <vapier@gentoo.org>
5300
5301 * Makerules (lib-version): Rename from V.
5302 (install-lib-nosubdir): Change V to lib-version.
5303
15d0da8c
WS
53042012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
5305
5306 [BZ #14252]
5307 * powerpc32/power6/wcschr.c: New file.
5308 * powerpc32/power6/wcscpy.c: New file.
5309 * powerpc32/power6/wcsrchr.c: New file.
5310 * powerpc64/power6/wcschr.c: New file.
5311 * powerpc64/power6/wcscpy.c: New file.
5312 * powerpc64/power6/wcsrchr.c: New file.
5313
bcca0895
MK
53142012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5315
5316 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
5317 (two_way_short_needle): Use it.
5a4aaa33
RM
5318 * string/strstr.c (AVAILABLE1_USES_J): Define.
5319 * string/strcasestr.c: Likewise.
99677e57
MK
5320
5321 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
5322 array references.
5323 * string/strcasestr.c (TOLOWER): Make side-effect safe.
5324
400726de
MK
5325 [BZ #11607]
5326 * NEWS: Add an entry.
5327 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
5328 define their defaults.
5329 (two_way_short_needle): Detect end-of-string on-the-fly.
5330 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
5331 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
5332 * string/bug-strcasestr1.c: New test.
5333 * string/Makefile: Run it.
5334
20a71f2c
MK
53352012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5336
5337 [BZ #11607]
5338 * string/str-two-way.h (two_way_short_needle): Optimize matching of
5339 the first character.
5340
21ad0558
RM
53412012-08-21 Roland McGrath <roland@hack.frob.com>
5342
5343 * csu/elf-init.c (__libc_csu_irel): Function removed.
5344 * csu/libc-start.c (apply_irel): New function.
5345 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
5346
0e1d9911
JM
53472012-08-21 Joseph Myers <joseph@codesourcery.com>
5348
5349 * sysdeps/unix/sysv/linux/kernel-features.h
5350 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
5351 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5352 <kernel-features.h>.
5353 [__NR_fadvise64_64]: Make code unconditional.
5354 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
5355 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5356 !__NR_fadvise64_64)]: Likewise.
5357 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5358 !__NR_fadvise64_64))]: Likewise.
5359 [__NR_fadvise64]: Make code unconditional.
5360 [!__NR_fadvise64]: Remove conditional code.
5361 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
5362 <kernel-features.h>.
5363 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5364 unconditional.
5365 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5366 conditional code.
5367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
5368 not include <kernel-features.h>.
5369 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5370 unconditional.
5371 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5372 conditional code.
5373 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
5374 include <kernel-features.h>.
5375 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5376 unconditional.
5377 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5378 conditional code.
5379
14a50c9d
WS
53802012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5381
5382 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
5383 slight instruction rearrangements per scrollpipe analysis.
5384 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5385
c0f4faf0
RM
53862012-08-20 Roland McGrath <roland@hack.frob.com>
5387
696da859
RM
5388 * manual/syslog.texi (syslog; vsyslog, closelog):
5389 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
5390 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
5391
c0f4faf0
RM
5392 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
5393 DSOCAPS to match condition on defining it.
5394
348363b2
JM
53952012-08-20 Joseph Myers <joseph@codesourcery.com>
5396
a35cbf28
JM
5397 * sysdeps/unix/sysv/linux/kernel-features.h
5398 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
5399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
5400 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5401 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
5403 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5404 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
5406 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5407 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5408
445f7ecd
JM
5409 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
5410 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
5411
348363b2
JM
5412 * sysdeps/unix/sysv/linux/kernel-features.h
5413 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5414 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
5415 unconditional.
5416 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5417 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
5418 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5419 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5420 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
5421 Make code unconditional.
5422 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5423 (__mmap64) [!__NR_mmap2]: Likewise.
5424 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
5425 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5426 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5427 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
5428 [__NR_mmap2]: Make code unconditional.
5429 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5430 (__mmap64) [!__NR_mmap2]: Likewise.
5431
bc5bc0e5
AK
54322012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5433
5434 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
5435
88d506de
AJ
54362012-08-18 Andreas Jaeger <aj@suse.de>
5437
5438 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
5439
493387d2
MF
54402012-08-18 Mike Frysinger <vapier@gentoo.org>
5441
5442 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
5443 * include/unistd.h (__have_sock_cloexec): Likewise.
5444 (__have_pipe2): Likewise.
5445 (__have_dup3): Likewise.
5446
a277af22
MF
54472012-08-18 Mike Frysinger <vapier@gentoo.org>
5448
5449 [BZ #9685]
5450 * include/unistd.h (__have_pipe2): Change define into an extern int.
5451 (__have_dup3): Likewise.
5452 * socket/have_sock_cloexec.c: Include fcntl.h.
5453 (__have_pipe2): New variable.
5454 (__have_dup3): Likewise.
5455
fdab8fd3
MF
54562012-08-17 Mike Frysinger <vapier@gentoo.org>
5457
5458 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5459
31035e80
MP
54602012-08-17 Marek Polacek <polacek@redhat.com>
5461
5462 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
5463 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
5464
3bd9e993
RM
54652012-08-17 Roland McGrath <roland@hack.frob.com>
5466
c91c505f
RM
5467 * configure.in: Add AC_SUBST for sysheaders.
5468 * configure: Regenerated.
5469 * config.make.in (sysheaders): New substituted variable.
5470
7c6f9d53
RM
5471 * sysdeps/unix/mkfifo.c: Moved ...
5472 * sysdeps/posix/mkfifo.c: ... here.
5473 * sysdeps/unix/mkfifoat.c: Moved ...
5474 * sysdeps/posix/mkfifoat.c: ... here.
5475
5476 * sysdeps/unix/utime.c: Moved ...
5477 * sysdeps/posix/utime.c: ... here.
5478
5479 * sysdeps/unix/time.c: Moved ...
5480 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
5481 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
5482 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
5483
5484 * sysdeps/unix/nice.c: Moved ...
5485 * sysdeps/posix/nice.c: ... here.
5486
5487 * sysdeps/unix/alarm.c: Moved ...
5488 * sysdeps/posix/alarm.c: ... here.
5489
3bd9e993
RM
5490 * intl/Makefile ($(codeset_mo)): Depend on the input file.
5491
d1f09384
JL
54922012-08-17 Jeff Law <law@redhat.com>
5493
5494 * intl/Makefile (codeset_mo): New variable.
5495 ($(codeset_mo)): New target.
5496 (tst-codeset.out): Depend on that. Remove explicit rule.
5497 (tst-gettext3.out, tst-gettext5.out): Likewise.
5498 (LOCPATH-ENV, tst-codeset-ENV): New variables.
5499 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
5500 * intl/tst-codeset.sh: Remove.
5501 * intl/tst-gettext3.sh: Likewise.
5502 * intl/tst-gettext5.sh: Likewise.
5503
2ae1ae5c
RM
55042012-08-17 Roland McGrath <roland@hack.frob.com>
5505
c31fdb83
RM
5506 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
5507 * sysdeps/unix/syscalls.list: ... here.
5508
a0844057
RM
5509 * sysdeps/posix/getaddrinfo.c
5510 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
5511 (gaiconf_init, gaiconf_reload): Use them.
5512 [!_STATBUF_ST_NSEC]
5513 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
5514 Define using time_t rather than struct timespec.
5515
750c1f2a
RM
5516 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
5517 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
5518 Macros removed.
5519 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
5520 [!NO_THREADS].
5521 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
5522 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
5523 Likewise.
5524
2ae1ae5c
RM
5525 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
5526 __libc_cleanup_push argument.
5527
e66a42f5
RM
5528 * bits/param.h: New file.
5529 * misc/sys/param.h: New file.
5530 * include/sys/param.h: New file.
5531 * misc/Makefile (headers): Add bits/param.h.
5532 * sysdeps/generic/sys/param.h: File removed.
5533 * sysdeps/unix/sysv/linux/bits/param.h: New file.
5534 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
5535 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 5536 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 5537
b7c08a66
RM
5538 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
5539 last change.
5540
b2e1c562
RM
5541 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
5542 [_IO_MTSAFE_IO].
5543 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
5544 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
5545 New macros.
5546
c75ccd4c
RM
5547 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
5548 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
5549 rather than -D_IO_MTSAFE_IO conditionally.
5550 * stdio-common/Makefile (CPPFLAGS): Likewise.
5551 * wcsmbs/Makefile (CPPFLAGS): Likewise.
5552 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
5553 Use $(libio-mtsafe).
5554 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
5555 of -D_IO_MTSAFE_IO.
5556 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
5557 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
5558 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
5559 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
5560 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
5561 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
5562 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
5563 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
5564 (CFLAGS-fread_u_chk.c): Likewise.
5565 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
5566 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
5567 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
5568 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
5569 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
5570 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
5571 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
5572 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
5573 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
5574
5575 * libio/Makefile: Test [$(libc-reentrant) = yes]
5576 instead of [$(filter %REENTRANT, $(defines)) nonempty].
5577
5578 * Makeconfig
5579 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
5580 * sysdeps/pthread/configure: File removed.
5581 * sysdeps/pthread/Makeconfig: New file.
5582 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
5583 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
5584
d9195db8
GB
55852012-08-16 Gary Benson <gbenson@redhat.com>
5586
5587 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
5588 unmapping the first object in a namespace.
5589
86466cd9
RM
55902012-08-16 Roland McGrath <roland@hack.frob.com>
5591
5592 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
5593 (__internal_setnetgrent): ... this. Add internal_function to
5594 definition. Add libc_hidden_def.
5595 (setnetgrent): Update caller.
5596 (internal_endnetgrent): Renamed to ...
5597 (__internal_endnetgrent): ... this. Add internal_function to
5598 definition. Add libc_hidden_def.
5599 (endnetgrent): Update caller.
5600 (internal_getnetgrent_r): Renamed to ...
5601 (__internal_getnetgrent_r): ... this. Add internal_function to
5602 definition. Add libc_hidden_def.
5603 (__getnetgrent_r): Update caller.
5604 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
5605
c3c8283c
JM
56062012-08-16 Joseph Myers <joseph@codesourcery.com>
5607
5608 * stdlib/longlong.h: Update from GCC.
5609
db1ee0a8
RM
56102012-08-16 Roland McGrath <roland@hack.frob.com>
5611
5612 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
5613 on _QL, which is set by umul_ppmm but never used.
5614 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
5615 variables, which are set by GMP macros but never used.
5616 * stdio-common/_itowa.c (_itowa): Likewise.
5617 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
5618 * stdlib/mod_1.c (mpn_mod_1): Likewise.
5619
30f69637
CD
56202012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
5621
5622 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
5623 struct La_sh_regs is not constant.
5624 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
5625 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
5626 and struct La_sparc64_regs are not constant.
5627
93a78ac4
JM
56282012-08-16 Joseph Myers <joseph@codesourcery.com>
5629
5630 * sysdeps/unix/sysv/linux/kernel-features.h
5631 (__ASSUME_POSIX_TIMERS): Remove.
5632 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5633 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5634 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
5635 Make code unconditional.
5636 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5637 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
5638 Make code unconditional.
5639 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5640 * sysdeps/unix/sysv/linux/clock_nanosleep.c
5641 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5642 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5643 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5644 Make code unconditional.
5645 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5646 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5647 (__libc_missing_posix_timers): Remove.
5648
dd924cd7
RM
56492012-08-15 Roland McGrath <roland@hack.frob.com>
5650
4b4f2771
RM
5651 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5652 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5653
601c888b
RM
5654 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5655
176790a7
RM
5656 * elf/dl-sym.c: Include <stdlib.h>.
5657
329bc018
RM
5658 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5659 constants, which avoids warnings in 32-bit builds.
5660
e04e272d
RM
5661 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
5662 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
5663
952bf94a
RM
5664 * misc/lseek.c: File moved to ...
5665 * io/lseek.c: ... here.
5666
7c99b50a
RM
5667 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
5668
dd924cd7
RM
5669 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
5670 shifting LEN more than 31 bits at once.
5671
b3f479a8
LD
56722012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5673
5674 [BZ #14195]
8c4ae0d4
RM
5675 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5676 segmentation fault for a case of two empty input strings.
b3f479a8
LD
5677 * string/test-strncasecmp.c (check1): Renamed to...
5678 (bz12205): ...this.
5679 (bz14195): Add new testcase for two empty input strings and N > 0.
5680 (test_main): Call new testcase, adapt for renamed function.
5681
9c55864e
AJ
56822012-08-15 Andreas Jaeger <aj@suse.de>
5683
5684 [BZ #14090]
5685 * crypt/md5test2.c: New test, based on test supplied by Serge
5686 Belyshev <belyshev@depni.sinp.msu.ru>.
5687 * crypt/Makefile (xtests): Add md5test-giant..
5688 * crypt/Makefile ($(objpfx)md5test-giant): Add.
5689
02dcb6c5
PE
56902012-08-15 Paul Eggert <eggert@cs.ucla.edu>
5691
5692 [BZ #14090]
5693 * crypt/md5.c (md5_process_block): Don't assume the buffer
5694 length is less than 2**32.
5695 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5696 length is less than 2**64.
5697
a3f95dcc
RM
56982012-08-15 Roland McGrath <roland@hack.frob.com>
5699
be75d758
RM
5700 * string/str-two-way.h: Include <sys/param.h>.
5701 (MAX): Macro removed.
5702
7312ca90
RM
5703 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5704 Move #define and #undef of memmove to just before and after
5705 including <string.h>.
5706
9a0a5486
RM
5707 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5708 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5709 and after including <string.h>. Move declarations of
5710 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5711 to before #include "string/memmove.c".
5712
67cc348d
RM
5713 * include/dirent.h: Declare __getdirentries.
5714
a3f95dcc
RM
5715 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5716 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5717
ca98e171
MF
57182012-08-14 Mike Frysinger <vapier@gentoo.org>
5719
5720 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5721 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5722 * sysdeps/i386/configure: Regenerated.
5723 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5724 STABS_CURRENT_FILE, and STABS_FUN.
5725 (END): Remove call to STABS_FUN_END.
5726 (STABS_CURRENT_FILE1): Delete.
5727 (STABS_CURRENT_FILE): Likewise.
5728 (STABS_FUN): Likewise.
5729 (STABS_FUN_END): Likewise.
5730 (STABS_FUN2): Likewise.
5731 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5732 * sysdeps/x86_64/configure: Regenerated.
5733
5908bf46
RM
57342012-08-14 Roland McGrath <roland@hack.frob.com>
5735
5736 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 5737 * elf/dl-lookup.c: Likewise.
5908bf46 5738
f2c05b9e
JM
57392012-08-14 Joseph Myers <joseph@codesourcery.com>
5740
5741 * sysdeps/unix/sysv/linux/kernel-features.h
5742 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5743 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5744 unconditionally.
5745 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5746 unconditionally.
5747 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5748 condition on __ASSUME_CLONE_THREAD_FLAGS.
5749
e11f5155
AJ
57502012-08-14 Andreas Jaeger <aj@suse.de>
5751
5752 * sysdeps/i386/fpu/libm-test-ulps: Update.
5753
51a9ba86
MK
57542012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
5755
2fdd4f78
AJ
5756 * include/atomic.h (atomic_exchange_and_add): Split into ...
5757 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5758 New atomic macros.
51a9ba86 5759
ba6cba9e
MT
57602012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
5761
5762 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5763
42443a47
JL
57642012-08-13 Jeff Law <law@redhat.com>
5765
5766 * manual/stdio.texi (snprintf): Clarify handling of the trailing
5767 null byte in the output string.
5768
121dce05
JM
57692012-08-10 Joseph Myers <joseph@codesourcery.com>
5770
5771 * sysdeps/unix/sysv/linux/kernel-features.h
5772 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5773 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5774 (__ASSUME_ARG_MAX_STACK_BASED): Define.
5775 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5776 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5777 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
5778 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5779
bf51f568
JL
57802012-08-09 Jeff Law <law@redhat.com>
5781
5782 [BZ #13939]
5783 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5784 When avoid_arena is set, don't retry in the that arena. Pick the
5785 next one, whatever it might be.
5786 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5787 (arena_lock): Pass in new parameter to arena_get2.
5788 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5789 arena_get2.
5790 (__libc_malloc): Unify retrying after main arena failure with
5791 __libc_memalign version.
5792 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5793
f85fa270
L
57942012-08-09 H.J. Lu <hongjiu.lu@intel.com>
5795
5796 [BZ #14166]
5797 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5798 to __redirect_strstr.
5799 (__strstr_sse42): Use typeof __redirect_strstr.
5800 (__strstr_ia32): Likewise.
5801 (__libc_strstr): New prototype.
5802 (strstr): Renamed to ...
5803 (__libc_strstr): This.
5804 (strstr): New strong alias of __libc_strstr.
5805 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5806 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5807 __redirect_time.
5808 Include <time.h>.
5809 (__libc_time): New prototype.
5810 (time_ifunc): Replace time with __libc_time.
5811 (time): New strong alias and hidden definition of __libc_time.
5812 (__GI_time): Remove strong alias.
5813 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5814 Include <stddef.h>.
5815 (memmove): Redefined to __redirect_memmove.
5816 (__memmove_sse2): Use typeof __redirect_memmove.
5817 (__memmove_ssse3): Likewise.
5818 (__memmove_ssse3_back): Likewise.
5819 (__libc_memmove): New prototype.
5820 (memmove): Renamed to ...
5821 (__libc_memmove): This.
5822 (memmove): New strong alias of __libc_memmove.
5823
33b4a91e
MS
58242012-08-08 Mark Salter <msalter@redhat.com>
5825
5826 * elf/elf.h
5827 (R_MN10300_TLS_GD): Define.
5828 (R_MN10300_TLS_LD): Likewise.
5829 (R_MN10300_TLS_LDO): Likewise.
5830 (R_MN10300_TLS_GOTIE): Likewise.
5831 (R_MN10300_TLS_IE): Likewise.
5832 (R_MN10300_TLS_LE): Likewise.
5833 (R_MN10300_TLS_DTPMOD): Likewise.
5834 (R_MN10300_TLS_DTPOFF): Likewise.
5835 (R_MN10300_TLS_TPOFF): Likewise.
5836 (R_MN10300_SYM_DIFF): Likewise.
5837 (R_MN10300_ALIGN): Likewise.
5838 (R_MN10300_NUM): Update.
5839
b36137f1
JM
58402012-08-08 Joseph Myers <joseph@codesourcery.com>
5841
5842 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5843 Remove.
5844
cdd915fd
RM
58452012-08-08 Roland McGrath <roland@hack.frob.com>
5846
a2433aac
RM
5847 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5848
cdd915fd
RM
5849 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5850 sysdeps/unix -> sysdeps/posix move.
5851 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5852
bf9b740a
AM
58532012-08-07 Allan McRae <allan@archlinux.org>
5854
5855 [BZ #14303]
5856 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5857 (SUNOS_CPP): Likewise.
5858 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5859 not found.
5860 (open_input): Call CPP using execvp.
5861
93df14ee
JM
58622012-08-07 Joseph Myers <joseph@codesourcery.com>
5863
5864 * sysdeps/unix/sysv/linux/kernel-features.h
5865 (__ASSUME_PROT_GROWSUPDOWN): Remove.
5866 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5867 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5868 (__ASSUME_WAITID_SYSCALL): Likewise.
5869 * sysdeps/unix/sysv/linux/dl-execstack.c
5870 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5871 code unconditional.
5872 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5873 conditional code.
5874 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5875 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5876 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5877 code.
5878 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5879 unconditional.
5880 [__ASSUME_WAITID_SYSCALL]: Likewise.
5881 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5882
d34689de
RM
58832012-08-07 Roland McGrath <roland@hack.frob.com>
5884
a281decc
RM
5885 * sysdeps/unix/closedir.c: Renamed to ...
5886 * sysdeps/posix/closedir.c: ... here.
5887 * sysdeps/unix/dirfd.c: Renamed to ...
5888 * sysdeps/posix/dirfd.c: ... here.
5889 * sysdeps/unix/dirstream.h: Renamed to ...
5890 * sysdeps/posix/dirstream.h: ... here.
5891 * sysdeps/unix/fdopendir.c: Renamed to ...
5892 * sysdeps/posix/fdopendir.c: ... here.
5893 * sysdeps/unix/opendir.c: Renamed to ...
5894 * sysdeps/posix/opendir.c: ... here.
5895 * sysdeps/unix/readdir.c: Renamed to ...
5896 * sysdeps/posix/readdir.c: ... here.
5897 * sysdeps/unix/readdir_r.c: Renamed to ...
5898 * sysdeps/posix/readdir_r.c: ... here.
5899 * sysdeps/unix/rewinddir.c: Renamed to ...
5900 * sysdeps/posix/rewinddir.c: ... here.
5901 * sysdeps/unix/seekdir.c: Renamed to ...
5902 * sysdeps/posix/seekdir.c: ... here.
5903 * sysdeps/unix/telldir.c: Renamed to ...
5904 * sysdeps/posix/telldir.c: ... here.
5905 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5906 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5907 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5908 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5909
22895b47
RM
5910 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5911 * bits/fcntl.h: ... here.
5912
707a53b6
RM
5913 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5914 not 0.
5915 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5916 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5917 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5918 (struct flock): Move l_start, l_len to the beginning.
5919 Use __pid_t for l_pid.
5920 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5921 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5922 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5923 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5924 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5925 [__USE_LARGEFILE64] (struct flock64): New type.
5926 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5927
f0bd3e25
RM
5928 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5929 * bits/dirent.h: ... here.
5930
d34689de
RM
5931 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5932 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5933
6dad2c06
JM
59342012-08-07 Joseph Myers <joseph@codesourcery.com>
5935
5936 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5937 Change from 2.6.0 to 2.6.16.
5938 * sysdeps/unix/sysv/linux/configure: Regenerated.
5939 * sysdeps/unix/sysv/linux/kernel-features.h
5940 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5941 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5942 version.
5943 (__ASSUME_UTIMES): Likewise.
5944 (__ASSUME_CLONE_STOPPED): Remove.
5945 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5946 architectures, not kernel version.
5947 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5948 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5949 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5950 (__ASSUME_WAITID_SYSCALL): Likewise.
5951 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5952 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5953 * README: State 2.6.16 as minimum Linux kernel version. Do not
5954 refer to older versions.
5955
03af9520
RM
59562012-08-06 Roland McGrath <roland@hack.frob.com>
5957
8e49df1d
RM
5958 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5959 Define alphasort64 as an alias.
5960 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5961 Define versionsort64 as an alias.
5962 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5963 Define scandir64 as an alias.
5964 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5965 Define scandirat64 as an alias.
5966 * dirent/alphasort64.c (alphasort64):
5967 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5968 * dirent/versionsort64.c: Likewise.
5969 * dirent/scandir64.c: Likewise.
5970 * dirent/scandirat64.c: Likewise.
5971 * sysdeps/wordsize-64/alphasort.c: File removed.
5972 * sysdeps/wordsize-64/alphasort64.c: File removed.
5973 * sysdeps/wordsize-64/scandir.c: File removed.
5974 * sysdeps/wordsize-64/scandir64.c: File removed.
5975 * sysdeps/wordsize-64/scandirat.c: File removed.
5976 * sysdeps/wordsize-64/scandirat64.c: File removed.
5977 * sysdeps/wordsize-64/versionsort.c: File removed.
5978 * sysdeps/wordsize-64/versionsort64.c: File removed.
5979 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5980 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5981 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5982 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5983 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5984 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5985 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5986 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5987
5988 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5989 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5990 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5991 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5992 [defined __arch64__ || defined __sparcv9]
5993 (__INO_T_MATCHES_INO64_T): New macro.
5994 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5995 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5996 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5997 * sysdeps/unix/sysv/linux/bits/dirent.h
5998 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5999 (_DIRENT_MATCHES_DIRENT64): New macro.
6000
03af9520
RM
6001 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
6002 Define lockf64 as an alias.
6003 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
6004 Define fseeko64 as an alias.
6005 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
6006 Define ftello64 as an alias.
6007 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
6008 Define _IO_fgetpos64 and fgetpos64 as aliases.
6009 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
6010 Define _IO_fsetpos64 and fsetpos64 as aliases.
6011 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
6012 Conditionalize body on this.
6013 * libio/fseeko64.c: Likewise.
6014 * libio/ftello64.c: Likewise.
6015 * libio/iofgetpos64.c: Likewise.
6016 * libio/iofsetpos64.c: Likewise.
6017 * sysdeps/wordsize-64/lockf.c: File removed.
6018 * sysdeps/wordsize-64/lockf64.c: File removed.
6019 * sysdeps/wordsize-64/fseeko.c: File removed.
6020 * sysdeps/wordsize-64/fseeko64.c: File removed.
6021 * sysdeps/wordsize-64/ftello.c: File removed.
6022 * sysdeps/wordsize-64/ftello64.c: File removed.
6023 * sysdeps/wordsize-64/iofgetpos.c: File removed.
6024 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
6025 * sysdeps/wordsize-64/iofsetpos.c: File removed.
6026 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
6027 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
6028 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
6029 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
6030 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
6031 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
6032 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
6033 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
6034 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
6035 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
6036 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
6037
6038 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6039 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6040 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
6041 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6042 [defined __arch64__ || defined __sparcv9]
6043 (__OFF_T_MATCHES_OFF64_T): New macro.
6044 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6045 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6046 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6047 (__OFF_T_MATCHES_OFF64_T): New macro.
6048
c5757acd
L
60492012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6050
6051 * stdlib/secure-getenv.c (__secure_getenv): Replace
6052 GLIBC_2_16 with GLIBC_2_17.
6053
3a31811e
L
60542012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6055
6056 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
6057 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6058
faa2bccb
DM
60592012-08-03 David S. Miller <davem@davemloft.net>
6060
6061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6062
85fe1997
JM
60632012-08-03 Joseph Myers <joseph@codesourcery.com>
6064
6065 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
6066 Remove.
6067 (__ASSUME_CORRECT_SI_PID): Likewise.
6068 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
6069 (__ASSUME_TMPFS_NAME): Likewise.
6070 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
6071 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
6072 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
6073 (HAVE_AUX_SECURE): Make definition unconditional.
6074 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
6075 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
6076
4f75b7a0
RM
60772012-08-03 Roland McGrath <roland@hack.frob.com>
6078
6079 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
6080 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
6081 * sysdeps/mach/hurd/eloop-threshold.h: New file.
6082 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6083 __eloop_threshold instead of SYMLOOP_MAX.
6084
6085 * sysdeps/generic/eloop-threshold.h: New file.
6086 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
6087 of MAXSYMLINKS.
6088 * elf/chroot_canon.c (chroot_canon): Likewise.
6089
7aab07e4
JM
60902012-08-03 Joseph Myers <joseph@codesourcery.com>
6091
6092 [BZ #13717]
6093 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6094 Change to 2.6.0 everywhere.
6095 * sysdeps/unix/sysv/linux/configure: Regenerated.
6096 * sysdeps/unix/sysv/linux/kernel-features.h
6097 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
6098 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
6099 kernel versions.
6100 (__ASSUME_POSIX_TIMERS): Define unconditionally.
6101 (__ASSUME_FUTEX_REQUEUE): Remove.
6102 (__ASSUME_STATFS64): Define unconditionally.
6103 (__ASSUME_AT_SECURE): Likewise.
6104 (__ASSUME_CORRECT_SI_PID): Likewise.
6105 (__ASSUME_TGKILL): Define without depending on kernel version for
6106 i386.
6107 (__ASSUME_UTIMES): Likewise.
6108 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
6109 kernel version.
6110 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
6111 (__ASSUME_TMPFS_NAME): Likewise.
6112 * README: Update reference to Linux kernel versions.
6113
b67e9372
MP
61142012-08-02 Marek Polacek <polacek@redhat.com>
6115
1f529f7d 6116 [BZ# 14150]
b67e9372
MP
6117 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
6118 libc_cv_asm_type_prefix with %.
6119 * configure: Regenerated.
d2441631
RM
6120 * include/libc-symbols.h: Remove comment about
6121 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
6122 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
6123 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
6124 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
6125 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
6126 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6127 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
6128 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
6129 * elf/tst-unique2mod1.c: Likewise.
6130 * elf/tst-unique1mod2.c: Likewise.
6131 * elf/tst-unique1mod1.c: Likewise.
6132 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
6133 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
6134 Replace ASM_TYPE_DIRECTIVE with .type.
6135 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6136 * sysdeps/i386/sysdep.h: Likewise.
6137 * sysdeps/x86_64/sysdep.h: Likewise.
6138 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
6139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6140 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 6141 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
6142 * sysdeps/powerpc/powerpc32/sysdep.h:
6143 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
6144 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6145 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6146 * sysdeps/i386/fpu/e_powf.S: Likewise.
6147 * sysdeps/i386/fpu/e_expl.S: Likewise.
6148 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6149 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6150 * sysdeps/i386/fpu/e_pow.S: Likewise.
6151 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6152 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6153 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6154 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6155 * sysdeps/i386/fpu/e_log2.S: Likewise.
6156 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6157 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6158 * sysdeps/i386/fpu/e_powl.S: Likewise.
6159 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6160 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6161 * sysdeps/i386/fpu/e_logl.S: Likewise.
6162 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6163 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6164 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6165 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6166 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6167 * sysdeps/i386/fpu/e_log.S: Likewise.
6168 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6169 * sysdeps/i386/fpu/e_logf.S: Likewise.
6170 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6171 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6172 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6173 * sysdeps/i386/fpu/e_log10.S: Likewise.
6174 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6175 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6176 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6177 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6178 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6179 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
6180 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6181 * sysdeps/i386/i686/strtok.S: Likewise.
6182 * sysdeps/i386/i386-mcount.S: Likewise.
6183 * sysdeps/i386/strtok.S: Likewise.
6184 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
6185 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6186 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6187 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6188 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6189 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6190 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6191 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6192 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6193 * sysdeps/x86_64/_mcount.S: Likewise.
6194 * sysdeps/x86_64/strtok.S: Likewise.
6195 * sysdeps/sh/_mcount.S: Likewise.
6196
2747bf9a
RM
61972012-08-01 Roland McGrath <roland@hack.frob.com>
6198
6199 * libio/iofopen.c: Include <fcntl.h>.
6200 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
6201 (_IO_fopen64, fopen64): Define as aliases.
6202 * libio/iofopen64.c: Include <fcntl.h>.
6203 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
6204 Conditionalize body on this.
6205 * sysdeps/wordsize-64/iofopen.c: File removed.
6206 * sysdeps/wordsize-64/iofopen64.c: File removed.
6207
3fb791b8
MP
62082012-08-01 Marek Polacek <polacek@redhat.com>
6209
6210 * libc/Makeconfig: Use elf in place of binfmt-subdir.
6211 Use dlfcn directly instead of a variable.
6212 (binfmt-subdir): Do not define.
6213 (dlfcn): Likewise.
6214
a9f1039f
JM
62152012-08-01 Joseph Myers <joseph@codesourcery.com>
6216
23bddc06
JM
6217 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
6218 Remove all definitions.
6219 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
6220 <kernel-features.h>.
6221 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6222 (miss_F_GETOWN_EX): Remove all definitions.
6223 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
6224 macro definition.
6225 [!__ASSUME_FCNTL64]: Remove conditional code.
6226 [__ASSUME_FCNTL64]: Make code unconditional.
6227 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
6228 <kernel-features.h>.
6229 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6230 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
6231 (lockf64) [__NR_fcntl64]: Make code unconditional.
6232 (lockf64) [__ASSUME_FCNTL64]: Likewise.
6233
a9f1039f
JM
6234 * sysdeps/unix/sysv/linux/kernel-features.h
6235 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
6236 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
6237 Make code unconditional.
6238 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6239 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
6241 [__NR_vfork]: Make code unconditional.
6242 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6243 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
6245 [__NR_vfork]: Make code unconditional.
6246 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6247 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6248
09c0ee5f
RM
62492012-08-01 Roland McGrath <roland@hack.frob.com>
6250
48aec5b9
RM
6251 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
6252 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
6253
cd97c966
RM
6254 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6255 Define mkstemp64 as an alias.
3f55550c
RM
6256 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6257 Define mkstemps64 as an alias.
cd97c966
RM
6258 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6259 Define mkostemp64 as an alias.
b8625cfc
RM
6260 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6261 Define mkostemps64 as an alias.
cd97c966
RM
6262 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
6263 Conditionalize body on this.
6264 * misc/mkostemp64.c: Likewise.
b8625cfc 6265 * misc/mkostemps64.c: Likewise.
3f55550c 6266 * misc/mkstemps64.c: Likewise.
cd97c966
RM
6267 * sysdeps/wordsize-64/mkstemp64.c: File removed.
6268 * sysdeps/wordsize-64/mkostemp64.c: File removed.
6269 * sysdeps/wordsize-64/mkostemp.c: File removed.
6270 * sysdeps/wordsize-64/mkstemp.c: File removed.
6271 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
6272 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
6273 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
6274 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
6275
09c0ee5f
RM
6276 [BZ #14138]
6277 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
6278 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
6279 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
6280 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
6281
6282 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
6283 compat_symbol macros from <shlib-compat.h> rather than the underlying
6284 default_symbol_version and symbol_version macros, so that DEFAULT
6285 lines in shlib-versions are respected.
6286 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
6287
7e66ee51
FW
62882012-08-01 Florian Weimer <fweimer@redhat.com>
6289
6290 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
6291 Declare with warn_unused_result.
6292 (setgid, setregid, setegid, setresgid): Likewise.
6293 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
6294 Likewise.
6295 * WUR-REPORT: Remove set*id functions.
6296
d2a54255
PT
62972012-07-31 Pino Toscano <toscano.pino@tiscali.it>
6298
6299 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
6300
7ecdb005
RM
63012012-07-31 Roland McGrath <roland@hack.frob.com>
6302
789bd351
RM
6303 * include/sys/socket.h (__libc_accept, __libc_accept4):
6304 Add attribute_hidden.
6305 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
6306
40ce302d
RM
6307 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
6308 use of PTR_MANGLE.
6309 * inet/getnetgrent_r.c (setup): Likewise.
6310
7ecdb005
RM
6311 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
6312
e2eabb2c
DM
63132012-07-31 David S. Miller <davem@davemloft.net>
6314
6315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6316
d0419dbf
JM
63172012-07-31 Joseph Myers <joseph@codesourcery.com>
6318
6319 [BZ #13629]
6320 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
6321 value between 1.0 and 2.0 and smaller part has absolute value less
6322 than 1.0.
6323 * math/s_clog10.c (__clog10): Likewise.
6324 * math/s_clog10f.c (__clog10f): Likewise.
6325 * math/s_clog10l.c (__clog10l): Likewise.
6326 * math/s_clogf.c (__clogf): Likewise.
6327 * math/s_clogl.c (__clogl): Likewise.
6328 * math/libm-test.inc (clog_test): Add more tests.
6329 (clog10_test): Likewise.
6330 * sysdeps/i386/fpu/libm-test-ulps: Update.
6331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6332
2bc13872
FW
63332012-07-31 Florian Weimer <fweimer@redhat.com>
6334
6335 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
6336 Exit with zero in case no suitable GID is found, and write a
6337 message to standard error.
6338
bea9b193
RM
63392012-07-30 Roland McGrath <roland@hack.frob.com>
6340
6341 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
6342 rather than to 1.
6343 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
6344 (MAXPATHLEN): Removed.
6345 (NOGROUP, NODEV): New macros.
6346 (setbit, clrbit, isset, isclr): New macros.
6347 (howmany, roundup, powerof2): New macros.
6348 (DEV_BSIZE): New macro.
6349
6350 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
6351 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
6352
6353 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
6354 definition on [!__NO_LONG_DOUBLE_MATH].
6355
6356 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
6357 PTR_MANGLE and PTR_DEMANGLE.
6358
6359 * socket/accept4.c (accept4): Rename to __libc_accept4.
6360 Define accept4 as a weak alias.
6361
6362 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
6363 on [_DIRENT_HAVE_D_TYPE].
6364 * io/ftw.c (ftw_dir): Likewise.
6365
6366 * io/xmknod.c (__xmknod): Don't check PATH for being null.
6367
6368 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
6369
6370 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
6371 Use the BSD numbers rather than the arbitrary ones we had.
6372 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
6373 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
6374 (SIGXCPU, SIGXFSZ): New macros.
6375 (_NSIG): Now 32.
6376
6377 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
6378 initializer on [_LIBC_REENTRANT].
6379
6380 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
6381 definitions inside [_POSIX_MAPPED_FILES].
6382
6383 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
6384
6385 * dirent/opendir.c: Include <fcntl.h>.
6386
6387 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
6388 (__libc_getspecific): Likewise.
6389 (__libc_key_create): Likewise.
6390
6391 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
6392 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
6393 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
6394 (tmpfile64): Define as alias.
6395 * sysdeps/wordsize-64/tmpfile.c: File removed.
6396 * sysdeps/wordsize-64/tmpfile64.c: File removed.
6397 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
6398 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
6399
6400 * stdio-common/vfscanf.c: Include <stdbool.h>.
6401 * nss/makedb.c: Likewise.
6402 * stdio-common/_i18n_number.h: Likewise.
6403 * argp/argp-help.c: Likewise.
6404 * posix/wordexp.c: Likewise.
6405 * sysdeps/posix/spawni.c: Likewise.
6406 * nss/nss_files/files-initgroups.c: Likewise.
6407 * stdio-common/reg-modifier.c: Include <stdlib.h>.
6408 * nss/nss_files/files-initgroups.c: Likewise.
6409 * nss/nss_db/db-netgrp.c: Likewise.
6410 * nss/nss_db/db-initgroups.c: Likewise.
6411 * io/fchmodat.c: Include <sys/stat.h>.
6412
6413 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
6414 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
6415
6416 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
6417 [HAVE_MMAP].
6418
6419 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
6420 Add multiple inclusion protection.
6421
e5abc686
DM
64222012-07-27 David S. Miller <davem@davemloft.net>
6423
6424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6425
815e6fa3
GB
64262012-07-27 Gary Benson <gbenson@redhat.com>
6427
6428 [BZ #14298]
6429 * elf/rtld.c: Include <stap-probe.h>.
6430 (dl_main): Added static probes "init_start" and "init_complete".
6431 * elf/dl-load.c: Include <stap-probe.h>.
6432 (lose): Take new parameter "nsid".
6433 Added static probe "map_failed".
6434 (_dl_map_object_from_fd): Pass namespace id to lose.
6435 Added static probe "map_start".
6436 (open_verify): Pass namespace id to lose.
6437 * elf/dl-open.c: Include <stap-probe.h>.
6438 (dl_open_worker) Added static probes "map_complete", "reloc_start"
6439 and "reloc_complete".
6440 * elf/dl-close.c: Include <stap-probe.h>.
6441 (_dl_close_worker): Added static probes "unmap_start" and
6442 "unmap_complete".
6443 * elf/rtld-debugger-interface.txt: New file documenting the above.
6444
9f98c16c
RM
64452012-07-26 Roland McGrath <roland@hack.frob.com>
6446
6447 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
6448 rather than a string variable.
6449 * sunrpc/rpc_main.c (h_output): Likewise.
6450 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
6451
f3c22df3
PT
64522012-07-26 Pino Toscano <toscano.pino@tiscali.it>
6453
6454 * inet/check_native.c: New file.
6455
3129cfc6
JM
64562012-07-26 Joseph Myers <joseph@codesourcery.com>
6457
da865e95
JM
6458 [BZ #13629]
6459 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6460 if larger part has absolute value 1.0.
6461 * math/s_clog10.c (__clog10): Likewise.
6462 * math/s_clog10f.c (__clog10f): Likewise.
6463 * math/s_clog10l.c (__clog10l): Likewise.
6464 * math/s_clogf.c (__clogf): Likewise.
6465 * math/s_clogl.c (__clogl): Likewise.
6466 * math/libm-test.inc (clog_test): Add more tests.
6467 (clog10_test): Likewise.
6468 * sysdeps/i386/fpu/libm-test-ulps: Update.
6469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6470
3129cfc6
JM
6471 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
6472 (pltexit): Likewise.
6473 (La_regs): Likewise.
6474 (La_retval): Likewise.
6475 (int_retval): Likewise.
6476 Update #error for removed macros to refer only to definitions in
6477 tst-audit.h.
6478 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
6479 macro.
6480 (pltexit): Likewise.
6481 (La_regs): Likewise.
6482 (La_retval): Likewise.
6483 (int_retval): Likewise.
6484 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
6485 macro.
6486 (pltexit): Likewise.
6487 (La_regs): Likewise.
6488 (La_retval): Likewise.
6489 (int_retval): Likewise.
6490 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
6491 macro.
6492 (pltexit): Likewise.
6493 (La_regs): Likewise.
6494 (La_retval): Likewise.
6495 (int_retval): Likewise.
6496 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
6497 macro.
6498 (pltexit): Likewise.
6499 (La_regs): Likewise.
6500 (La_retval): Likewise.
6501 (int_retval): Likewise.
6502 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
6503 macro.
6504 (pltexit): Likewise.
6505 (La_regs): Likewise.
6506 (La_retval): Likewise.
6507 (int_retval): Likewise.
6508 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
6509 macro.
6510 (pltexit): Likewise.
6511 (La_regs): Likewise.
6512 (La_retval): Likewise.
6513 (int_retval): Likewise.
6514 * sysdeps/generic/tst-audit.h: Update comment to refer only to
6515 macro definitions in tst-audit.h.
6516 * sysdeps/i386/tst-audit.h: New file.
6517 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
6518 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
6519 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
6520 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
6521 * sysdeps/sh/tst-audit.h: Likewise.
6522 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
6523 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
6524 * sysdeps/x86_64/tst-audit.h: Likewise.
6525
bfc07087
AJ
65262012-07-26 Andreas Jaeger <aj@suse.de>
6527
b1b2aaf8
AJ
6528 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
6529 ptrace.
6530
6531 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
6532 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
6533 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
6534 PTRACE_O_MASK.
6535 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
6536 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
6537 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
6538
bfc07087
AJ
6539 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
6540 value.
6541
6542 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
6543 _sigsys.
6544 (si_call_addr, si_syscall, si_arch): Define new macro.
6545 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
6546 _sigsys.
6547 (si_call_addr, si_syscall, si_arch): Define new marcro.
6548 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
6549 _sigsys.
6550 (si_call_addr, si_syscall, si_arch): Define new macro.
6551 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
6552 _sigsys.
6553 (si_call_addr, si_syscall, si_arch): Define new macro.
6554
89b4b02f
JM
65552012-07-25 Joseph Myers <joseph@codesourcery.com>
6556
6557 [BZ #13717]
6558 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6559 Change to 2.4.21 where previously 2.4.1.
6560 * sysdeps/unix/sysv/linux/configure: Regenerated.
6561 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
6562 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
6563 Linux kernel version.
6564 (__ASSUME_STD_AUXV): Remove.
6565 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
6566 kernel version.
6567 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
6568 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
6569 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
6570 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
6571 (__ASSUME_NETLINK_SUPPORT): Likewise.
6572 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
6573 (__no_netlink_support): Remove conditional definition.
6574 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
6575 Remove.
6576 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6577 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
6578 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
6579 (if_nameindex_ioctl): Remove.
6580 (if_nameindex_netlink): Do not handle __no_netlink_support.
6581 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6582 code.
6583 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
6584 Remove conditional code.
6585 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6586 code.
6587 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
6588 unconditional.
6589 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6590 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
6591 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
6592 Remove.
6593 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6594 [!__ASSUME_STD_AUXV]: Remove conditional code.
6595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
6596 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
6597 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
6598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
6599 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
6600 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6601 code.
6602 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6604 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
6605 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6606 conditional code.
6607 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6609 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6610 code.
6611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6612 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6613 conditional code.
6614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
6615 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6616 code unconditional.
6617 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6618 conditional code.
6619 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6620 unconditional.
6621 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6622 conditional code.
6623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6624 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6625 unconditional.
6626 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6627 conditional code.
6628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6629 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6630 code unconditional.
6631 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6632 conditional code.
6633 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6634 unconditional.
6635 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6636 conditional code.
6637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6638 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6639 code unconditional.
6640 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6641 conditional code.
6642 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6643 unconditional.
6644 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6645 conditional code.
6646
842a39cd
AS
66472012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6648
6649 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6650 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6651 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6652 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6653 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6654 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6655 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6656 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6657 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6658 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6659 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6660 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6661 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
6662 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6663 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6664 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6665 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6666 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
6667 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
6668 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
6669 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6670 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6671 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6672
84b3fd84
FW
66732012-07-25 Florian Weimer <fweimer@redhat.com>
6674
6675 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
6676 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6677 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6678 Introduce __libc_secure_getenv.
0c7936d5
FW
6679 * stdlib/Versions (2.17): Add secure_getenv
6680 (GLIBC_PRIVATE): Add __libc_secure_getenv.
6681 * stdlib/secure-getenv.c: Rename __secure_getenv to
6682 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
6683 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
6684 * stdlib/tst-secure-getenv.c: New.
6685 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
6686 * manual/startup.texi (Environment Access): Document
6687 secure_getenv.
84b3fd84
FW
6688 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6689 __libc_secure_getenv.
6690 * inet/ruserpass.c (ruserpass): Likewise.
6691 * malloc/mtrace.c (mtrace): Likewise.
6692 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 6693 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
6694 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6695 * sysdeps/posix/tempname.c: Likewise. Evaluate
6696 HAVE_SECURE_GETENV.
6697 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 6698 __secure_getenv to __libc_secure_getenv.
84b3fd84 6699 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
6700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6701 Likewise.
6702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6703 Likewise.
6704 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6705 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6706 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6707 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6708 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6709 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6710 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 6711
56e49b71
JM
67122012-07-25 Joseph Myers <joseph@codesourcery.com>
6713
6714 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6715 (struct La_i86_retval): Likewise.
6716 (struct La_x86_64_regs): Likewise.
6717 (struct La_x86_64_retval): Likewise.
6718 (struct La_x32_regs): Likewise.
6719 (struct La_x32_retval): Likewise.
6720 (struct La_ppc32_regs): Likewise.
6721 (struct La_ppc32_retval): Likewise.
6722 (struct La_ppc64_regs): Likewise.
6723 (struct La_ppc64_retval): Likewise.
6724 (struct La_sh_regs): Likewise.
6725 (struct La_sh_retval): Likewise.
6726 (struct La_s390_32_regs): Likewise.
6727 (struct La_s390_32_retval): Likewise.
6728 (struct La_s390_64_regs): Likewise.
6729 (struct La_s390_64_retval): Likewise.
6730 (struct La_sparc32_regs): Likewise.
6731 (struct La_sparc32_retval): Likewise.
6732 (struct La_sparc64_regs): Likewise.
6733 (struct La_sparc64_retval): Likewise.
6734 (struct audit_ifaces): Remove architecture-specific pltenter and
6735 pltexit members.
6736 * sysdeps/i386/ldsodefs.h: New file.
6737 * sysdeps/powerpc/ldsodefs.h: Likewise.
6738 * sysdeps/s390/ldsodefs.h: Likewise.
6739 * sysdeps/sh/ldsodefs.h: Likewise.
6740 * sysdeps/sparc/ldsodefs.h: Likewise.
6741 * sysdeps/x86_64/ldsodefs.h: Likewise.
6742
354691b7
MP
67432012-07-25 Marek Polacek <polacek@redhat.com>
6744
6745 [BZ #6808]
6746 * math/libm-test.inc (yn_test): Add another test.
6747 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6748 to ERANGE when the result is +-Inf.
6749 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6750 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6751 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6752 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6753
bf9e2071
JM
67542012-07-24 Joseph Myers <joseph@codesourcery.com>
6755
6756 * conform/data/time.h-data (NULL): Use macro-constant. Require
6757 equal to 0.
6758 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
6759 clock_t.
6760 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
6761
57633811
TS
67622012-07-23 Thomas Schwinge <thomas@codesourcery.com>
6763
6764 * configure.in <sysdeps resolving>: Correct printing
6765 Implies_before.
6766 * configure: Regenerate.
6767
c23c33b0
TS
67682012-07-22 Thomas Schwinge <thomas@codesourcery.com>
6769
6770 * math/w_ilogb.c: Include <limits.h>.
6771 * math/w_ilogbl.c: Likewise.
6772
b5982523
JM
67732012-07-20 Joseph Myers <joseph@codesourcery.com>
6774
6775 * manual/lang.texi (__va_copy): Document primarily as ISO C99
6776 va_copy. Document allowing for unavailable va_copy only as
6777 pre-C99 compatibility.
6778 * manual/string.texi (Copying and Concatenation): Use va_copy
6779 instead of __va_copy in concat example.
6780
ac4ea442
PT
67812012-07-20 Pino Toscano <toscano.pino@tiscali.it>
6782
6783 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6784 (__sendto): Use create_address_port. Initialize APORT and deallocate
6785 it if not null.
6786
f98eafbd
PT
6787 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6788 with O_NOLINK passed to __file_name_lookup.
6789
898c7aab
PT
6790 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6791 with O_NOLINK passed to __file_name_lookup.
6792
0ced335a
PT
6793 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6794 negative N or less than NGIDS.
6795
b3404dbd
PT
6796 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6797 type to string_t. Set ERANGE as errno and return it if NAME is not big
6798 enough. Use memcpy instead of strncpy.
6799
0f48659e
JM
68002012-07-20 Joseph Myers <joseph@codesourcery.com>
6801
6802 * elf/Makefile (check-data): Remove.
6803 (localplt.data): New vpath directive.
6804 ($(objpfx)check-localplt.out): Use localplt.data from vpath
6805 instead of $(check-data).
6806 * scripts/data/localplt-generic.data: Move to ...
6807 * sysdeps/generic/localplt.data: ... here.
6808 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6809 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6810 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6812 ... here.
6813 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6815 ... here.
6816 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6817 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6818 ... here.
6819 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6820 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6821 ... here.
6822 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6823 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6824 ... here.
6825 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6826 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6827 ... here.
6828
d37cbdaa
AZ
68292012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6830
6831 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6832 PPC32 and PPC64 files.
6833 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6834 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6835
46f85fc2
AK
68362012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6837
6838 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6839 __makecontext_ret to ...
6840 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6841 ... here and call exit if uc_link is NULL. New file.
6842 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6843 __makecontext_ret.S.
6844 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6845 __makecontext_ret to ...
6846 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6847 ... here and call exit if uc_link is NULL. New file.
6848 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6849 __makecontext_ret.S.
6850
08f43f9b
AK
68512012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6852
6853 * elf/elf.h (R_390_IRELATIVE): New definition.
6854 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6855 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
6856 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6857 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6858 (elf_machine_lazy_rel): Likewise.
6859 * sysdeps/s390/dl-irel.h: New file.
6860 * sysdeps/s390/s390-64/memcpy.S: New asm code.
6861 * sysdeps/s390/s390-64/memset.S: New asm code.
6862 * sysdeps/s390/s390-64/memcmp.S: New asm code.
6863 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6864 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6865 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6866 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6867 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6868 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6869 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6870 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6871 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6872 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6873 * sysdeps/s390/s390-32/memcpy.S: New asm code.
6874 * sysdeps/s390/s390-32/memset.S: New asm code.
6875 * sysdeps/s390/s390-32/memcmp.S: New asm code.
6876
3b05db33
MP
68772012-07-17 Marek Polacek <polacek@redhat.com>
6878
6879 [BZ #14349]
6880 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6881 * sysdeps/s390/s390-64/configure.in: Likewise.
6882 * sysdeps/sparc/configure.in: Likewise.
6883 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6884 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6885 * sysdeps/i386/configure.in: Likewise.
6886 * sysdeps/x86_64/configure.in: Likewise.
6887 * sysdeps/sh/configure.in: Likewise.
6888 * sysdeps/s390/s390-32/configure: Regenerated.
6889 * sysdeps/s390/s390-64/configure: Likewise.
6890 * sysdeps/x86_64/configure: Likewise.
6891 * sysdeps/sh/configure: Likewise.
6892 * sysdeps/powerpc/powerpc64/configure: Likewise.
6893 * sysdeps/powerpc/powerpc32/configure: Likewise.
6894 * sysdeps/sparc/configure: Likwise.
6895 * sysdeps/i386/configure: Likewise.
6896
a66877c6
MP
6897 * elf/dl-open.c: Comment fixes.
6898
cfc82fd8
JM
68992012-07-17 Joseph Myers <joseph@codesourcery.com>
6900
bd29910a
JM
6901 * Makefile [CXX] (check-data): Remove.
6902 [CXX] (c++-types.data): New vpath directive.
6903 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6904 vpath. Do not allow for C++ type data being missing.
6905 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6906 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6907 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6908 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6909 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6910 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6911 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6913 ... here.
6914 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6916 ... here.
6917 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6919 ... here.
6920 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6922 ... here.
6923 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6925 ... here.
6926 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6927 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6928 ... here.
6929 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6931 ... here.
6932 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6933 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6934
cfc82fd8
JM
6935 * elf/tls-macros.h (TLS_LE): Move architecture-specific
6936 definitions to architecture-specific files.
6937 (TLS_IE): Likewise.
6938 (TLS_LD): Likewise.
6939 (TLS_GD): Likewise.
6940 * sysdeps/i386/tls-macros.h: New file.
6941 * sysdeps/powerpc/tls-macros.h: Likewise.
6942 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6943 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6944 * sysdeps/sh/tls-macros.h: Likewise.
6945 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6946 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6947 * sysdeps/x86_64/tls-macros.h: Likewise.
6948
f7db3170
TS
69492012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6950
07cbfc23
TS
6951 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6952 zero value for regular exit case.
6953
f7db3170
TS
6954 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6955 (__start_context): Preserve zero value for regular exit case.
6956
dc97c227
TS
69572012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6958 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6959
6960 * manual/setjmp.texi (setcontext): Clarify normal process
6961 termination when uc_link is the null pointer.
6962 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6963 exit call.
6964
d0cd7d02
AS
69652012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6966
6967 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6968 preprocessor. Test for each exception mask separately.
6969
dd318934
AJ
69702012-07-16 Andreas Jaeger <aj@suse.de>
6971
6972 * po/ru.po: Update from translation team.
6973
8048311a
JM
69742012-07-15 Joseph Myers <joseph@codesourcery.com>
6975
6976 * conform/data/string.h-data (NULL): Use macro-constant. Require
6977 equal to 0.
6978 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6979 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6980 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6981 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6982 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6983
b637d46e
AJ
69842012-07-13 Andreas Jaeger <aj@suse.de>
6985
6986 * po/fr.po: Update from translation team.
6987
541428fe
MP
69882012-07-12 Marek Polacek <polacek@redhat.com>
6989
6990 [BZ #14173]
6991 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6992 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6993 loop condition.
6994
ec332e94
JM
69952012-07-12 Joseph Myers <joseph@codesourcery.com>
6996
6997 [BZ #13717]
6998 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6999 Change to 2.4.1 where previously 2.4.0.
7000 * sysdeps/unix/sysv/linux/configure: Regenerated.
7001 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
7002 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
7003 version.
7004 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
7005 (__ASSUME_AT_CLKTCK): Remove.
7006 (__ASSUME_AT_PAGESIZE): Likewise.
7007 (__ASSUME_AT_XID): Likewise.
7008 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
7009 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
7010 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
7011 unconditionally.
7012 (HAVE_AUX_PAGESIZE): Likewise.
7013 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
7014 [__ASSUME_AT_CLKTCK]: Make code unconditional.
7015 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
7016
7b6e99be
JB
70172012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
7018
7019 [BZ #14307]
7020 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
7021 the temporary buffer used to invoke __gethostbyname2_r,
7022 __gethostbyaddr_r and gethostbyname4_r to make room for struct
7023 host_data / struct gaih_addrtuple.
7024 * resolv/nss_dns/dns-host.c (global scope): Move definition of
7025 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
7026 header file nss/nsswitch.h.
7027 * nss/nsswitch.h (global scope): Add definition of implementation
7028 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
7029 resolv/nss_dns/dns-host.c).
7030
608404eb
AJ
70312012-07-11 Andreas Jaeger <aj@suse.de>
7032
7033 * po/fr.po: Update from translation team.
7034
71220aca
AJ
7035 * po/sv.po: Update from translation team
7036 * po/fr.po: Another update from translation team.
7037
28cfe843
AZ
70382012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7039
7040 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
7041 for subnormals or multiply small sinh result by itself.
7042 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7044
6b90f981
DM
70452012-07-11 David S. Miller <davem@davemloft.net>
7046
7047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7048
c6825772
AS
70492012-07-10 Andreas Schwab <schwab@linux-m68k.org>
7050
7051 [BZ #14347]
7052 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
7053 (INTERNAL_MARK): Shift it here.
7054
7b8e0d49
MP
70552012-07-10 Marek Polacek <polacek@redhat.com>
7056
7057 [BZ #14151]
7058 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
7059 libc_cv_asm_global_directive with .globl.
7060 * configure: Regenerated.
7061 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
7062 with .globl.
7063 * sysdeps/i386/configure: Regenerated.
7064 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
7065 with .globl.
7066 * sysdeps/x86_64/configure: Regenerated.
7067 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
7068 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
7069 * elf/tst-unique2mod2.c: Likewise.
7070 * elf/tst-unique2mod1.c: Likewise.
7071 * elf/tst-unique1mod2.c: Likewise.
7072 * elf/tst-unique1mod1.c: Likewise.
7073 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7074 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7075 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7076 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7077 * sysdeps/mach/sysdep.h: Likewise.
7078 * sysdeps/i386/sysdep.h: Likewise.
7079 * sysdeps/i386/i386-mcount.S: Likewise.
7080 * sysdeps/x86_64/_mcount.S: Likewise.
7081 * sysdeps/x86_64/sysdep.h: Likewise.
7082 * sysdeps/sh/_mcount.S: Likewise.
7083 * sysdeps/sh/sysdep.h: Likewise.
7084 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
7085 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
7086 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
7087 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7088 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
7089 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
7090 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
7091 * locale/localeinfo.h: Likewise.
7092 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
7093 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
7094
6c55cda3
RM
70952012-07-09 Roland McGrath <roland@hack.frob.com>
7096
7097 [BZ #14336]
7098 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
7099 system".
7100 * manual/message.texi (The Uniforum approach): Likewise.
7101 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
7102 (glibc iconv Implementation): Likewise.
7103
638a572e
JM
71042012-07-09 Joseph Myers <joseph@codesourcery.com>
7105
7106 [BZ #14337]
7107 * math/s_clog.c (__clog): Avoid scaling a value down where that
7108 could result in underflow.
7109 * math/s_clog10.c (__clog10): Likewise.
7110 * math/s_clog10f.c (__clog10f): Likewise.
7111 * math/s_clog10l.c (__clog10l): Likewise.
7112 * math/s_clogf.c (__clogf): Likewise.
7113 * math/s_clogl.c (__clogl): Likewise.
7114 * math/libm-test.inc (clog_test): Add more tests.
7115 (clog10_test): Likewise.
7116 * sysdeps/i386/fpu/libm-test-ulps: Update.
7117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7118
261f4859
AS
71192012-07-06 Andreas Schwab <schwab@linux-m68k.org>
7120
0abaf3e4
AS
7121 [BZ #14283]
7122 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
7123 by 7 not 8 to examine high bit of fractional part.
7124
261f4859
AS
7125 [BZ #14042]
7126 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
7127 for call to __mcount_internal.
7128 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
7129 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
7130 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
7131
f17ac40d
JM
71322012-07-06 Joseph Myers <joseph@codesourcery.com>
7133
9ad63c23
JM
7134 [BZ #14154]
7135 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
7136 approximation for values within 0x1p-13f of an odd multiple of
7137 pi/4.
7138 * math/libm-test.inc (tan_test): Do not allow spurious underflow
7139 exception. Add more tests.
7140 * sysdeps/i386/fpu/libm-test-ulps: Update.
7141
f17ac40d
JM
7142 [BZ #6778]
7143 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
7144 inputs and return -1 for them. Do not check for +Inf in case not
7145 reachable for +Inf.
7146 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7147 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
7148 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7149 and return -1 for them. Do not check for +Inf in case not
7150 reachable for +Inf.
7151 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
7152 define.
7153 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7154 and return -1 for them. Do not check for +Inf in case not
7155 reachable for +Inf.
7156 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
7157 spurious underflow.
7158 * sysdeps/i386/fpu/libm-test-ulps: Update.
7159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7160
fb21f89b
MF
71612012-07-06 Mike Frysinger <vapier@gentoo.org>
7162
7163 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
7164
cdfe2c5e
JM
71652012-07-05 Joseph Myers <joseph@codesourcery.com>
7166
7167 [BZ #14157]
7168 [BZ #14331]
7169 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
7170 could result in spurious underflow. Scale down values above
7171 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
7172 * math/s_csqrtf.c (__csqrtf): Likewise.
7173 * math/s_csqrtl.c (__csqrtl): Likewise.
7174 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
7175 spurious underflow.
7176 * sysdeps/i386/fpu/libm-test-ulps: Update.
7177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7178
70d35b67
AS
71792012-07-04 Andreas Schwab <schwab@linux-m68k.org>
7180
704bc459
AS
7181 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
7182 xopen-msg.sed.
7183 * catgets/xopen-msg.awk: New file.
7184 * catgets/xopen-msg.sed: Removed.
7185
70d35b67
AS
7186 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
7187 po2text.sed.
7188 * intl/po2test.awk: New file.
7189 * intl/po2test.sed: Removed.
7190
ca61cf32
JM
71912012-07-04 Joseph Myers <joseph@codesourcery.com>
7192
7193 [BZ #14328]
7194 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
7195 or multiply small sinh result by itself.
7196 * math/s_ctanf.c (__ctanf): Likewise.
7197 * math/s_ctanh.c (__ctanh): Likewise.
7198 * math/s_ctanhf.c (__ctanhf): Likewise.
7199 * math/s_ctanhl.c (__ctanhl): Likewise.
7200 * math/s_ctanl.c (__ctanl): Likewise.
7201 * math/libm-test.inc (ctan_test_tonearest): New function.
7202 (ctan_test_towardzero): Likewise.
7203 (ctan_test_downward): Likewise.
7204 (ctan_test_upward): Likewise.
7205 (ctanh_test_tonearest): Likewise.
7206 (ctanh_test_towardzero): Likewise.
7207 (ctanh_test_downward): Likewise.
7208 (ctanh_test_upward): Likewise.
7209 (main): Call these new functions.
7210 * sysdeps/i386/fpu/libm-test-ulps: Update.
7211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7212
ca48a46a
MF
72132012-07-03 Mike Frysinger <vapier@gentoo.org>
7214
7215 * .gitignore: Delete /ports entry.
7216
9d63d37d
AJ
72172012-07-03 Andreas Jaeger <aj@suse.de>
7218
7219 * po/bg.po: Update from translation team.
7220 * po/cs.po: Likewise.
7221 * po/de.po: Likewise.
7222 * po/hr.po: Likewise.
7223 * po/nl.pl: Likewise.
7224 * po/pl.po: Likewise.
7225 * po/vi.po: Likewise.
7226
370ca3d2
JM
72272012-07-03 Joseph Myers <joseph@codesourcery.com>
7228
95f5a9a8
JM
7229 * Makeconfig [!+link] (+link-before-libc): New variable.
7230 [!+link] (+link-after-libc): Likewise.
7231 [!+link] (+link-tests): Likewise.
7232 [!+link] (+link): Define in terms of $(+link-before-libc) and
7233 $(+link-after-libc).
7234 [!+link-static] (+link-static-before-libc): New variable.
7235 [!+link-static] (+link-static-after-libc): Likewise.
7236 [!+link-static] (+link-static-tests): Likewise.
7237 [!+link-static] (+link-static): Define in terms of
7238 $(+link-static-before-libc) and $(+link-static-after-libc).
7239 [build-shared] (link-libc-before-gnulib): New variable.
7240 [build-shared] (link-libc-tests): Likewise.
7241 [build-shared] (link-libc): Define in terms of
7242 $(link-libc-before-gnulib).
7243 [!build-shared] (link-libc-tests): New variable.
7244 (link-libc-static-tests): New variable.
7245 [!gnulib] (gnulib-arch): New variable.
7246 [!gnulib] (gnulib-tests): Likewise.
7247 [!gnulib] (static-gnulib-arch): Likewise.
7248 [!gnulib] (static-gnulib-tests): Likewise.
7249 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
7250 Define with "=" instead of ":=".
7251 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
7252 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
7253 * Rules (binaries-all-notests): New variable.
7254 (binaries-all-tests): Likewise.
7255 (binaries-static-notests): Likewise.
7256 (binaries-static-tests): Likewise.
7257 (binaries-all): Define using $(binaries-all-notests) and
7258 $(binaries-all-tests).
7259 (binaries-static): Define using $(binaries-static-notests) and
7260 $(binaries-static-tests).
7261 (binaries-shared-tests): New variable.
7262 (binaries-shared-notests): Likewise.
7263 (binaries-shared): Remove variable.
7264 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
7265 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
7266 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
7267 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
7268 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
7269 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
7270 * elf/Makefile (sln-modules): New variable.
7271 (extra-objs): Add $(sln-modules:=.o).
7272 (ldconfig-modules): Add static-stubs.
7273 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
7274 * elf/static-stubs.c: New file.
7275
7a845b2c
JM
7276 [BZ #14283]
7277 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
7278 by 7 not 8 to examine high bit of fractional part. Use volatile
7279 variables when splitting into final array of floats if
7280 __FLT_EVAL_METHOD__ != 0.
7281 * math/libm-test.inc (cos_test): Add another test.
7282 (sin_test): Likewise.
7283 * sysdeps/i386/fpu/libm-test-ulps: Update.
7284
e2283f38
JM
7285 [BZ #14273]
7286 * math/libm-test.inc (cosh_test): Add more tests.
7287
370ca3d2
JM
7288 * version.h (RELEASE): Set to "development".
7289 (VERSION): Set to "2.16.90".
7290
ee9247c3
CD
72912012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
7292
7293 * NEWS: Update copyright. Remove last-updated date.
7294 Mention math library bug fixes and timezone data changes.
7295 * README: Mention GNU/Hurd, x32, and HPPA support status.
7296
4648c381
TS
72972012-06-28 Thomas Schwinge <thomas@codesourcery.com>
7298
7299 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
7300
aac78a43
AJ
73012012-06-27 Andreas Jaeger <aj@suse.de>
7302
7303 * manual/contrib.texi (Contributors): Add Samuel Thibault.
7304
ed3dbfad
AJ
73052012-06-25 Andreas Jaeger <aj@suse.de>
7306
7307 * sysdeps/s390/fpu/libm-test-ulps: Update.
7308
4d0ee855
AS
73092012-06-23 Andreas Schwab <schwab@linux-m68k.org>
7310 Thomas Schwinge <thomas@codesourcery.com>
7311
7312 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
7313 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
7314 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
7315 fanotify_mark.
7316
af1bce34
TS
73172012-06-23 Thomas Schwinge <thomas@codesourcery.com>
7318
a9fa33ba
TS
7319 * sysdeps/mach/start.c: Remove file.
7320 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
7321 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
7322 * sysdeps/sh/init-first.c: Likewise.
7323
58f902b8
TS
7324 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
7325 registers for frame unwinding purposes, add CFI directives.
7326 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7327 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
7328 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
7329 Likewise.
7330
1518f58b
TS
7331 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
7332 __fortify_fail returning.
7333 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7334
db9b5059
TS
7335 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
7336 sysdeps/sh/____longjmp_chk.S.
7337 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
7338 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
7339 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
7340 (gen-as-const-headers): Append sigaltstack-offsets.sym.
7341
967705fe
TS
7342 * sysdeps/sh/abort-instr.h: New file.
7343 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
7344 process in case exit returns.
7345
a9def8c4
TS
7346 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
7347 initialize the GOT register before use.
7348
2a649725
TS
7349 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
7350 calculation of ARGC > 4.
7351
af1bce34
TS
7352 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
7353 meaningful names to some local labels.
7354
d230f50a
KK
73552012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7356 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7357
7358 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
7359 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
7360 (__arch_compare_and_exchange_val_16_acq): Likewise.
7361 (__arch_compare_and_exchange_val_32_acq): Likewise.
7362 (atomic_exchange_and_add): Fix gUSA sequence.
7363 (atomic_add): Likewise.
7364 (atomic_add_negative): Likewise.
7365 (atomic_add_zero): Likewise.
7366 (atomic_bit_test_set): Likewise.
7367
0479b305
AS
73682012-06-22 Andreas Schwab <schwab@redhat.com>
7369
7370 [BZ #13579]
7371 * include/link.h (struct link_map): Add l_free_initfini.
7372 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
7373 l_initfini.
7374 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
7375 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
7376 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
7377 set.
7378
0e3933b9
CD
73792012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
7380
7381 * configure.in: Use AC_LANG_SOURCE.
7382 * configure: Regenerate.
7383
4248b1b1
RM
73842012-06-22 Roland McGrath <roland@hack.frob.com>
7385
7386 * configure.in (libc_cv_localstatedir): New substituted variable.
7387 * configure: Regenerated.
7388 * config.make.in (localstatedir): New variable, substituted from
7389 libc_cv_localstatedir.
7390 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
7391 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
7392 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
7393 * sysdeps/gnu/configure: Regenerated.
7394
006dd861
JL
73952012-06-21 Jeff Law <law@redhat.com>
7396
7397 [BZ #14277]
7398 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
7399 free. Simplify list management for _LIBC case.
7400
79662d42
JM
74012012-06-21 Joseph Myers <joseph@codesourcery.com>
7402
b7abb4bf
JM
7403 [BZ #14273]
7404 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7405 Clear sign bit of 64-bit integer value before comparing against
7406 overflow value.
7407
79662d42
JM
7408 * sysdeps/mach/configure: Regenerated.
7409
1f150908
L
74102012-06-21 H.J. Lu <hongjiu.lu@intel.com>
7411
7412 [BZ #14278]
7413 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
7414
28363bbf
JL
74152012-06-21 Jeff Law <law@redhat.com>
7416
7417 [BZ #13882]
7418 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
7419 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 7420 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
7421 * elf/dl-open.c (dl_open_worker): Likewise.
7422
09615db4
CD
74232012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
7424
7425 * scripts/list-sources.sh: Scan PORTS for translations.
7426 * po/libc.pot: Regenerated.
7427
2174c6dd
AJ
74282012-06-21 Andreas Jaeger <aj@suse.de>
7429
7430 [BZ #12194]
7431 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
7432 warning.
7433 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
7434 * bits/byteswap-16.h (__bswap_16): Likewise.
7435 * bits/byteswap.h (__bswap_constant_16): Likewise.
7436
3ee947b1
L
74372012-06-18 H.J. Lu <hongjiu.lu@intel.com>
7438
7439 [BZ #14117]
a2f34833
L
7440 * sysdeps/i386/fpu_control.h: Removed.
7441 * sysdeps/x86_64/fpu_control.h: Moved to ...
7442 * sysdeps/x86/fpu_control.h: Here.
7443
3ee947b1
L
7444 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
7445 (_FPU_SETCW): Likewise.
7446
ed1825f8
L
74472012-06-15 H.J. Lu <hongjiu.lu@intel.com>
7448
25f1282a
L
7449 [BZ #14117]
7450 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
7451 * sysdeps/x86/fpu/bits/mathinline.h: This.
7452 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7453
ed1825f8
L
7454 [BZ #14050]
7455 [BZ #14117]
7456 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7457 functions if __x86_64__ is defined.
7458
36d54b74
CLT
74592012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
7460
7461 * string/endian.h: Add !__ASSEMBLER__ condition for including
7462 conversion interfaces.
7463
10285c21
JM
74642012-06-15 Joseph Myers <joseph@codesourcery.com>
7465
7466 [BZ #14241]
7467 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
7468 of ABS(x) in calculating zero to negative powers other than odd
7469 integers.
7470 * math/libm-test.inc (pow_test): Add more tests.
7471
06c5abbd
AJ
74722012-06-15 Andreas Jaeger <aj@suse.de>
7473
7474 * manual/contrib.texi (Contributors): Update entry of Liubov
7475 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
7476 Machado Filho.
7477
a3aeac40
CH
74782012-06-15 Cyril Hrubis <metan@ucw.cz>
7479
7480 * string/string.h: Add __wur to GNU version of strerror_r.
7481
49bdf4c1
L
74822012-06-14 H.J. Lu <hongjiu.lu@intel.com>
7483
7484 [BZ #14229]
7485 * string/Makefile (tests): Add tst-strtok_r.
7486 * string/tst-strtok_r.c: New file.
7487 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7488 RAX_LP/RDX_LP on SAVE_PTR.
7489
834f9b8d
RM
74902012-06-14 Roland McGrath <roland@hack.frob.com>
7491
7492 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
7493
75fa1921
JM
74942012-06-14 Joseph Myers <joseph@codesourcery.com>
7495
7496 * libm_test.inc (csqrt_test): Allow more spurious underflow
7497 exceptions.
7498 (j0_test): Likewise.
7499 (j1_test): Likewise.
7500 (y0_test): Likewise.
7501 (y1_test): Likewise.
7502
771766df
CD
75032012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
7504
7505 * po/Makefile (libc.pot): Use UTF-8 charset.
7506
ceb9e56b
PP
75072012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7508
7509 [BZ #14210]
7510 Suppress sign-conversion warning from FD_SET.
7511 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
7512 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
7513 not unsigned long int.
7514 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
7515
ddb28975
L
75162012-06-12 H.J. Lu <hongjiu.lu@intel.com>
7517
7518 [BZ #14050]
7519 [BZ #14117]
7520 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
7521 __extern_always_inline instead of __extern_inline.
7522 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
7523 (__signbit): Likewise.
7524 (__signbitl): Support C++ namespace.
7525 (lrintf): New inline function.
7526 (lrint): Likewise.
7527 (llrintf): Likewise.
7528 (llrint): Likewise.
7529 (fmaxf): Likewise.
7530 (fmax): Likewise.
7531 (fminf): Likewise.
7532 (fmin): Likewise.
7533 (rint): Likewise.
7534 (rintf): Likewise.
7535 (ceil): Likewise.
7536 (ceilf): Likewise.
7537 (floor): Likewise.
7538 (floorf): Likewise.
7539 (nearbyint): Likewise.
7540 (nearbyintf): Likewise.
7541
d7b4fb26
TS
75422012-06-12 Thomas Schwinge <thomas@codesourcery.com>
7543
7544 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
7545 non-default versions.
7546
eb55f5c2
RM
75472012-06-11 Roland McGrath <roland@hack.frob.com>
7548
7549 [BZ #14218]
7550 * manual/argp.texi (Argp): Reword argp_parse description slightly.
7551
366af02c
TS
75522012-06-09 Thomas Schwinge <thomas@codesourcery.com>
7553
99ff6e5c
TS
7554 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
7555 (FE_UPWARD, FE_DOWNWARD): Don't define.
7556 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
7557 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7558
366af02c
TS
7559 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
7560 reading it.
7561 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7562 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7563
793ea851
KK
75642012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7565
7566 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7567 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
7568 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
7569 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
7570
a728a38f
L
75712012-06-06 H.J. Lu <hongjiu.lu@intel.com>
7572
7573 [BZ #14117]
c08010c7
L
7574 * sysdeps/i386/fpu/bits/fenv.h: Removed.
7575 * sysdeps/i386/fpu/Implies: New file.
7576 * sysdeps/x86_64/fpu/Implies: Likewise.
7577 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
7578 * sysdeps/x86/fpu/bits/fenv.h: This.
7579
a728a38f
L
7580 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
7581 __SSE_MATH__.
7582
6e230d11
SP
75832012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7584
7585 [BZ #14134]
7586 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
7587 character 0xffff that matches the last element of the
7588 conversion table.
7589
1b671feb
AZ
75902012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7591
7592 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
7593 fmodl commit.
7594
6043738b
AZ
75952012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7596
7597 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
7598 values higher than 25.6283.
7599
34ae0b32
AZ
76002012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7601
7602 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
7603 subnormal exponent extraction and add some __builtin_expect.
7604 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
7605 Fix for subnormal mantissa calculation.
7606
1214ec8f
MF
76072012-06-04 Mike Frysinger <vapier@gentoo.org>
7608
7609 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
7610 cpu2 is -1 and errno is not ENOSYS.
7611
f3d1f93c
L
76122012-06-04 H.J. Lu <hongjiu.lu@intel.com>
7613
7614 [BZ #14117]
0e4a3cd7
L
7615 * sysdeps/i386/i486/bits/string.h: Renamed to ...
7616 * sysdeps/x86/bits/string.h: This.
7617 * sysdeps/x86_64/bits/string.h: Removed.
7618
6704c645
L
7619 * sysdeps/i386/i486/bits/string.h: Define inline functions only
7620 if not compiling for x86-64, but compiling for >= i486.
7621
48495318
L
7622 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
7623 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
7624
14adcbfc
L
7625 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
7626 New macro from Linux kernel 3.4.0.
7627 (FP_XSTATE_MAGIC2): Likewise.
7628 (FP_XSTATE_MAGIC2_SIZE): Likewise.
7629 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
7630 (struct _fpx_sw_bytes): New struct.
7631 (struct _xsave_hdr): Likewise.
7632 (struct _ymmh_state): Likewise.
7633 (struct _xstate): Likewise.
7634
68e408ab
L
7635 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
7636 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
7637 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
7638 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
7639 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
7640 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7641
f3d1f93c
L
7642 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7643 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7644 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7645 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7646 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7647 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7648
d9dc34cd
TMQMF
76492012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7650
7651 [BZ #13743]
7652 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7653 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7654 (sysdep_headers): Include sys/platform/ppc.h.
7655 * sysdeps/powerpc/test-gettimebase.c: Test for
7656 __ppc_get_timebase() to catch future ISA opcode/insn changes.
7657 * manual/Makefile (appendices): Include platform.texi.
7658 * manual/contrib.texi (Contributors): Update @node pointers.
7659 * manual/maint.texi (Maintenance): Likewise.
7660 (Platform): New node.
7661 * manual/platform.texi: New file. Document the new features.
7662
4af3879c
SP
76632012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7664 Jakub Jelinek <jakub@redhat.com>
7665
7666 [BZ #14188]
7667 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
7668 where __builtin_expect is unavailable.
7669
2fd6ff13
DM
76702012-06-03 David S. Miller <davem@davemloft.net>
7671
7672 * stdlib/longlong.h: Updated from GCC.
7673
173f7220
AS
76742012-06-02 Andreas Schwab <schwab@linux-m68k.org>
7675
7676 [BZ #14042]
7677 * sysdeps/powerpc/powerpc32/mcount.c: New file.
7678 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
7679 __mcount_internal.
7680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7681 (GLIBC_2.16): Likewise.
7682
f34a1c6f
L
76832012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7684
7685 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7686
88a4576f
JM
76872012-06-01 Joseph Myers <joseph@codesourcery.com>
7688
ea32bcdd
JM
7689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7690 (default-abi): New variable.
7691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7692 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7693 variable.
7694 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7695 Likewise.
7696 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7697 Likewise.
7698 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7699 Likewise.
7700
88a4576f
JM
7701 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7702 definition. Document in comment.
7703
402fe938
DM
77042012-06-01 David S. Miller <davem@davemloft.net>
7705
7706 * stdlib/longlong.h: Updated from GCC.
7707
3553723f
L
77082012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7709
7710 [BZ #14117]
3bd872c4
L
7711 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7712 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7713 sys/debugreg.h sys/io.h here.
7714 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7715 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7716 sys/io.h.
7717 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7718 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7719 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7720 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7721 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7722 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7723
3553723f
L
7724 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7725 Define only if __x86_64__ is defined.
7726
4842e4fe
JM
77272012-06-01 Joseph Myers <joseph@codesourcery.com>
7728
c5bfe3d5
JM
7729 [BZ #14048]
7730 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7731 Use int64_t for variable i.
7732 * math/libm-test.inc (fmod_test): Add more tests.
7733
4842e4fe
JM
7734 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7735 z computation is not scheduled after fetestexcept.
7736 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7737 Use math_force_eval instead of asm to ensure calculation scheduled
7738 before exception test.
7739 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7740 Ensure a1 + u.d computation is not scheduled after fetestexcept.
7741
efb73488
AJ
77422012-06-01 Aurelien Jarno <aurelien@aurel32.net>
7743
7744 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7745 computation is not scheduled after fetestexcept.
7746
29bcce7c
L
77472012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7748
7749 [BZ #14117]
7750 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7751 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7752
73a68f94
AZ
77532012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7754
7755 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7756 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7757
67b6df78
L
77582012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7759
edf2933a 7760 [BZ #14117]
ebc64a18
L
7761 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7762 <bits/wordsize.h>.
7763 (__WCHAR_MIN): Support __WORDSIZE == 64.
7764 (__WCHAR_MAX): Likewise.
7765
edf2933a
L
7766 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7767 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7768
57c6cf40
L
7769 [BZ #14183]
7770 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7771 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7772
67b6df78 7773 [BZ #14117]
8eb6281e
L
7774 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7775 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7776
aac639f4
L
7777 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7778 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7779
67b6df78
L
7780 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7781 Defined to 1 if __x86_64__ isn't defined.
7782 (_STAT_VER_LINUX_OLD): New.
7783 (st_atime): Remove duplicate.
7784 (st_mtime): Likewise.
7785 (st_ctime): Likewise.
7786
1c2cfe81
DM
77872012-05-31 David S. Miller <davem@davemloft.net>
7788
7789 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7790 entries.
7791
5be8418c
AS
77922012-06-01 Andreas Schwab <schwab@linux-m68k.org>
7793
e7725326
AS
7794 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7795 gen-libm-test.pl.
7796
5be8418c
AS
7797 [BZ #14132]
7798 * elf/dl-reloc.c: Include <_itoa.h>.
7799 (_dl_reloc_bad_type): Remove use of INTUSE.
7800 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7801 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7802 * stdio-common/psiginfo.c (psiginfo): Likewise.
7803 * stdio-common/psignal.c (psignal): Likewise.
7804 * string/strsignal.c (strsignal): Likewise.
7805 * include/signal.h (_sys_siglist): Declare hidden proto.
7806 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
7807 INTVARDEF with libc_hidden_data_def.
7808 * stdio-common/itoa-udigits.c: Likewise.
7809 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7810 (_itoa_lower_digits_internal): Remove declaration.
7811 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7812 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7813 (_sys_sigabbrev_internal): Remove aliases.
7814 (_sys_siglist): Define hidden alias.
7815
507352f1
MT
78162012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
7817
7818 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7819 bits/sysctl.h.
7820
42bbb1c3
L
78212012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7822
7823 [BZ #14117]
6bd784b6
L
7824 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7825 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7826
8bca20f0
L
7827 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7828 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7829 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7830 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7831 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7832 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7833
f9e890a9
L
7834 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7835 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7836 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7837
471101a1
L
7838 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7839 with __addr.
7840 (insw): Likewise.
7841 (insl): Likewise.
7842 (outsb): Likewise.
7843 (outsw): Likewise.
7844 (outsl): Likewise.
7845
6451c862
L
7846 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7847 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7848 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7849
a254b8c9
L
7850 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7851 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7852 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7853 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7854 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7855 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7856
b8dfdd92
L
7857 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7858 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7859
578cd270
L
7860 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7861 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7862
de662f5f
L
7863 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7864 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7865 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7866
25653439
L
7867 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7868 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7869 to ...
7870 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7871
6bad24a0
L
7872 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7873 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7874 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7875
42bbb1c3
L
7876 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7877 for x86-64.
7878 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7879
2d10d547
JM
78802012-05-31 Joseph Myers <joseph@codesourcery.com>
7881
7882 * math/math.h (M_El): Use two more decimal places.
7883 (M_LOG2El): Likewise.
7884 (M_LOG10El): Likewise.
7885 (M_LN2l): Likewise.
7886 (M_LN10l): Likewise.
7887 (M_PIl): Likewise.
7888 (M_PI_2l): Likewise.
7889 (M_PI_4l): Likewise.
7890 (M_1_PIl): Likewise.
7891 (M_2_PIl): Likewise.
7892 (M_2_SQRTPIl): Likewise.
7893 (M_SQRT2l): Likewise.
7894 (M_SQRT1_2l): Likewise.
7895
f230c29b
DM
78962012-05-31 David S. Miller <davem@davemloft.net>
7897
7898 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7899 values between float registers.
7900 * sysdeps/sparc/sparc64/memset.S: Likewise.
7901 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7902
fed806c3
MF
79032012-05-31 Mike Frysinger <vapier@gentoo.org>
7904
7905 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7906 -D_FORTIFY_SOURCE=1.
7907 (CPPFLAGS-tst-longjmp_chk.c): Define.
7908 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7909 (CPPFLAGS-tst-longjmp_chk2.c): Define.
7910 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7911 CFLAGS-tst-wchar-h.c.
7912
30917259
MP
79132012-05-31 Marek Polacek <polacek@redhat.com>
7914
7915 [BZ #14132]
7916 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7917 __endmntent_internal): Remove declaration.
7918 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7919 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7920 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7921
1c58d5dc
DM
79222012-05-30 David S. Miller <davem@davemloft.net>
7923
7924 * sysdeps/sparc/sparc32/soft-fp/q_util.c
7925 (___Q_simulate_exceptions): Use real FP ops rather than writing
7926 into the %fsr.
7927 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7928 Likewise.
7929
7dc00e0d
L
79302012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7931
7932 [BZ #14117]
0bd53985
L
7933 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7934 * sysdeps/x86/bits/xtitypes.h: This.
7935
3a257e66
L
7936 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7937 * sysdeps/x86/bits/wordsize.h: This.
7938
62f62904
L
7939 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7940 * sysdeps/x86/bits/huge_vall.h: This.
7941
404fe9d9
L
7942 * sysdeps/i386/bits/select.h: Removed.
7943 * sysdeps/x86_64/bits/select.h: Renamed to ...
7944 * sysdeps/x86/bits/select.h: This.
7945
d48d0446
L
7946 * sysdeps/i386/bits/setjmp.h: Removed.
7947 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7948 * sysdeps/x86/bits/setjmp.h: This.
7949
7dc00e0d
L
7950 * sysdeps/i386/bits/mathdef.h: Removed.
7951 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7952 * sysdeps/x86/bits/mathdef.h: This.
7953
03277f8f
AS
79542012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7955
7956 [BZ #14132]
7957 * include/sys/socket.h (__connect_internal)
7958 (__libc_sa_len_internal): Remove declaration.
7959 (__connect, __libc_sa_len): Declare hidden_proto.
7960 (SA_LEN): Remove use of INTUSE.
7961 * socket/connect.c: Add libc_hidden_def.
7962 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7963 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7964 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7965 alias.
7966 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7967 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7968 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7969 of adding _internal alias.
7970
13764867
L
79712012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7972
7973 [BZ #14117]
6bd97696
L
7974 * sysdeps/i386/bits/link.h: Removed.
7975 * sysdeps/i386/bits/linkmap.h: Likewise.
7976 * sysdeps/x86_64/bits/link.h: Renamed to ...
7977 * sysdeps/x86/bits/link.h: This.
7978 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7979 * sysdeps/x86/bits/linkmap.h: This.
7980
f726f0bb
L
7981 * sysdeps/i386/bits/endian.h: Removed.
7982 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7983 * sysdeps/x86/bits/endian.h: This.
7984
13764867
L
7985 * sysdeps/i386/bits/byteswap.h: Removed.
7986 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7987 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7988 * sysdeps/x86/bits/byteswap.h: This.
7989 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7990 * sysdeps/x86/bits/byteswap-16.h: This.
7991 * sysdeps/i386/Implies: Add x86.
7992 * sysdeps/x86_64/Implies: Likewise.
7993
ae251b0b
DM
79942012-05-30 David S. Miller <davem@davemloft.net>
7995
7996 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7997 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7998 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7999 (FP_TRAPPING_EXCEPTIONS): Define.
8000 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8001 (FP_TRAPPING_EXCEPTIONS): Define.
8002 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
8003 subnormals only when inexact has been signalled or underflow
8004 exceptions are enabled.
8005 (_FP_PACK_CANONICAL): Likewise.
8006
d5c90867
L
80072012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8008
8009 [BZ #14183]
8010 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
8011 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
8012
63f1549e
RH
80132012-05-30 Richard Henderson <rth@twiddle.net>
8014
8d8f2279
RH
8015 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
8016 with #ifndef NOT_IN_libc.
8017
63f1549e
RH
8018 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
8019 marked to avoid plt entry.
8020
0ab0291b
L
80212012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8022
8023 [BZ #14112]
8024 * Makeconfig (default-abi): New macro.
8025 (abi-includes): Likewise.
8026 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
8027 $(abi-$(default-abi)-lib-soname) for soname if defined.
8028 ($(common-objpfx)gnu/lib-names.stmp): Generate from
8029 abi-variants.
8030 * Makefile (installed-stubs): Likewise.
8031 * include/stubs-biarch.h: Removed.
8032 * scripts/lib-names.awk: Only handle one library at a time.
8033 * scripts/soversions.awk: Remove WORDSIZE support.
8034 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
8035 entries.
8036 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
8037 Removed.
8038 (syscall-list-default-condition): Likewise.
8039 (syscall-list-default-condition): Likewise.
8040 (syscall-list-includes): Likewise.
8041 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
8042 syscall-list-* with abi-*. Handle undefined abi-variants.
8043 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
8044 * sysdeps/unix/sysv/linux/i386/Implies: New file.
8045 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
8046 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
8047 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
8048 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
8049 Removed.
8050 (syscall-list-32-options): Likewise.
8051 (syscall-list-32-condition): Likewise.
8052 (syscall-list-64-options): Likewise.
8053 (syscall-list-64-condition): Likewise.
8054 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
8055 macro.
8056 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
8057 Renamed to ...
8058 (abi-*): This.
8059 (abi-64-ld-soname): New macro.
8060 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
8061 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
8062 Renamed to ...
8063 (abi-*): This.
8064 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
8065 * sysdeps/x86_64/x32/shlib-versions: Likewise.
8066
4da0431d
JM
80672012-05-30 Joseph Myers <joseph@codesourcery.com>
8068
3a85279c
JM
8069 * sysdeps/unix/sysv/linux/kernel-features.h
8070 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
8071 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
8072 include <kernel-features.h>.
8073 [!__NR_ftruncate64]: Remove conditional code.
8074 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8075 [__NR_ftruncate64]: Make code unconditional.
8076 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8077 * sysdeps/unix/sysv/linux/truncate64.c: Do not
8078 include <kernel-features.h>.
8079 [!__NR_ftruncate64]: Remove conditional code.
8080 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8081 [__NR_ftruncate64]: Make code unconditional.
8082 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
8084 include <kernel-features.h>.
8085 [!__NR_ftruncate64]: Remove conditional code.
8086 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8087 [__NR_ftruncate64]: Make code unconditional.
8088 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8090 include <kernel-features.h>.
8091 [!__NR_ftruncate64]: Remove conditional code.
8092 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8093 [__NR_ftruncate64]: Make code unconditional.
8094 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8095
4da0431d
JM
8096 * configure.in (libc_cv_fpie): Weaken to a compile test using
8097 LIBC_TRY_CC_OPTION.
8098 * configure: Regenerated.
8099
11ef492c
AK
81002012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8101
8102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
8103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
8104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
8105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8106 Refreshed.
8107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
8108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
8109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
8110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
8111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
8112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8113 Refreshed.
8114
d66ef399
DM
81152012-05-27 David S. Miller <davem@davemloft.net>
8116
8117 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
8118 (___Q_zero): New.
8119 (__Q_simulate_exceptions): Return void. Change to simulate
8120 exceptions by writing into the %fsr.
8121 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
8122 (__Qp_handle_exceptions): Likewise.
8123 (numbers): Delete.
8124 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
8125 __Qp_handle_exceptions.
8126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
8127 __Qp_handle_exceptions.
8128 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8129 as unused and give dummy FP_RND_NEAREST initializer.
8130 (FP_INHIBIT_RESULTS): Define.
8131 (___Q_simulate_exceptions): Update declaration.
8132 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
8133 formatting.
8134 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8135 as unused and give dummy FP_RND_NEAREST initializer.
8136 (__Qp_handle_exceptions): Update declaration.
8137 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
8138 formatting.
8139
04fb54b5
TS
81402012-05-27 Thomas Schwinge <thomas@codesourcery.com>
8141
8142 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
8143 the temporary FPU control word.
8144 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8145 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
8146 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8147 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8148 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8149 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8150 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8151 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8152 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8153 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8154 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8155
3f99608f
KK
81562012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8157
8158 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
8159 fields.
8160
65a4de4e
CLT
81612012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
8162
8163 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
8164 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
8165 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
8166 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
8167 Likewise.
8168 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
8169 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
8170 Likewise.
8171
15749d40
UD
81722012-05-27 Ulrich Drepper <drepper@gmail.com>
8173
8174 * po/h.po: Update from translation team.
8175
25dbcb27
AS
81762012-05-26 Andreas Schwab <schwab@linux-m68k.org>
8177
3d3f8e55
AS
8178 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
8179
25dbcb27
AS
8180 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
8181 handling of denormals.
8182 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8183 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8184 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8185 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8186 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8187 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
8188 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
8189 Likewise.
8190
7ad47a80 81912012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
8192
8193 [BZ #14152]
8194 * math/libm-test.inc (fma_test): Don't always expect underflow
8195 exception.
8196
9c6ea9fa
SP
81972012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8198
8199 [BZ #12416]
8200 * elf/tst-execstack.c: Include stackinfo.h.
8201 (do_test): Adjust test case to ensure that pthread_getattr_np
8202 behaviour remains the same after marking stack executable.
8203
a8239222
JM
82042012-05-25 Joseph Myers <joseph@codesourcery.com>
8205
8206 * sysdeps/unix/sysv/linux/kernel-features.h
8207 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
8208 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
8209 kernel-features.h.
8210 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8211 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8212 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
8213 kernel-features.h.
8214 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8215 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8216
918b5606
L
82172012-05-25 H.J. Lu <hongjiu.lu@intel.com>
8218
8219 * configure.in: Define the default includes to being none.
8220 * configure: Regenerated.
8221
3a097cc7
RM
82222012-05-25 Roland McGrath <roland@hack.frob.com>
8223
8422c9a5
RM
8224 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
8225 * sysdeps/x86_64/setjmp.S: Likewise.
8226 * sysdeps/i386/bsd-setjmp.S: Likewise.
8227 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8228 * sysdeps/i386/setjmp.S: Likewise.
8229 * sysdeps/i386/__longjmp.S: Likewise.
8230 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8231 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
8232
3a097cc7
RM
8233 * include/stap-probe.h: New file.
8234 * configure.in: Handle --enable-systemtap.
8235 * configure: Regenerated.
8236 * config.h.in (USE_STAP_PROBE): New #undef.
8237 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
8238 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
8239 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8240
21708942
JM
82412012-05-25 Joseph Myers <joseph@codesourcery.com>
8242
8243 [BZ #13717]
8244 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8245 to 2.4.0 where earlier.
8246 * sysdeps/unix/sysv/linux/configure: Regenerated.
8247 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8248 <kernel-features.h>.
8249 [__ASSUME_32BITUIDS]: Make code unconditional.
8250 [!__ASSUME_32BITUIDS]: Remove conditional code.
8251 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
8252 <kernel-features.h>.
8253 [__ASSUME_32BITUIDS]: Make code unconditional.
8254 [!__ASSUME_32BITUIDS]: Remove conditional code.
8255 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
8256 [__ASSUME_32BITUIDS]: Make code unconditional.
8257 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
8258 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
8259 <kernel-features.h>.
8260 [__ASSUME_32BITUIDS]: Make code unconditional.
8261 [!__ASSUME_32BITUIDS]: Remove conditional code.
8262 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
8263 <kernel-features.h>.
8264 [__ASSUME_32BITUIDS]: Make code unconditional.
8265 [!__ASSUME_32BITUIDS]: Remove conditional code.
8266 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
8267 <kernel-features.h>.
8268 [__ASSUME_32BITUIDS]: Make code unconditional.
8269 [!__ASSUME_32BITUIDS]: Remove conditional code.
8270 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
8271 <kernel-features.h>.
8272 [__ASSUME_32BITUIDS]: Make code unconditional.
8273 [!__ASSUME_32BITUIDS]: Remove conditional code.
8274 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8275 <kernel-features.h>.
8276 [__ASSUME_32BITUIDS]: Make code unconditional.
8277 [!__ASSUME_32BITUIDS]: Remove conditional code.
8278 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8279 <kernel-features.h>.
8280 [__ASSUME_32BITUIDS]: Make code unconditional.
8281 [!__ASSUME_32BITUIDS]: Remove conditional code.
8282 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
8283 <kernel-features.h>.
8284 [__ASSUME_32BITUIDS]: Make code unconditional.
8285 [!__ASSUME_32BITUIDS]: Remove conditional code.
8286 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8287 <kernel-features.h>.
8288 [__ASSUME_32BITUIDS]: Make code unconditional.
8289 [!__ASSUME_32BITUIDS]: Remove conditional code.
8290 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8291 <kernel-features.h>.
8292 [__ASSUME_32BITUIDS]: Make code unconditional.
8293 [!__ASSUME_32BITUIDS]: Remove conditional code.
8294 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
8295 <kernel-features.h>.
8296 [__ASSUME_32BITUIDS]: Make code unconditional.
8297 [!__ASSUME_32BITUIDS]: Remove conditional code.
8298 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
8299 <kernel-features.h>.
8300 [__NR_setresgid] (__setresgid): Do not declare.
8301 [__ASSUME_32BITUIDS]: Make code unconditional.
8302 [!__ASSUME_32BITUIDS]: Remove conditional code.
8303 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
8304 <kernel-features.h>.
8305 [__NR_setresuid] (__setresuid): Do not declare.
8306 [__ASSUME_32BITUIDS]: Make code unconditional.
8307 [!__ASSUME_32BITUIDS]: Remove conditional code.
8308 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
8309 <kernel-features.h>.
8310 [__ASSUME_32BITUIDS]: Make code unconditional.
8311 [!__ASSUME_32BITUIDS]: Remove conditional code.
8312 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
8313 <kernel-features.h>.
8314 [__ASSUME_32BITUIDS]: Make code unconditional.
8315 [!__ASSUME_32BITUIDS]: Remove conditional code.
8316 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
8317 <kernel-features.h>.
8318 [__ASSUME_32BITUIDS]: Make code unconditional.
8319 [!__ASSUME_32BITUIDS]: Remove conditional code.
8320 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
8321 <kernel-features.h>.
8322 [__ASSUME_32BITUIDS]: Make code unconditional.
8323 [!__ASSUME_32BITUIDS]: Remove conditional code.
8324 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
8325 <kernel-features.h>.
8326 [__ASSUME_32BITUIDS]: Make code unconditional.
8327 [!__ASSUME_32BITUIDS]: Remove conditional code.
8328 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
8329 <kernel-features.h>.
8330 [__ASSUME_32BITUIDS]: Make code unconditional.
8331 [!__ASSUME_32BITUIDS]: Remove conditional code.
8332 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
8333 <kernel-features.h>.
8334 [__ASSUME_32BITUIDS]: Make code unconditional.
8335 [!__ASSUME_32BITUIDS]: Remove conditional code.
8336 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
8337 <kernel-features.h>.
8338 [__ASSUME_32BITUIDS]: Make code unconditional.
8339 [!__ASSUME_32BITUIDS]: Remove conditional code.
8340 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
8341 <kernel-features.h>.
8342 [__ASSUME_32BITUIDS]: Make code unconditional.
8343 [!__ASSUME_32BITUIDS]: Remove conditional code.
8344 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8345 <kernel-features.h>.
8346 [__ASSUME_32BITUIDS]: Make code unconditional.
8347 [!__ASSUME_32BITUIDS]: Remove conditional code.
8348 * sysdeps/unix/sysv/linux/kernel-features.h
8349 (__ASSUME_SETRESUID_SYSCALL): Remove.
8350 (__ASSUME_SETRESGID_SYSCALL): Likewise.
8351 (__ASSUME_32BITUIDS): Likewise.
8352 (__ASSUME_LDT_WORKS): Likewise.
8353 (__ASSUME_O_DIRECTORY): Likewise.
8354 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
8355 architecture but not kernel version.
8356 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8357 (__ASSUME_MMAP2_SYSCALL): Likewise.
8358 (__ASSUME_STAT64_SYSCALL): Likewise.
8359 (__ASSUME_IPC64): Likewise.
8360 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
8361 <kernel-features.h>.
8362 [__ASSUME_32BITUIDS]: Make code unconditional.
8363 [!__ASSUME_32BITUIDS]: Remove conditional code.
8364 * sysdeps/unix/sysv/linux/opendir.c: Do not include
8365 <kernel-features.h>.
8366 [__ASSUME_O_DIRECTORY]: Make code unconditional.
8367 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
8368 132096]: Remove conditional code.
8369 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
8370 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8371 <kernel-features.h>.
8372 [__ASSUME_32BITUIDS]: Make code unconditional.
8373 [!__ASSUME_32BITUIDS]: Remove conditional code.
8374 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8375 <kernel-features.h>.
8376 [__ASSUME_32BITUIDS]: Make code unconditional.
8377 [!__ASSUME_32BITUIDS]: Remove conditional code.
8378 * sysdeps/unix/sysv/linux/setegid.c: Do not include
8379 <kernel-features.h>.
8380 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
8381 unconditional.
8382 (__setresgid): Do not declare.
8383 [__ASSUME_32BITUIDS]: Make code unconditional.
8384 [!__ASSUME_32BITUIDS]: Remove conditional code.
8385 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
8386 <kernel-features.h>.
8387 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
8388 unconditional.
8389 (__setresuid): Do not declare.
8390 [__ASSUME_32BITUIDS]: Make code unconditional.
8391 [!__ASSUME_32BITUIDS]: Remove conditional code.
8392 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8393 <kernel-features.h>.
8394 [__ASSUME_32BITUIDS]: Make code unconditional.
8395 [!__ASSUME_32BITUIDS]: Remove conditional code.
8396 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
8397 <kernel-features.h>.
8398 [__ASSUME_32BITUIDS]: Make code unconditional.
8399 [!__ASSUME_32BITUIDS]: Remove conditional code.
8400
a386f1cc
RH
84012012-05-25 Richard Henderson <rth@twiddle.net>
8402
8403 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
8404 dl_hwcap to ifunc resolver.
8405 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
8406 elf_ifunc_invoke.
8407 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
8408 dl_hwcap to ifunc resolver.
8409 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
8410
b6550497
JM
84112012-05-24 Joseph Myers <joseph@codesourcery.com>
8412
8413 [BZ #14153]
8414 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
8415 for |x| <= 2**-26, not 2**-57.
8416 * math/libm-test.inc (acos_test): Do not allow spurious underflow
8417 exception.
8418
b0bc23a1
JL
84192012-05-24 Jeff Law <law@redhat.com>
8420
8421 * stdio-common/Makefile (tests): Add bug25.
8422 * stdio-common/bug25.c: New test.
8423
347c92e9
L
84242012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8425
8426 [BZ #13576]
8427 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
8428 multiple of MALLOC_ALIGNMENT in size.
8429 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
8430
6bcc8b3f
JM
84312012-05-24 Joseph Myers <joseph@codesourcery.com>
8432
8433 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
8434 Require >= 256.
8435 (FILENAME_MAX): Use macro-int-constant.
8436 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
8437 (_IOFBF): Use macro-int-constant.
8438 (_IOLBF): Likewise.
8439 (_IONBF): Likewise.
8440 (SEEK_CUR): Likewise.
8441 (SEEK_END): Likewise.
8442 (SEEK_SET): Likewise.
8443 (TMP_MAX): Likewise.
8444 (EOF): Use macro-int-constant. Require < 0.
8445 (NULL): Use macro-constant. Require == 0.
8446 (stdin): Require type to be FILE *.
8447 (stdout): Likewise.
8448 (stderr): Likewise.
8449 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
8450 macro-int-constant.
8451 (EXIT_SUCCESS): Likewise.
8452 (NULL): Use macro-constant. Require == 0.
8453 (RAND_MAX): Use macro-int-constant.
8454 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
8455 [C99-based standards] (strtof): Require function.
8456 [C99-based standards] (strtold): Likewise.
8457 [C99-based standards] (strtoll): Likewise.
8458 [C99-based standards] (strtoull): Likewise.
8459 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8460 [ISO || ISO99 || ISO11] (limits.h): Likewise.
8461 [ISO || ISO99 || ISO11] (math.h): Likewise.
8462 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
8463 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8464 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8465
d18ea0c5
AS
84662012-05-24 Andreas Schwab <schwab@linux-m68k.org>
8467
8468 [BZ #14132]
56d25bb8
AS
8469 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
8470 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
8471 * intl/dgettext.c (DCGETTEXT): Likewise.
8472 * intl/gettext.c (DCGETTEXT): Likewise.
8473 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
8474 * posix/regex_internal.h (gettext): Likewise.
8475 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
8476 Remove declaration.
8477 * include/argz.h (__argz_count_internal)
8478 (__argz_stringify_internal): Remove declaration.
8479 (__argz_count, __argz_stringify): Declare hidden proto.
8480 * intl/dcgettext.c: Remove use of INTDEF.
8481 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
8482 * string/argz-stringify.c: Likewise.
8483 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8484 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8485 Declare hidden proto.
d18ea0c5
AS
8486 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8487 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8488 Declare hidden proto.
8489 * include/stdio.h (__asprintf_internal): Don't declare.
8490 (__asprintf): Don't define as macro. Declare hidden proto.
8491 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
8492 (__fsetlocking): Declare hidden proto.
8493 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
8494 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
8495 hidden proto.
8496 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
8497 (_IO_setlinebuf): Remove use of INTUSE.
8498 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
8499 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
8500 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
8501 Remove declaration.
8502 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
8503 (_IO_do_flush): Remove use of INTUSE.
8504 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
8505 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
8506 (_IO_adjust_column, _IO_least_wmarker)
8507 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
8508 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
8509 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
8510 (_IO_default_doallocate, _IO_wdefault_doallocate)
8511 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
8512 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
8513 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
8514 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
8515 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
8516 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
8517 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
8518 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
8519 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
8520 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
8521 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
8522 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
8523 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
8524 proto.
8525 (_IO_flush_all_internal, _IO_adjust_column_internal)
8526 (_IO_default_uflow_internal, _IO_default_finish_internal)
8527 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
8528 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
8529 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
8530 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
8531 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
8532 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
8533 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
8534 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
8535 (_IO_file_close_internal, _IO_file_close_it_internal)
8536 (_IO_file_underflow_internal, _IO_file_overflow_internal)
8537 (_IO_file_init_internal, _IO_file_attach_internal)
8538 (_IO_file_fopen_internal, _IO_file_read_internal)
8539 (_IO_file_sync_internal, _IO_file_seek_internal)
8540 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
8541 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
8542 (_IO_str_underflow_internal, _IO_str_overflow_internal)
8543 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
8544 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
8545 (_IO_list_all_internal, _IO_link_in_internal)
8546 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
8547 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
8548 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
8549 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
8550 (_IO_do_write_internal, _IO_padn_internal)
8551 (_IO_getline_info_internal, _IO_getline_internal)
8552 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
8553 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
8554 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
8555 (_IO_vfscanf_internal, _IO_vfprintf_internal)
8556 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
8557 (_IO_init_internal, _IO_un_link_internal): Don't declare.
8558 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
8559 with libc_hidden_ver, remove use of INTUSE.
8560 * libio/genops.c: Likewise.
8561 * libio/freopen.c: Likewise.
8562 * libio/freopen64.c: Likewise.
8563 * libio/iofclose.c: Likewise.
8564 * libio/iofdopen.c: Likewise.
8565 * libio/iofflush.c: Likewise.
8566 * libio/iofflush_u.c: Likewise.
8567 * libio/iofgets.c: Likewise.
8568 * libio/iofgets_u.c: Likewise.
8569 * libio/iofopen.c: Likewise.
8570 * libio/iofopncook.c: Likewise.
8571 * libio/iofread.c: Likewise.
8572 * libio/iofread_u.c: Likewise.
8573 * libio/ioftell.c: Likewise.
8574 * libio/iofwrite.c: Likewise.
8575 * libio/iogetline.c: Likewise.
8576 * libio/iogets.c: Likewise.
8577 * libio/iogetwline.c: Likewise.
8578 * libio/iopadn.c: Likewise.
8579 * libio/iopopen.c: Likewise.
8580 * libio/ioseekoff.c: Likewise.
8581 * libio/ioseekpos.c: Likewise.
8582 * libio/iosetbuffer.c: Likewise.
8583 * libio/iosetvbuf.c: Likewise.
8584 * libio/ioungetc.c: Likewise.
8585 * libio/ioungetwc.c: Likewise.
8586 * libio/iovdprintf.c: Likewise.
8587 * libio/iovsprintf.c: Likewise.
8588 * libio/iovsscanf.c: Likewise.
8589 * libio/memstream.c: Likewise.
8590 * libio/obprintf.c: Likewise.
8591 * libio/oldfileops.c: Likewise.
8592 * libio/oldiofclose.c: Likewise.
8593 * libio/oldiofdopen.c: Likewise.
8594 * libio/oldiofopen.c: Likewise.
8595 * libio/oldiopopen.c: Likewise.
8596 * libio/oldstdfiles.c: Likewise.
8597 * libio/putc.c: Likewise.
8598 * libio/setbuf.c: Likewise.
8599 * libio/setlinebuf.c: Likewise.
8600 * libio/stdfiles.c: Likewise.
8601 * libio/strops.c: Likewise.
8602 * libio/vasprintf.c: Likewise.
8603 * libio/vscanf.c: Likewise.
8604 * libio/vsnprintf.c: Likewise.
8605 * libio/vswprintf.c: Likewise.
8606 * libio/wfiledoalloc.c: Likewise.
8607 * libio/wfileops.c: Likewise.
8608 * libio/wgenops.c: Likewise.
8609 * libio/wmemstream.c: Likewise.
8610 * libio/wstrops.c: Likewise.
8611 * libio/__fpurge.c: Likewise.
8612 * libio/__fsetlocking.c: Likewise.
8613 * assert/assert.c: Likewise.
8614 * debug/fgets_chk.c: Likewise.
8615 * debug/fgets_u_chk.c: Likewise.
8616 * debug/fread_chk.c: Likewise.
8617 * debug/fread_u_chk.c: Likewise.
8618 * debug/gets_chk.c: Likewise.
8619 * debug/obprintf_chk.c: Likewise.
8620 * debug/vasprintf_chk.c: Likewise.
8621 * debug/vdprintf_chk.c: Likewise.
8622 * debug/vsnprintf_chk.c: Likewise.
8623 * debug/vsprintf_chk.c: Likewise.
8624 * malloc/mtrace.c: Likewise.
8625 * misc/error.c: Likewise.
8626 * misc/syslog.c: Likewise.
8627 * stdio-common/asprintf.c: Likewise.
8628 * stdio-common/fxprintf.c: Likewise.
8629 * stdio-common/getw.c: Likewise.
8630 * stdio-common/isoc99_fscanf.c: Likewise.
8631 * stdio-common/isoc99_scanf.c: Likewise.
8632 * stdio-common/isoc99_vfscanf.c: Likewise.
8633 * stdio-common/isoc99_vscanf.c: Likewise.
8634 * stdio-common/isoc99_vsscanf.c: Likewise.
8635 * stdio-common/printf-prs.c: Likewise.
8636 * stdio-common/printf_fp.c: Likewise.
8637 * stdio-common/printf_fphex.c: Likewise.
8638 * stdio-common/printf_size.c: Likewise.
8639 * stdio-common/putw.c: Likewise.
8640 * stdio-common/scanf.c: Likewise.
8641 * stdio-common/sprintf.c: Likewise.
8642 * stdio-common/tmpfile.c: Likewise.
8643 * stdio-common/vfprintf.c: Likewise.
8644 * stdio-common/vfscanf.c: Likewise.
8645 * stdlib/strfmon_l.c: Likewise.
8646 * sunrpc/openchild.c: Likewise.
8647 * sunrpc/xdr_stdio.c: Likewise.
8648 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8649 * sysdeps/mach/hurd/tmpfile.c: Likewise.
8650
d6c33fda
RM
86512012-05-24 Roland McGrath <roland@hack.frob.com>
8652
c1487492
RM
8653 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8654
8655 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8656 in the third column, to generate for the shared library an IFUNC
8657 that uses _dl_vdso_vsym.
8658 * Makerules (COMPILE.c, compile-stdin.c): New variables.
8659 * Makeconfig (object-suffixes-noshared): New variable.
8660
8661 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
8662 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
8663 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
8664 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
8665
d6c33fda
RM
8666 [BZ #14132]
8667 * include/sys/time.h (__gettimeofday): Remove macro.
8668 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
8669 * time/gettimeofday.c (__gettimeofday): Remove #undef.
8670 Remove INTDEF.
8671 (__gettimeofday): Add libc_hidden_def.
8672 (gettimeofday): Add libc_hidden_weak.
8673 * sysdeps/mach/gettimeofday.c: Likewise.
8674 * sysdeps/posix/gettimeofday.c: Likewise.
8675 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8676 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8677 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
8678 (__gettimeofday_internal): Remove strong_alias.
8679 (__gettimeofday): Add libc_hidden_def.
8680 (gettimeofday): Add libc_hidden_weak.
8681 * sysdeps/unix/syscalls.list (gettimeofday):
8682 Remove __gettimeofday_internal alias.
8683
b5a2bbe6
L
86842012-05-24 Daniel Jacobowitz <drow@false.org>
8685 H.J. Lu <hongjiu.lu@intel.com>
8686
8687 [BZ #12495]
8688 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8689 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8690 (largebin_index_32_big): New.
8691 (largebin_index): Use it for 16-byte alignment.
8692 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
8693 correction with front_misalign.
8694
cfba4fda
L
86952012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8696
7f907421
L
8697 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8698 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8699 Likewise.
8700 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8701 Likewise.
8702 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8703 Likewise.
8704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8705 Likewise.
8706 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8707 Likewise.
8708 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8709 Likewise.
8710 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8711 Likewise.
8712 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8713 Likewise.
8714 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8715 Likewise.
8716 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8717 Likewise.
8718 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8719 Likewise.
8720 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8721 Likewise.
8722
cfba4fda
L
8723 * scripts/data/c++-types-x32-linux-gnu.data: New file.
8724 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8725
80bad0cc
JM
87262012-05-24 Joseph Myers <joseph@codesourcery.com>
8727
7a25eb06
JM
8728 [BZ #10846]
8729 [BZ #14036]
8730 * math/libm-test.inc (exp_test): Add test from bug 14036.
8731 (pow_test): Add test from bug 10846.
8732
795405f9
JM
8733 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8734 and other flags.
8735 (special_function): Do not include flags in test name.
8736 (parse_args): Likewise.
8737 * sysdeps/i386/fpu/libm-test-ulps: Update.
8738 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8739 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8740 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8742
80bad0cc
JM
8743 * math/gen-libm-test.pl (%beautify): Add entries for underflow
8744 exceptions.
8745 * math/libm-test.inc ("Philosophy"): Update comment about
8746 exception testing.
8747 (UNDERFLOW_EXCEPTION): New macro.
8748 (UNDERFLOW_EXCEPTION_OK): Likewise.
8749 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8750 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8751 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8752 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8753 (INVALID_EXCEPTION_OK): Update value.
8754 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8755 (OVERFLOW_EXCEPTION_OK): Likewise.
8756 (IGNORE_ZERO_INF_SIGN): Likewise.
8757 (test_exceptions): Handle underflow exceptions.
8758 (acos_test): Update for underflow exception expectations.
8759 (cexp_test): Likewise.
8760 (clog_test): Likewise.
8761 (clog10_test): Likewise.
8762 (csqrt_test): Likewise.
8763 (ctan_test): Likewise.
8764 (ctanh_test): Likewise.
8765 (exp_test): Likewise.
8766 (exp10_test): Likewise.
8767 (exp2_test): Likewise.
8768 (expm1_test): Likewise.
8769 (fma_test): Likewise.
8770 (j0_test): Likewise.
8771 (jn_test): Likewise.
8772 (nexttoward_test): Likewise.
8773 (pow_test): Likewise.
8774 (scalbn_test): Likewise.
8775 (scalbln_test): Likewise.
8776 (tan_test): Likewise.
8777 (y1_test): Likewise.
8778 * sysdeps/i386/fpu/libm-test-ulps: Update.
8779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8780
9e0e3d0b
DM
87812012-05-23 David S. Miller <davem@davemloft.net>
8782
8783 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8784 (__libc_sigaction): Remove unused local variables.
8785
ccd0a08f
L
87862012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8787
8788 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8789
62bdf9a6
PE
87902012-05-23 Paul Eggert <eggert@cs.ucla.edu>
8791
f8591f80
PE
8792 mktime: avoid signed integer overflow
8793 * time/mktime.c (__mktime_internal): Do not mishandle the case
8794 where diff == INT_MIN.
8795
94c7d826
PE
8796 mktime: simplify computation of average
8797 * time/mktime.c (ranged_convert): Use new time_t_avg function
8798 instead of rolling our own (probably-slower) code.
8799
ce73d683
PE
8800 mktime: do not assume signed right shift propagates sign bit
8801 * time/mktime.c (isdst_differ): New static function.
8802 (__mktime_internal): No need to normalize tm_isdst now.
8803 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8804 tm_isdst values.
8805
72a22e59
PE
8806 mktime: merge another wrapv change from gnulib
8807 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8808 from some compilers.
8809
68605433
PE
8810 mktime: remove incorrect attempt at unusual arithmetics
8811 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8812 The code didn't really work on such machines anyway.
8813 (TYPE_MINIMUM): Assume two's complement.
8814 (twos_complement_arithmetic): Verify that long_int and time_t
8815 are two's complement (or unsigned, in the latter case).
8816
03cf7fe3
PE
8817 mktime: check signed shifts on long_int and time_t, too
8818 * time/mktime.c (SHR): Check that shifts work as desired
8819 on the types long_int and time_t too, as SHR is used on
8820 such types.
8821
f04dfbc2
PE
8822 mktime: do not assume 'long' is wide enough
8823 * time/mktime.c (verify): Move decl up.
8824 (long_int): New type.
8825 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8826 to remove assumption in the code that 'long' is wide enough to
8827 store year values. This assumption is not true on x32 and on
8828 some non-glibc platforms.
8829
62bdf9a6
PE
8830 mktime: merge wrapv change from gnulib
8831 * time/mktime.c (WRAPV): New macro.
8832 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8833 (guess_time_tm, __mktime_internal): Do not assume that signed
8834 integer overflow wraps around; modern compilers generate code
8835 where this assumption is no longer valid.
8836
5e292e4f
L
88372012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8838
8839 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8840 Replace "jmp L(pseudo_end)" with "ret".
8841 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8842 Likewise.
8843
8caf8c87
AJ
88442012-05-23 Andreas Jaeger <aj@suse.de>
8845
8846 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8847 * sysdeps/unix/sysv/linux/poll.c: Remove file.
8848
1a09dc56
AJ
88492012-05-23 Andreas Jaeger <aj@suse.de>
8850 Maximilian Attems <max@stro.at>
8851
8852 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8853 New macros.
8854
1c87aba0
L
88552012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8856
8857 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8858 code so that pseudo_end is just ret and the stack pointer is
8859 correct also for static library in error case.
8860
40e45bd5
JM
88612012-05-23 Joseph Myers <joseph@codesourcery.com>
8862
c2670533
JM
8863 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8864 move to syscalls.list.
8865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8869
40e45bd5
JM
8870 * manual/install.texi (Running make install): Do not mention Linux
8871 kernel version for which pt_chown is not needed.
8872 (Linux): Do not mention problems with nscd with 2.0 kernels.
8873 * INSTALL: Regenerated.
8874
be08eda5
AJ
88752012-05-23 Andreas Jaeger <aj@suse.de>
8876
8877 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8878 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8879 macro.
8880 * sysdeps/unix/sysv/linux/s390/bits/mman.h
8881 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8882 * sysdeps/unix/sysv/linux/sh/bits/mman.h
8883 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8884 * sysdeps/unix/sysv/linux/i386/bits/mman.h
8885 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8886 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8887 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8888 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8889 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8890 * sysdeps/unix/sysv/linux/bits/in.h
8891 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8892
a6a056bb
RM
88932012-05-22 Roland McGrath <roland@hack.frob.com>
8894
8895 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8896 (PREPARE_VERSION): Just use assert instead, it will be elided
8897 under [NDEBUG] anyway.
8898
c9009328
L
88992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8900
8901 * sysdeps/unix/sysv/linux/Makefile: Include
8902 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 8903 (sysdep_routines): Remove sysctl.
c9009328
L
8904 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8905 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8906 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8907 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8908 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8909
73338355
AJ
89102012-05-22 Andreas Jaeger <aj@suse.de>
8911
8912 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8913 that pseudo_end is just ret and the stack pointer is correct also
8914 for static library in error case.
8915
d44638b0
PP
89162012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8917
8918 [BZ #14122]
8919 * nss/nsswitch.c (defconfig_entries): New variable.
8920 (__nss_database_lookup): Don't leak defconfig entries.
8921 (nss_parse_service_list): Don't leak on error paths.
8922 (free_database_entries): New function.
8923 (free_defconfig): New function.
8924 (free_mem): Move common code to free_database_entries.
8925
31a39bd8
L
89262012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8927
da0331a8
L
8928 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8929 Add arch_prctl.
8930 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8931
31a39bd8
L
8932 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8933 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8934 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8935 New macro.
8936 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8937 (INTERNAL_SYSCALL_TYPES): Likewise.
8938 (LOAD_ARGS_TYPES_[1-6]): Likewise.
8939 (LOAD_REGS_TYPES_[1-6]): Likewise.
8940 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8941 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8942
45470df3
AZ
89432012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8944
8945 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8946 copysignl for GLIBC_2_0.
8947 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8948 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8949 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8950 logbl for GLIBC_2_0.
8951 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8952 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8953
98a61bcb
L
89542012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8955
a4f6e481
L
8956 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8957 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8958
f63d5db6
L
8959 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8960 Use "neg %eax".
8961
98a61bcb
L
8962 * time/mktime.c: Update copyright years.
8963
95770f14
PE
89642012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8965
6226efbd
PE
8966 mktime: merge comment-quoting-style change from gnulib
8967 * time/mktime.c: Quote 'like this' in comments.
8968 The GNU coding standards suggest that we no longer quote `like this',
8969 as "`" and "'" are typically rendered asymmetrically nowadays.
8970 The typical gnulib style is to quote 'like this' when quoting
8971 code, and "like this" when quoting English.
8972
b99e4f78
PE
8973 * time/mktime.c (compile-command): Add "-I.".
8974
643e01e6
PE
8975 mktime: merge mktime-internal.h change from gnulib
8976 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8977
2554247d
PE
8978 mktime: merge time_r change from gnulib
8979 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8980
826dd0ab
PE
8981 mktime: merge DEBUG change from gnulib
8982 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8983 case system <time.h> has a #define.
8984
bd83aabe
PE
8985 mktime: merge <sys/types.h> change from gnulib
8986 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8987 since <time.t> is now guaranteed to define time_t.
8988
95770f14
PE
8989 mktime: merge HAVE_CONFIG_H change from gnulib
8990 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8991
5e1a27a9
L
89922012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8993
0e44a77e
L
8994 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8995 Use "neg %eax".
8996
5e1a27a9
L
8997 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8998 __rlim_t cast.
8999 (struct rusage): Use anonymous union to pad each field to
9000 __syscall_slong_t.
9001
46259bec
DM
90022012-05-21 David S. Miller <davem@davemloft.net>
9003
9004 * Makefules (o-iterator): Remove .s cases.
9005 (compile-command.s): Delete.
9006 (COMPILE.s): Delete.
9007 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
9008
59f0c22e
JM
90092012-05-21 Joseph Myers <joseph@codesourcery.com>
9010
9011 * configure.in (libc_cv_predef_stack_protector): Only consider
9012 "foobar" and "__stack_chk_fail" lines in libc_undefs.
9013 * configure: Regenerated.
9014
20c07380
L
90152012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9016
bbb3154b
L
9017 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9018 New macro. Use R*LP on int and pointer.
9019 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
9020 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
9021 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
9022 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
9023
20c07380
L
9024 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
9025 [__WORDSIZE_TIME64_COMPAT32] instead of
9026 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
9027 (struct utmp): Likewise.
9028 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
9029 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
9030 Renamed to ...
9031 (__WORDSIZE_TIME64_COMPAT32): This.
9032 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
9033 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
9034 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
9035 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
9036 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
9037 (__WORDSIZE_TIME64_COMPAT32): New macro.
9038
d8d1017e
AJ
90392012-05-21 Andreas Jaeger <aj@suse.de>
9040
9041 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
9042 only if [SHARED]. Add prototype for __wcschr_ia32.
9043
6c7fb145
RM
90442012-05-21 Roland McGrath <roland@hack.frob.com>
9045
9046 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
9047 of %rbp unmolested in the jmp_buf while mangling the low bits.
9048 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
9049 unmolested high bits of %rbp while demangling the low bits.
9050 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9051
66274218
AJ
90522012-05-21 Andreas Jaeger <aj@suse.de>
9053
07c58f8f
AJ
9054 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
9055 * sunrpc/svc_simple.c: Use it for registerrpc.
9056 * sunrpc/xcrypt.c: Use it for passwd2des.
9057
66274218
AJ
9058 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
9059
61f65140
L
90602012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9061
9062 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
9063 Don't define if [__SYSCALL_WORDSIZE != 32].
9064 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
9065 New macro.
9066
5fefb436
AJ
90672012-05-21 Bruno Haible <bruno@clisp.org>
9068 Andreas Jaeger <aj@suse.de>
9069
9070 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
9071 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
9072 inptr and inend for must_buffer_ch.
9073 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
9074 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
9075 * stdio-common/Makefile (tests): Remove bug15.
9076 (bug15-ENV): Remove macro.
9077 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
9078 anymore.
9079
d8e272ab
AJ
90802012-05-19 Andreas Jaeger <aj@suse.de>
9081 Roland McGrath <roland@hack.frob.com>
9082
9083 * manual/contrib.texi: Completely rewritten. It contains now an
9084 alphabetical list of contributors and their contributions.
9085
4a56a162
RH
90862012-05-21 Richard Henderson <rth@twiddle.net>
9087
9088 * misc/getauxval.c (__getauxval): Use unsigned long int.
9089 * misc/sys/auxv.h: Include <sys/cdefs.h>.
9090 (getauxval): Use unsigned long int.
9091
d024d23c
L
90922012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9093
9094 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9095
cbc00a03
RM
90962012-05-21 Roland McGrath <roland@hack.frob.com>
9097
9098 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
9099 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
9100 __alignof__ (long double).
9101
478143fa
AZ
91022012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9103
9104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9105
c7683a6d
RH
91062012-05-20 Richard Henderson <rth@twiddle.net>
9107
9108 * misc/getauxval.c: New file.
9109 * misc/sys/auxv.h: New file.
9110 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
9111 (routines): Add getauxval.
9112 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
9113 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
9114 * elf/dl-sysdep.c (_dl_auxv): Remove.
9115 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
9116 * elf/dl-support.c (_dl_auxv): New variable.
9117 (_dl_aux_init): Initialize it.
9118 * manual/startup.texi (Auxiliary Vector): New node.
9119 * sysdeps/generic/bits/hwcap.h: New file.
9120 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
9121 * sysdeps/powerpc/sysdep.h: ... here. Include it.
9122 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
9123 * sysdeps/sparc/sysdep.h: ... here. Include it.
9124 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
9125 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
9126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9127 Update.
c7683a6d
RH
9128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
9129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
9130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
9131 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
9132 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
9135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
9136
a6f1845d
AZ
91372012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9138
9139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9140
cbcbe830
DM
91412012-05-19 David S. Miller <davem@davemloft.net>
9142
9143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9144
e0b16cc2
JM
91452012-05-19 Joseph Myers <joseph@codesourcery.com>
9146
9147 [BZ #14123]
9148 * math/s_ccosh.c: Include <float.h>
9149 (__ccosh): Avoid internal overflow calculating sinh and cosh
9150 values before multiplying by sin and cos values.
9151 * math/s_ccoshf.c: Likewise.
9152 * math/s_ccoshl.c: Likewise.
9153 * math/s_csin.c: Likewise.
9154 * math/s_csinf.c: Likewise.
9155 * math/s_csinl.c: Likewise.
9156 * math/s_csinh.c: Likewise.
9157 * math/s_csinhf.c: Likewise.
9158 * math/s_csinhl.c: Likewise.
9159 * math/libm-test.inc (ccos_test): Add more tests.
9160 (ccosh_test): Likewise.
9161 (csin_test): Likewise.
9162 (csinh_test): Likewise.
9163 * sysdeps/i386/fpu/libm-test-ulps: Update.
9164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9165
6ad13e08
L
91662012-05-19 H.J. Lu <hongjiu.lu@intel.com>
9167
f66f0ce8
L
9168 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
9169 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9170
6ad13e08
L
9171 * sysdeps/x86_64/x32/_itoa.h: Add comment.
9172
b1d072a7
JM
91732012-05-19 Joseph Myers <joseph@codesourcery.com>
9174
9175 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
9176 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
9177 * sysdeps/powerpc/soft-fp/Versions: Likewise.
9178 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
9179 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
9180 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
9181 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
9182 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
9183 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
9184 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
9185 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
9186 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
9187 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
9188 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
9189 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
9190 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
9191 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
9192 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
9193 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
9194 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
9195 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
9196 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
9197 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
9198 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
9199 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
9200 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
9201 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
9202 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
9203 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
9204 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
9205 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
9206
9eae47cb
AJ
92072012-05-18 Andreas Jaeger <aj@suse.de>
9208
9209 * csu/.gitignore: Delete.
9210
bb07f69f
L
92112012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9212
9213 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
9214 (timex): Use __syscall_slong_t.
9215
e6bdb741
AJ
92162012-05-18 Andreas Jaeger <aj@suse.de>
9217 Carlos O'Donell <carlos_odonell@mentor.com>
9218
9219 * manual/install.texi (Configuring and compiling): Update
9220 description about files modified in the source directory.
d6c33fda 9221 * INSTALL: Regenerated.
e6bdb741 9222
1b74487e
L
92232012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9224
9225 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
9226 value. Use "or" to set return value to -1.
9227 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
9228 negate return value.
9229
a88b64b9
TMQMF
92302012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9231
9232 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
9233 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
9234 failure if the compiler has Graphite support disabled.
9235 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
9236 Likewise.
9237 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
9238 CFLAGS-memmove.c): Likewise.
9239 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
9240 Likewise.
9241
3707636e
L
92422012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9243
610b8622
L
9244 * sysdeps/x86_64/x32/_itoa.h: New file.
9245
7cd195df
L
9246 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
9247 getdents system call only if kernel and user dirents have the
9248 same d_ino and d_off.
9249
94b07d20
L
9250 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9251 LLONG_MAX != LONG_MAX.
9252 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9253 (_fitoa_word): Likewise.
9254
18298070
L
9255 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
9256 years.
9257 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
9258 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
9259 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
9260
553c7ea4
L
9261 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
9262 include <bits/wordsize.h>. Check __x86_64__ instead of
9263 __WORDSIZE.
9264 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
9265 if __x86_64__ is defined. Use anonymous union on fpstate.
9266
3707636e
L
9267 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
9268 anonymous union.
9269
b53ef01a
AS
92702012-05-18 Andreas Schwab <schwab@linux-m68k.org>
9271
37fb1dc0
AS
9272 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9273 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
9274 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
9275 Refer to _rtld_local_ro instead of _rtld_global_ro.
9276 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
9277 Likewise.
9278 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
9279 Likewise.
9280 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
9281 Likewise.
9282 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
9283 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
9284 of _rtld_global, and rtld_progname instead of _dl_argv[0].
9285
b53ef01a
AS
9286 * sysdeps/powerpc/powerpc32/dl-machine.c
9287 (__elf_machine_runtime_setup) [PROF]: Don't reference
9288 _dl_prof_resolve.
9289
7a185db2
AJ
92902012-05-18 Andreas Jaeger <aj@suse.de>
9291
9292 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
9293 function only available for GCCs before 3.4 since GCC 3.4
9294 introduced a builtin.
9295 (lrint): Likewise.
9296 (llrintf): Likewise.
9297 (llrint): Likewise.
9298 (fmaxf): Likewise.
9299 (fmax): Likewise.
9300 (fminf): Likewise.
9301 (fmin): Likewise.
9302 (rint): Likewise.
9303 (rintf): Likewise.
9304 (nearbyint): Likewise.
9305 (nearbyintf): Likewise.
9306 (ceil): Likewise.
9307 (ceilf): Likewise.
9308 (floor): Likewise.
9309 (floorf): Likewise.
9310
3e5aef87
L
93112012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9312
428bd707
L
9313 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
9314 on both fields and cast pointer to __syscall_ulong_t.
9315
3e5aef87
L
9316 * bits/types.h (__fsword_t): New type.
9317 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
9318 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
9319 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9320 (__FSWORD_T_TYPE): Likewise.
9321 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9322 (__FSWORD_T_TYPE): Likewise.
9323 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9324 (__FSWORD_T_TYPE): Likewise.
9325 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
9326 (__FSWORD_T_TYPE): Likewise.
9327 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
9328 __SWORD_TYPE with __fsword_t.
9329 (statfs64): Likewise.
9330
1ba7c3dc
DM
93312012-05-17 David S. Miller <davem@davemloft.net>
9332
9333 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
9334
59910343
AJ
93352012-05-17 Andreas Jaeger <aj@suse.de>
9336
9337 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
9338 warning.
9339
2e4c1e9e
L
93402012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9341
9342 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
9343
de7f5ce7
AJ
93442012-05-17 Andreas Jaeger <aj@suse.de>
9345
9346 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
9347 when it is used.
9348
286abc3d
CM
93492012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9350
9351 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
9352
477cc68e
L
93532012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9354
9355 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
9356 * sysdeps/x86_64/tst-mallocalign1.c: New file.
9357
1a0994f5
CD
93582012-05-17 Andreas Jaeger <aj@suse.de>
9359 Carlos O'Donell <carlos_odonell@mentor.com>
9360
9361 [BZ #14059]
9362 * sysdeps/x86_64/multiarch/init-arch.h
9363 (bit_YMM_Usable): Rename to...
9364 (bit_AVX_Usable): ... this.
9365 (bit_FMA4_Usable): New macro.
9366 (bit_XMM_state): New macro.
9367 (bit_YMM_state): New macro.
9368 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
9369 [__ASSEMBLER__] (index_AVX_Usable): ... this.
9370 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
9371 (CPUID_OSXSAVE): New macro.
9372 (CPUID_AVX): New macro.
9373 (CPUID_FMA4): New macro.
9374 (index_YMM_Usable): Rename to...
9375 (index_AVX_Usable): ... this.
9376 (HAS_AVX): Use HAS_ARCH_FEATURE.
9377 (HAS_FMA4): Likewise.
9378 (HAS_YMM_USABLE): Remove.
9379 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9380 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
9381 are present.
9382 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
9383 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
9384 * sysdeps/x86_64/multiarch/Makefile: Likewise.
9385 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
9386 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
9387
0af797de
CM
93882012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9389
9390 * math/libm-test.c: Support platforms without multiple rounding modes.
9391 * math/bug-nextafter.c: Support platforms without FP exceptions.
9392 * math/bug-nexttoward.c: Likewise.
9393 * math/test-fenv.c: Likewise.
9394 * math/test-misc.c: Likewise.
9395 * stdlib/bug-getcontext.c: Likewise.
9396
e39745ff
AJ
93972012-05-17 Andreas Jaeger <aj@suse.de>
9398
9399 * manual/examples/search.c (critter_cmp): Change signature to
9400 avoid warnings.
9401 * manual/string.texi (Collation Functions): Likewise.
9402
48970aba
L
94032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9404
9405 * bits/types.h: Fold copyright years.
9406 * bits/typesizes.h: Likewise.
9407 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
9408 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9409 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
9410 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
9411 * time/time.h: Likewise.
9412
bedee953
PP
94132012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9414
9415 [BZ #208]
9416 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
9417 in instead of returning them. Return void.
9418 (__libc_mallinfo): Accumulate over all arenas.
9419 (__malloc_stats): Adjust for change in int_mallinfo interface.
9420
61653dfb
RM
94212012-05-16 Roland McGrath <roland@hack.frob.com>
9422
30b99d79
RM
9423 [BZ #10375]
9424 * configure.in (NM): Add AC_CHECK_TOOL for it.
9425 (libc_extra_cflags): New substituted variable.
9426 Check for -fstack-protector being used implicitly.
9427 * configure: Regenerated.
9428 * config.make.in (config-extra-cflags): New variable,
9429 gets @libc_extra_cflags@.
9430 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
9431
61653dfb
RM
9432 [BZ #10375]
9433 * configure.in: Check for _FORTIFY_SOURCE being predefined.
9434 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
9435 * configure: Regenerated.
9436 * config.make.in (CPPUNDEFS): New substituted variable.
9437 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9438 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
9439 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
9440
661768bb
L
94412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9442
9443 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
9444 (mq_attr): Use __syscall_slong_t.
9445
d4261567
L
94462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9447
9448 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
9449 Check __x86_64__ instead of __WORDSIZE.
9450 (_STAT_VER_LINUX): Likewise.
9451 (stat): Check __x86_64__ instead of __WORDSIZE. Use
9452 __syscall_ulong_t and __syscall_slong_t.
9453 (stat64): Likewise.
9454
cf3ff365
L
94552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9456
9457 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9458
76cf3e4d
L
94592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9460
9461 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9462
a637753a
L
94632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9464
9465 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
9466 __syscall_ulong_t.
9467
d5e05119
L
9468 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
9469 include <bits/wordsize.h>. Check __x86_64__ instead of
9470 __WORDSIZE.
9471 (greg_t): Use "__extension__ long long int" if __x86_64__ is
9472 defined.
9473 (mcontext_t): Replace "unsigned long" with "unsigned long long".
9474
f62ee380
L
9475 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
9476 include <bits/wordsize.h>. Check __x86_64__ instead of
9477 __WORDSIZE.
9478 (user_regs_struct): Use "__extension__ unsigned long long"
9479 instead of "unsigned long" if __x86_64__ is defined.
9480 (user): Likewise. Pad after pointer field if __ILP32__ is
9481 defined.
9482
4e124ced
JM
94832012-05-16 Joseph Myers <joseph@codesourcery.com>
9484
6a3951a0
JM
9485 * configure.in (makeinfo): Require version 4.5 or later. Allow
9486 versions 5 to 9.
9487 * configure: Regenerated.
9488 * manual/install.texi (texinfo): Increase version requirement to
9489 4.5 or later.
9490 * INSTALL: Regenerated.
9491
4e124ced
JM
9492 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
9493
953ca31a
L
94942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9495
9496 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
9497
617aca05
L
9498 * sysdeps/x86_64/x32/ffs.c: New file.
9499
5762f7ae
L
9500 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
9501 __syscall_ulong_t.
9502 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
9503 defined. Use __syscall_ulong_t.
9504 (shminfo): Use __syscall_ulong_t.
9505 (shm_info): Likewise.
9506
a26b6856
L
9507 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
9508 __syscall_ulong_t.
9509
cb2b9ef7
L
9510 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
9511 <bits/wordsize.h>.
9512 (msgqnum_t): Use __syscall_ulong_t.
9513 (msglen_t): Likewise.
9514 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
9515 __syscall_ulong_t.
9516
34683bb0
L
9517 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
9518 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9519
84a68786
L
9520 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
9521
48baa5f1
L
9522 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
9523 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
9524
180be88b
L
9525 * sysvipc/sys/msg.h (msgbuf): Replace long int with
9526 __syscall_slong_t.
9527
5e90c8ad
L
9528 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
9529 include <bits/wordsize.h>. Check __x86_64__ instead of
9530 __WORDSIZE.
9531
23dfb58b
L
9532 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
9533 "unsigned long long int" if __x86_64__ is defined.
9534 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
9535
ce5d54b0
L
9536 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
9537 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9538 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
9539
13dc9eac
L
9540 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
9541 <stdint.h>.
9542 (GET_PC): Cast to uintptr_t first.
9543 (GET_FRAME): Likewise.
9544 (GET_STACK): Likewise.
9545
a7895d15
L
9546 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
9547 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
9548 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
9549 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
9550 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
9551 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
9552 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
9553 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
9554 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
9555 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
9556 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
9557 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
9558 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9559 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
9560 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
9561 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
9562 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
9563 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
9564 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
9565 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
9566 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
9567 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
9568 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
9569 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
9570 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
9571 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
9572 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
9573 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
9574 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
9575
656416c9
AS
95762012-05-16 Andreas Schwab <schwab@linux-m68k.org>
9577
5bd66283
AS
9578 * Makerules (+depfiles): Also collect depfiles from .oS in
9579 $(extra-objs).
9580 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
9581 .oS, $(libnldbl-routines)).
9582
656416c9
AS
9583 * Makerules (native-compile-mkdep-flags): Define.
9584 * sunrpc/Makefile (extra-objs): Add $(addprefix
9585 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
9586 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
9587 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
9588 calling $(make-target-directory).
9589
a46f2169
L
95902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9591
9592 * bits/types.h (__snseconds_t): Removed.
9593 * time/time.h (struct timespec): Replace __snseconds_t with
9594 __syscall_slong_t.
9595 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
9596 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9597 Likewise.
9598 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9599 (__SNSECONDS_T_TYPE): Likewise.
9600 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9601 (__SNSECONDS_T_TYPE): Likewise.
9602 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9603 (__SNSECONDS_T_TYPE): Likewise.
9604
6af6528b
L
96052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9606
9607 * sysdeps/mach/hurd/bits/typesizes.h
9608 (__SYSCALL_SLONG_TYPE): New macro.
9609 (__SYSCALL_ULONG_TYPE): Likewise.
9610
de986b56
L
96112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9612
9613 * bits/types.h (__syscall_slong_t): New type.
9614 (__syscall_ulong_t): Likewise.
9615
9616 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
9617 (__SYSCALL_ULONG_TYPE): Likewise.
9618 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9619 (__SYSCALL_SLONG_TYPE): Likewise.
9620 (__SYSCALL_ULONG_TYPE): Likewise.
9621 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9622 (__SYSCALL_SLONG_TYPE): Likewise.
9623 (__SYSCALL_ULONG_TYPE): Likewise.
9624 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9625 (__SYSCALL_SLONG_TYPE): Likewise.
9626 (__SYSCALL_ULONG_TYPE): Likewise.
9627
85736dc7
L
96282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9629
9630 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
9631 Add sigaltstack-offsets.sym.
9632 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9633 <sigaltstack-offsets.h>.
9634 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
9635 longjmp_msg pointer.
9636 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
9637 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
9638 signal stack.
9639 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
9640
cc03b296
JM
96412012-05-15 Joseph Myers <joseph@codesourcery.com>
9642
a9538892
JM
9643 * elf/stackguard-macros.h: Remove file.
9644 * sysdeps/generic/stackguard-macros.h: New file.
9645 * sysdeps/i386/stackguard-macros.h: Likewise.
9646 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9647 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9648 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9649 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9650 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9651 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9652 * sysdeps/x86_64/stackguard-macros.h: Likewise.
9653 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9654 <elf/stackguard-macros.h>.
9655
cc03b296
JM
9656 [BZ #14109]
9657 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9658 __aligned__ in attribute.
9659 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9660 (gregset_t): Likewise.
9661
93171016
L
96622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9663
9664 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
9665 * sysdeps/x86_64/64/Implies-after: Here. New file.
9666 * sysdeps/x86_64/x32/Implies-after: New file.
9667
d86813a0
L
96682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9669
9670 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
9671 and access return value for _dl_profile_fixup. Use R10_LP to
9672 load frame size.
9673
2953ec75
L
96742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9675
9676 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
9677
3b550e9e
L
96782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9679
9680 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
9681 * sysdeps/x86_64/x32/sysdep.h: New file.
9682
eda41706
L
96832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9684
9685 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9686 * sysdeps/x86_64/setjmp.S: Likewise.
9687
9ea01d93
AZ
96882012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9689
9690 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9691 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9692 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9693 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9694 remove unused global constant.
9695
02a91938
CM
96962012-05-15 Chris Metcalf <cmetcalf@tilera.com>
9697
9698 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9699 include of <not-cancel.h>.
9700
6540185f
RM
97012012-05-15 Roland McGrath <roland@hack.frob.com>
9702
9703 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9704
509072a0
AJ
97052012-05-15 Jeff Law <law@redhat.com>
9706 Andreas Jaeger <aj@suse.de>
9707
9708 [BZ #13594]
9709 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9710 out from...
9711 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9712 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9713 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9714 code changing __hst_map_handle.map.
9715
ba75122d
RM
97162012-05-15 Roland McGrath <roland@hack.frob.com>
9717
9718 * configure.in (sysnames): Look for Implies-before and Implies-after
9719 files.
9720 * configure: Regenerated.
9721
890d8bd8
L
97222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9723
9724 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9725 8-byte data alignment with LP_SIZE alignment.
9726
f6ee6623
L
97272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9728
9729 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9730 into R10_LP.
9731
ea2626f6
L
97322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9733
9734 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9735
085f715e
L
97362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9737
9738 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9739 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9740 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9741 Likewise.
9742 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9743
be8498fc
L
97442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9745
9746 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9747 (stackinfo_sub_sp): Likewise.
9748
70bc83b9
L
97492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9750
9751 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9752 RAX_LP.
9753
9bc0b730
L
97542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9755
9756 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9757 into R*_LP.
9758
6d2850e7
L
97592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9760
9761 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9762 sizes into R*_LP.
9763
3cb84561
L
97642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9765
9766 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9767
54e2ed81
L
97682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9769
9770 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9771 into R11_LP and load __x86_64_shared_cache_size_half into
9772 R8_LP.
9773
8a17f349
L
97742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9775
9776 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9777 R8_LP.
9778
777b1eea
AZ
97792012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9780
9781 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9782 logb for POWER7.
9783 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9784 logbf for POWER7.
9785 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9786 logbl for POWER7.
9787 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9788 powerpc32/power7/fpu/s_logb.c via #include.
9789 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9790 powerpc32/power7/fpu/s_logbf.c via #include.
9791 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9792 powerpc32/power7/fpu/s_logbl.c via #include.
9793
d20d4ac2
JM
97942012-05-15 Joseph Myers <joseph@codesourcery.com>
9795
9796 * README.libm: Remove file.
9797
6cdef1ab
L
97982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9799
9800 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9801 count for x32. Use R*_LP and omit operand-size suffix.
9802
0b254d8f
L
98032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9804
9805 * shlib-versions: Move x86_64-.*-linux.* entries to ...
9806 * sysdeps/x86_64/64/shlib-versions: Here. New file.
9807 * sysdeps/x86_64/x32/shlib-versions: New file.
9808
ceb809dc
RM
98092012-05-14 Roland McGrath <roland@hack.frob.com>
9810
9811 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9812 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9813 Use _dl_fatal_printf instead.
9814
37f1abd4
JM
98152012-05-14 Joseph Myers <joseph@codesourcery.com>
9816
9817 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9818 set if not set by the user. Do not allow for being unset.
9819 * sysdeps/unix/sysv/linux/configure: Regenerated.
9820
11de3a33
L
98212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9822
9823 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9824 the `q' suffix from lea and replace .quad with ASM_ADDR.
9825
e02f153a
L
98262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9827
9828 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9829 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
9830 instead of $17.
9831 (PTR_DEMANGLE): Likewise.
9832
520ae0fd
L
98332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9834
9835 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9836 (LP_OP): Likewise.
9837 (ASM_ADDR): Likewise.
9838 (RAX_LP): Likewise.
9839 (RBP_LP): Likewise.
9840 (RBX_LP): Likewise.
9841 (RCX_LP): Likewise.
9842 (RDI_LP): Likewise.
9843 (RSI_LP): Likewise.
9844 (RSP_LP): Likewise.
9845 (R8_LP): Likewise.
9846 (R9_LP): Likewise.
9847 (R10_LP): Likewise.
9848 (R10_LP): Likewise.
9849 (R11_LP): Likewise.
9850 (R12_LP): Likewise.
9851 (R13_LP): Likewise.
9852 (R14_LP): Likewise.
9853 (R15_LP): Likewise.
9854
b985be81
L
98552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9856
9857 * sysdeps/x86_64/x32/dl-machine.h: New file.
9858
6a4888ff
AJ
98592012-05-14 Andreas Jaeger <aj@suse.de>
9860
9861 * manual/Makefile (subdir): Remove export of subdir.
9862 (all): Remove target.
9863 (.PHONY): Remove all from list.
9864 (mkinstalldirs): Remove.
9865 (.PHONY): Remove installdirs from list.
9866 ($(inst_infodir)/libc.info): Use make-target-directory.
9867 (installdirs): Remove.
9868 (subdir_%): Remove.
9869 (glibc-targets): Remove.
9870 (lib): Remove.
9871 (stubs): Remove.
9872 ($(objpfx)stubs ../po/manual.pot): Remove.
9873 ($(objpfx)stamp%): Remove.
9874 (make-target-directory): Remove.
9875 (subdir_install): Remove.
9876 (routines): Remove.
9877 (aux): Remove.
9878 (sources): Remove.
9879 (objects): Remove.
9880 (headers): Remove.
9881
9882 [BZ #13750]
9883 * manual/.gitignore: Remove, it's not needed anymore.
9884 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9885 all files in it.
9886 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9887 directory.
9888 (texis): Renamed to $(objpfx)texis.
9889 (texis-path): New, contains path to generated files.
9890 (chapters.%): Use texis-path for complete path, add extra argument
9891 libc-texinfo.sh.
9892 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9893 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9894 (summary,texi, stamp-summary): Use complete path of
9895 files. Generate files in build dir.
9896 (dir-add.texi): Build in build dir.
9897 (libm-err.texi,stamp-libm-err): Likewise.
9898 (version.texi, stamp-version): Likewise.
9899 (.%c.texi): Likewise.
9900 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9901 (mostlyclean): Remove target.
9902 (realclean): Remove target.
9903 (generated): Add new variable with contents from mostlyclean and
9904 realclean, remove entries duplicated in common-mostlyclean, add
9905 stamp-libm-err and stamp-version.
9906 (generated-dirs): Add libc directory.
9907 ($(inst_infodir)/libc.info): Install files from build dir.
9908
9909 * manual/install.texi (Configuring and compiling): Adjust since
9910 the info files are not part of the tar ball anymore.
9911
7ac77294
AJ
99122012-05-14 Andreas Jaeger <aj@suse.de>
9913
9914 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9915 variable.
9916
ffb7875d
JM
99172012-05-14 Joseph Myers <joseph@codesourcery.com>
9918
9919 [BZ #13717]
9920 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9921 to 2.2.0 where earlier.
9922 * sysdeps/unix/sysv/linux/configure: Regenerated.
9923 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9924 Remove conditional code.
9925 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9926 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9927 Remove conditional code.
9928 [!__NR_lchown]: Likewise.
9929 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9930 [__NR_lchown]: Likewise.
9931 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9932 comment referencing __ASSUME_LCHOWN_SYSCALL.
9933 * sysdeps/unix/sysv/linux/i386/sigaction.c
9934 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9935 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9936 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9937 Remove conditional code.
9938 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9939 (__protocol_available): Remove #if 0 code.
9940 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9941 conditional code.
9942 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9943 * sysdeps/unix/sysv/linux/kernel-features.h
9944 (__ASSUME_GETCWD_SYSCALL): Don't define.
9945 (__ASSUME_REALTIME_SIGNALS): Likewise.
9946 (__ASSUME_PREAD_SYSCALL): Likewise.
9947 (__ASSUME_PWRITE_SYSCALL): Likewise.
9948 (__ASSUME_POLL_SYSCALL): Likewise.
9949 (__ASSUME_LCHOWN_SYSCALL): Likewise.
9950 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9951 non-SPARC.
9952 (__ASSUME_SIOCGIFNAME): Don't define.
9953 (__ASSUME_MSG_NOSIGNAL): Likewise.
9954 (__ASSUME_SENDFILE): Define unconditionally.
9955 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9956 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9957 conditional code.
9958 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9959 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9960 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9961 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9962 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9963 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9964 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9966 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9967 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9969 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9970 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9972 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9973 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9975 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9976 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9978 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9979 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9981 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9982 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9984 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9985 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9987 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9988 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9989 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9990 Remove conditional code.
9991 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9992 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9993 Remove conditional code.
9994 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9995 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9996 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9997 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9998 Remove conditional code.
9999 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10000 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
10001 Remove conditional code.
10002 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10003 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
10004 Remove conditional code.
10005 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10006 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10007 Remove conditional code.
10008 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10009 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10010 Remove conditional code.
10011 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10012 * sysdeps/unix/sysv/linux/sh/pwrite64.c
10013 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10014 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10015 * sysdeps/unix/sysv/linux/sigaction.c
10016 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10017 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10018 * sysdeps/unix/sysv/linux/sigpending.c
10019 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10020 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10021 * sysdeps/unix/sysv/linux/sigprocmask.c
10022 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10023 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10024 * sysdeps/unix/sysv/linux/sigsuspend.c
10025 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10026 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10027 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10028 (__libc_missing_rt_sigs): Remove.
10029 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
10030 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
10031 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
10032 Remove conditional code.
10033 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
10034 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
10035 return 1.
10036 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
10037 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
10038 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
10039 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
10040
1bfb7291
AJ
100412012-05-14 Andreas Jaeger <aj@suse.de>
10042
caae5a81
AJ
10043 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
10044 it's not used in glibc.
10045 (__coshm1): Likewise.
10046 (__acosh1p): Likewise.
10047 (__sgn): Likewise.
10048
1bfb7291
AJ
10049 * manual/string.texi (Copying and Concatenation): Add missing
10050 variable in concat example.
10051 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10052
c044d724
L
100532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10054
144c5467 10055 [BZ #14103]
c044d724
L
10056 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
10057 __builtin_clzl with __builtin_clzll.
10058
2523c62b
L
100592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10060
10061 [BZ #14104]
10062 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
10063 libc_freeres_ptr.
10064
d7bb4c42
LD
100652012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10066
10067 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
10068 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
10069 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
10070 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
10071
9dc4e1fb
MF
100722012-05-14 Mike Frysinger <vapier@gentoo.org>
10073
10074 * NEWS: Update ia64 info.
10075
c7df0112
AS
100762012-05-12 Andreas Schwab <schwab@linux-m68k.org>
10077
10078 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
10079 used as bcopy.
10080
dc70356c
TS
100812012-05-12 Thomas Schwinge <thomas@codesourcery.com>
10082
10083 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
10084 * sysdeps/unix/syscalls.list (dup3): Likewise.
10085 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
10086 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
10087
9fb1a21f
L
100882012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10089
10090 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
10091 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
10092
4822a2a5
L
100932012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10094
10095 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
10096 thread pointer.
10097 (TLS_IE): Use mov/add instead of movq/addq to load thread
10098 pointer.
10099 (TLS_GD_PREFIX): New.
10100 (TLS_GD): Use it.
10101
842b81d6
DM
101022012-05-11 David S. Miller <davem@davemloft.net>
10103
10104 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
10105 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
10106 (_FPU_SETCW): Likewise.
10107
1cf463cd
L
101082012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10109
10110 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
10111 is 32-byte aligned.
10112
60cc4a18
AS
101132012-05-11 Andreas Schwab <schwab@linux-m68k.org>
10114
10115 [BZ #11837]
10116 * iconvdata/gb18030.c: Update tables.
10117 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
10118 characters specially.
10119 (BODY for TO_LOOP): Add encoding of missing ranges.
10120
febb44a4
TS
101212012-05-11 Thomas Schwinge <thomas@codesourcery.com>
10122
10123 [BZ #13673]
10124 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
10125 * sysdeps/mach/hurd/dup3.c: Likewise.
10126 * sysdeps/mach/hurd/readlinkat.c: Likewise.
10127 * sysdeps/powerpc/memmove.c:: Likewise.
10128
0a10fb9e
L
101292012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10130
10131 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
10132 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
10133
df8a552f
L
101342012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10135
10136 * elf/elf.h (R_X86_64_RELATIVE64): New.
10137 (R_X86_64_NUM): Updated.
10138 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10139 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
10140 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
10141 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
10142 tst-quad1pie tst-quad2pie
10143 (modules-names): Add tst-quadmod1 tst-quadmod2.
10144 ($(objpfx)tst-quad1): New dependency.
10145 ($(objpfx)tst-quad2): Likewise.
10146 ($(objpfx)tst-quad1pie): Likewise.
10147 ($(objpfx)tst-quad2pie): Likewise.
10148 * sysdeps/x86_64/tst-quad1.c: New file.
10149 * sysdeps/x86_64/tst-quad1pie.c: New file.
10150 * sysdeps/x86_64/tst-quad2.c: Likewise.
10151 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
10152 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
10153 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
10154 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
10155 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
10156
f34d6f84
ST
101572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10158
f42d41d1
ST
10159 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
10160 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
10161 * streams/stropts.h (t_scalar_t): Define type.
10162
3c3571fc
ST
10163 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
10164 (_PATH_PRESERVE): Set to "/var/lib".
10165 (_PATH_RWHODIR): Set to "/var/spool/rwho".
10166
61f06bd3
ST
10167 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
10168 instead of int.
10169
918d4d71
ST
10170 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
10171 if __dir_mkfile succeeded.
10172
f34d6f84
ST
10173 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
10174 checking for _hurd_dtablesize. Unlock it right after having
10175 finished _hurd_dtable allocation.
10176
10589b4a
TS
101772012-05-10 Thomas Schwinge <thomas@schwinge.name>
10178
674cdbc7
TS
10179 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
10180 * sysdeps/mach/hurd/configure: Regenerated.
10181 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
10182 special-casing to...
10183 * sysdeps/gnu/configure.in: ... this new file.
10184 * sysdeps/unix/sysv/linux/configure: Regenerated.
10185 * sysdeps/gnu/configure: New generated file.
10186
8e41b99f
TS
10187 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
10188 for Linux: use nsec instead of usec, as well as:
10189 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
10190 members of type struct timespec.
10191 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
10192 New macros.
10193 (struct stat64): Likewise.
10194 (_STATBUF_ST_NSEC): New macro.
10195 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
10196
10589b4a
TS
10197 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10198 __strtoul_internal rather than strtoul.
10199
63643c85
PT
102002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10201
10202 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
10203 and reject them.
10204
3faebe6a
ST
102052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10206
10207 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
10208 which preserves existing values.
10209 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
10210
c6474b07
PT
102112012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10212
10213 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
10214 TIMEOUT values. Return EINVAL for NFDS values either negative or
10215 greater than FD_SETSIZE.
10216
1043890b
ST
102172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10218
10219 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
10220 allocated, call __vm_protect to finish enabling the existing space, and
10221 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
10222 allocate the remainder.
10223
37ed8b9b
PT
102242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10225
10226 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
10227 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
10228
db653660
ST
102292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10230
37ed8b9b
PT
10231 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
10232 sysdeps/mach/hurd/readlink.c.
b29d4053 10233
db653660
ST
10234 * posix/tst-sysconf.c (posix_options): Only use
10235 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
10236 _POSIX_SYNCHRONIZED_IO when they are defined
10237 * sysdeps/mach/hurd/bits/posix_opt.h:
10238 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
10239 (_XOPEN_REALTIME): Undefine macro.
10240 (_XOPEN_REALTIME_THREADS): Undefine macro.
10241 (_XOPEN_SHM): Undefine macro.
10242 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
10243 macro to -1.
10244 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
10245 macro to -1.
10246 (_POSIX_ASYNC_IO): Undefine macro.
10247 (_POSIX_PRIORITIZED_IO): Undefine macro.
10248 (_POSIX_SPIN_LOCKS): Define macro to -1.
10249
ee16e894
ST
10250 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
10251 SA_NODEFER, SA_RESETHAND.
10252 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
10253 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
10254 F_DUPFD_CLOEXEC.
10255
6103ae3b
TS
102562012-05-10 Thomas Schwinge <thomas@schwinge.name>
10257
10258 * elf/Makefile (pldd-modules): Define unconditionally.
10259
80b4e5f3
TS
102602012-05-10 Thomas Schwinge <thomas@schwinge.name>
10261
10262 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
10263
edadcbd6
ST
102642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10265
10266 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
10267 Return ENOENT when name is empty.
10268 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
10269
80694780
TS
102702012-05-10 Thomas Schwinge <thomas@schwinge.name>
10271
1792c087
TS
10272 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
10273
80694780
TS
10274 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
10275
6b645f0d
ST
102762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10277
80694780
TS
10278 Fix mlock in all cases except non-readable pages.
10279 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
10280 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 10281
6b645f0d
ST
10282 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
10283 (__mkdir): When path is `/', just fail with EEXIST.
10284 * sysdeps/mach/hurd/mkdirat.c: Likewise.
10285
e468f8a3
TS
102862012-05-10 Thomas Schwinge <thomas@schwinge.name>
10287
10288 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
10289 <sys/uio.h> (for writev).
10290 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
10291 and <sys/param.h> (for MIN).
10292
a4186cff
PT
102932012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10294
10295 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
10296 REQUESTED_TIME. Properly set the remaining time and return EINTR
10297 if interrupted.
10298
510bbf14
TS
102992012-05-10 Thomas Schwinge <thomas@schwinge.name>
10300
10301 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
10302 Depend on against $(link-rpcuserlibs).
10303
5d5722e8
ST
103042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10305
a4186cff
PT
10306 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
10307 (__libc_stack_end): Do not use attribute_relro.
10308 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
10309 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 10310 to libthread-provided value.
a4186cff
PT
10311 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
10312 attribute_relro.
5d5722e8 10313
37233df9
TS
103142012-05-10 Thomas Schwinge <thomas@schwinge.name>
10315
be971a2b
TS
10316 [BZ #3748]
10317 * bits/libc-lock.h (__libc_once_get): New macro.
10318 * sysdeps/mach/bits/libc-lock.h: Likewise.
10319 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
10320 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
10321 instead of using implementation details.
10322
37233df9
TS
10323 * libio/fileops.c: Unconditionally include <kernel-features.h>.
10324 * libio/freopen.c: Likewise.
10325 * libio/freopen64.c: Likewise.
10326 * misc/syslog.c: Likewise.
10327 * nscd/connections.c: Likewise.
10328 * nscd/netgroupcache.c: Likewise.
10329 * sysdeps/posix/getcwd.c: Likewise.
10330
38de94a5
RM
103312012-05-10 Roland McGrath <roland@hack.frob.com>
10332
10333 * math/w_ilogbf.c: Add #include <limits.h>.
10334
67530489
ST
103352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10336
a4186cff 10337 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
10338 path instead of returning without unlocking.
10339
67530489
ST
10340 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
10341 immediate-write ioctls.
10342 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
10343
5aa3a74a
TS
103442012-05-10 Thomas Schwinge <thomas@schwinge.name>
10345
18bad2ae
TS
10346 * sysdeps/mach/hurd/i386/init-first.c (init): Use
10347 __builtin_frame_address instead of making assumptions about the
10348 location of the return address relative to DATA. Force early load of
10349 the return address.
10350 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
10351 __builtin_frame_address.
10352
5aa3a74a
TS
10353 dup3 for GNU Hurd.
10354 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
10355 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
10356 implement dup3 and do some further code clean-ups.
10357 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
10358 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
10359
ecd0de9a
ST
103602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10361
cd9fa985
ST
10362 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
10363
a4186cff
PT
10364 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
10365 HURD_CRITICAL_END around holding _hurd_dtable_lock.
10366 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
10367 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
10368 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
10369 d->port.lock.
802ca5a5 10370
a4186cff
PT
10371 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
10372 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
10373 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 10374
bcf55240
TS
103752012-05-10 Thomas Schwinge <thomas@schwinge.name>
10376
6960eb42
TS
10377 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
10378 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
10379 definitions.
10380
eb43375f
TS
10381 accept4 for GNU Hurd.
10382 * include/sys/socket.h (__libc_accept4): New prototype.
10383 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
10384 to implement __libc_accept4.
10385 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
10386 __libc_accept4.
10387 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
10388
bcf55240
TS
10389 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
10390 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
10391 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
10392 signal-defines.sym.
10393
6178c55b
ST
103942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10395
a4186cff 10396 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 10397
6f080c2f
TS
103982012-05-10 Thomas Schwinge <thomas@schwinge.name>
10399
10400 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
10401 assertion on O_CLOEXEC flag.
10402 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
10403 * hurd/intern-fd.c: Likewise.
10404 * hurd/port2fd.c: Likewise.
10405
bcfe3a54
ST
104062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10407
10408 [BZ #3906]
10409 * bits/in.h (IPV6_PKTINFO): Define new macro.
10410 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
10411
89c9aa49
AZ
104122012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10413
10414 [BZ #13954]
10415 [BZ #13955]
10416 [BZ #13956]
10417 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
10418 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10419 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
10420 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10421 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10422 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10423 * math/libm-test.inc (logb_test) : Additional logb tests.
10424
021db4be
AJ
104252012-05-09 Andreas Schwab <schwab@linux-m68k.org>
10426 Andreas Jaeger <aj@suse.de>
10427
10428 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
10429 * configure: Regenerated.
10430 * config.h.in (LINK_OBSOLETE_RPC): New macro.
10431 * config.make.in (link-obsolete-rpc): New substituted variable.
10432 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
10433 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10434 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10435 (shared-only-routines): Don't set it under [link-obsolete-rpc],
10436 so that libc.a contains the symbols.
10437 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10438 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
10439 * sunrpc/auth_none.c: Likewise.
10440 * sunrpc/auth_unix.c: Likewise.
10441 * sunrpc/authdes_prot.c: Likewise.
10442 * sunrpc/authuxprot.c: Likewise.
10443 * sunrpc/clnt_gen.c: Likewise.
10444 * sunrpc/clnt_perr.c: Likewise.
10445 * sunrpc/clnt_raw.c: Likewise.
10446 * sunrpc/clnt_simp.c: Likewise.
10447 * sunrpc/clnt_tcp.c: Likewise.
10448 * sunrpc/clnt_udp.c: Likewise.
10449 * sunrpc/clnt_unix.c: Likewise.
10450 * sunrpc/des_crypt.c: Likewise.
10451 * sunrpc/des_soft.c: Likewise.
10452 * sunrpc/get_myaddr.c: Likewise.
10453 * sunrpc/key_call.c: Likewise.
10454 * sunrpc/key_prot.c: Likewise.
10455 * sunrpc/netname.c: Likewise.
10456 * sunrpc/pm_getmaps.c: Likewise.
10457 * sunrpc/pm_getport.c: Likewise.
10458 * sunrpc/pmap_clnt.c: Likewise.
10459 * sunrpc/pmap_prot.c: Likewise.
10460 * sunrpc/pmap_prot2.c: Likewise.
10461 * sunrpc/pmap_rmt.c: Likewise.
10462 * sunrpc/publickey.c: Likewise.
10463 * sunrpc/rpc_cmsg.c: Likewise.
10464 * sunrpc/rpc_common.c: Likewise.
10465 * sunrpc/rpc_dtable.c: Likewise.
10466 * sunrpc/rpc_prot.c: Likewise.
10467 * sunrpc/rpc_thread.c: Likewise.
10468 * sunrpc/rtime.c: Likewise.
10469 * sunrpc/svc.c: Likewise.
10470 * sunrpc/svc_auth.c: Likewise.
10471 * sunrpc/svc_raw.c: Likewise.
10472 * sunrpc/svc_run.c: Likewise.
10473 * sunrpc/svc_tcp.c: Likewise.
10474 * sunrpc/svc_udp.c: Likewise.
10475 * sunrpc/svc_unix.c: Likewise.
10476 * sunrpc/svcauth_des.c: Likewise.
10477 * sunrpc/xcrypt.c: Likewise.
10478 * sunrpc/xdr.c: Likewise.
10479 * sunrpc/xdr_array.c: Likewise.
10480 * sunrpc/xdr_float.c: Likewise.
10481 * sunrpc/xdr_intXX_t.c: Likewise.
10482 * sunrpc/xdr_mem.c: Likewise.
10483 * sunrpc/xdr_rec.c: Likewise.
10484 * sunrpc/xdr_ref.c: Likewise.
10485 * sunrpc/xdr_sizeof.c: Likewise.
10486 * sunrpc/xdr_stdio.c: Likewise.
10487
b5c086a2
RM
104882012-05-10 Roland McGrath <roland@hack.frob.com>
10489
10490 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
10491 change. Update copyright years.
10492
6d74dd09
JM
104932012-05-10 Joseph Myers <joseph@codesourcery.com>
10494
10495 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
10496
28e72501
MK
104972012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
10498 Joseph Myers <joseph@codesourcery.com>
10499 Paul Pluzhnikov <ppluzhnikov@google.com>
10500
10501 [BZ #14012]
10502 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
10503 requiring rpcgen.
10504 [cross-compiling] (extra-libs): Likewise.
10505 [cross-compiling] (extra-libs-others): Likewise.
10506 [cross-compiling] (librpcsvc-routines): Likewise.
10507 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
10508 [cross-compiling] (omit-deps): Likewise.
10509 (sunrpc-CPPFLAGS): New variable.
10510 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
10511 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
10512 (cross-rpcgen-objs): New variable.
10513 (extra-objs): Append $(cross-rpcgen-objs).
10514 ($(cross-rpcgen-objs)): New rule.
10515 ($(objpfx)cross-rpcgen): Likewise.
10516 (rpcgen-cmd): Define to use $(built-program-file). Expand
10517 comment.
10518 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
10519 ($(objpfx)x%.stmp): Likewise.
10520 * sunrpc/proto.h [IS_IN_build] (_): Define.
10521 [IS_IN_build] (_libc_intl_domainname): Likewise.
10522
c8c59454
L
105232012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10524
10525 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
10526 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
10527 and R_X86_64_TPOFF64.
10528
6f27cd16
JM
105292012-05-10 Joseph Myers <joseph@codesourcery.com>
10530
10531 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
10532 sysdeps/unix/sysv/syscalls.list.
10533 (stime): Likewise.
10534 (utime): Likewise.
10535 * sysdeps/unix/sysv/syscalls.list: Remove file.
10536
02467e1c
PE
105372012-05-10 Paul Eggert <eggert@cs.ucla.edu>
10538
10539 [BZ #3440]
10540 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
10541 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
10542 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
10543 (__LC_IDENTIFICATION): Make these macros useful in #if
10544 expressions, as required by C99.
10545
da392631
AS
105462012-05-10 Andreas Schwab <schwab@linux-m68k.org>
10547
10548 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
10549 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
10550 after this.
10551
8115f29b
L
105522012-05-09 H.J. Lu <hongjiu.lu@intel.com>
10553
10554 * stdlib/longlong.h: Updated from GCC.
10555
bdd74070
AJ
105562012-05-09 Andreas Jaeger <aj@suse.de>
10557
edfe0dbe
AJ
10558 * nscd/nscd.c (run_modes): Make named enum, reorder so that
10559 default is first entry.
10560 (run_mode): Set type.
10561 (main): Remove informal message about syslog.
10562 (options): Fix typo.
10563
bcfe3a54
ST
10564 [BZ #14053]
10565 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 10566 to asm.
bcfe3a54
ST
10567 (lrint): Likewise.
10568 (llrintf): Likewise.
10569 (llrint): Likewise.
10570 (rint): Likewise.
10571 (rintf): Likewise.
10572 (nearbyint): Likewise.
10573 (nearbyintf): Likewise.
bdd74070 10574
91d8d69e
AJ
105752012-05-09 Andreas Jaeger <aj@suse.de>
10576 Pedro Alves <palves@redhat.com>
10577
10578 * nscd/nscd.c (run_mode): Use enum.
10579 (main): Cleanup coding style issue.
10580
bb90b80b
AJ
105812012-05-09 Alexandre Oliva <aoliva@redhat.com>
10582 Andreas Jaeger <aj@suse.de>
10583
bcfe3a54
ST
10584 * nscd/nscd.c (go_background): Replaced with...
10585 (run_mode): ... this.
bb90b80b 10586 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
10587 (options): Add -F --foreground.
10588 (main): Implement it.
10589 (parse_opt): Parse it.
bb90b80b 10590
1a4b75a1
AJ
105912012-05-09 Andreas Jaeger <aj@suse.de>
10592
10593 [BZ #14083]
10594 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
10595 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
10596 -Wconversion warning.
10597 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10598 Likewise.
10599
b1cc2472
JM
106002012-05-09 Joseph Myers <joseph@codesourcery.com>
10601
10602 * conform/data/locale.h-data (NULL): Use macro-constant. Require
10603 == 0.
10604 (LC_ALL): Use macro-int-constant.
10605 (LC_COLLATE): Likewise.
10606 (LC_CTYPE): Likewise.
10607 (LC_MESSAGES): Likewise.
10608 (LC_MONETARY): Likewise.
10609 (LC_NUMERIC): Likewise.
10610 (LC_TIME): Likewise.
10611 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
10612 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10613 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10614 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
10615 Specify type.
10616 [C99-based standards] (float_t): Expect type.
10617 [C99-based standards] (double_t): Expect type.
10618 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
10619 type.
10620 [C99-based standards] (HUGE_VALL): Likewise.
10621 [C99-based standards] (INFINITY): Likewise.
10622 [C99-based standards] (NAN): Likewise.
10623 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
10624 [C99-based standards] (FP_NAN): Likewise.
10625 [C99-based standards] (FP_NORMAL): Likewise.
10626 [C99-based standards] (FP_SUBNORMAL): Likewise.
10627 [C99-based standards] (FP_ZERO): Likewise.
10628 [C99-based standards] (FP_FAST_FMA): Use
10629 optional-macro-int-constant. Specify type. Require == 1.
10630 [C99-based standards] (FP_FAST_FMAF): Likewise.
10631 [C99-based standards] (FP_FAST_FMAL): Likewise.
10632 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
10633 [C99-based standards] (FP_ILOGBNAN): Likewise.
10634 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
10635 Specify type.
10636 [C99-based standards] (MATH_ERREXCEPT): Likewise.
10637 [C99-based standards] (math_errhandling): Specify type.
10638 [ISO99 || ISO11] (signgam): Do not allow.
10639 [non-C99-based standards] (copysignf): Do not allow.
10640 [non-C99-based standards] (exp2f): Likewise.
10641 [non-C99-based standards] (log2f): Likewise.
10642 [non-C99-based standards] (modff): Allow.
10643 [non-C99-based standards] (erff): Do not allow.
10644 [non-C99-based standards] (erfcf): Likewise.
10645 [non-C99-based standards] (gammaf): Likewise.
10646 [non-C99-based standards] (hypotf): Likewise.
10647 [non-C99-based standards] (j0f): Likewise.
10648 [non-C99-based standards] (j1f): Likewise.
10649 [non-C99-based standards] (jnf): Likewise.
10650 [non-C99-based standards] (lgammaf): Likewise.
10651 [non-C99-based standards] (tgammaf): Likewise.
10652 [non-C99-based standards] (y0f): Likewise.
10653 [non-C99-based standards] (y1f): Likewise.
10654 [non-C99-based standards] (ynf): Likewise.
10655 [non-C99-based standards] (isnanf): Likewise.
10656 [non-C99-based standards] (acoshf): Likewise.
10657 [non-C99-based standards] (asinhf): Likewise.
10658 [non-C99-based standards] (atanhf): Likewise.
10659 [non-C99-based standards] (cbrtf): Likewise.
10660 [non-C99-based standards] (expm1f): Likewise.
10661 [non-C99-based standards] (ilogbf): Likewise.
10662 [non-C99-based standards] (log1pf): Likewise.
10663 [non-C99-based standards] (logbf): Likewise.
10664 [non-C99-based standards] (nextafterf): Likewise.
10665 [non-C99-based standards] (remainderf): Likewise.
10666 [non-C99-based standards] (rintf): Likewise.
10667 [non-C99-based standards] (scalbf): Likewise.
10668 [non-C99-based standards] (copysignl): Likewise.
10669 [non-C99-based standards] (exp2l): Likewise.
10670 [non-C99-based standards] (log2l): Likewise.
10671 [non-C99-based standards] (modfl): Allow.
10672 [non-C99-based standards] (erfl): Do not allow.
10673 [non-C99-based standards] (erfcl): Likewise.
10674 [non-C99-based standards] (gammal): Likewise.
10675 [non-C99-based standards] (hypotl): Likewise.
10676 [non-C99-based standards] (j0l): Likewise.
10677 [non-C99-based standards] (j1l): Likewise.
10678 [non-C99-based standards] (jnl): Likewise.
10679 [non-C99-based standards] (lgammal): Likewise.
10680 [non-C99-based standards] (tgammal): Likewise.
10681 [non-C99-based standards] (y0l): Likewise.
10682 [non-C99-based standards] (y1l): Likewise.
10683 [non-C99-based standards] (ynl): Likewise.
10684 [non-C99-based standards] (isnanl): Likewise.
10685 [non-C99-based standards] (acoshl): Likewise.
10686 [non-C99-based standards] (asinhl): Likewise.
10687 [non-C99-based standards] (atanhl): Likewise.
10688 [non-C99-based standards] (cbrtl): Likewise.
10689 [non-C99-based standards] (expm1l): Likewise.
10690 [non-C99-based standards] (ilogbl): Likewise.
10691 [non-C99-based standards] (log1pl): Likewise.
10692 [non-C99-based standards] (logbl): Likewise.
10693 [non-C99-based standards] (nextafterl): Likewise.
10694 [non-C99-based standards] (remainderl): Likewise.
10695 [non-C99-based standards] (rintl): Likewise.
10696 [non-C99-based standards] (scalbl): Likewise.
10697 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10698 [non-C99-based standards] (FP_*): Do not allow.
10699 [C99-based standards] (FP_*): Change to
10700 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10701 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10702 allow.
10703 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10704 (SIG_ERR): Likewise.
10705 [X/Open-based standards] (SIG_HOLD): Likewise.
10706 (SIG_IGN): Likewise.
10707 (SIGABRT): Use macro-int-constant. Specify type. Require
10708 positive value.
10709 (SIGFPE): Likewise.
10710 (SIGILL): Likewise.
10711 (SIGINT): Likewise.
10712 (SIGSEGV): Likewise.
10713 (SIGTER): Likewise.
10714 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10715 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10716 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10717 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10718 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10719 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10720 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10721 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10722 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10723 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10724 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10725 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10726 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10727 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10728 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10729 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10730 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10731 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10732 [X/Open-based standards] (SIGTRAP): Likewise.
10733 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10734 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10735 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10736 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10737 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10738 allow.
10739
b9f1922d
IW
107402012-05-08 Ian Wienand <ianw@vmware.com>
10741
10742 [BZ #14080]
10743 * time/tzset.c (__tzset_parse_tz): Update default rules for
10744 daylight time changes in the Energy Policy Act of 2005.
10745
1db86e88
AJ
107462012-05-09 Andreas Jaeger <aj@suse.de>
10747
10748 [BZ #13983]
10749 * elf/ldconfig.c (parse_conf): Change string to make clear that
10750 ldconfig only issued a warning if ld.so.conf does not exist.
10751
dee4a4e3
DM
107522012-05-08 David S. Miller <davem@davemloft.net>
10753
ee0db190
DM
10754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10755 movxtod instead of popping the value on the stack.
10756
dee4a4e3
DM
10757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10758
6a43ec98
CD
107592012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
10760
10761 * config.h.in: Add HAVE_ARM_PCS_VFP.
10762
05c2c961
RMG
107632012-05-08 Roland Mc Grath <roland@hack.frob.com>
10764
bcfe3a54
ST
10765 [BZ #13979]
10766 * include/features.h: Warn if user requests __FORTIFY_SOURCE
10767 checking but the checks are disabled for any reason.
05c2c961 10768
4b30f61a
L
107692012-05-08 H.J. Lu <hongjiu.lu@intel.com>
10770
10771 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10772 and ELF64_R_TYPE with ELFW(R_TYPE).
10773
eee2bc67
JM
107742012-05-08 Joseph Myers <joseph@codesourcery.com>
10775
7ea5391a
JM
10776 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10777 (ulimit): Likewise.
10778
eee2bc67
JM
10779 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10780 (settimeofday): Likewise.
10781
abb66a67
MF
107822012-05-08 Mike Frysinger <vapier@gentoo.org>
10783
10784 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
10785 a struct th_u2 inside the union, and move tu_block/tu_code into
10786 a new th_u3 union of tu_block/tu_code inside of that. Move
10787 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
10788 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
10789 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10790 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10791 (th_stuff): Change to th_u1.tu_stuff.
10792 (th_data): Define.
10793 (th_msg): Change to th_u1.th_u2.tu_data.
10794
7f18b530
DM
107952012-05-07 David S. Miller <davem@davemloft.net>
10796
05760585
DM
10797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10798
7f18b530
DM
10799 [BZ #14074]
10800 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10801 (SETUP_PIC_REG): Use it.
10802 (SETUP_PIC_REG_LEAF): Use it.
10803
495fd99f
JM
108042012-05-07 Joseph Myers <joseph@codesourcery.com>
10805
10806 [BZ #13885]
10807 [BZ #13923]
10808 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10809 USE_AS_EXPM1L.
10810 (EXPL_FINITE): Likewise.
10811 (FLDLOG): Likewise.
10812 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10813 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10814 e_expl.S.
10815 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10816 USE_AS_EXPM1L.
10817 (EXPL_FINITE): Likewise.
10818 (FLDLOG): Likewise.
10819 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10820 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10821 e_expl.S.
10822 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
10823 test of -max_value argument for long double.
10824 * sysdeps/i386/fpu/libm-test-ulps: Update.
10825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10826
6693d694
DM
108272012-05-06 David S. Miller <davem@davemloft.net>
10828
10829 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10830 quad soft-float symbols whose references which are compiler
10831 generated.
10832 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10833
6c23e11c
JM
108342012-05-06 Joseph Myers <joseph@codesourcery.com>
10835
d8b82cad
JM
10836 [BZ #13884]
10837 [BZ #13914]
10838 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10839 USE_AS_EXP10L.
10840 (EXPL_FINITE): Likewise.
10841 (FLDLOG): Likewise.
10842 (c0): Likewise.
10843 (c1): Likewise.
10844 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10845 Adjust comments for base varying.
10846 (__expl_finite): Change alias to EXPL_FINITE.
10847 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10848 e_expl.S.
10849 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10850 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10851 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10852 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10853 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10854 USE_AS_EXP10L.
10855 (EXPL_FINITE): Likewise.
10856 (FLDLOG): Likewise.
10857 (c0): Likewise.
10858 (c1): Likewise.
10859 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10860 Adjust comments for base varying.
10861 (__expl_finite): Change alias to EXPL_FINITE.
10862 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
10863 tests for bugs.
10864 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10865
6c23e11c
JM
10866 [BZ #14064]
10867 * math/libm-test.inc (check_float_internal): Correct ulp
10868 calculation for subnormal expected results.
10869
29ba805c
AJ
108702012-05-06 Andreas Jaeger <aj@suse.de>
10871
10872 * Makeconfig (+math-flags): New, set to -frounding-math.
10873 (+cflags): Add +math-flags so that all of glibc gets compiled with
10874 it.
10875
10876 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10877
7b17aeda
JM
108782012-05-05 Joseph Myers <joseph@codesourcery.com>
10879
5779f134
JM
10880 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10881 Disable one test.
10882
41498f4d
JM
10883 [BZ #13787]
10884 [BZ #13922]
10885 [BZ #14036]
10886 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10887 (__ieee754_expl): Allow for and saturate large arguments.
10888 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10889 (u_threshold): Likewise.
10890 (__exp): Call __ieee754_exp before checking for overflow and
10891 underflow.
10892 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10893 (u_threshold): Likewise.
10894 (__expf): Call __ieee754_expf before checking for overflow and
10895 underflow.
10896 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10897 (u_threshold): Likewise.
10898 (__expl): Call __ieee754_expl before checking for overflow and
10899 underflow.
10900 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10901 (__ieee754_expl): Allow for and saturate large arguments.
10902 * math/libm-test.inc (exp_test): Add another test. Do not allow
10903 missing overflow exception on overflow.
10904 (expm1_test): Do not allow missing overflow exception on overflow.
10905
6698b8bf
JM
10906 * sysdeps/i386/fpu/e_expl.c: Move to ...
10907 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
10908 rather than using inline asm.
10909 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10910 * sysdeps/x86_64/fpu/e_expl.S: Copy from
10911 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10912
7b17aeda
JM
10913 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10914 (nice): Likewise.
10915 (poll): Likewise.
10916 (signal): Likewise.
10917 (time): Likewise.
10918 (times): Likewise.
10919
f7c85819
JM
109202012-05-04 Joseph Myers <joseph@codesourcery.com>
10921
10922 * sysdeps/unix/syscalls.list (adjtime): Add entry from
10923 sysdeps/unix/common/syscalls.list.
10924 (fchmod): Likewise.
10925 (fchown): Likewise.
10926 (ftruncate): Likewise.
10927 (getrusage): Likewise.
10928 (gettimeofday): Likewise.
10929 (setpgid): Likewise.
10930 (setregid): Likewise.
10931 (setreuid): Likewise.
10932 (sigaction): Likewise.
10933 (truncate): Likewise.
10934 (vhangup): Likewise.
10935 * sysdeps/unix/common/syscalls.list: Remove file.
10936 * sysdeps/unix/bsd/Implies: Don't include unix/common.
10937 * sysdeps/unix/sysv/linux/Implies: Likewise.
10938
336270d0
L
109392012-05-04 H.J. Lu <hongjiu.lu@intel.com>
10940
10941 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10942 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10943 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10944 Moved to ...
10945 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10946 Here.
10947 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10948 to ...
10949 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10950 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10951 to ...
10952 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10953 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10954 to ...
10955 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10956 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10957 to ...
10958 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10959 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10960 to ...
10961 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10962 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10963 to ...
10964 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10965 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10966 to ...
10967 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10968 Here.
10969 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10970 to ...
10971 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10972 Here.
10973 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10974 to ...
10975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10976 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10977 Moved to ...
10978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10979 Here.
10980 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10981 to ...
10982 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10983
d128e450
JM
109842012-05-04 Joseph Myers <joseph@codesourcery.com>
10985
fa8ee516
JM
10986 * sysdeps/unix/common/bits/dirent.h: Remove file.
10987 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10988
d128e450
JM
10989 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10990 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10991 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10992 * sysdeps/unix/bsd/isatty.c: Likewise.
10993 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10994 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10995 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10996
ff8faaf0 109972012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 10998
62881be4 10999 [BZ #13563]
31dc8730
AZ
11000 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
11001 long double comparison inaccuracies.
11002 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11003 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11004
6fef930c
AS
110052012-05-04 Andreas Schwab <schwab@linux-m68k.org>
11006
11007 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
11008 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
11009
8f203e6c
JM
110102012-05-04 Joseph Myers <joseph@codesourcery.com>
11011
11012 [BZ #14049]
11013 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
11014 nonzero digits before rounding a hex value.
11015 * stdlib/tst-strtod.c (tests): Add another test.
11016
5197d9c2
AK
110172012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11018
11019 * sysdeps/s390/fpu/libm-test-ulps: Update.
11020
f0c1dedf
AJ
110212012-05-03 Andreas Jaeger <aj@suse.de>
11022
11023 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
11024 does not get optimized out.
11025 (malloc_opt_barrier): New.
11026
a65ef2ae 110272012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 11028 Roland McGrath <roland@hack.frob.com>
a65ef2ae 11029
2b942cb7 11030 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 11031 intermediate file deletion.
2b942cb7 11032 (generated): Add .symlist files.
a65ef2ae 11033
54b71e02
JM
110342012-05-03 Joseph Myers <joseph@codesourcery.com>
11035
11036 [BZ #13775]
11037 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
11038 Redirect under this condition.
11039 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11040 [__USE_GNU] (__dprintf_chk): Not under this condition.
11041 [__USE_GNU] (__vdprintf_chk): Likewise.
11042 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
11043 under this condition.
11044 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11045 [__USE_XOPEN2K8] (dprintf): Define under this condition.
11046 [__USE_XOPEN2K8] (vdprintf): Likewise.
11047 [__USE_GNU] (__dprintf_chk): Not under this condition.
11048 [__USE_GNU] (__vdprintf_chk): Likewise.
11049 [__USE_GNU] (dprintf): Likewise.
11050 [__USE_GNU] (vdprintf): Likewise.
11051
d3dfcc41
RM
110522012-05-03 Roland McGrath <roland@hack.frob.com>
11053
11054 * elf/Makefile (common-generated): Set this instead of generated for
11055 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
11056 $(all-built-dso)-derived lists.
11057
7ac30cc5
AJ
110582012-05-03 Andreas Jaeger <aj@suse.de>
11059
0c51e550
AJ
11060 * sysdeps/i386/fpu/libm-test-ulps: Update.
11061
7ac30cc5
AJ
11062 * FAQ: Removed.
11063 * FAQ.in: Likewise.
11064 * scripts/gen-FAQ.pl: Likewise.
11065 * manual/install.texi (Installation): Point to online location of
11066 FAQ.
11067 * Makefile (files-for-dist): Remove FAQ.
11068 (FAQ): Remove.
11069
d4c2917f
AM
110702012-05-02 Allan McRae <allan@archlinux.org>
11071
11072 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
11073 (LDFLAGS-reldepmod5.so): Likewise.
11074 (LDFLAGS-reldep6mod1.so): Likewise.
11075 (LDFLAGS-reldep6mod4.so): Likewise.
11076 (LDFLAGS-reldep8mod3.so): Likewise.
11077 (LDFLAGS-unload4mod1.so): Likewise.
11078 (LDFLAGS-unload4mod2.so): Likewise.
11079 (LDFLAGS-tst-initorder): Likewise.
11080 (LDFLAGS-tst-initordera2.so): Likewise.
11081 (LDFLAGS-tst-initordera3.so): Likewise.
11082 (LDFLAGS-tst-initordera4.so): Likewise.
11083 (LDFLAGS-tst-initorderb2.so): Likewise.
11084 (LDFLAGS-noload): Likewise.
11085 (LDFLAGS-next): Likewise.
11086 (LDFLAGS-order2mod1.so): Likewise.
11087 (LDFLAGS-order2mod2.so): Likewise.
11088 (LDFLAGS-tst-initorder2): Likewise.
11089 (LDFLAGS-tst-initorder2a.so): Likewise.
11090 (LDFLAGS-tst-initorder2b.so): Likewise.
11091 (LDFLAGS-tst-initorder2c.so): Likewise.
11092 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
11093
d77f993f
DM
110942012-05-02 David S. Miller <davem@davemloft.net>
11095
11096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11097
171a70b4
PP
110982012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
11099
11100 [BZ #14055]
11101 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
11102
0be196ad
AJ
111032012-05-02 Andreas Jaeger <aj@suse.de>
11104
11105 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
11106 since we manipulate rounding mode.
11107 (CPPFLAGS-test-idouble.c): Likewise.
11108 (CPPFLAGS-test-ifloat.c): Likewise.
11109 (CFLAGS-test-ldouble.c): Likewise.
11110 (CFLAGS-test-double.c): Likewise.
11111 (CFLAGS-test-float.c): Likewise.
11112 (CFLAGS-test-misc.c): Likewise.
11113 (CFLAGS-test-test-fenv.c): Likewise.
11114
4f9d04aa
AZ
111152012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11116
2b942cb7
RM
11117 [BZ #2550]
11118 [BZ #2570]
11119 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
11120 comparisons to determine direction to adjust input.
4f9d04aa 11121
82a79e7d
RM
111222012-05-01 Roland McGrath <roland@hack.frob.com>
11123
f5a01ca9
RM
11124 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
11125 output to the target.
11126
90fe4186
RM
11127 * scripts/localplt.awk: New file.
11128 * elf/Makefile ($(objpfx)check-localplt): Target removed.
11129 (check-localplt-CFLAGS): Variable removed.
11130 ($(all-built-dso:=.jmprel)): New static pattern rule.
11131 (generated): Add those targets.
11132 (localplt-built-dso): New variable.
11133 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
11134
11135 * elf/check-localplt.c: File removed.
11136
82397ed6
RM
11137 * scripts/check-execstack.awk: New file.
11138 * elf/Makefile ($(objpfx)check-execstack): Target removed.
11139 (check-execstack-CFLAGS): Variable removed.
11140 ($(objpfx)check-execstack.h): Target removed.
11141 ($(objpfx)execstack-default): New target.
11142 (generated): Add that instead of check-execstack.h.
11143 ($(all-built-dso:=.phdr)): New static pattern rule.
11144 (generated): Add those targets.
11145 * elf/check-execstack.c: File removed.
11146
82a79e7d
RM
11147 * scripts/check-textrel.awk: New file.
11148 * elf/Makefile ($(objpfx)check-textrel): Target removed.
11149 (check-textrel-CFLAGS): Variable removed.
11150 (all-built-dso): Use := to define.o
11151 ($(all-built-dso:=.dyn)): New static pattern rule.
11152 (generated): Add those targets.
11153 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
11154 * config.make.in (READELF): New substituted variable.
11155 * elf/check-textrel.c: File removed.
11156
62fde54f 111572012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 11158
615605c9
JM
11159 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11160 allow.
11161 * conform/data/ctype.h-data [C99-based standards] (isblank):
11162 Expect function.
11163 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
11164 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
11165 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11166 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
11167 Specify type. Require positive value.
11168 (EILSEQ): Likewise.
11169 (ERANGE): Likewise.
11170 [ISO || POSIX] (EILSEQ): Do not expect.
11171 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
11172 Specify type. Require positive value.
11173 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
11174 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
11175 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
11176 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
11177 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
11178 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
11179 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
11180 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
11181 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
11182 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
11183 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
11184 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
11185 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
11186 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
11187 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
11188 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
11189 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
11190 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
11191 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
11192 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
11193 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
11194 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
11195 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
11196 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
11197 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
11198 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
11199 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
11200 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
11201 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
11202 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
11203 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
11204 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
11205 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
11206 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
11207 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
11208 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
11209 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
11210 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
11211 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
11212 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
11213 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
11214 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
11215 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
11216 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
11217 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
11218 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
11219 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
11220 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
11221 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
11222 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
11223 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
11224 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
11225 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
11226 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
11227 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
11228 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
11229 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
11230 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
11231 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
11232 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
11233 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
11234 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
11235 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
11236 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
11237 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
11238 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
11239 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
11240 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
11241 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
11242 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
11243 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
11244 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
11245 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
11246 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
11247 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
11248 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
11249 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
11250 Require >= 2.
11251 (FLT_ROUNDS): Expect as macro, not constant.
11252 (FLT_MANT_DIG): Use macro-int-constant.
11253 (DBL_MANT_DIG): Likewise.
11254 (LDBL_MANT_DIG): Likewise.
11255 (FLT_DIG): Likewise.
11256 (DBL_DIG): Likewise.
11257 (LDBL_DIG): Likewise.
11258 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
11259 (DBL_MIN_EXP): Likewise.
11260 (LDBL_MIN_EXP): Likewise.
11261 (FLT_MAX_EXP): Use macro-int-constant.
11262 (DBL_MAX_EXP): Likewise.
11263 (LDBL_MAX_EXP): Likewise.
11264 (FLT_MAX_10_EXP): Likewise.
11265 (DBL_MAX_10_EXP): Likewise.
11266 (LDBL_MAX_10_EXP): Likewise.
11267 (FLT_MAX): Use macro-constant.
11268 (DBL_MAX): Likewise.
11269 (LDBL_MAX): Likewise.
11270 (FLT_EPSILON): Use macro-constant. Give upper bound.
11271 (DBL_EPSILON): Likewise.
11272 (LDBL_EPSILON): Likewise.
11273 (FLT_MIN): Likewise.
11274 (DBL_MIN): Likewise.
11275 (LDBL_MIN): Likewise.
11276 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
11277 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
11278 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
11279 [ISO11] (FLT_HAS_SUBNORM): Likewise.
11280 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
11281 [ISO11] (DBL_DECIMAL_DIG): Likewise.
11282 [ISO11] (FLT_DECIMAL_DIG): Likewise.
11283 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
11284 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
11285 [ISO11] (FLT_TRUE_MIN): Likewise.
11286 [ISO11] (LDBL_TRUE_MIN): Likewise.
11287 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11288 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
11289 (SCHAR_MIN): Use macro-int-constant. Specify type.
11290 (SCHAR_MAX): Likewise.
11291 (UCHAR_MAX): Likewise.
11292 (CHAR_MIN): Likewise.
11293 (CHAR_MAX): Likewise.
11294 (MB_LEN_MAX): Use macro-int-constant.
11295 (SHRT_MIN): Use macro-int-constant. Specify type.
11296 (SHRT_MAX): Likewise.
11297 (USHRT_MAX): Likewise.
11298 (INT_MAX): Likewise.
11299 (INT_MIN): Use macro-int-constant. Specify type. Make upper
11300 bound negative.
11301 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
11302 bound with "U".
11303 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11304 bound with "L".
11305 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
11306 bound negative. Suffix upper bound with "L".
11307 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11308 bound with "UL".
11309 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
11310 Specify type.
11311 [C99-based standards] (LLONG_MAX): Likewise.
11312 [C99-based standards] (ULLONG_MAX): Likewise.
11313 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
11314 == 0.
11315 [ISO11] (max_align_t): Require type.
11316 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11317
c9140a62
JM
11318 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
11319 from $CFLAGS, without defining away __attribute__ calls.
11320 (checknamespace): Use $CFLAGS_namespace.
11321
9af0bf29
JM
11322 * conform/conformtest.pl (@keywords): Only include C99 keywords
11323 for standards based on C99 or C11.
11324
343222a2
JM
11325 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
11326 Disable tests.
11327 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
11328 UNIX98]: Likewise.
11329
661f8cf0
JM
11330 * conform/conformtest.pl: Handle "macro-int-constant" and test for
11331 usability of symbols in #if.
11332
ee74b9cb
JM
11333 * conform/conformtest.pl: If macro or constant types start
11334 "promoted:", expect the symbol to be of the following type
11335 promoted by the integer promotions.
62fde54f 11336
aafc49b3
JM
11337 * conform/conformtest.pl: Parse all "constant" and "macro" lines
11338 in one place. Also handle "macro-constant".
11339
fefdf574
JM
11340 * conform/conformtest.pl: Only accept expected macro values with
11341 "==". Parse all "macro" lines in one place.
11342 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
11343
f2d922fe
JM
11344 * conform/conformtest.pl: Handle braced types on "constant" lines
11345 instead of handling "typed-constant".
11346 * conform/data/signal.h-data: Use "constant" instead of
11347 "typed-constant".
11348
d22956c9
JM
11349 * conform/conformtest.pl: Handle "optional-" at start of lines in
11350 one place rather than duplicating several cases. Handle each
11351 format of "macro" line with initial "optional-".
11352
028e2e38
JM
11353 * conform/conformtest.pl: Only accept expected constant or
11354 optional-constant values with "==". Parse all "constant" lines in
11355 one place. Parse all "optional-constant" lines in one place.
11356 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
11357 * conform/data/fmtmsg.h-data: Likewise.
11358 * conform/data/netinet/in.h-data: Likewise.
11359 * conform/data/tar.h-data: Likewise.
11360 * conform/data/limits.h-data: Use "==" form on "constant" and
11361 "optional-constant" lines.
11362
1b8f2850
JM
11363 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
11364 Use -std=c99 for XOPEN2K.
11365 (@knownproblems): Remove.
11366 (newtoken): Don't check %isknown.
11367
a05a144b
JM
11368 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
11369 Do not expect macro.
11370 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
11371 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
11372 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
11373 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
11374 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
11375 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
11376 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
11377 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
11378 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
11379 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
11380 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
11381 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
11382 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
11383 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
11384 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
11385 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
11386 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
11387 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
11388 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
11389 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
11390 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
11391 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
11392 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
11393 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
11394 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
11395 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
11396 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
11397 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
11398 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
11399 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
11400 [XPG3] (acosh): Likewise.
11401 [XPG3] (asinh): Likewise.
11402 [XPG3] (atanh): Likewise.
11403 [XPG3] (cbrt): Likewise.
11404 [XPG3] (expm1): Likewise.
11405 [XPG3] (ilogb): Likewise.
11406 [XPG3] (log1p): Likewise.
11407 [XPG3] (logb): Likewise.
11408 [XPG3] (nextafter): Likewise.
11409 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
11410 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
11411 [XPG3] (remainder): Likewise.
11412 [XPG3] (rint): Likewise.
11413 [XPG3 || XPG4 || UNIX98] (round): Likewise.
11414 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
11415 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
11416 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
11417 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
11418 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
11419 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
11420 [UNIX98 || XOPEN2K] (scalb): Expect.
11421 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
11422 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
11423 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
11424 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
11425 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
11426 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
11427 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
11428 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
11429 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
11430 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
11431 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
11432 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
11433 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
11434 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
11435 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
11436 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
11437 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
11438 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
11439 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
11440 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
11441 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
11442 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
11443 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
11444 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
11445 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
11446 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
11447 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
11448 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
11449 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
11450 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
11451 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
11452 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
11453 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
11454 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
11455 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11456 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11457 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11458 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11459 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11460 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11461 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11462 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
11463 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
11464 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
11465 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
11466 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
11467 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
11468 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
11469 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
11470 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
11471 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
11472 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
11473 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
11474 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
11475 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
11476 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
11477 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
11478 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
11479 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
11480 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
11481 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
11482 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
11483 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
11484 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
11485 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
11486 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
11487 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
11488 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
11489 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
11490 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
11491 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
11492 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
11493 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
11494 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
11495 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
11496 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
11497 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
11498 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
11499 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
11500 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
11501 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
11502 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
11503 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
11504 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
11505 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
11506 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
11507 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
11508 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
11509 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
11510 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
11511 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
11512 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
11513 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
11514 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
11515 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
11516 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
11517 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
11518 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
11519 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
11520 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
11521 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
11522 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
11523 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
11524 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
11525 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
11526 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
11527 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
11528 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
11529 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
11530 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
11531 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
11532 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
11533 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
11534 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
11535 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
11536 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
11537 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
11538 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
11539 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
11540 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
11541 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
11542 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
11543 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
11544 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
11545 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
11546 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
11547 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
11548 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
11549 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
11550 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
11551 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
11552 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
11553 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
11554 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
11555 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
11556 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
11557 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
11558
73c5ebe3
JM
11559 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
11560 _XOPEN_SOURCE_EXTENDED for XPG4.
11561
39c33b6c
JM
11562 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
11563
62fde54f
JM
11564 * Makeconfig (localtime): Remove variable.
11565 (inst_localtime-file): Likewise.
11566
0741d64c
AS
115672012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11568
11569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11570 Update.
11571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11572 Update.
11573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11574 Update.
11575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11576 Update.
11577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11578 Update.
11579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
11580 Update.
11581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11582 Update.
11583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
11584 Update.
11585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11586 Update.
11587
7cb029ee
JM
115882012-05-01 Joseph Myers <joseph@codesourcery.com>
11589
11590 [BZ #2550]
11591 [BZ #2570]
11592 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
11593 comparisons to determine direction to adjust input.
11594 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11595 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
11596 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11597 Likewise.
11598 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11599 Likewise.
11600 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11601 Likewise.
11602 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11603 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11604 Likewise.
11605 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11606 Likewise.
11607 * math/libm-test.inc (nexttoward_test): Add more tests.
11608
412bd966
AS
116092012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11610
11611 [BZ #14040]
11612 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
11613 in version GLIBC_2.1, not GLIBC_2.0.
11614 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
11615 Likewise.
11616
9568c0c2
JM
116172012-04-30 Joseph Myers <joseph@codesourcery.com>
11618
adfbc8ac
JM
11619 [BZ #13942]
11620 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
11621 (1 - x) * (1 + x).
11622 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11623 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
11624 * math/libm-test.inc (acos_test): Add more tests.
11625 (asin_test): Likewise.
11626 * sysdeps/i386/fpu/libm-test-ulps: Update.
11627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11628
5ba3cc69
JM
11629 [BZ #14034]
11630 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
11631 of square root.
11632 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
11633 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11634 * math/libm-test.inc (acos_test_tonearest): New function.
11635 (acos_test_towardzero): Likewise.
11636 (acos_test_downward): Likewise.
11637 (acos_test_upward): Likewise.
11638 (asin_test_tonearest): Likewise.
11639 (asin_test_towardzero): Likewise.
11640 (asin_test_downward): Likewise.
11641 (asin_test_upward): Likewise.
11642 (main): Call the new functions.
11643 * sysdeps/i386/fpu/libm-test-ulps: Update.
11644 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11645
9568c0c2
JM
11646 [BZ #13884]
11647 [BZ #13924]
11648 * math/e_exp10.c: Include <float.h>.
11649 (__ieee754_exp10): Handle underflow here rather than multiplying
11650 large negative argument by M_LN10.
11651 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11652 of __ieee754_expf.
11653 * math/e_exp10l.c: Include <float.h>.
11654 (__ieee754_exp10l): Handle underflow here rather than multiplying
11655 large negative argument by M_LN10l.
11656 * math/libm-test.inc (exp10_test): Add another test. Do not allow
11657 spurious overflow exception on underflow.
11658
5ac3ea17
MP
116592012-04-29 Marek Polacek <polacek@redhat.com>
11660
11661 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
11662 (__fortify_function): New macro.
11663 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
11664 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
11665 __extern_always_inline.
11666 * libio/bits/stdio2.h: Likewise.
11667 * libio/bits/stdio.h: Likewise.
11668 * string/string.h: Likewise.
11669 * string/bits/string3.h: Likewise.
11670 * include/stdio.h: Likewise.
11671 * stdlib/bits/stdlib.h: Likewise.
11672 * stdlib/stdlib.h: Likewise.
11673 * rt/bits/mqueue2.h: Likewise.
11674 * rt/mqueue.h: Likewise.
11675 * posix/bits/unistd.h: Likewise.
11676 * posix/unistd.h: Likewise.
11677 * io/bits/poll2.h: Likewise.
11678 * io/bits/fcntl2.h: Likewise.
11679 * io/fcntl.h: Likewise.
11680 * io/sys/poll.h: Likewise.
11681 * misc/bits/syslog.h: Likewise.
11682 * misc/bits/syslog-ldbl.h: Likewise.
11683 * misc/sys/syslog.h: Likewise.
11684 * socket/bits/socket2.h: Likewise.
11685 * socket/sys/socket.h: Likewise.
11686 * debug/tst-chk1.c: Likewise.
11687 * wcsmbs/bits/wchar2.h: Likewise.
11688 * wcsmbs/bits/wchar-ldbl.h: Likewise.
11689 * wcsmbs/wchar.h: Likewise.
11690
ecf0ebfb
AJ
116912012-04-29 Andreas Jaeger <aj@suse.de>
11692
11693 * Makerules (tests): Remove enable-check-abi protection.
11694 (check-abi-warn): Remove.
11695 (check-abi-%): Remove check-abi-warn usage.
11696
11697 * configure.in: Remove check-abi configure option.
11698 * configure: Regenerated.
11699 * config.make.in (enable-check-abi): Remove.
11700
6d5c57fa
AS
117012012-04-28 Andreas Schwab <schwab@linux-m68k.org>
11702
24c5d07e 11703 [BZ #14033]
ded5180a
AS
11704 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11705 double functions to double *_finite functions.
11706
7e0d315d
AS
11707 [BZ #13941]
11708 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11709 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11710 LDBL_MIN_EXP.
11711 * stdio-common/Makefile (tests): Add tst-sprintf3.
11712 * stdio-common/tst-sprintf3.c: New file.
11713
6d5c57fa
AS
11714 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11715 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11716
0749ff8b
JM
117172012-04-28 Joseph Myers <joseph@codesourcery.com>
11718
11719 * conform/conformtest.pl: Remove duplicate typed-constant
11720 handling.
11721
8dbd5d7b
DM
117222012-04-28 David S. Miller <davem@davemloft.net>
11723
11724 * Makerules (%.abilist): Add vpath on sysdep_dirs.
11725 (check-abi-%): Remove AWK script prerequisite and explicit
11726 abilist directory.
11727 (check-abi): Rewrite to just diff the symlist with the abilist.
11728 (config-tls, config-abi-config): Delete, no longer used.
11729 (update-abi-%): Remove AWK script and explicit abilist directory.
11730 (update-abi): Rewrite to simply compare and conditionally copy the
11731 symlist and the sysdep abilist file. Remove update-abi-config
11732 checks.
11733 * abilist/ld.abilist: Remove.
11734 * abilist/libBrokenLocale.abilist: Remove.
11735 * abilist/libanl.abilist: Remove.
11736 * abilist/libcrypt.abilist: Remove.
11737 * abilist/libdl.abilist: Remove.
11738 * abilist/librt.abilist: Remove.
11739 * abilist/libthread_db.abilist: Remove.
11740 * abilist/libutil.abilist: Remove.
11741 * scripts/extract-abilist.awk: Remove.
11742 * scripts/merge-abilist.awk: Remove.
11743 * sysdeps/generic/libcidn.abilist: New file.
11744 * sysdeps/generic/libnss_compat.abilist: New file.
11745 * sysdeps/generic/libnss_db.abilist: New file.
11746 * sysdeps/generic/libnss_dns.abilist: New file.
11747 * sysdeps/generic/libnss_files.abilist: New file.
11748 * sysdeps/generic/libnss_hesiod.abilist: New file.
11749 * sysdeps/generic/libnss_nis.abilist: New file.
11750 * sysdeps/generic/libnss_nisplus.abilist: New file.
11751 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11752 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11753 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11754 file.
11755 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11756 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11757 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11758 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11759 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11760 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11761 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11762 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11763 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11764 file.
11765 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11766 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11767 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11768 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11769 file.
11770 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11771 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11772 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11773 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11774 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11775 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11776 file.
11777 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11778 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11779 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11780 file.
11781 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11782 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11783 New file.
11784 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11785 New file.
11786 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11787 New file.
11788 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11789 New file.
11790 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11791 New file.
11792 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11793 New file.
11794 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11795 New file.
11796 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11797 New file.
11798 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11799 New file.
11800 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11801 New file.
11802 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11803 New file.
11804 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11805 New file.
11806 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11807 New file.
11808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11809 file.
11810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11811 New file.
11812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11813 New file.
11814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11815 file.
11816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11817 New file.
11818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11819 New file.
11820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11821 file.
11822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11823 New file.
11824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11825 New file.
11826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11827 New file.
11828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11829 New file.
11830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11831 New file.
11832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11833 New file.
11834 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11835 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11836 file.
11837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11838 New file.
11839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11840 file.
11841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11842 file.
11843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11844 file.
11845 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11846 file.
11847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11848 file.
11849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11850 New file.
11851 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11852 file.
11853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11854 file.
11855 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11856 New file.
11857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11858 file.
11859 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11860 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11861 file.
11862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11863 New file.
11864 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11865 file.
11866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11867 file.
11868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11869 file.
11870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11871 file.
11872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11873 file.
11874 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11875 New file.
11876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11877 file.
11878 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11879 file.
11880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11881 New file.
11882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11883 file.
11884 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11885 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11886 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11887 file.
11888 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11889 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11890 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11891 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11892 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11893 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11894 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11895 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11896 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11897 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11898 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11899 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11900 file.
11901 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11902 New file.
11903 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11904 file.
11905 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11906 file.
11907 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11908 file.
11909 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11910 file.
11911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11912 file.
11913 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11914 New file.
11915 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11916 New file.
11917 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11918 file.
11919 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11920 New file.
11921 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11922 file.
11923 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11924 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11925 file.
11926 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11927 New file.
11928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11929 file.
11930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11931 file.
11932 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11933 file.
11934 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11935 file.
11936 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11937 file.
11938 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11939 New file.
11940 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11941 New file.
11942 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11943 file.
11944 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11945 New file.
11946 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11947 file.
11948
41d73a1b
JM
119492012-04-28 Joseph Myers <joseph@codesourcery.com>
11950
11951 * conform/conformtest.pl: Fix typo in handling typed-constant from
11952 allow-header.
11953
28aeeda4
JM
119542012-04-27 Joseph Myers <joseph@codesourcery.com>
11955
adae8f5e
JM
11956 * README: Cut down references to pre-2.6 Linux kernels and
11957 Linuxthreads. Update lists of configurations in libc and ports
11958 and sort alphabetically. Say "or newer" with Linux kernel version
11959 requirements.
11960
28aeeda4
JM
11961 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11962
a462cb63
RA
119632012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11964
11965 [BZ #887]
11966 * math/libm-test.inc (logb_test_downward): New test to expose
11967 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11968 rounding mode.
11969
6ad3493e
JM
119702012-04-27 Joseph Myers <joseph@codesourcery.com>
11971
11972 [BZ #14027]
11973 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11974 to be done.
11975 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11976 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11977
2ce4f015
JM
119782012-04-26 Joseph Myers <joseph@codesourcery.com>
11979
5aeb141a
JM
11980 * sysdeps/unix/i386/brk.S: Remove file.
11981 * sysdeps/unix/i386/dl-brk.S: Likewise.
11982 * sysdeps/unix/i386/pipe.S: Likewise.
11983 * sysdeps/unix/i386/sigreturn.S: Likewise.
11984 * sysdeps/unix/i386/syscall.S: Likewise.
11985 * sysdeps/unix/i386/vfork.S: Likewise.
11986 * sysdeps/unix/i386/wait.S: Likewise.
11987
7143acae
JM
11988 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11989 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11990
2ce4f015
JM
11991 * configure.in (arm*-none*): Do not allow without
11992 --enable-hacker-mode.
11993 (netbsd*): Remove case setting base_os.
11994 (386bsd*): Likewise.
11995 (freebsd*): Likewise.
11996 (bsdi*): Likewise.
11997 (osf*): Likewise.
11998 (sunos*): Likewise.
11999 (ultrix*): Likewise.
12000 (newsos*): Likewise.
12001 (dynix*): Likewise.
12002 (*bsd*): Likewise.
12003 (sysv*): Likewise.
12004 (isc*): Likewise.
12005 (esix*): Likewise.
12006 (sco*): Likewise.
12007 (minix*): Likewise.
12008 (irix4*): Likewise.
12009 (irix6*): Likewise.
12010 (solaris[2-9]*): Likewise.
12011 (none): Likewise.
12012 * configure: Regenerated.
12013
0ac229c8
AZ
120142012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12015
12016 [BZ #11521]
12017 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
12018 overflow or cancellation in calculating denominator.
12019 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
12020 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
12021 down expression to avoid unexpected rounding in newer GCCs.
12022 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
12023
33f244f4
DM
120242012-04-26 David S. Miller <davem@davemloft.net>
12025
12026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
12027 long-double compat symbols.
12028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
12032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
12036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
12037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
12039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
12040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12041
cfa1f3e8
DM
120422012-04-25 David S. Miller <davem@davemloft.net>
12043
12044 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
12045 HWCAP_* values only after the memory barriers have been defined.
12046 (atomic_full_barrier): Define.
12047 (atomic_read_barrier): Define.
12048 (atomic_write_barrier): Define.
12049
6e236b92
SP
120502012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12051
12052 * shlib-versions: Add libgcc_s version information.
12053 * sysdeps/generic/libgcc_s.h: Remove.
12054 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
12055 libgcc_s.h.
12056 * sysdeps/gnu/unwind-resume.c: Likewise.
12057 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
12058
aab39a09
DM
120592012-04-25 David S. Miller <davem@davemloft.net>
12060
12061 * sysdeps/unix/sparc/brk.S: Delete.
12062 * sysdeps/unix/sparc/dl-brk.S: Delete.
12063 * sysdeps/unix/sparc/pipe.S: Delete.
12064 * sysdeps/unix/sparc/sysdep.S: Delete.
12065 * sysdeps/unix/sparc/sysdep.h: Delete.
12066 * sysdeps/unix/sparc/vfork.S: Delete.
12067 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
12068 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
12069 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
12070 ret_ERRVAL, r0, r1, MOVE): Define.
12071 (JUMPTARGET): Remove.
12072 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
12073 sysdeps/unix/sparc/sysdep.h
12074 (ENTRY, END): Remove.
12075 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12076
a3cc4f48
JM
120772012-04-25 Joseph Myers <joseph@codesourcery.com>
12078
2ed8cda2
JM
12079 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
12080 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
12081 -DIS_IN_build.
12082
35d76d59
JM
12083 * timezone/README: Update upstream location and email address for
12084 tzcode and tzdata.
12085 * timezone/zdump.c: Update from tzcode 2012b.
12086 * timezone/zic.c: Likewise.
12087
a3cc4f48
JM
12088 * configure.in (libc_cv_as_needed): Remove test.
12089 * configure: Regenerated.
12090 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
12091 conditional definition.
12092 [$(have-as-needed) != yes] (no-as-needed): Likewise.
12093 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
12094 * config.make.in (have-as-needed): Remove variable.
12095
ceab42c3
SP
120962012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12097 Paul Pluzhnikov <ppluzhnikov@google.com>
12098
12099 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
12100 strings correctly.
12101
3ce2865f
CLT
121022012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
12103
12104 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
12105 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
12106 * sysdeps/sh/strlen.S: Likewise.
12107
f37e0d68
JM
121082012-04-24 Joseph Myers <joseph@codesourcery.com>
12109
ae186e9a
JM
12110 * sysdeps/unix/fork.S: Remove file.
12111 * sysdeps/unix/i386/fork.S: Likewise.
12112 * sysdeps/unix/sparc/fork.S: Likewise.
12113
b96914af
JM
12114 * sysdeps/unix/system.c: Remove file.
12115 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
12116
f37e0d68
JM
12117 * sysdeps/unix/getegid.S: Remove file.
12118 * sysdeps/unix/geteuid.S: Likewise.
12119
87ef29ca
RM
121202012-04-24 Roland McGrath <roland@hack.frob.com>
12121
83bcd236
RM
12122 * scripts/check-localplt.awk: New file.
12123 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
12124 of diff.
12125 * scripts/data/localplt-generic.data: Add a comment.
12126
87ef29ca
RM
12127 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
12128 NODE when __dir_mkfile failed.
12129 * sysdeps/mach/hurd/symlinkat.c: Likewise.
12130 Reported by Ludovic Courtès <ludo@gnu.org>.
12131
e5a6e567
AJ
121322012-04-24 Andreas Jaeger <aj@suse.de>
12133
12134 * Makerules (common-clean): Also remove gen-as-const-headers
12135 files.
12136
c1820385
JM
121372012-04-24 Joseph Myers <joseph@codesourcery.com>
12138
12139 * Makerules (native-compile): Do not change working directory for
12140 build. Use $(OUTPUT_OPTION) in command.
12141 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
12142
94e02fc4
AZ
121432012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12144
12145 [BZ #13886]
12146 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
12147 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
12148 * math/libm-test.inc (floor_test): Add more tests.
12149 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
12150
3a533ca3
JM
121512012-04-24 Joseph Myers <joseph@codesourcery.com>
12152
940ab4b3
JM
12153 * sysdeps/unix/getdents.c: Remove file.
12154 * sysdeps/unix/sysv/getdents.c: Likewise.
12155 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
12156
90e037bd
JM
12157 * sysdeps/unix/syscalls.list (madvise): Add syscall from
12158 sysdeps/unix/mman/syscalls.list.
12159 (mmap): Likewise.
12160 (mprotect): Likewise.
12161 (msync): Likewise.
12162 (munmap): Likewise.
12163 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
12164 * sysdeps/unix/mman/syscalls.list: Remove.
12165 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
12166
3a533ca3
JM
12167 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
12168 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
12169 * configure: Regenerated.
12170 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
12171 $(libgcc_s_suffix).
12172 * config.make.in (libgcc_s_suffix): Remove variable.
12173
1ad743de
JM
121742012-04-23 Joseph Myers <joseph@codesourcery.com>
12175
4ad451e2
JM
12176 * sysdeps/unix/sysv/gethostname.c: Move to ...
12177 * sysdeps/posix/gethostname.c: ... here.
12178
5e37ce39
JM
12179 * sysdeps/unix/execve.S: Remove file.
12180
1ad743de
JM
12181 * sysdeps/unix/_exit.S: Remove file.
12182
4e681b5b
AJ
121832012-04-23 Andreas Jaeger <aj@suse.de>
12184
12185 [BZ #13739]
12186 * manual/Makefile: Remove make dist support, there's no
12187 need for a stand-alone documentation tar ball.
12188 (TEXI2DVI): Define always, it's not in Makeconfig.
12189 (dist): Removed.
12190 (tar-it): Removed.
12191 (edition): Removed.
12192 (glibc-doc-$(edition).tar): Removed
12193 (%.Z): Removed.
12194 (%.gz): Removed.
12195 (%.uu): Removed.
12196 (ETAGS): Remove, it's in Makeconfig.
12197 (move-if-change): Remove, it's in Makeconfig.
12198
38686a03 121992012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
12200
12201 [BZ #13970]
12202 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
12203 (strtod, strtof, strtold, strtol, strtoul, strtoq)
12204 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
12205 (strtod_l, strtof_l, strtold_l): Remove __wur.
12206 It is not necessarily an error to ignore strtol's return value.
12207 One can reliably look at the stored endptr to decide whether
12208 the number had valid syntax.
12209
7c0616fa
AJ
122102012-04-21 Andreas Jaeger <aj@suse.de>
12211
803cb6b7 12212 [BZ #13739]
7c0616fa
AJ
12213 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
12214
b0fe253f
JM
122152012-04-21 Joseph Myers <joseph@codesourcery.com>
12216
12217 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
12218 * sysdeps/unix/sysv/Versions: Remove file.
12219
8280f22d
MT
122202012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
12221
12222 [BZ #13927]
12223 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12224
75ce411f 122252012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
12226
12227 [BZ #7064]
12228 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
12229 version from __vm86.
12230
097d59fa
JM
122312012-04-20 Joseph Myers <joseph@codesourcery.com>
12232
a90f3bcb
JM
12233 * sysdeps/unix/common/lxstat.c: Remove file.
12234 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
12235
edc7ea78
JM
12236 * sysdeps/unix/sysv/Makefile: Remove file.
12237
cb78c221
JM
12238 * sysdeps/unix/sysv/direct.h: Remove file.
12239
efa6a45f
JM
12240 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
12241 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
12242 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
12243 * sysdeps/unix/sysv/bits/signum.h: Likewise.
12244 * sysdeps/unix/sysv/bits/stat.h: Likewise.
12245 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
12246 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
12247
9c9f2d0c
JM
12248 * sysdeps/unix/sysv/setrlimit.c: Remove file.
12249
4541c83b
JM
12250 * sysdeps/unix/xmknod.c: Remove file.
12251 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
12252
f5d153a0
JM
12253 * sysdeps/unix/sysv/settimeofday.c: Remove file.
12254
aa746595
JM
12255 * sysdeps/unix/sysv/i386/time.S: Remove file.
12256
cce5905e
JM
12257 * sysdeps/unix/fxstat.c: Remove file.
12258 * sysdeps/unix/xstat.c: Likewise.
12259 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
12260
37fa3841
JM
12261 * sysdeps/unix/sysv/sigaction.c: Remove file.
12262
ff1962a3
JM
12263 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
12264 (sysdep_headers): Remove variable.
12265 [termio.h not in sysdep_headers] (generated): Likewise.
12266 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
12267 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
12268 * sysdeps/unix/sysv/tcdrain.c: Likewise.
12269 * sysdeps/unix/sysv/tcflow.c: Likewise.
12270 * sysdeps/unix/sysv/tcflush.c: Likewise.
12271 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
12272 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
12273 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
12274 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
12275 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
12276
e7740d31
JM
12277 * sysdeps/unix/siglist.c: Remove file.
12278
ee06f18b
JM
12279 * sysdeps/unix/getppid.S: Remove file.
12280
097d59fa
JM
12281 * sysdeps/unix/mkdir.c: Remove file.
12282 * sysdeps/unix/rmdir.c: Likewise.
12283
ff3d51ec
AS
122842012-04-19 Andreas Schwab <schwab@linux-m68k.org>
12285
12286 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
12287 ERR_MAX value.
12288 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
12289 errlist-compat value.
12290
50f81fd7
DM
122912012-04-18 David S. Miller <davem@davemloft.net>
12292
12293 * sysdeps/generic/memcopy.h (reg_char): Delete.
12294 * debug/strcat_chk.c: Use char, not reg_char.
12295 * debug/strcpy_chk.c: Likewise.
12296 * debug/strncat_chk.c: Likewise.
12297 * debug/strncpy_chk.c: Likewise.
12298 * string/memchr.c: Likewise.
12299 * string/memrchr.c: Likewise.
12300 * string/rawmemchr.c: Likewise.
12301 * string/strcat.c: Likewise.
12302 * string/strchr.c: Likewise.
12303 * string/strchrnul.c: Likewise.
12304 * string/strcmp.c: Likewise.
12305 * string/strcpy.c: Likewise.
12306 * string/strncat.c: Likewise.
12307 * string/strncmp.c: Likewise.
12308 * string/strncpy.c: Likewise.
12309
8ff41c46
WS
123102012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12311
12312 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
12313 __builtin_memcopy is called when src and dest ranges are known to not
12314 overlap.
12315
6b652f46
WS
123162012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12317
12318 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
12319 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
12320 fwd_align_merge macro call.
12321 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
12322 bwd_align_merge macro call.
12323 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12324
b282631e
WS
123252012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12326
12327 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
12328 bwd_align_merge macros.
12329 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
12330 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
12331 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12332
95aa737c
DM
123332012-04-18 David S. Miller <davem@davemloft.net>
12334
12335 * sysdeps/sparc/sparc64/memcopy.h: Delete.
12336
7a99a614
AJ
123372012-04-18 Andreas Jaeger <aj@suse.de>
12338
12339 [BZ# 6794]
12340 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
12341 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
12342 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12343
12344 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
12345 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
12346 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12347
12348 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
12349 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
12350 Adjust for changed ldbl-128 files.
12351
12352 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
12353 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
12354 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12355
e5270c23
DM
123562012-04-17 David S. Miller <davem@davemloft.net>
12357
12358 * sysdeps/sparc/sparc32/memcopy.h: Delete.
12359
fb5e92c9
AS
123602012-04-17 Andreas Schwab <schwab@linux-m68k.org>
12361
12362 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
12363 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
12364 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
12365 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
12366 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12367 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
12368
76da7265
AZ
123692012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12370
12371 [BZ #6794]
12372 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
12373 * math/libm-test.inc: Add ilogb errno and exception tests.
12374 * math/w_ilogb.c: New file: ilogb wrapper.
12375 * math/w_ilogbf.c: New file: ilogbf wrapper.
12376 * math/w_ilogbl.c: New file: ilogbl wrapper.
12377 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
12378 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
12379 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
12380 exception being thrown with 0.0 as argument.
12381 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
12382 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
12383 exception being thrown with 0.0 as argument.
12384 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
12385 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12386 exception being thrown with 0.0 as argument.
12387 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
12388 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12389 exception being thrown with 0.0 as argument.
12390 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
12391 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 12392 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
12393 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
12394 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
12395 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
12396 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
12397 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
12398 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
12399
0396e69d
PB
124002012-04-17 Petr Baudis <pasky@ucw.cz>
12401
12402 * include/sys/uio.h: Change __vector to __iovec to avoid clash
12403 with altivec.
12404
750b5926
MP
124052012-04-16 Marek Polacek <polacek@redhat.com>
12406
12407 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
12408
751728a1
MP
124092012-04-16 Marek Polacek <polacek@redhat.com>
12410
12411 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
12412 operands of fdivp instruction.
12413
34a27407
L
124142012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12415
12416 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
12417 * elf/tst-auditmod3b.c: Likewise.
12418 * elf/tst-auditmod4b.c: Likewise.
12419 * elf/tst-auditmod5b.c: Likewise.
12420 * elf/tst-auditmod6b.c: Likewise.
12421 * elf/tst-auditmod6c.c: Likewise.
12422 * elf/tst-auditmod7b.c: Likewise.
12423 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
12424 * sysdeps/x86_64/preconfigure.in: Likewise.
12425 * sysdeps/x86_64/preconfigure: Regenerated.
12426
7e73e17d
L
124272012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12428
12429 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
12430 __ILP32__.
12431
c7a6ab72
AB
124322012-04-13 Antoine Balestrat <merkil33@gmail.com>
12433
12434 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12435 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
12436
a9e8e0e0
CL
124372012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
12438
12439 [BZ #13973]
12440 * locale/iso-639.def: Fix gl language name. Spotted by
12441 Yaron Shahrabani.
12442
ec98af7d
RM
124432012-04-12 Roland McGrath <roland@hack.frob.com>
12444
12445 [BZ #2074]
12446 * libio/libio.h (__io_write_fn): Update comment.
12447
247c3ede
PB
124482012-04-12 Petr Baudis <pasky@ucw.cz>
12449
12450 [BZ #2074]
12451 * stdio.texi (Hook Functions): The user provided writer function
12452 is not allowed to return -1.
12453
55939d6d
DM
124542012-04-11 David S. Miller <davem@davemloft.net>
12455
12456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12457
90020f5a
MF
124582012-04-11 Mike Frysinger <vapier@gentoo.org>
12459
12460 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12461 Add a leading slash to rtkaio.
12462
288f9098
JM
124632012-04-11 Jim Meyering <meyering@redhat.com>
12464
90020f5a
MF
12465 [BZ #11959]
12466 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
12467 It is not necessarily an error to ignore fwrite's return
12468 value. One can reliably use ferror to test for errors after
12469 the fact.
288f9098 12470
4be2b570
L
124712012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12472
12473 * bits/types.h (__snseconds_t): New type.
12474 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
12475
12476 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
12477 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12478 (__SNSECONDS_T_TYPE): Likewise.
12479 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12480 (__SNSECONDS_T_TYPE): Likewise.
12481 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12482 (__SNSECONDS_T_TYPE): Likewise.
12483
288f9098 124842012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
12485
12486 [BZ #2636]
12487 * manual/time.texi (Processor Time): Return type of times is
12488 elapsed real time since an arbitrary point in the past.
12489 (CPU Time): Move CLK_TCK from here...
12490 (Processor Time): ...to here. Correct description.
12491 * manual/conf.texi (Constants for Sysconf): Correct description of
12492 _SC_CLK_TCK.
12493
d7dd4413
DM
124942012-04-10 David S. Miller <davem@davemloft.net>
12495
12496 [BZ #13967]
12497 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
12498 where the is a gap between DT_REL(A) and DT_JMPREL.
12499
b46068fc
L
125002012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12501
12502 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
12503 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12504 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12505
73d65cc3
SP
125062012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12507
12508 * elf/dl-support.c (_dl_inhibit_cache): New variable.
12509 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
12510 (dl_main): Handle --inhibit-cache.
12511 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
12512 _dl_inhibit_cache.
12513 * elf/dl-load.c (_dl_map_object): Use it.
12514 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
12515
bcc8d661
JM
125162012-04-09 Joseph Myers <joseph@codesourcery.com>
12517
8f9a2fae
JM
12518 [BZ #13872]
12519 * sysdeps/i386/fpu/e_powl.S (p78): New object.
12520 (__ieee754_powl): Saturate large exponents rather than testing for
12521 overflow of y*log2(x).
12522 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12523 * math/libm-test.inc (pow_test): Do not permit spurious overflow
12524 exceptions.
12525
bcc8d661
JM
12526 [BZ #11521]
12527 * math/s_ctan.c: Include <float.h>.
12528 (__ctan): Avoid internal overflow or cancellation in calculating
12529 denominator.
12530 * math/s_ctanf.c: Likewise.
12531 * math/s_ctanl.c: Likewise.
12532 * math/s_ctanh.c: Likewise.
12533 * math/s_ctanhf.c: Likewise.
12534 * math/s_ctanhl.c: Likewise.
12535 * math/libm-test.inc (ctan_test): Add more tests.
12536 (ctanh_test): Likewise.
12537 * sysdeps/i386/fpu/libm-test-ulps: Update.
12538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12539
823fbbb4
AJ
125402012-04-09 Andreas Jaeger <aj@suse.de>
12541
03879793
AJ
12542 [BZ #6894]
12543 * manual/filesys.texi (Directory Entries): Mention that d_namlen
12544 is an optional BSD extension.
12545
823fbbb4
AJ
12546 [BZ #10254]
12547 * manual/stdio.texi (Opening Streams): Document additional fopen
12548 parameters.
12549
8de131cb
RM
125502012-04-09 Roland McGrath <roland@hack.frob.com>
12551
12552 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
12553 %eax without telling the compiler.
12554
c0ed9d7d
CD
125552012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
12556
12557 [BZ # 13963]
12558 * manual/install.texi: Use sourceware.org.
12559
c483f6b4
JM
125602012-04-09 Joseph Myers <joseph@codesourcery.com>
12561
d7dd9453
JM
12562 [BZ #13873]
12563 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
12564 (__ieee754_pow): Generate overflow and underflow using huge*huge
12565 and tiny*tiny rather than just returning constant infinity or zero
12566 for large exponents.
12567 * math/libm-test.inc (pow_test): Require overflow exceptions for
12568 applicable cases of large exponents.
12569
c483f6b4
JM
12570 [BZ #706]
12571 * sysdeps/i386/fpu/e_pow.S (p10): New object.
12572 (__ieee754_pow): Use iterative multiplication algorithm only for
12573 integer exponents with absolute value below 1024. Check for odd
12574 integer exponents when using algorithm for real exponents.
12575 * math/libm-test.inc (pow_test): Add more tests.
12576 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12577
d2de7579
JM
125782012-04-08 Joseph Myers <joseph@codesourcery.com>
12579
12580 [BZ #13705]
12581 * math/libm-test.inc (exp_test): Do not allow overflow exception
12582 on underflow test.
12583
f77f1232
AJ
125842012-04-08 Aurelien Jarno <aurelien@aurel32.net>
12585
12586 [BZ #13705]
12587 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
12588 instead of __kernel_standard_f.
12589
3884932b
MF
125902012-04-08 Mike Frysinger <vapier@gentoo.org>
12591
12592 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
12593 * sysdeps/x86_64/memset_chk.S: Likewise.
12594
54472e9c
AJ
125952012-04-08 Andreas Jaeger <aj@suse.de>
12596
6ab0fbfc
AJ
12597 [BZ #10153]
12598 * manual/startup.texi (Environment Access): Describe return value
12599 for putenv and setenv.
12600
61efba8c
AJ
12601 [BZ #6895]
12602 * manual/filesys.texi (Directory Entries): Add description for
12603 DT_LNK.
12604
95c3f29a
AJ
12605 [BZ #6890]
12606 * manual/filesys.texi (Directory Entries): Clarify that it's file
12607 system not operating system in the description of DT_UNKNOWN.
12608
54472e9c
AJ
12609 [BZ #6578]
12610 * manual/syslog.texi (closelog): Fix reference, it's openlog.
12611
624254b1
SC
126122012-04-08 Stephen Compall <s11@member.fsf.org>
12613
12614 [BZ #6649]
12615 * manual/llio.texi (Opening and Closing Files): Add cross
12616 reference to explain mode argument.
12617
1e4920e0
MF
126182012-04-07 Mike Frysinger <vapier@gentoo.org>
12619
12620 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
12621 * sysdeps/x86_64/memset_chk.S: Likewise.
12622
5ed848f3
DM
126232012-04-07 David S. Miller <davem@davemloft.net>
12624
12625 * elf/elf.h (R_SPARC_WDISP10): Define.
12626 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
12627 R_SPARC_SIZE32.
12628 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
12629 R_SPARC_SIZE64 and R_SPARC_H34.
12630
96154cd8
CD
126312012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
12632
12633 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
12634 conditions and remove no longer applicable assertion.
12635
9904dc47
L
126362012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12637
12638 * bits/byteswap.h: Include <features.h>.
12639 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12640 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12641
f8887d0a
L
126422012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12643
12644 * bits/byteswap.h (__bswap_16): Removed.
12645 Include <bits/byteswap-16.h> to get __bswap_16.
12646 * sysdeps/i386/bits/byteswap.h: Likewise.
12647 * sysdeps/s390/bits/byteswap.h: Likewise.
12648 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12649 * bits/byteswap-16.h: New file.
12650 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12651 * sysdeps/s390/bits/byteswap-16.h: Likewise.
12652 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12653 * string/Makefile (headers): Add bits/byteswap-16.h.
12654
62470f60
PP
126552012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12656
12657 [BZ #13895]
12658 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12659 extra indirection.
12660 * nss/Makefile (tests-static, tests): Add tst-nss-static.
12661 * nss/tst-nss-static.c: New.
12662
4dad7bab
RM
126632012-04-06 Robert Millan <rmh@gnu.org>
12664
12665 [BZ #6486]
12666 * manual/llio.texi (File Position Primitive): lseek
12667 refers to WHENCE when it really means OFFSET.
12668
e9142a17
AJ
126692012-04-06 Andreas Jaeger <aj@suse.de>
12670
2c040eff
AJ
12671 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
12672 strncmp declarations.
12673
e9142a17
AJ
12674 * abilist/libc.abilist: Add __poll and __ppoll.
12675
ff9f1c5f
DM
126762012-04-05 David S. Miller <davem@davemloft.net>
12677
dcd2ae90
DM
12678 * scripts/check-local-headers.sh: Accept a host triplet in the
12679 path matched by the exclude regexp.
12680
993eb054
DM
12681 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
12682 definition.
12683 * sysdeps/powerpc/powerpc32/dl-machine.h
12684 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12685 * sysdeps/s390/s390-32/dl-machine.h
12686 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12687 * sysdeps/sparc/sparc32/dl-machine.h
12688 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12689 * sysdeps/sparc/sparc64/dl-machine.h
12690 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12691
ff9f1c5f
DM
12692 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12693 lazy binding.
48e2e132 12694 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
12695 undefined symbol errors.
12696
48e2e132 12697 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
12698 DT_NEEDED entries.
12699
e80d6f94
MM
127002012-04-05 Michael Matz <matz@suse.de>
12701
12702 [BZ #13592]
12703 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12704
349fa79f
AJ
127052012-04-05 Andreas Jaeger <aj@suse.de>
12706
12707 [BZ #13908]
12708 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12709 comment.
12710
f402708f
KK
127112012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12712
12713 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12714 which ROUND is no valid rounding mode.
12715
2ecccfc9
KK
127162012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12717
12718 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12719 read again.
12720 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12721
8a53f50f
KK
127222012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12723
12724 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12725 an exception using FPU order intentionally.
12726
127272012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12728
12729 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12730 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12731 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12732 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12733
d653abb7
SJ
127342012-04-05 Simon Josefsson <simon@josefsson.org>
12735
12736 [BZ #12340]
12737 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12738 EINVAL when BUFLEN is too smal.
12739
c3b1bf7d
TS
127402012-04-05 Thomas Schwinge <thomas@codesourcery.com>
12741
12742 [BZ #13553]
12743 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12744 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12745
b1aa60f3
AJ
127462012-04-03 Andreas Jaeger <aj@suse.de>
12747
c3b1bf7d 12748 [BZ #13938]
67f60a26
AJ
12749 * manual/setjmp.texi (System V contexts): Fix sentence.
12750
b1aa60f3
AJ
12751 [BZ #13926]
12752 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12753 New macro for this case.
12754 [!__GNUC__] (__bswap_64): New inline function for this case.
12755 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12756 * bits/byteswap.h: Likewise.
12757 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12758 ull, guard with __GLIBC_HAVE_LONG_LONG.
12759
12760 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12761 __GLIBC_HAVE_LONG_LONG.
12762
12763 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12764 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12765
39c59c35
TMQMF
127662012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12767
12768 [BZ #13691]
12769 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12770 inptr and inend, rather than using last_ch.
12771
135ffda8
DM
127722012-04-02 David S. Miller <davem@davemloft.net>
12773
12774 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12775 * stdio-common/printf-parse.h (read_int): Change return type to
12776 'int', return -1 on INT_MAX overflow.
12777 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12778 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
12779 overflows INT_MAX. Check for overflow of in-format-string precision
12780 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
12781 SIZE_MAX not INT_MAX for integer overflow test.
12782 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12783 skip the construct in the format string but do not record anything.
12784 * stdio-common/bug22.c: Adjust to test both width/prevision
12785 INT_MAX overflow as well as total length INT_MAX overflow. Check
12786 explicitly for proper errno values.
12787
228c019e
TS
127882012-04-02 Thomas Schwinge <thomas@codesourcery.com>
12789
302cadd3
TS
12790 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12791 CHAR_MAX.
12792 * string/test-strcmp.c [! WIDE]: Likewise.
12793 * time/tst-mktime2.c: Likewise for INT_MAX.
12794 * string/test-string.h: #include <sys/param.h> for MIN.
12795
228c019e
TS
12796 * csu/init-first.c (__libc_init_first): Call __ctype_init.
12797 * sysdeps/i386/init-first.c (init): Likewise.
12798 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12799 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12800 * sysdeps/sh/init-first.c (init): Likewise.
12801
cfa633f5
UD
128022012-04-01 Ulrich Drepper <drepper@gmail.com>
12803
12804 * po/ru.po: Update from translation team.
d1635ef8 12805 * po/vi.po: Likewise.
cfa633f5 12806
6cd0a5ea
SP
128072012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12808
12809 * resolv/nss_dns/dns-host.c: Merge copyright years.
12810
4b43400f
LD
128112012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12812
12813 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12814 Optimize memcpy with prefetch if
12815 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
12816 src, dst pointers have unequal 16 byte alignments.
12817
48c41d04
SP
128182012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12819
12820 [BZ #13928]
12821 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12822 from a CNAME entry and return the minimum ttl for the query.
12823 (gaih_getanswer_slice): Likewise.
12824
b8dc394d
JL
128252012-03-30 Jeff Law <law@redhat.com>
12826
12827 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12828 due to long keys.
12829 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12830 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12831
2f5a5ed0
JL
12832 * resolv/nss_dns/dns-host.c: Update copyright year.
12833
1d39e359
UD
128342012-03-30 Ulrich Drepper <drepper@gmail.com>
12835
c030f70c 12836 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 12837 requests to save a system call. Fix check that all bytes are sent.
c030f70c 12838
1d39e359
UD
12839 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12840 comments for sendmmsg.
12841
128422012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
12843
12844 [BZ #13691]
12845 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12846 with only 1 character between 0x0041 and 0x01b0.
12847 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12848 * wcsmbs/tst-mbsnrtowcs.c: New file.
12849
20fde227
DM
128502012-03-29 David S. Miller <davem@davemloft.net>
12851
12852 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12853 small copies by hand.
12854
984a4237
JL
128552012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12856
12857 [BZ #13761]
12858 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12859 _nss_compat_initgroups_dyn): Fall back to malloc/free
12860 for large group memberships.
12861
18c9d62b
DM
128622012-03-28 David S. Miller <davem@davemloft.net>
12863
88d85d4f
DM
12864 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12865 that branches into memcpy.
12866 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12867 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12868 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12869 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12870 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12871 bits.
12872 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12873 implementation too.
12874 * sysdeps/sparc/mempcpy.S: New file.
12875
e5aa83e1
DM
12876 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12877 the IFUNC routine in the libc case.
12878 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12879
88570753
DM
12880 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12881 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12882 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12883 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12884 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12885 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12886 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12887 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12888
249d7567
DM
12889 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12890 loop to 256 bytes instead of 64 bytes and fix test signedness.
12891
18c9d62b
DM
12892 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12893 * sysdeps/sparc/sparc32/Makefile: rather than here...
12894 * sysdeps/sparc/sparc64/Makefile: and here.
12895
05f3d1f6
UD
128962012-03-28 Ulrich Drepper <drepper@gmail.com>
12897
12898 * malloc/mallocbug.c: Avoid warnings about unused variables.
12899
86ae07a8
JL
129002012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12901
12902 [BZ #13760]
12903 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12904 in the right place. Discard and retry query if response is
12905 larger than input buffer size.
12906
41bf21a1
JM
129072012-03-28 Joseph Myers <joseph@codesourcery.com>
12908
d6270972
JM
12909 [BZ #369]
12910 [BZ #2678]
12911 [BZ #3866]
12912 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12913 x for large integer exponent.
12914 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12915 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
12916 sign of result as needed afterwards.
12917 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12918 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12919 result for underflowing pow the same as for overflow.
12920 (__kernel_standard_l): Handle powl overflow and underflow here
12921 rather than calling __kernel_standard.
12922 * math/libm-test.inc (pow_test): Add more tests.
12923
414fca03 12924 [BZ #3868]
41bf21a1
JM
12925 [BZ #13879]
12926 [BZ #13910]
12927 [BZ #13911]
12928 [BZ #13912]
12929 [BZ #13913]
12930 [BZ #13915]
12931 [BZ #13916]
12932 [BZ #13917]
12933 [BZ #13918]
12934 [BZ #13919]
12935 [BZ #13920]
12936 [BZ #13921]
12937 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12938 * sysdeps/ieee754/k_standard.c: Include <float.h>.
12939 (__kernel_standard_l): New function.
12940 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12941 __kernel_standard.
12942 * math/w_acosl.c (__acosl): Likewise.
12943 * math/w_asinl.c (__asinl): Likewise.
12944 * math/w_atan2l.c (__atan2l): Likewise.
12945 * math/w_atanhl.c (__atanhl): Likewise.
12946 * math/w_coshl.c (__coshl): Likewise.
12947 * math/w_exp10l.c (__exp10l): Likewise.
12948 * math/w_exp2l.c (__exp2l): Likewise.
12949 * math/w_fmodl.c (__fmodl): Likewise.
12950 * math/w_hypotl.c (__hypotl): Likewise.
12951 * math/w_j0l.c (__j0l, __y0l): Likewise.
12952 * math/w_j1l.c (__j1l, __y1l): Likewise.
12953 * math/w_jnl.c (__jnl, __ynl): Likewise.
12954 * math/w_lgammal.c (__lgammal): Likewise.
12955 * math/w_log10l.c (__log10l): Likewise.
12956 * math/w_log2l.c (__log2l): Likewise.
12957 * math/w_logl.c (__logl): Likewise.
12958 * math/w_powl.c (__powl): Likewise.
12959 * math/w_remainderl.c (__remainderl): Likewise.
12960 * math/w_scalbl.c (sysv_scalbl): Likewise.
12961 * math/w_sinhl.c (__sinhl): Likewise.
12962 * math/w_sqrtl.c (__sqrtl): Likewise.
12963 * math/w_tgammal.c (__tgammal): Likewise.
12964 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12965 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12966 * math/libm-test.inc (acos_test): Add more tests.
12967 (acosh_test): Likewise.
12968 (asin_test): Likewise.
12969 (atanh_test): Likewise.
12970 (exp_test): Likewise.
12971 (exp10_test): Likewise.
12972 (exp2_test): Likewise.
12973 (expm1_test): Likewise.
12974 (lgamma_test): Likewise.
12975 (log_test): Likewise.
12976 (log10_test): Likewise.
12977 (log1p_test): Likewise.
12978 (log2_test): Likewise.
12979 (pow_test): Do not allow some spurious overflow exceptions.
12980 (sqrt_test): Add more tests.
12981 (tgamma_test): Likewise.
12982 (y0_test): Likewise.
12983 (y1_test): Likewise.
12984 (yn_test): Likewise.
12985
dd62fda6
AB
129862012-03-27 Anton Blanchard <anton@samba.org>
12987
12988 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12989 MAP_HUGETLB.
12990 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12991 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12992 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12993
1e3cdfda
AJ
129942012-03-27 David S. Miller <davem@davemloft.net>
12995
b855ab85
DM
12996 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12997
1e3cdfda
AJ
12998 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12999 have-as-vis3 check.
13000
130012012-03-27 Andreas Jaeger <aj@suse.de>
13002
13003 * sysdeps/x86_64/elf/configure.in: Moved to ...
13004 * sysdeps/x86_64/configure.in: ... here.
13005 * sysdeps/x86_64/elf/start.S: Moved to ...
13006 * sysdeps/x86_64/start.S: ... here.
13007 * sysdeps/x86_64/elf/configure: Delete.
13008
13009 * sysdeps/x86_64/configure.in: Merge contents from
13010 sysdeps/i386/configure.in (without i686 check).
13011
13012 * sysdeps/i386/elf/Versions: Merge into ...
13013 * sysdeps/i386/Versions: ... this.
13014 * sysdeps/i386/elf/Versions: Delete file.
13015 * sysdeps/i386/elf/start.S: Moved to ...
13016 * sysdeps/i386/start.S: ...here.
13017 * sysdeps/i386/elf/configure.in: Merge into...
13018 * sysdeps/i386/configure.in: ...here.
13019 * sysdeps/i386/elf/configure.in: Delete file.
13020 * sysdeps/i386/elf/configure: Delete file.
13021
13022 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
13023 * debug/backtracesyms.c: ... here.
13024 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
13025 * debug/backtracesymsfd.c: ... here.
13026 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
13027 * sysdeps/generic/ifunc-sel.h: ... here.
13028
13029 * sysdeps/unix/i386/start.c: Delete file.
13030 * sysdeps/unix/sparc/start.c: Delete file.
13031 * sysdeps/unix/start.c: Delete file.
13032
13033 * sysdeps/sh/elf/configure.in: Moved to ...
13034 * sysdeps/sh/configure.in: ... here.
13035 * sysdeps/sh/elf/start.S: Moved to ...
13036 * sysdeps/sh/start.S: ... here.
13037 * sysdeps/sh/elf/configure: Delete file.
13038
13039 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
13040 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
13041 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
13042 * sysdeps/powerpc/powerpc64/entry.h: ... here.
13043 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
13044 * sysdeps/powerpc/powerpc64/start.S: here.
13045 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
13046 * sysdeps/powerpc/powerpc64/Makefile: ... this.
13047 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
13048 * sysdeps/powerpc/powerpc64/configure.in: ... this.
13049 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
13050
13051 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
13052 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
13053 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
13054 * sysdeps/powerpc/powerpc32/start.S: ... here.
13055 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
13056 * sysdeps/powerpc/powerpc32/configure.in: ... this.
13057 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
13058
13059 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
13060 * sysdeps/powerpc/ifunc-sel.h: ... here.
13061 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
13062 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
13063
13064 * sysdeps/sparc/elf/configure.in: Moved to ...
13065 * sysdeps/sparc/configure.in: ... here.
13066 * sysdeps/sparc/elf/configure: Delete file.
13067 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
13068 * sysdeps/sparc/sparc32/start.S: ... here.
13069 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
13070 * sysdeps/sparc/sparc64/start.S: ... here.
13071 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
13072 * sysdeps/sparc/sparc32/Makefile: ... this.
13073 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
13074 * sysdeps/sparc/sparc64/Makefile: ... this.
13075
13076 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
13077 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
13078 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
13079 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
13080 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
13081 * sysdeps/s390/s390-32/setjmp.S: ... here.
13082 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
13083 * sysdeps/s390/s390-32/configure.in: ... here.
13084 * sysdeps/s390/s390-32/elf/configure: Delete file.
13085 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
13086 * sysdeps/s390/s390-32/start.S: ... here.
13087
13088 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
13089 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
13090 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
13091 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
13092 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
13093 * sysdeps/s390/s390-64/setjmp.S: ... here.
13094 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
13095 * sysdeps/s390/s390-64/configure.in: ... here
13096 * sysdeps/s390/s390-64/elf/configure: Delete file.
13097 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
13098 * sysdeps/s390/s390-64/start.S: ... here.
13099 * sysdeps/s390/s390-64/elf/configure: Delete.
13100
13101 * configure.in: Remove support for elf directories in sysdeps.
13102
13103 * configure: Regenerated.
13104 * sysdeps/i386/configure: Regenerated.
13105 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13106 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13107 * sysdeps/s390/s390-32/configure: Regenerated.
13108 * sysdeps/s390/s390-64/configure: Regenerated.
13109 * sysdeps/sh/configure: Regenerated.
13110 * sysdeps/sparc/configure: Regenerated.
13111 * sysdeps/x86_64/configure: Regenerated.
13112
a3f61311
AS
131132012-03-26 Andreas Schwab <schwab@linux-m68k.org>
13114
c876e002
AS
13115 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13116
a3f61311
AS
13117 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
13118 denormal result into account.
13119
ac4c54f0
RM
131202012-03-25 Roland McGrath <roland@hack.frob.com>
13121
13122 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
13123 Reported by Allan McRae <allan@archlinux.org>.
13124
6a9b9c02
JL
131252012-03-23 Jeff Law <law@redhat.com>
13126
13127 * nss/getnssent.c (__nss_getent): Fix typo.
13128
4c42a0c1
DM
131292012-03-23 David S. Miller <davem@davemloft.net>
13130
13131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13132
1532c7ac
L
131332012-03-23 H.J. Lu <hongjiu.lu@intel.com>
13134
13135 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
13136 to pad to uint64_t for each field.
13137 (dl_tls_index): Replace unsigned long with uint64_t.
13138
3ff42526
PP
131392012-03-23 Daniel Jacobowitz <dmj@google.com>
13140 Paul Pluzhnikov <ppluzhnikov@google.com>
13141
13142 [BZ #6528]
13143 * grp/Makefile (otherlibs): Don't set it.
13144 * inet/Makefile (otherlibs): Likewise.
13145 * login/Makefile (otherlibs): Likewise.
13146 * nscd/Makefile (otherlibs): Likewise.
13147 * posix/Makefile (otherlibs): Likewise.
13148 * pwd/Makefile (otherlibs): Likewise.
13149 * rt/Makefile (otherlibs): Likewise.
13150 * sunrpc/Makefile (otherlibs): Likewise.
13151 * nss/Makefile (otherlibs): Likewise.
13152 Add libnss_files to routines and static-only-routines.
13153 ($(objpfx)getent): Remove rule.
13154 * resolv/Makefile: Add libnss_dns and libresolv to routines and
13155 static-only-routines.
13156
7c69cd14
JM
131572012-03-22 Joseph Myers <joseph@codesourcery.com>
13158
13159 [BZ #13892]
13160 * math/s_cexp.c: Include <float.h>.
13161 (__cexp): Handle exp result overflowing not necessarily
13162 overflowing both real and imaginary parts of result.
13163 * math/s_cexpf.c: Likewise.
13164 * math/s_cexpl.c: Likewise.
13165 * math/libm-test.inc (cexp_test): Add more tests.
13166 * sysdeps/i386/fpu/libm-test-ulps: Update.
13167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13168
81b035fe
L
131692012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13170
13171 * include/link.h (ELFW): New macro.
13172 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
13173 Replace ELF64_R_TYPE with ELFW(R_TYPE).
13174
1da7940c
L
131752012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13176
13177 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
13178 with uint64_t.
13179
b749dbb9
L
131802012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13181
13182 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
13183 declaration.
13184 (struct La_x32_retval): Likewise.
13185
2ff87f3f
L
131862012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13187
13188 * sysdeps/x86_64/preconfigure.in: New file.
13189 * sysdeps/x86_64/preconfigure: New generated file.
13190
c0df8e69
JM
131912012-03-22 Joseph Myers <joseph@codesourcery.com>
13192
48e44791
JM
13193 [BZ #13824]
13194 * math/e_exp2l.c: Include <float.h>.
13195 (__ieee754_exp2l): Handle overflow and underflow cases
13196 separately. Only pass fractional part of argument to
13197 __ieee754_expl.
13198 * math/libm-test.inc (exp2_test): Add more tests.
13199
c0df8e69
JM
13200 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
13201 negating x to take absolute value.
13202 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13203 Likewise.
13204 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13205 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13206 Likewise.
13207 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
13208 computing low part if x was negated.
13209 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13210
c8e43ba7
L
132112012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13212
13213 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
13214 la_x32_gnu_pltexit.
13215 (pltexit): Cast int_retval to ptrdiff_t.
13216 * elf/tst-auditmod3b.c: Likewise.
13217 * elf/tst-auditmod4b.c: Likewise.
13218 * elf/tst-auditmod5b.c: Likewise.
13219 * elf/tst-auditmod6b.c: Likewise.
13220 * elf/tst-auditmod6c.c: Likewise.
13221 * elf/tst-auditmod7b.c: Likewise.
13222
13223 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
13224 and x32_gnu_pltexit.
13225
13226 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
13227 __ELF_NATIVE_CLASS.
13228 (La_x32_regs): New macro.
13229 (La_x32_retval): Likewise.
13230 (la_x32_gnu_pltenter): New function prototype.
13231 (la_x32_gnu_pltexit): Likewise.
13232
7998fa78
AS
132332012-03-21 Andreas Schwab <schwab@linux-m68k.org>
13234
dcb33988
AS
13235 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
13236 exponent.
13237
233fc563
AS
13238 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13239
7998fa78
AS
13240 * configure.in (libc_cv_cc_nofma): Check for option to disable
13241 generation of FMA instructions.
13242 * configure: Regenerate.
13243 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
13244 * sysdeps/ieee754/dbl-64/Makefile: New file.
13245 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13246 Remove brandred-fma4.
13247 (CFLAGS-brandred-fma4.c): Remove.
13248 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
13249 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
13250 define.
13251 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
13252 define.
13253
8e95c99a
L
132542012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13255
13256 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13257 LLONG_MAX != LONG_MAX.
13258 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13259 (_fitoa_word): Likewise.
13260 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
13261 LLONG_MAX != LONG_MAX.
13262 * stdio-common/_itowa.h: Include <_itoa.h>.
13263 (_itowa_word): Use _ITOA_WORD_TYPE on value.
13264 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
13265 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
13266 only if not defined.
13267 (_ITOA_WORD_TYPE): Likewise.
13268 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13269 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
13270
6f4db457
DM
132712012-03-21 David S. Miller <davem@davemloft.net>
13272
13273 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13274
7785fe5a
L
132752012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13276
13277 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
13278 of x86_64 when setting libc_cv_slibdir, libdir and
13279 libc_cv_localedir.
13280 * sysdeps/unix/sysv/linux/configure: Regenerated.
13281
4535cd55
JM
132822012-03-21 Joseph Myers <joseph@codesourcery.com>
13283
13284 * manual/lang.texi (Old Varargs): Remove section.
13285 (How Variadic): Update menu.
13286 (va_start): Do not mention varargs.h.
13287
17228132
TS
132882012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13289 Joseph Myers <joseph@codesourcery.com>
13290
13291 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
13292 link test.
13293 * configure: Regenerated.
13294
8149f976
TS
132952012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13296
05f3d1f6
UD
13297 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
13298 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
13299 conformtest.pl
8149f976 13300
1a4ac776
JM
133012012-03-21 Joseph Myers <joseph@codesourcery.com>
13302
be22ce65
JM
13303 * NOTES: Remove.
13304 * Makefile (files-for-dist): Remove NOTES.
13305 (NOTES): Remove rule.
13306 * README: Don't refer to NOTES.
13307 * manual/creature.texi: Don't include macros.texi.
13308 * manual/intro.texi (creature.texi): Remove comment referring to
13309 NOTES.
13310
40b601fb
JM
13311 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
13312 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
13313 * configure: Regenerated.
13314 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
13315 LIBC_TRY_CC_OPTION.
13316 (libc_cv_as_i686): Likewise.
13317 (libc_cv_cc_avx): Likewise.
13318 (libc_cv_cc_sse2avx): Likewise.
13319 (libc_cv_cc_fma4): Likewise.
13320 (libc_cv_cc_novzeroupper): Likewise.
13321 * sysdeps/i386/configure: Regenerated.
13322
1a4ac776
JM
13323 [BZ #13883]
13324 * sysdeps/i386/fpu/s_cexp.S: Remove.
13325 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13326 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13327 * math/libm-test.inc (cexp_test): Add more tests.
13328 * sysdeps/i386/fpu/libm-test-ulps: Update.
13329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13330
a458e7fe
AM
133312012-03-21 Allan McRae <allan@archlinux.org>
13332
13333 * timezone/Makefile: Do not install iso3166.tab and zone.tab
13334
0cb7efc5
JM
133352012-03-21 Joseph Myers <joseph@codesourcery.com>
13336
13337 [BZ #13871]
13338 * math/w_exp2.c: Do not include <float.h>.
13339 (o_threshold, u_threshold): Remove.
13340 (__exp2): Calculate result before checking finiteness and calling
13341 __kernel_standard.
13342 * math/w_exp2f.c: Likewise.
13343 * math/w_exp2l.c: Likewise.
13344 * math/libm-test.inc (exp2_test): Require overflow exception for
13345 1e6 input.
2460d3aa
JM
13346
13347 [BZ #3866]
13348 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
13349 range of signed 64-bit integers before using fistpll. Remove
13350 checks for whether integers fit in mantissa bits.
13351 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
13352 the range of signed 32-bit integers before using fistpl. Remove
13353 checks for whether integers fit in mantissa bits.
13354 * sysdeps/i386/fpu/e_powl.S (p64): New object.
13355 (__ieee754_powl): Test for y outside the range of signed 64-bit
13356 integers before using fistpll. Reduce 64-bit values to 63-bit
13357 ones as needed.
13358 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
13359 divide-by-zero is raised for zero to large negative powers.
13360 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
13361 (__ieee754_powl): Test for y outside the range of signed 64-bit
13362 integers before using fistpll. Reduce 64-bit values to 63-bit
13363 ones as needed.
13364 * math/libm-test.inc (pow_test): Add more tests.
13365
eb96ffb0
L
133662012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13367
13368 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
13369 <stdio-common/_itoa.h>.
13370 * debug/segfault.c: Likewise.
13371 * elf/dl-cache.c: Likewise.
13372 * elf/dl-minimal.c: Likewise.
13373 * elf/dl-misc.c: Likewise.
13374 * elf/dl-sysdep.c: Likewise.
13375 * elf/dl-version.c: Likewise.
13376 * elf/rtld.c: Likewise.
13377 * hurd/hurdsock.c: Likewise.
13378 * hurd/lookup-retry.c: Likewise.
13379 * malloc/malloc.c: Likewise.
13380 * malloc/mtrace.c: Likewise.
13381 * nscd/nscd_getgr_r.c: Likewise.
13382 * nscd/nscd_getpw_r.c: Likewise.
13383 * nscd/nscd_getserv_r.c: Likewise.
13384 * posix/getopt_init.c: Likewise.
13385 * posix/wordexp.c: Likewise.
13386 * stdio-common/_itoa.c: Likewise.
13387 * stdio-common/printf_fphex.c: Likewise.
13388 * stdio-common/vfprintf.c: Likewise.
13389 * string/_strerror.c: Likewise.
13390 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
13391 * sysdeps/i386/i686/hp-timing.h: Likewise.
13392 * sysdeps/mach/_strerror.c: Likewise.
13393 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
13394 * sysdeps/mach/hurd/sethostid.c: Likewise.
13395 * sysdeps/mach/hurd/xmknodat.c: Likewise.
13396 * sysdeps/mach/xpg-strerror.c: Likewise.
13397 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13398 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13399 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
13400 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
13401 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13402 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
13403 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13404 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13405 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
13406 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
13407 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
13408 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13409 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
13410 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13411 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13412 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
13413 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
13414 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
13415 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13416 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13417 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
13418
13419 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
13420
13421 * stdio-common/_itoa.h: Moved to ...
13422 * sysdeps/generic/_itoa.h: Here.
13423
13424 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
13425
13426 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
13427 instead of "_itoa.h" and "_itowa.h".
13428 * stdio-common/vfprintf.: Likewise.
13429
d1af992d
L
134302012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13431
13432 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
13433 <bits/wordsize.h>.
13434 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
13435 (__signbit): Likwise.
13436 (llrintf): Likwise.
13437 (llrint): Likwise.
13438
114883e0
L
134392012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13440
13441 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
13442 __WORDSIZE != 64.
13443
c135cc1b
JM
134442012-03-20 Joseph Myers <joseph@codesourcery.com>
13445
13446 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
13447 OVERFLOW_EXCEPTION_OK.
13448 * math/libm-test.inc ("Philosophy"): Update comment about
13449 exception testing.
13450 (OVERFLOW_EXCEPTION): Define.
13451 (OVERFLOW_EXCEPTION_OK): Likewise.
13452 (INVALID_EXCEPTION_OK): Renumber.
13453 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13454 (IGNORE_ZERO_INF_SIGN): Likewise.
13455 (test_exceptions): Handle FE_OVERFLOW.
13456 (exp10_test): Expect overflow exceptions.
13457 (exp2_test): Likewise.
13458 (expm1_test): Likewise.
13459 (nextafter_test): Likewise.
13460 (pow_test): Likewise.
13461 (scalbn_test): Likewise.
13462 (scalbln_test): Likewise.
13463
95443d88
L
134642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13465
13466 * sysdeps/x86_64/bits/atomic.h
13467 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
13468 64bit integer.
13469 (atomic_exchange_acq): Likewise.
13470 (__arch_exchange_and_add_body): Likewise.
13471 (__arch_add_body): Likewise.
13472 (atomic_add_negative): Likewise.
13473 (atomic_add_zero): Likewise.
13474
490df6c4
L
134752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13476
c2722551 13477 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
13478 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
13479
5e52b189
L
134802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13481
13482 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
13483 Check __x86_64__ instead of __WORDSIZE.
13484
a9879d4c
L
134852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13486
13487 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
13488
5df98260
DM
134892012-03-19 David S. Miller <davem@davemloft.net>
13490
e1497744
DM
13491 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13492
5df98260
DM
13493 * sysdeps/sparc/fpu/fenv_private.h: New file.
13494 * sysdeps/sparc/fpu/math_private.h: Use it.
13495 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
13496 Remove.
13497 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
13498 (libc_feholdexcept_setroundl): Remove.
13499 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
13500 Remove.
13501 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
13502 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
13503
b4c35121
L
135042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13505
13506 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
13507 int64_t instead of long int.
13508 (INSERT_WORDS64): Likwise.
13509
56965fd7
L
135102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13511
13512 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
13513 _Unwind_GetCFA return to _Unwind_Ptr first.
13514
83d1aec8
JM
135152012-03-19 Joseph Myers <joseph@codesourcery.com>
13516
1897ad44
JM
13517 [BZ #13629]
13518 * math/s_clog.c: Include <float.h>.
13519 (__clog): Scale large or subnormal inputs.
13520 * math/s_clogf.c: Likewise.
13521 * math/s_clogl.c: Likewise.
13522 * math/s_clog10.c: Include <float.h>.
13523 (M_LOG10_2): Define.
13524 (__clog10): Scale large or subnormal inputs.
13525 * math/s_clog10f.c: Likewise.
13526 * math/s_clog10l.c: Likewise.
13527 * math/libm-test.inc (clog_test): Add more tests.
13528 (clog10_test): Likewise.
13529 * sysdeps/i386/fpu/libm-test-ulps: Update.
13530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13531
7726d6a9
JM
13532 [BZ #11451]
13533 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
13534 x and y.
13535 * math/libm-test.inc (atan2_test): Add another test.
13536
83d1aec8
JM
13537 * Makerules (common-objdir-compile): Remove.
13538 * sysdeps/unix/Makefile (config-generated): Do not add
13539 $(unix-generated) to variable.
13540 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
13541 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
13542 Remove rule.
13543 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
13544 Likewise.
13545 [generic bits/local_lim.h] (before-compile): Do not append to
13546 variable.
13547 [generic bits/local_lim.h] (common-generated): Likewise.
13548 [generic sys/param.h] (before-compile): Do not append to variable.
13549 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
13550 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
13551 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
13552 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
13553 include.
13554 [generic sys/param.h] (sys/param.h-includes): Remove variable.
13555 [generic sys/param.h] (sys/param.h-includes): Remove rule.
13556 [generic sys/param.h] ($(addprefix
13557 $(common-objpfx),$(sys/param.h-includes))): Likewise.
13558 [generic sys/param.h] (common-generated): Do not append to
13559 variable.
13560 [generic sys/param.h] (sysdep_headers): Likewise.
13561 [generic bits/errno.h] (before-compile): Do not append to
13562 variable.
13563 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
13564 rule.
13565 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
13566 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
13567 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
13568 [generic bits/errno.h] (common-generated): Do not append to
13569 variable.
13570 [generic bits/ioctls.h] (before-compile): Do not append to
13571 variable.
13572 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
13573 rule.
13574 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
13575 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
13576 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
13577 rule.
13578 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
13579 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
13580 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
13581 [generic bits/ioctls.h] (common-generated): Do not append to
13582 variable.
13583 [generic sys/syscall.h] (syscall.h): Remove variable.
13584 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
13585 rule.
13586 [generic sys/syscall.h] (before-compile): Do not append to
13587 variable.
13588 [generic sys/syscall.h] (common-generated): Likewise.
13589 * sysdeps/unix/errnos-tmpl.c: Remove file.
13590 * sysdeps/unix/errnos.awk: Likewise.
13591 * sysdeps/unix/ioctls-tmpl.c: Likewise.
13592 * sysdeps/unix/ioctls.awk: Likewise.
13593 * sysdeps/unix/mk-local_lim.c: Likewise.
13594 * sysdeps/unix/snarf-ioctls: Likewise.
13595
4851a949
RH
135962012-03-19 Richard Henderson <rth@twiddle.net>
13597
bd37f2ee
RH
13598 * sysdeps/i386/fpu/fenv_private.h: New file.
13599 * sysdeps/i386/fpu/math_private.h: Use it.
13600 (math_opt_barrier, math_force_eval): Remove.
13601 (libc_feholdexcept_setround_53bit): Remove.
13602 (libc_feupdateenv_53bit): Remove.
13603 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13604 (math_opt_barrier, math_force_eval): Remove.
13605 (libc_feholdexcept): Remove.
13606 (libc_feholdexcept_setround): Remove.
13607 (libc_fetestexcept, libc_fesetenv): Remove.
13608 (libc_feupdateenv_test): Remove.
13609 (libc_feupdateenv, libc_feholdsetround): Remove.
13610 (libc_feresetround): Remove.
13611
d0adc922
RH
13612 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
13613 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13614
0fe0f1f8
RH
13615 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
13616 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
13617 (libc_feupdateenv_testl): New.
13618 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
13619 (libc_feupdateenv_testf): New.
13620 (libc_feupdateenv): Use libc_feupdateenv_test.
13621 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
13622 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
13623
eb92c487
RH
13624 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
13625 (libc_feholdsetroundf, libc_feholdsetroundl): New.
13626 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
13627 (libc_feresetround_noex): New.
13628 (libc_feresetround_noexf): New.
13629 (libc_feresetround_noexl): New.
13630 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
13631 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
13632 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
13633 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
13634 SET_RESTORE_ROUND.
13635 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13636 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
13637 (__cos): Likewise.
13638 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
13639 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13640 SET_RESTORE_ROUND_NOEX.
13641 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13642 SET_RESTORE_ROUND_NOEXF.
13643 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13644 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13645 (libc_feholdsetroundf): New.
13646 (libc_feresetround, libc_feresetroundf): New.
13647
7d2e8012
RH
13648 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13649 (libc_feholdexcept_setround_53bit): Convert from macro to function.
13650 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
13651
b4dabbb4
RH
13652 * sysdeps/generic/math_private.h: Include <fenv.h>.
13653 (default_libc_feholdexcept): New.
13654 (default_libc_feholdexcept_setround): New.
13655 (default_libc_fesetenv, default_libc_feupdateenv): New.
13656 (libc_feholdexcept): Only define if undefined.
13657 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13658 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13659 (libc_feholdexcept_setroundl): Likewise.
13660 (libc_feholdexcept_setround_53bit): Likewise.
13661 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
13662 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
13663 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
13664 (libc_feupdateenv_53bit): Likewise.
13665 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
13666 (libc_feholdexcept): Convert from macro to inline function.
13667 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
13668 (libc_fesetenv, libc_feupdateenv): Likewise.
13669
4851a949
RH
13670 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
13671 not previously defined.
13672 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
13673 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
13674 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
13675 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
13676 * sysdeps/ieee754/flt-32/math_private.h: New file.
13677 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
13678 math_private.h below SET_FLOAT_WORD.
13679 (__isnan, __isinf_ns, __finite): Remove.
13680 (__isnanf, __isinf_nsf, __finitef): Remove.
13681
e79d442e
AS
136822012-03-18 Andreas Schwab <schwab@linux-m68k.org>
13683
13684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13685
90b80344
DM
136862012-03-17 David S. Miller <davem@davemloft.net>
13687
13688 [BZ #6471]
13689 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13690 for 2.16.
13691
edc21804
DM
136922012-03-16 David S. Miller <davem@davemloft.net>
13693
77e927af
DM
13694 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13695 warnings.
13696
374976dd
DM
13697 [BZ #6471]
13698 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13699 properly.
13700 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13701 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13702 sysdep_routines when subdir is sysvipc.
13703 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13704 __getshmlba helper.
13705
edc21804
DM
13706 * sysdeps/sparc/fpu/libm-test/ulps: Update.
13707
473c3ef3
L
137082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13709
13710 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13711 [__LP64__].
13712
eb0f39b6
L
137132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13714
13715 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13716 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13717 (__lround): Renamed to ...
13718 (__llround): This. Replace long int with long long int.
13719 Define lround functions as aliases of llround functions.
13720 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13721
6b6cd74b
L
137222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13723
13724 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13725 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
13726 adresses to uintptr_t. Replace "long int" and "unsigned long
13727 int" with "greg_t" on va_arg.
13728
f1a77b01
L
137292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13730
13731 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13732 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13733
13734 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13735 Move e_machine check before EI_CLASS check. Handle x32
13736 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13737 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13738 SKIP_EM_IA_64 and include
13739 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13740
13741 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13742 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13743 (add_system_dir): New macro.
13744
13745 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13746 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13747
11b90b9f
JM
137482012-03-16 Joseph Myers <joseph@codesourcery.com>
13749
c36e1d23
JM
13750 [BZ #2551]
13751 [BZ #2552]
13752 [BZ #2553]
13753 [BZ #2554]
13754 [BZ #2562]
13755 [BZ #2563]
13756 [BZ #2565]
13757 [BZ #2566]
13758 [BZ #2576]
13759 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13760 (y0): Likewise.
13761 * math/w_j0f.c (j0f): Likewise.
13762 (y0f): Likewise.
13763 * math/w_j0l.c (__j0l): Likewise.
13764 (__y0l): Likewise.
13765 * math/w_j1.c (j1): Likewise.
13766 (y1): Likewise.
13767 * math/w_j1f.c (j1f): Likewise.
13768 (y1f): Likewise.
13769 * math/w_j1l.c (__j1l): Likewise.
13770 (__y1l): Likewise.
13771 * math/w_jn.c (jn): Likewise.
13772 (yn): Likewise.
13773 * math/w_jnf.c (jnf): Likewise.
13774 (ynf): Likewise.
13775 * math/w_jnl.c (__jnl): Likewise.
13776 (__ynl): Likewise.
13777 * math/libm-test.inc (j0_test): Add more tests.
13778 (j1_test): Likewise.
13779 (jn_test): Likewise. Add trailing semicolon to existing test.
13780 (y0_test): Likewise.
13781 (y1_test): Likewise.
13782 * sysdeps/i386/fpu/libm-test-ulps: Update.
13783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13784
11b90b9f
JM
13785 [BZ #13851]
13786 [BZ #13854]
13787 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13788 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13789 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13790 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13791 (__tanl): Set errno for infinite argument.
13792 * sysdeps/i386/fpu/mptan.c: Remove.
13793 * sysdeps/i386/fpu/s_tan.S: Likewise.
13794 * sysdeps/i386/fpu/s_tanl.S: Likewise.
13795 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13796 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13797 * math/libm-test.inc (tan_test): Add more tests and enable more
13798 tests for double and long double.
13799 * sysdeps/i386/fpu/libm-test-ulps: Update.
13800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13801
6a1bd2a1
JK
138022012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13803
13804 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13805 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13806
10a803e0
RM
138072012-03-16 Roland McGrath <roland@hack.frob.com>
13808
13809 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13810 * configure.in: Use it for both main tree and add-ons.
13811 * configure: Regenerated.
13812
f196c7f7
L
138132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13814
13815 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13816
8848d99d
JM
138172012-03-16 Joseph Myers <joseph@codesourcery.com>
13818
96cbe7f4
JM
13819 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13820 in comment.
13821
8848d99d
JM
13822 [BZ #13851]
13823 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13824 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13825 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13826 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13827 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13828 infinite argument.
13829 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13830 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13831 != 0 for prec == 2.
13832 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13833 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13834 * sysdeps/i386/fpu/s_cosl.S: Likewise.
13835 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13836 * sysdeps/i386/fpu/s_sinl.S: Likewise.
13837 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13838 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13839 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13840 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13841 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13842 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13843 * math/libm-test.inc (cos_test): Add more tests and enable more
13844 tests for long double.
13845 (sin_test): Likewise.
13846 (sincos_test): Likewise.
13847 * sysdeps/i386/fpu/libm-test-ulps: Update.
13848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13849
dd7f4703
DM
138502012-03-16 David S. Miller <davem@davemloft.net>
13851
13852 * sysdeps/sparc/fpu/math_private.h: New file.
13853
006f1daa
DM
138542012-03-15 David S. Miller <davem@davemloft.net>
13855
c0c83bc8
DM
13856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13857 file.
e6a62e18 13858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
13859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13860 file.
e6a62e18
DM
13861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13862 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13863 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13864 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13865 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13866 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13867 sysdep routines.
13868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13869
88cb87d9
DM
13870 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13871 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13872
006f1daa 13873 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
13874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13875 sparc-ifunc.h
006f1daa 13876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
13877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13878 Likewise.
13879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13880 Likewise.
006f1daa
DM
13881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
13884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13885 Likewise.
006f1daa
DM
13886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
13890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13891 Likewise.
13892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13893 Likewise.
006f1daa
DM
13894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13898 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13899 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13900 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13901 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13902 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13903 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13904 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13905 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13906 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13907 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13908 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13909 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13910 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13911 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13912 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13913 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13914 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13915 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13916 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13917 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13918
11e0098e
AS
139192012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13920
13921 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13922 scaling.
13923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13924
e85b09d0
AJ
139252012-03-15 Andreas Jaeger <aj@suse.de>
13926
13927 [BZ #13852]
13928 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13929 ieee754/flt-32 implementation for sin, cos and sincos.
13930 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13931 * sysdeps/i386/fpu/s_cosf.S: Likewise.
13932 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13933 * sysdeps/i386/fpu/s_sinf.S: Likewise.
13934 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13935 ieee754/flt-32 implementation for tan.
13936
13937 * math/libm-test.inc (cos_test): Enable some large input tests for
13938 float as well
13939 (sin_test): Likewise.
13940 (sincos_test): Likewise.
13941 (tan_test): Add tests for large input.
13942
13943 * sysdeps/i386/fpu/libm-test-ulps: Update.
13944
81c64153
AJ
139452012-03-15 Andreas Jaeger <aj@suse.de>
13946
13947 [BZ #13658]
13948 * math/libm-test.inc (cos_test): Add more test cases.
13949 (sin_test): Likewise.
13950 (sincos_test): Likewise.
13951
7bbfa5c6
AJ
139522012-03-15 Andreas Jaeger <aj@suse.de>
13953
13954 [BZ #13837]
13955 * math/libm-test.inc (cos_test): Add a test case for large input
13956 value.
13957 (sin_test): Likewise.
13958 (sincos_test): Likewise.
13959
139602012-03-15 Andreas Jaeger <aj@suse.de>,
13961 Joseph Myers <joseph@codesourcery.com>
13962
13963 [BZ #13658]
0671f479 13964 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
13965 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13966 * sysdeps/i386/fpu/branred.c: Likewise.
13967 * sysdeps/i386/fpu/dosincos.c: Likewise.
13968 * sysdeps/i386/fpu/mpa.c: Likewise.
13969 * sysdeps/i386/fpu/s_cos.S: Likewise.
13970 * sysdeps/i386/fpu/s_sin.S: Likewise.
13971 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13972 * sysdeps/i386/fpu/sincos32.c: Likewise.
13973
13974 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13975 Define.
13976 (libc_feupdateenv_53bit): Define.
13977 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13978 Define.
13979 (libc_feupdateenv_53bit): Define.
13980
13981 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13982 53 bit (without extend i386 double precision).
13983
13984 * math/libm-test.inc (sincos_test): Add tests for large input.
13985 (sin): Likewise.
13986 (cos): Likewise.
13987
13988 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13989
9cad04ea
AS
139902012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13991
13992 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13993
f7062b9a
DM
139942012-03-15 David S. Miller <davem@davemloft.net>
13995
13996 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13997 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13998 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13999 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
14000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
14001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
14002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
14003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
14004 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
14005 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
14006 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
14007 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
14008 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
14009 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
14010 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
14011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
14012 file.
f7062b9a 14013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
14014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
14015 file.
f7062b9a 14016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
14017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
14018 file.
f7062b9a 14019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
14020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
14021 file.
f7062b9a
DM
14022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
14023 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
14024 fmin/fmax sysdep routines.
14025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14026
7bd951ff
DM
140272012-03-14 David S. Miller <davem@davemloft.net>
14028
559398ab
DM
14029 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
14030 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
14031 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
14032 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
14033 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
14034 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
14035 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
14036 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
14037 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
14038 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
14039 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
14040 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
14041 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
14042 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
14043 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
14044 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
14045 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
14046 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
14047 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
14048 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
14049 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
14050 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
14051 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
14052 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
14053 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
14054 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
14055 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
14056 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
14057 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
14058 routines.
14059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
14060 file.
559398ab 14061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
14062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
14063 file.
559398ab 14064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
14065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
14066 file.
559398ab 14067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
14068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
14069 file.
559398ab 14070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
14071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
14072 file.
559398ab 14073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
14074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
14075 file.
14076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
14077 file.
14078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
14079 file.
14080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
14081 file.
14082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
14083 New file.
14084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
14085 file.
14086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
14087 file.
559398ab 14088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
14089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
14090 file.
559398ab 14091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
14092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
14093 file.
559398ab 14094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
14095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
14096 file.
559398ab 14097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
14098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
14099 VIS3 routines.
559398ab
DM
14100
14101 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14102 New file.
14103
5a1c1e32
DM
14104 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14105
eae47a36
DM
14106 * sysdeps/sparc/configure.in: New file.
14107 * sysdeps/sparc/configure: Generate.
14108 * configure.in (libc_cv_sparc_as_vis3): Substitute.
14109 * configure: Regenerate.
14110 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
14111 * config.make.in (have-as-vis3): New.
14112 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
14113 available use -Av9d instead of -Av9a.
14114 * sysdeps/sparc/sparc64/Makefile: Likewise.
14115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
14116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
14117 New file.
14118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
14119 file.
14120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
14121 New file.
14122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
14123 file.
eae47a36
DM
14124 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
14125 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
14126 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
14127 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
14128 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
14129
c0c83bc8
DM
14130 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
14131 fzeros/fnegs to load 0x80000000 into a float register instead of
14132 using the stack.
7bd951ff
DM
14133 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
14134
bd951ccb
JM
141352012-03-14 Joseph Myers <joseph@codesourcery.com>
14136
14137 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14138 bits/syscall.h.
14139 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
14140 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
14141 ($(inst_includedir)/bits/syscall.h): Remove rule.
14142 ($(objpfx)bits/syscall.d): Include instead of
14143 $(objpfx)syscall-list.d.
14144 (generated): Change syscall-list.h and syscall-list.d to
14145 bits/syscall.h and bits/syscall.d.
14146
bb4e6db2
RM
141472012-03-14 Roland McGrath <roland@hack.frob.com>
14148
14149 [BZ #13846]
14150 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
14151
aa4a2ae1
JM
141522012-03-14 Joseph Myers <joseph@codesourcery.com>
14153
e456826d
JM
14154 [BZ #13841]
14155 * math/s_csqrt.c: Include <float.h>.
14156 (__csqrt): Scale large or subnormal inputs.
14157 * math/s_csqrtf.c: Likewise.
14158 * math/s_csqrtl.c: Likewise.
14159 * math/libm-test.inc (csqrt_test): Add more tests.
14160 * sysdeps/i386/fpu/libm-test-ulps: Update.
14161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14162
aa4a2ae1
JM
14163 [BZ #13840]
14164 * math/libm-test.inc (hypot_test): Add more tests.
14165
7c10fd35
DM
141662012-03-13 David S. Miller <davem@davemloft.net>
14167
14168 [BZ #13840]
14169 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
14170 double-precision for the calculation instead of scaling.
14171
f453b98b
JM
141722012-03-13 Joseph Myers <joseph@codesourcery.com>
14173
14174 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
14175 manipulate bits before adding and subtracting TWO52[sx].
14176 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
14177 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
14178 Likewise.
14179 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
14180
09a3453f
DM
141812012-03-13 David S. Miller <davem@davemloft.net>
14182
8e59da90
DM
14183 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
14184 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
14185 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
14186 rtld-global-offsets.h
14187 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14188
2a8ab7f2
DM
14189 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
14190 large parameters.
14191
10f62770
DM
14192 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
14193
5f0bdb18
DM
14194 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
14195 'err' in the ifdef scope in which it is actually used.
14196
09a3453f
DM
14197 * nss/nss_db/db-init.c: Include string.h
14198
b4b2eb5e
DM
141992012-03-12 David S. Miller <davem@davemloft.net>
14200
98bb2f1c
DM
14201 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14202 masking out of the most significant byte of random value used.
14203 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14204 Fix coding style in previous change.
14205
b4b2eb5e
DM
14206 * sysdeps/unix/sysv/linux/kernel-features.h
14207 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
14208 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
14209 expression.
14210 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
14211 later.
14212
6e226b09
DM
142132012-03-11 David S. Miller <davem@davemloft.net>
14214
a1bcbd40
DM
14215 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14216 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
14217 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
14218 for 'resultvar' otherwise things get truncated on 64-bit.
14219
cb9d6174
DM
14220 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14221 Fix masking out of the most significant byte of random value used.
14222
6e226b09
DM
14223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14224
058c132d
AS
142252012-03-10 Andreas Schwab <schwab@linux-m68k.org>
14226
14227 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14228
2d2cd515
DM
142292012-03-09 David S. Miller <davem@davemloft.net>
14230
14231 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
14232 variables with appropriate CPP guards.
14233 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
14234 frame pointer, not the stack pointer. Correct layout comments. Fix test
14235 on resulting framesize and the management of the outregs buffer for pltexit.
14236 Preserve floating point return values across _dl_call_pltexit call.
14237 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
14238 framesize and the management of the outregs buffer for pltexit.
14239 Preserve floating point return values across _dl_call_pltexit
14240 call.
14241 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
14242 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
14243 (print_exit): Fix format string for return register value.
14244
9a07f9d0
JM
142452012-03-10 Joseph Myers <joseph@codesourcery.com>
14246
14247 * sunrpc/Makefile (others): Add rpcgen.
14248 ($(objpfx)rpcgen): Remove special build rule and dependency on
14249 libc.
14250 * sunrpc/rpcgen.c: New file.
14251
547b5e30
PE
142522012-03-09 Paul Eggert <eggert@cs.ucla.edu>
14253
c524201a
PE
14254 [BZ #13673]
14255 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
14256 * stdio-common/bug-vfprintf-nargs.c: Likewise.
14257 * sysdeps/i386/crti.S: Likewise.
14258 * sysdeps/i386/crtn.S: Likewise.
14259 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
14260 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
14261 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
14262 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
14263 * sysdeps/sh/crti.S: Likewise.
14264 * sysdeps/sh/crtn.S: Likewise.
14265 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14266
7b6235f2
PE
14267 [BZ #13673]
14268 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
14269 with URL.
14270 * locale/programs/locfile-kw.gperf: Likewise.
14271 * locale/programs/charmap-kw.h: Regenerated.
14272 * locale/programs/locfile-kw.h: Likewise.
14273
547b5e30
PE
14274 [BZ #13673]
14275 * intl/plural.y: Replace FSF snail mail address with URL.
14276 * intl/plural.c: Regenerated.
14277
5f0a5dae
RH
142782012-03-09 Richard Henderson <rth@twiddle.net>
14279
14280 * include/math_private.h: Remove file.
14281 * math/math_private.h: Move file ...
14282 * sysdeps/generic/math_private.h: ... here.
14283
b8c03620
RH
14284 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
14285 * sysdeps/powerpc/fpu/math_private.h: Likewise.
14286 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14287
4e234f5d 14288 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
14289 and <math_private.h>.
14290 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14291 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14292 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14293 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14294 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14295 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
14296 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14297 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14298 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14299 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14300 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14301 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14302 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14303 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14304 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14305 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14306 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14307 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14308 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14309 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14310 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14311 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14312 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14313 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14314 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14315 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14316 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14317 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14318 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14319 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14320 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14321 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14322 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14323 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14324 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14325 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14326 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14327 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14328 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14329 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14330 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
14331 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14332 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14333 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14334 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14335 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14336 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14337 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14338 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14339 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14340 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14341 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
14342 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14343 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14344 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14345 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14346 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14347 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14348 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14349 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
14350 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14351 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14352 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14353 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14354 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
14355 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14356 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14357 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14358 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
14359 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
14360 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14361 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14362 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14363 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14364 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
14365 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14366 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
14367 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14368 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
14369 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
14370 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14371 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14372 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14373 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14374 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14375 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14376 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
14377 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14378 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14379 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14380 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14381 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14382 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14383 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14384 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14385 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14386 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14387 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14388 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14389 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14390 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14391 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14392 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14393 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14394 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14395 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14396 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14397 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14398 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14399 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14400 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14401 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14402 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14403 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14404 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
14405 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14406 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14407 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14408 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14409 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14410 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14411 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14412 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14413 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
14414 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14415 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14416 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14417 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
14418 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14419 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14420 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
14421 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14422 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14423 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14424 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
14425 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14426 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14427 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14428 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
14429 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14430 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14431 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14432 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14433 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
14434 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
14435 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14436 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14437 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14438 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14439 * sysdeps/ieee754/k_standard.c: Likewise.
14440 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14441 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14442 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14443 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14444 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14445 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14446 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14447 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14448 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14449 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14450 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14451 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14452 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14453 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14454 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14455 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14456 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14457 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14458 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14459 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14460 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14461 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14462 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14463 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14464 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14465 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14466 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14467 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14468 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14469 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14470 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14471 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14472 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14473 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14474 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14475 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14476 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14477 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
14478 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14479 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14480 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14481 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14482 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14483 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14484 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14485 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14486 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14487 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14488 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14489 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14490 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14491 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14492 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14493 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14494 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14495 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14496 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
14497 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14498 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14499 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14500 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14501 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14502 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14503 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14504 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14505 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14506 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14507 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14508 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14509 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14510 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14511 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14512 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14513 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14514 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14515 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14516 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
14517 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14518 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14519 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14520 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14521 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14522 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14523 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14524 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14525 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14526 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14527 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14528 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14529 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14530 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
14531 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14532 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14533 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14534 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14535 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14536 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
14537 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14538 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14539 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
14540 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14541 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14542 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14543 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14544 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
14545 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14546 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14547 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14548 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
14549 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14550 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14551 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14552 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14553 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14554 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14555 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14556 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14557 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14558 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14559 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14560 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14561 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14562 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14563 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14564 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14565 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
14566 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14567 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14568 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14569 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14570 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14571 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14572 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14573 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14574 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14575 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14576 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
14577 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14578 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14579 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
14580 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
14581 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14582 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
14583 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
14584 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14585 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14586 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14587 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14588 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14589 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
14590 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14591 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14592 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14593 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14594 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
14595 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
14596 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14597 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14598 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14599 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14600 * sysdeps/ieee754/s_lib_version.c: Likewise.
14601 * sysdeps/ieee754/s_matherr.c: Likewise.
14602 * sysdeps/ieee754/s_signgam.c: Likewise.
14603 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14604 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14605 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14606 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14607 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14608 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14609 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
14610 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
14611 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
14612 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
14613 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14614 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14615 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14616 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14617 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
14618 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14619 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14620 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14621 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14622 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14623 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 14624
1991fa03
JM
146252012-03-09 Joseph Myers <joseph@codesourcery.com>
14626
14627 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
14628 * sunrpc/rpc_main.c: Likewise.
14629 * sunrpc/rpc_svcout.c: Likewise.
14630
60d6f5a6
DM
146312012-03-09 David S. Miller <davem@davemloft.net>
14632
14633 * include/math_private.h: New file.
14634
4962050e
JM
146352012-03-09 Joseph Myers <joseph@codesourcery.com>
14636
02a6f887
JM
14637 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
14638 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
14639 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
14640 from <bits/socket_type.h>.
14641 (enum __socket_type): Don't define here.
14642 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14643 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14644 bits/socket_type.h.
14645
c6e013c1
JM
14646 [BZ #13566]
14647 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14648 checking __USE_GNU.
14649
4962050e
JM
14650 * Makerules ($(inst_includedir)/%.h): New rule.
14651 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14652 (install-others): Remove variable setting.
14653 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14654
38842f45
RH
146552012-03-08 Richard Henderson <rth@twiddle.net>
14656
67bb6da6
RH
14657 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14658 from macro to inline function; merge with the
14659 !__LIBC_INTERNAL_MATH_INLINES version.
14660 (__ieee754_sqrtf): Likewise.
14661
15194b4b
RH
14662 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
14663 to inline function.
14664 (__rintf, __floor, __floorf): Likewise.
14665
64e21ede
RH
14666 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
14667 macro to inline function.
14668 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
14669
38842f45
RH
14670 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
14671 not <math/math_private.h>.
14672
c64bf5fe
DM
146732012-03-08 David S. Miller <davem@davemloft.net>
14674
14675 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
14676 copyright year.
14677 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14678
82d86f28
TS
146792012-03-08 Thomas Schwinge <thomas@codesourcery.com>
14680
14681 * resolv/gai_misc.c (handle_requests): Fix struct timespec
14682 normalization.
14683 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
14684 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14685
aea5d727
UD
146862012-03-08 Ulrich Drepper <drepper@gmail.com>
14687
14688 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
14689 be defined individually, they must be defined as a block. Define
14690 S for printing a string instead of hidint the different by using a
14691 macro for adding the 'l'.
14692 * stdio-common/tst-fphex-wide.c: Adjust.
14693
70bca0a3
MP
146942012-03-07 Marek Polacek <polacek@redhat.com>
14695
14696 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14697
65b81130
MP
146982012-03-08 Marek Polacek <polacek@redhat.com>
14699
14700 [BZ #13806]
14701 * stdio-common/Makefile (tests): Add tst-fphex-wide.
14702 * stdio-common/tst-fphex.c: Define a few macros to make the
14703 test reusable. Use them.
14704 * stdio-common/tst-fphex-wide.c: New file.
14705
07037eeb
JM
147062012-03-08 Joseph Myers <joseph@codesourcery.com>
14707
a7a93d50
JM
14708 [BZ #6911]
14709 * manual/macros.texi (gnusystems): New macro.
14710 (nongnusystems): Likewise.
14711 (gnulinuxhurdsystems): Likewise.
14712 (gnuhurdsystems): Likewise..
14713 (gnulinuxsystems): Likewise.
14714 * manual/charset.texi: Use new macros or @theglibc{} to refer to
14715 variants of the GNU system, not "GNU system".
14716 * manual/conf.texi: Likewise.
14717 * manual/errno.texi: Likewise. Update example of errno macro
14718 expansion.
14719 * manual/filesys.texi: Likewise.
14720 (getumask): Document as specific to GNU/Hurd.
14721 * manual/install.texi: Likewise. Reword some references to
14722 GNU/Linux.
14723 * manual/intro.texi: Likewise.
14724 * manual/io.texi: Likewise.
14725 (File Name Portability): Detail which constraints are inapplicable
14726 to all GNU systems and which are only inapplicable to GNU/Hurd.
14727 * manual/job.texi: Likewise.
14728 * manual/llio.texi: Likewise.
14729 (O_NOCTTY): Document as present on GNU/Linux.
14730 * manual/maint.texi: Likewise.
14731 * manual/memory.texi: Likewise.
14732 * manual/pattern.texi: Likewise.
14733 * manual/pipe.texi: Likewise.
14734 * manual/process.texi: Likewise.
14735 * manual/resource.texi: Likewise.
14736 (RUSAGE_CHILDREN): Remove statement about specifying a particular
14737 child on GNU/Hurd.
14738 * manual/setjmp.texi: Likewise.
14739 * manual/signal.texi: Likewise.
14740 * manual/startup.texi: Likewise.
14741 * manual/stdio.texi: Likewise.
14742 * manual/terminal.texi: Likewise.
14743 (ONLCR): Document as POSIX.
14744 (OXTABS): Document availability on GNU/Linux as XTABS.
14745 (ONOEOT): Document availability separately from other bits.
14746 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14747 * manual/time.texi: Likewise.
14748 * manual/users.texi: Likewise.
14749 * INSTALL: Regenerated.
14750 * sysdeps/gnu/errlist.c: Regenerated.
14751
07037eeb
JM
14752 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14753 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14754 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
14755 puts.
14756 * configure: Regenerated.
14757
d1d3431a
JM
147582012-03-07 Joseph Myers <joseph@codesourcery.com>
14759
af6a1e37
JM
14760 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14761 default includes instead of AC_HEADER_CHECK.
14762 * sysdeps/i386/configure: Regenerated.
14763
d1d3431a
JM
14764 [BZ #10716]
14765 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14766 * math/s_cacoshf.c (__cacoshf): Likewise.
14767 * math/s_cacoshl.c (__cacoshl): Likewise.
14768 * math/s_casinh.c (__casinh): Set signs of result from argument.
14769 * math/s_casinhf.c (__casinhf): Likewise.
14770 * math/s_casinhl.c (__casinhl): Likewise.
14771 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14772 (casinh_test): Add more tests.
14773 * sysdeps/i386/fpu/libm-test-ulps: Update.
14774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14775
482ff4da
UD
147762012-03-07 Ulrich Drepper <drepper@gmail.com>
14777
872fda05
UD
14778 * po/zh_TW.po: Update from translation team.
14779
a4300c7a
UD
14780 * login/Makefile (distribute): Remove variable.
14781 * catgets/Makefile: Likewise.
14782 * mach/Makefile: Likewise.
14783 * malloc/Makefile: Likewise.
14784 * misc/Makefile: Likewise.
14785 * iconv/Makefile: Likewise.
14786 * nscd/Makefile: Likewise.
14787 * hurd/Makefile: Likewise.
14788 * manual/Makefile: Likewise.
14789 * locale/Makefile: Likewise.
14790 * intl/Makefile: Likewise.
14791 * conform/Makefile: Likewise.
14792 * nss/Makefile: Likewise.
14793 * time/Makefile: Likewise.
14794 * soft-fp/Makefile: Likewise.
14795 * dirent/Makefile: Likewise.
14796 * gmon/Makefile: Likewise.
14797 * po/Makefile: Likewise.
14798 * rt/Makefile: Likewise.
14799 * socket/Makefile: Likewise.
14800 * math/Makefile: Likewise.
14801 * signal/Makefile: Likewise.
14802 * debug/Makefile: Likewise.
14803 * elf/Makefile: Likewise.
14804 * timezone/Makefile: Likewise.
14805 * stdlib/Makefile: Likewise.
14806 * iconvdata/Makefile: Likewise.
14807 * sunrpc/Makefile: Likewise.
14808 * io/Makefile: Likewise.
14809 * argp/Makefile: Likewise.
14810 * inet/Makefile: Likewise.
14811 * hesiod/Makefile: Likewise.
14812 * grp/Makefile: Likewise.
14813 * csu/Makefile: Likewise.
14814 * wctype/Makefile: Likewise.
14815 * crypt/Makefile: Likewise.
14816 * libio/Makefile: Likewise.
14817 * string/Makefile: Likewise.
14818 * nis/Makefile: Likewise.
14819 * resolv/Makefile: Likewise.
14820 * stdio-common/Makefile: Likewise.
14821 * wcsmbs/Makefile: Likewise.
14822 * dlfcn/Makefile: Likewise.
14823 * posix/Makefile: Likewise.
14824
3b7c4e74 14825 [BZ #6959]
482ff4da
UD
14826 * timezone/Makefile: Don't install timezone files, just the programs
14827 and scripts.
14828
f72ed77d
UD
148292012-03-06 Ulrich Drepper <drepper@gmail.com>
14830
a000466f
UD
14831 * nss/databases.def: Add missing gshadow entry.
14832
f72ed77d
UD
14833 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
14834
a53b7a4e
MP
148352012-03-06 Marek Polacek <polacek@redhat.com>
14836
14837 [BZ #13726]
14838 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14839 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14840 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14841 * stdio-common/tst-long-dbl-fphex.c: New file.
14842
e9258400
DM
148432012-03-06 David S. Miller <davem@davemloft.net>
14844
14845 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14846 (set_obp_int): New function.
14847 (get_obp_int): New function.
14848 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
14849 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14850 Avoid unused variable warnings on 'val' and use builtin_expect.
14851 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14852 __builtin_expect.
e9258400
DM
14853 (INLINE_CLONE_SYSCALL): Likewise.
14854
3bd2c723
DM
148552012-03-05 David S. Miller <davem@davemloft.net>
14856
14857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14858
bbb78d03
AS
148592012-03-05 Andreas Schwab <schwab@linux-m68k.org>
14860
884c5db4
AS
14861 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14862
bbb78d03
AS
14863 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14864 only for |x| >= 40.
14865 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14866
1c9f702a 148672012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
14868
14869 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14870 Replace gettimeofday with __vdso_gettimeofday.
14871
7be16f82
RM
14872 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14873 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14874 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
14875
14876 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14877 time with __vdso_time.
14878
ed58a00f
JM
148792012-03-05 Joseph Myers <joseph@codesourcery.com>
14880
14881 * manual/lang.texi (size_t): Note types to which size_t may be
14882 equivalent with the GNU C Library, but do not describe when
14883 differences between them are significant.
14884
30ee4ced
AJ
148852012-03-05 Andreas Jaeger <aj@suse.de>
14886
14887 * sysdeps/i386/fpu/libm-test-ulps: Update.
14888
b7cd39e8
JM
148892012-03-05 Joseph Myers <joseph@codesourcery.com>
14890
14891 [BZ #3976]
14892 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14893 (__ieee754_pow): Save and restore rounding mode and use
14894 round-to-nearest for main computations.
14895 * math/libm-test.inc (pow_test_tonearest): New function.
14896 (pow_test_towardzero): Likewise.
14897 (pow_test_downward): Likewise.
14898 (pow_test_upward): Likewise.
14899 (main): Call the new functions.
14900 * sysdeps/i386/fpu/libm-test-ulps: Update.
14901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
14902
14903 [BZ #3976]
14904 * math/libm-test.inc (cosh_test_tonearest): New function.
14905 (cosh_test_towardzero): Likewise.
14906 (cosh_test_downward): Likewise.
14907 (cosh_test_upward): Likewise.
14908 (sinh_test_tonearest): Likewise.
14909 (sinh_test_towardzero): Likewise.
14910 (sinh_test_downward): Likewise.
14911 (sinh_test_upward): Likewise.
14912 (main): Call the new functions.
14913 * sysdeps/i386/fpu/libm-test-ulps: Update.
14914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14915
6c6a98c9
TV
149162012-03-05 Tom de Vries <tom@codesourcery.com>
14917
14918 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14919 default stack guard is set in last bytes.
14920 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14921
21bb2d2e 149222012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 14923
21bb2d2e 14924 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 14925
21bb2d2e
AJ
14926 [BZ #13656]
14927 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14928 possibly allocate from heap instead of stack.
14929 * stdio-common/bug-vfprintf-nargs.c: New file.
14930 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 14931
c6922934
AS
149322012-03-03 Andreas Schwab <schwab@linux-m68k.org>
14933
14934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14935
bc957d53
MP
149362012-03-03 Marek Polacek <polacek@redhat.com>
14937
14938 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14939 * math/math_private.h: Likewise.
14940 * stdlib/tst-strtod.c: Likewise.
14941 * sysdeps/i386/i486/bits/atomic.h: Likewise.
14942 * sysdeps/x86_64/bits/atomic.h: Likewise.
14943
6358490d
DM
149442012-03-02 David S. Miller <davem@davemloft.net>
14945
14946 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14950 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14951 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14952 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14953 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14954
01ae168d
RM
149552012-03-02 Roland McGrath <roland@hack.frob.com>
14956
d9a17c07
RM
14957 [BZ #13792]
14958 * manual/examples/README: New file, says the example source files
14959 can be used under GPL>=2.
14960 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14961 line containing just "*/".
14962 * manual/examples/add.c: Add copyright header (GPL>=2).
14963 * manual/examples/argp-ex1.c: Likewise.
14964 * manual/examples/argp-ex2.c: Likewise.
14965 * manual/examples/argp-ex3.c: Likewise.
14966 * manual/examples/argp-ex4.c: Likewise.
14967 * manual/examples/atexit.c: Likewise.
14968 * manual/examples/db.c: Likewise.
14969 * manual/examples/dir.c: Likewise.
14970 * manual/examples/dir2.c: Likewise.
14971 * manual/examples/execinfo.c: Likewise.
14972 * manual/examples/filecli.c: Likewise.
14973 * manual/examples/filesrv.c: Likewise.
14974 * manual/examples/fmtmsgexpl.c: Likewise.
14975 * manual/examples/genpass.c: Likewise.
14976 * manual/examples/inetcli.c: Likewise.
14977 * manual/examples/inetsrv.c: Likewise.
14978 * manual/examples/isockad.c: Likewise.
14979 * manual/examples/longopt.c: Likewise.
14980 * manual/examples/memopen.c: Likewise.
14981 * manual/examples/memstrm.c: Likewise.
14982 * manual/examples/mkfsock.c: Likewise.
14983 * manual/examples/mkisock.c: Likewise.
14984 * manual/examples/mygetpass.c: Likewise.
14985 * manual/examples/pipe.c: Likewise.
14986 * manual/examples/popen.c: Likewise.
14987 * manual/examples/rprintf.c: Likewise.
14988 * manual/examples/search.c: Likewise.
14989 * manual/examples/select.c: Likewise.
14990 * manual/examples/setjmp.c: Likewise.
14991 * manual/examples/sigh1.c: Likewise.
14992 * manual/examples/sigusr.c: Likewise.
14993 * manual/examples/stpcpy.c: Likewise.
14994 * manual/examples/strdupa.c: Likewise.
14995 * manual/examples/strftim.c: Likewise.
14996 * manual/examples/strncat.c: Likewise.
14997 * manual/examples/subopt.c: Likewise.
14998 * manual/examples/swapcontext.c: Likewise.
14999 * manual/examples/termios.c: Likewise.
15000 * manual/examples/testopt.c: Likewise.
15001 * manual/examples/testpass.c: Likewise.
15002 * manual/examples/timeval_subtract.c: Likewise.
15003
01ae168d
RM
15004 [BZ #13792]
15005 * manual/time.texi (Elapsed Time): Move timeval_subtract example
15006 function to ...
15007 * manual/timeval_subtract.c.texi: ... here, new file.
15008
49efa33d
DM
150092012-03-02 David S. Miller <davem@davemloft.net>
15010
15011 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
15012
28afd92d
JM
150132012-03-02 Joseph Myers <joseph@codesourcery.com>
15014
804360ed
JM
15015 [BZ #3976]
15016 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
15017 (__sin): Save and restore rounding mode and use round-to-nearest
15018 for all computations.
15019 (__cos): Save and restore rounding mode and use round-to-nearest
15020 for all computations.
15021 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
15022 <fenv.h>.
15023 (tan): Save and restore rounding mode and use round-to-nearest for
15024 all computations.
15025 * math/libm-test.inc (cos_test_tonearest): New function.
15026 (cos_test_towardzero): Likewise.
15027 (cos_test_downward): Likewise.
15028 (cos_test_upward): Likewise.
15029 (sin_test_tonearest): Likewise.
15030 (sin_test_towardzero): Likewise.
15031 (sin_test_downward): Likewise.
15032 (sin_test_upward): Likewise.
15033 (tan_test_tonearest): Likewise.
15034 (tan_test_towardzero): Likewise.
15035 (tan_test_downward): Likewise.
15036 (tan_test_upward): Likewise.
15037 (main): Call the new functions.
15038 * sysdeps/i386/fpu/libm-test-ulps: Update.
15039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15040
a6d06d7b
JM
15041 [BZ #10135]
15042 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
15043 small n, then large n, before computing and testing k+n.
15044 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15045 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
15046 Likewise.
15047 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
15048 Likewise.
15049 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
15050 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
15051 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
15052 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
15053 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15054 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15055 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
15056 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
15057 * math/libm-test.inc (scalbn_test): Add more tests.
15058 (scalbln_test): Likewise.
15059
07e12bb3
JM
15060 * manual/filesys.texi (mode_t): Describe constraints on size and
15061 signedness, not exact equivalence to a particular type.
15062 (ino_t): Likewise.
15063 (ino64_t): Likewise.
15064 (dev_t): Likewise.
15065 (nlink_t): Likewise.
15066 (blkcnt_t): Likewise.
15067 (blkcnt64_t): Likewise.
15068 * manual/llio.texi (off_t): Likewise.
15069
28afd92d
JM
15070 [BZ #3976]
15071 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
15072 (__ieee754_exp): Save and restore rounding mode and use
15073 round-to-nearest for all computations.
15074 * math/libm-test.inc (exp_test_tonearest): New function.
15075 (exp_test_towardzero): Likewise.
15076 (exp_test_downward): Likewise.
15077 (exp_test_upward): Likewise.
15078 (main): Call the new functions.
15079 * sysdeps/i386/fpu/libm-test-ulps: Update.
15080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15081
b1eeb65d
CD
150822012-03-01 Chris Demetriou <cgd@google.com>
15083
15084 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
15085 have predictable order.
15086
53362a4b
DM
150872012-03-01 David S. Miller <davem@davemloft.net>
15088
3c969083
DM
15089 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
15090
759707de
DM
15091 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
15092 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
15093 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
15094 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
15095
dfdb8ff2
DM
15096 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
15097 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
15098 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
15099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
15100 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
15101 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
15102 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
15103 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
15104 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
15105
ead89f96
DM
15106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15107
7f66bd07
DM
15108 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
15109 * sysdeps/sparc/fpu/libm-test-ulps: to here.
15110 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
15111
53362a4b
DM
15112 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
15113 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15114 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15115 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
15116 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
15117 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
15118 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
15119 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15120 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15121 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
15122 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
15123 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15124 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15125 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15126 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15127 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15128 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
15129 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
15130 * sysdeps/sparc/elf/configure: Regenerated.
15131
7b1902cb
JM
151322012-03-01 Joseph Myers <joseph@codesourcery.com>
15133
bec039bc
JM
15134 * configure.in (AS, LD): Require binutils 2.20 or later.
15135 * configure: Regenerated.
15136 * manual/install.texi (Tools for Compilation): Give binutils 2.20
15137 as required minimum version.
15138 * INSTALL: Regenerated.
15139
7b1902cb
JM
15140 [BZ #2541]
15141 [BZ #4108]
15142 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
15143 before squaring exponent.
15144 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
15145 bottom long double and 27 bits of top long double before squaring
15146 exponent.
15147 * math/libm-test.inc (erfc_test): Add more tests.
15148 * sysdeps/i386/fpu/libm-test-ulps: Update.
15149 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15151
f775c276
KT
151522012-03-01 Kai Tietz <ktietz@redhat.com>
15153
15154 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
15155 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
15156 containing bit-fields.
15157 * soft-fp/extended.h (_FP_UNION_E): Likewise.
15158 * soft-fp/single.h (_FP_UNION_S): Likewise.
15159 * soft-fp/double.h (_FP_UNION_D): Likewise.
15160
5b8a4d4a
JM
151612012-02-29 Joseph Myers <joseph@codesourcery.com>
15162
0bab47b6
JM
15163 [BZ #13786]
15164 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
15165 not include ../strcmp.S.
15166 [USE_AS_STRNCASECMP_L]: Likewise.
15167 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
15168 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
15169 * sysdeps/i386/i686/multiarch/strncase_l-c.c
15170 (__strncasecmp_l_ia32): Define as alias to
15171 __strncasecmp_l_nonascii.
15172
0fcad3e2
JM
15173 [BZ #5794]
15174 * math/libm-test.inc (expm1_test): Add test for bug 5794.
15175 * sysdeps/i386/fpu/libm-test-ulps: Update.
15176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15177
5b8a4d4a
JM
15178 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
15179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15180
8fdceb2e
JL
151812012-02-29 Jeff Law <law@redhat.com>
15182
15183 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
15184 out of bounds read.
15185
1f393a11
MP
151862012-02-29 Marek Polacek <polacek@redhat.com>
15187
15188 [BZ #13706]
15189 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
15190 * elf/Makefile: Add rules to run tst-unused-dep.out.
15191
8847f037
DM
151922012-02-28 David S. Miller <davem@davemloft.net>
15193
15194 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
15195 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
15196 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
15197 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
15198 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
15199 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
15200
169d7f11
JM
152012012-02-29 Joseph Myers <joseph@codesourcery.com>
15202
15203 * math/libm-test.inc (llround_test): Move one test from
15204 lround_test. Use TEST_f_L in moved test.
15205 (lround_test): Move misplaced test to llround_test. Add testcase
15206 from bug 2561.
15207
39adf059
UD
152082012-02-28 Ulrich Drepper <drepper@gmail.com>
15209
15210 * sysdeps/x86_64/fpu/e_expf.S: New file.
15211 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
15212
71b5d1c5
SB
152132012-02-28 Stanislav Brabec <sbrabec@suse.cz>
15214
15215 [BZ #13637]
15216 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
15217 of remain_len that may cause incomplete multi-byte character and
15218 false match.
15219 * posix/bug-regex33.c: New file.
15220 * posix/Makefile (tests): Add bug-regex33.
15221
1f77f049
JM
152222012-02-28 Joseph Myers <joseph@codesourcery.com>
15223
15224 * manual/macros.texi: New file.
15225 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
15226 * manual/libc.texinfo: Include macros.texi.
15227 * manual/creatute.texi: Likewise.
15228 * manual/install.texi: Likewise.
15229 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
15230 @glibcadj{} in references to the GNU C Library.
15231 * manual/charset.texi: Likewise.
15232 * manual/conf.texi: Likewise.
15233 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
15234 when not using those macros.
15235 * manual/creature.texi: Likewise.
15236 * manual/crypt.texi: Likewise.
15237 * manual/errno.texi: Likewise.
15238 * manual/filesys.texi: Likewise.
15239 * manual/header.texi: Likewise.
15240 * manual/install.texi: Likewise.
15241 * manual/intro.texi: Likewise.
15242 * manual/io.texi: Likewise.
15243 * manual/job.texi: Likewise.
15244 * manual/lang.texi: Likewise.
15245 * manual/libc.texiinfo: Likewise.
15246 * manual/llio.texi: Likewise.
15247 * manual/locale.texi: Likewise.
15248 * manual/maint.texi: Likewise.
15249 * manual/math.texi: Likewise.
15250 * manual/memory.texi: Likewise.
15251 * manual/message.texi: Likewise.
15252 * manual/nss.texi: Likewise.
15253 * manual/pattern.texi: Likewise.
15254 * manual/process.texi: Likewise.
15255 * manual/resource.texi: Likewise.
15256 * manual/search.texi: Likewise.
15257 * manual/setjmp.texi: Likewise.
15258 * manual/signal.texi: Likewise.
15259 * manual/socket.texi: Likewise.
15260 * manual/startup.texi: Likewise.
15261 * manual/stdio.texi: Likewise.
15262 * manual/string.texi: Likewise.
15263 * manual/sysinfo.texi: Likewise.
15264 * manual/syslog.texi: Likewise.
15265 * manual/terminal.texi: Likewise.
15266 * manual/time.texi: Likewise.
15267 * manual/users.texi: Likewise.
15268 * INSTALL: Regenerated.
15269 * NOTES: Regenerated.
d40c5d54 15270 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 15271
450bf206
AS
152722012-02-28 Andreas Schwab <schwab@linux-m68k.org>
15273
15274 * include/dirent.h: Include <dirstream.h> before
15275 <dirent/dirent.h>.
15276
741a235b
DM
152772012-02-28 David S. Miller <davem@davemloft.net>
15278
15279 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
15280 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
15281 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
15282 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
15283
d6b5aa58
DM
152842012-02-27 David S. Miller <davem@davemloft.net>
15285
1aff59a3
DM
15286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
15287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
15288 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
15289 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
15290
d6b5aa58
DM
15291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
15292 frame pointer instead of stack pointer relative arg slot.
15293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15294 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15295 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15296
433f48bf
CD
152972012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
15298
15299 [BZ #3992]
15300 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
15301
d674b76d
DM
153022012-02-27 David S. Miller <davem@davemloft.net>
15303
15304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
15305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
15308 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15309 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15310 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
15311 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
15312
0e7727f7
JM
153132012-02-27 Joseph Myers <joseph@codesourcery.com>
15314
15315 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
15316 later. Allow versions 5-9.
43be4ca2 15317 * configure: Regenerated.
0e7727f7
JM
15318 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
15319 required minimum version and 4.6 as recommended version. Do not
15320 mention bugs in GCC 2.7 and 2.8.
43be4ca2 15321 * INSTALL: Regenerated.
0e7727f7 15322
a78bc654
DM
153232012-02-27 David S. Miller <davem@davemloft.net>
15324
428d5830
DM
15325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
15326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
15327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
15328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
15329 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
15330 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
15331 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
15332 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
15333
a78bc654
DM
15334 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
15335 manipulate bits before adding and subtracting TWO112[sx].
15336 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15337
4579f81c
RM
153382012-02-27 Roland McGrath <roland@hack.frob.com>
15339
36c8acb4
RM
15340 [BZ #13775]
15341 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
15342 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
15343 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
15344 being in POSIX, because they are in 1003.1-2008.
15345
84ad622b
RM
15346 * rt/tst-aio.c: Include <fcntl.h>.
15347 * rt/tst-aio7.c: Likewise.
15348 * rt/tst-aio64.c: Likewise.
15349
4579f81c
RM
15350 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
15351
abd923db
JM
153522012-02-27 Joseph Myers <joseph@codesourcery.com>
15353
15354 * manual/install.texi (--with-headers): Describe headers as
15355 interface headers, not private headers.
15356 (Specific advice for GNU/Linux systems): Describe use of headers
15357 from "make headers_install", not private headers from older
15358 kernels.
43be4ca2 15359 * INSTALL: Regenerated.
abd923db
JM
15360 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
15361 Change to 2.6.19.
15362 * sysdeps/unix/sysv/linux/configure: Regenerated.
15363
6664049b
JM
15364 * manual/llio.texi (fclean): Remove documentation.
15365
bb8b6697
JM
15366 * manual/Makefile (libc-texi-generated): New variable. Include
15367 version.texi.
15368 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
15369 $(libc-texi-generated), not duplicated list of files.
15370 (version.texi, stamp-version): New rules.
15371 (realclean): Remove $(libc-texi-generated), not individual files
15372 from that list. Do not remove dir-add.texinfo.
15373 * manual/libc.texinfo: Comment out uses of edition numbers and
15374 references to printed manual. Remove last-updated dates.
15375 (EDITION): Comment out.
15376 (ISBN): Likewise.
15377 (VERSION, UPDATED): Remove.
15378 (version.texi): Include.
15379
12e5c3b9
AS
153802012-02-27 Andreas Schwab <schwab@linux-m68k.org>
15381
15382 * sysdeps/posix/spawni.c: Include <signal.h>.
15383 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
15384 * sysdeps/pthread/aio_fsync.c: Likewise.
15385
4efeffc1 153862012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 15387
ba63ba08
UD
15388 * conform/Makefile (tests): Run only when not cross-compiling and
15389 when fast-check is not defined.
15390
d94a4670
UD
15391 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
15392 * conform/data/limits.h-data: Fixes for POSIX2008.
15393 * conform/run-conformtest.sh: Run all tests.
15394 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
15395 headers.
15396 * include/bits/dlfcn.h: Likewise.
15397 * include/langinfo.h: Likewise.
15398 * include/monetary.h: Likewise.
15399 * include/sys/poll.h: Likewise.
15400
15401 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
15402 for __USE_GNU.
15403 * posix/spawn.h: Define __need_sigset_t.
15404 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
15405 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
15406 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
15407 to get sigevent_t only.
15408 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
15409 only for __USE_GNU.
15410 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15411 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15412 process_vm_writev only for __USE_GNU.
15413 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
15414
15415 * conform/Makefile: For now ignore errors from run-conformtest.
15416 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
15417 POSIX to avoid namespace pollution. Don't prepend headers.
15418 * conform/data/aio.h-data: Fixes for POSIX testing.
15419 * conform/data/fcntl.h-data: Likewise.
15420 * conform/data/glob.h-data: Likewise.
15421 * conform/data/grp.h-data: Likewise.
15422 * conform/data/pthread.h-data: Likewise.
15423 * conform/data/pwd.h-data: Likewise.
15424 * conform/data/signal.h-data: Likewise.
15425 * conform/data/spawn.h-data: Likewise.
15426 * conform/data/stdio.h-data: Likewise.
15427 * conform/data/stdlib.h-data: Likewise.
15428 * conform/data/stropts.h-data: Likewise.
15429 * conform/data/sys/mman.h-data: Likewise.
15430 * conform/data/sys/stat.h-data: Likewise.
15431 * conform/data/sys/types.h-data: Likewise.
15432 * conform/data/sys/wait.h-data: Likewise.
15433 * conform/data/time.h-data: Likewise.
15434 * conform/data/unistd.h-data: Likewise.
15435 * conform/data/utime.h-data: Likewise.
15436
15437 * io/sys/stat.h: fchmod was always in POSIX.
15438 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
15439 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
15440 * rt/aio.h: Define __need_timespec before including <time.h>.
15441 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
15442 struct. Add forward declaration of pthread_attr_t and use it in
15443 sigevent.
15444 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15445 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15446 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
15447 always remove CLK_TCK definition.
15448
c20105c3
AS
154492012-02-26 Andreas Schwab <schwab@linux-m68k.org>
15450
15451 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
15452
7a270350
UD
154532012-02-25 Ulrich Drepper <drepper@gmail.com>
15454
31341567
UD
15455 * conform/run-conformtest.sh: New file.
15456 * conform/Makefile: Run run-conformtest for tests.
15457 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
15458 support.
15459
15460 * conform/data/uchar.h-data: New file.
15461 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15462 * conform/data/arpa/inet.h-data: Likewise.
15463 * conform/data/assert.h-data: Likewise.
15464 * conform/data/complex.h-data: Likewise.
15465 * conform/data/cpio.h-data: Likewise.
15466 * conform/data/ctype.h-data: Likewise.
15467 * conform/data/dirent.h-data: Likewise.
15468 * conform/data/dlfcn.h-data: Likewise.
15469 * conform/data/errno.h-data: Likewise.
15470 * conform/data/fcntl.h-data: Likewise.
15471 * conform/data/float.h-data: Likewise.
15472 * conform/data/fmtmsg.h-data: Likewise.
15473 * conform/data/fnmatch.h-data: Likewise.
15474 * conform/data/ftw.h-data: Likewise.
15475 * conform/data/glob.h-data: Likewise.
15476 * conform/data/grp.h-data: Likewise.
15477 * conform/data/iconv.h-data: Likewise.
15478 * conform/data/inttypes.h-data: Likewise.
15479 * conform/data/langinfo.h-data: Likewise.
15480 * conform/data/libgen.h-data: Likewise.
15481 * conform/data/limits.h-data: Likewise.
15482 * conform/data/locale.h-data: Likewise.
15483 * conform/data/math.h-data: Likewise.
15484 * conform/data/monetary.h-data: Likewise.
15485 * conform/data/mqueue.h-data: Likewise.
15486 * conform/data/ndbm.h-data: Likewise.
15487 * conform/data/net/if.h-data: Likewise.
15488 * conform/data/netdb.h-data: Likewise.
15489 * conform/data/netinet/in.h-data: Likewise.
15490 * conform/data/nl_types.h-data: Likewise.
15491 * conform/data/poll.h-data: Likewise.
15492 * conform/data/pthread.h-data: Likewise.
15493 * conform/data/pwd.h-data: Likewise.
15494 * conform/data/regex.h-data: Likewise.
15495 * conform/data/sched.h-data: Likewise.
15496 * conform/data/search.h-data: Likewise.
15497 * conform/data/semaphore.h-data: Likewise.
15498 * conform/data/setjmp.h-data: Likewise.
15499 * conform/data/signal.h-data: Likewise.
15500 * conform/data/spawn.h-data: Likewise.
15501 * conform/data/stdarg.h-data: Likewise.
15502 * conform/data/stdio.h-data: Likewise.
15503 * conform/data/stdlib.h-data: Likewise.
15504 * conform/data/string.h-data: Likewise.
15505 * conform/data/strings.h-data: Likewise.
15506 * conform/data/stropts.h-data: Likewise.
15507 * conform/data/sys/ipc.h-data: Likewise.
15508 * conform/data/sys/mman.h-data: Likewise.
15509 * conform/data/sys/msg.h-data: Likewise.
15510 * conform/data/sys/resource.h-data: Likewise.
15511 * conform/data/sys/select.h-data: Likewise.
15512 * conform/data/sys/sem.h-data: Likewise.
15513 * conform/data/sys/shm.h-data: Likewise.
15514 * conform/data/sys/socket.h-data: Likewise.
15515 * conform/data/sys/stat.h-data: Likewise.
15516 * conform/data/sys/statvfs.h-data: Likewise.
15517 * conform/data/sys/time.h-data: Likewise.
15518 * conform/data/sys/timeb.h-data: Likewise.
15519 * conform/data/sys/times.h-data: Likewise.
15520 * conform/data/sys/types.h-data: Likewise.
15521 * conform/data/sys/uio.h-data: Likewise.
15522 * conform/data/sys/un.h-data: Likewise.
15523 * conform/data/sys/utsname.h-data: Likewise.
15524 * conform/data/sys/wait.h-data: Likewise.
15525 * conform/data/syslog.h-data: Likewise.
15526 * conform/data/tar.h-data: Likewise.
15527 * conform/data/termios.h-data: Likewise.
15528 * conform/data/utime.h-data: Likewise.
15529 * conform/data/utmpx.h-data: Likewise.
15530 * conform/data/varargs.h-data: Likewise.
15531 * conform/data/wchar.h-data: Likewise.
15532 * conform/data/wctype.h-data: Likewise.
15533 * conform/data/wordexp.h-data: Likewise.
15534
15535 * include/stropts.h: New file.
15536 * include/uchar.h: New file.
15537 * include/aio.h: Changes to allow conformtest.pl to use the headers.
15538 * include/assert.h: Likewise.
15539 * include/ctype.h: Likewise.
15540 * include/dirent.h: Likewise.
15541 * include/dlfcn.h: Likewise.
15542 * include/fcntl.h: Likewise.
15543 * include/fnmatch.h: Likewise.
15544 * include/glob.h: Likewise.
15545 * include/grp.h: Likewise.
15546 * include/libio.h: Likewise.
15547 * include/locale.h: Likewise.
15548 * include/math.h: Likewise.
15549 * include/net/if.h: Likewise.
15550 * include/netdb.h: Likewise.
15551 * include/netinet/in.h: Likewise.
15552 * include/pthread.h: Likewise.
15553 * include/pwd.h: Likewise.
15554 * include/regex.h: Likewise.
15555 * include/sched.h: Likewise.
15556 * include/search.h: Likewise.
15557 * include/setjmp.h: Likewise.
15558 * include/signal.h: Likewise.
15559 * include/stdio.h: Likewise.
15560 * include/stdlib.h: Likewise.
15561 * include/string.h: Likewise.
15562 * include/sys/cdefs.h: Likewise.
15563 * include/sys/mman.h: Likewise.
15564 * include/sys/msg.h: Likewise.
15565 * include/sys/resource.h: Likewise.
15566 * include/sys/select.h: Likewise.
15567 * include/sys/socket.h: Likewise.
15568 * include/sys/stat.h: Likewise.
15569 * include/sys/statvfs.h: Likewise.
15570 * include/sys/time.h: Likewise.
15571 * include/sys/times.h: Likewise.
15572 * include/sys/uio.h: Likewise.
15573 * include/sys/utsname.h: Likewise.
15574 * include/sys/wait.h: Likewise.
15575 * include/termios.h: Likewise.
15576 * include/time.h: Likewise.
15577 * include/ulimit.h: Likewise.
15578 * include/unistd.h: Likewise.
15579 * include/utime.h: Likewise.
15580 * include/wchar.h: Likewise.
15581 * include/wctype.h: Likewise.
15582 * include/wordexp.h: Likewise.
15583
15584 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
15585
7a270350
UD
15586 * time/time.h: TIME_UTC must be a macro.
15587 Make timespec_get available for ISO C11 only as well.
15588
7724defc
UD
155892012-02-24 Ulrich Drepper <drepper@gmail.com>
15590
15591 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
15592 Reported by Peng Haitao <penght@cn.fujitsu.com>.
15593
6b1d1d46
JM
155942012-02-24 Joseph Myers <joseph@codesourcery.com>
15595
15596 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 15597
0f8bbd69
JM
155982012-02-24 Joseph Myers <joseph@codesourcery.com>
15599
15600 * manual/texinfo.tex: Update to version 2012-01-19.16.
15601
66ab80bc
JM
156022012-02-24 Joseph Myers <joseph@codesourcery.com>
15603
15604 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
15605
74981cc5
RM
156062012-02-24 Roland McGrath <roland@hack.frob.com>
15607
ee968201
RM
15608 [BZ #13738]
15609 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
15610 * manual/fdl-1.3.texi: New file.
15611 * manual/fdl-1.1.texi: File removed.
15612
74981cc5
RM
15613 [BZ #13738]
15614 * manual/libc.texinfo (FDL_VERSION): New @set.
15615 Use it for mention of FDL in cover text.
15616 (Documentation License): Use it in @include file name.
15617
7bb764bc
JM
156182012-02-22 Joseph Myers <joseph@codesourcery.com>
15619 Roland McGrath <roland@hack.frob.com>
15620
15621 [BZ #5461]
15622 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
15623 not LONG_LONG_MAX and LONG_LONG_MIN.
15624 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
15625 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
15626 name.
15627 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
15628
6cbeae47
JM
156292012-02-22 Joseph Myers <joseph@codesourcery.com>
15630
15631 [BZ #2547]
15632 [BZ #11365]
15633 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
15634 manipulate bits before adding and subtracting TWO23[sx].
15635 * math/libm-test.inc (nearbyint_test): Add more tests.
15636
fe45ce09
JM
156372012-02-22 Joseph Myers <joseph@codesourcery.com>
15638
15639 [BZ #2548]
15640 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
15641 bits before adding and subtracting TWO23[sx].
15642 * math/libm-test.inc (rint_test): Add more tests.
15643 (rint_test_tonearest): Likewise.
15644 (rint_test_towardzero): Likewise.
15645 (rint_test_downward): Likewise.
15646 (rint_test_upward: Likewise.
15647
ff3b3d82
JM
156482012-02-22 Joseph Myers <joseph@codesourcery.com>
15649
15650 [BZ #10110]
15651 * include/stdc-predef.h: New file. Extracted from features.h.
15652 * include/features.h: Include stdc-predef.h.
15653 * Makefile (headers): Add stdc-predef.h.
15654 * CONFORMANCE (Compiler limitations): Update.
15655
ef0aab35
JM
156562012-02-22 Joseph Myers <joseph@codesourcery.com>
15657
15658 * manual/libc.texinfo (VERSION, UPDATED): Revert.
15659
58639409
DM
156602012-02-21 David S. Miller <davem@davemloft.net>
15661
15662 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
15663 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15664
c0e70b25
DM
156652012-02-20 David S. Miller <davem@davemloft.net>
15666
15667 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
15668 using a normal save/restore sequence, rather than allocating a
15669 dummy stack frame just to store a frame pointer and restore.
15670 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15671
fb06851d
JM
156722012-02-21 Joseph Myers <joseph@codesourcery.com>
15673
15674 * manual/install.texi: Fix stray word in line-wrapped comment.
15675
7a8b71c3
DM
156762012-02-20 David S. Miller <davem@davemloft.net>
15677
d510c123
DM
15678 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
15679 both binutils and gcc support GOTDATA.
15680
0722d7c2
DM
15681 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
15682 "rd %pc" in the PIC register setup sequences.
15683
3d2b3019
DM
15684 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15685 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15686 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15687 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15688 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15689 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15690 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15691 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15692 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15693 (SYSCALL_ERROR_HANDLER): Likewise.
15694 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15695 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15696 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15697 (SYSCALL_ERROR_HANDLER): Likewise.
15698
c80098a9
DM
15699 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15700 (HAVE_GCC_GOTDATA): New.
15701 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15702 relocation support in both binutils and gcc.
15703 * sysdeps/sparc/elf/configure: Regenerate.
15704
3a2545a0
DM
15705 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15706 * sysdeps/sparc/sparc32/elf/configure: Delete.
15707 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15708 * sysdeps/sparc/sparc64/elf/configure: Delete.
15709 * sysdeps/sparc/elf/configure.in: New file.
15710 * sysdeps/sparc/elf/configure: Generate.
15711
7a8b71c3
DM
15712 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15713 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15714 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15715 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15716 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15717
f1e86fca
JM
157182012-02-21 Joseph Myers <joseph@codesourcery.com>
15719
15720 * manual/install.texi: Do not mention specific glibc version
15721 numbers.
15722 * manual/libc.texinfo (VERSION, UPDATED): Update.
15723 (@copying): Use @copyright{} and range of years.
15724
0e7dfaef
JM
157252012-02-21 Joseph Myers <joseph@codesourcery.com>
15726
15727 [BZ #13695]
15728 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15729 [crti.S not in sysdirs] (generated): Do not append.
15730 [crti.S not in sysdirs] (omit-deps): Likewise.
15731 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15732 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15733 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15734 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15735 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15736 Likewise.
15737 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15738 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15739 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15740 * csu/defs.awk: Remove file.
15741 * sysdeps/generic/initfini.c: Likewise.
15742 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15743 variable.
15744 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15745 Likewise.
15746
599af3ca
JM
157472012-02-20 Joseph Myers <joseph@codesourcery.com>
15748
15749 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15750 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15751 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15752 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15753 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15754 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15755 <bits/epoll.h>.
15756 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15757 (__EPOLL_PACKED): Define to empty if not defined by
15758 <bits/epoll.h>.
15759 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15760 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15761 bits/epoll.h.
15762
0e499750
JM
157632012-02-20 Joseph Myers <joseph@codesourcery.com>
15764
15765 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15766 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15767 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15768 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15769 <bits/timerfd.h>.
15770 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15771 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15772 bits/timerfd.h.
15773
5ad91f6e
JM
157742012-02-20 Joseph Myers <joseph@codesourcery.com>
15775
15776 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15777 in C locale.
15778 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15779 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15780 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15782
06b99b02
AJ
157832012-02-20 Aurelien Jarno <aurelien@aurel32.net>
15784
15785 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15786 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15787
7638c0fd
AS
157882012-02-19 Andreas Schwab <schwab@linux-m68k.org>
15789
15790 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15791 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15792 defined.
15793 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15794 Likewise.
15795 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15796 entry for 2.16.
15797
92221550
AJ
157982012-02-19 Aurelien Jarno <aurelien@aurel32.net>
15799
15800 * math/w_acos.c: Use non-signaling floating-point comparisons.
15801 * math/w_acosf.c: Likewise.
15802 * math/w_acosh.c: Likewise.
15803 * math/w_acoshf.c: Likewise.
15804 * math/w_acoshl.c: Likewise.
15805 * math/w_acosl.c: Likewise.
15806 * math/w_asin.c: Likewise.
15807 * math/w_asinf.c: Likewise.
15808 * math/w_asinl.c: Likewise.
15809 * math/w_atanh.c: Likewise.
15810 * math/w_atanhf.c: Likewise.
15811 * math/w_atanhl.c: Likewise.
15812 * math/w_exp2.c: Likewise.
15813 * math/w_exp2f.c: Likewise.
15814 * math/w_exp2l.c: Likewise.
15815 * math/w_j0.c: Likewise.
15816 * math/w_j0f.c: Likewise.
15817 * math/w_j0l.c: Likewise.
15818 * math/w_j1.c: Likewise.
15819 * math/w_j1f.c: Likewise.
15820 * math/w_j1l.c: Likewise.
15821 * math/w_jn.c: Likewise.
15822 * math/w_jnf.c: Likewise.
15823 * math/w_log.c: Likewise.
15824 * math/w_log10.c: Likewise.
15825 * math/w_log10f.c: Likewise.
15826 * math/w_log10l.c: Likewise.
15827 * math/w_log2.c: Likewise.
15828 * math/w_log2f.c: Likewise.
15829 * math/w_log2l.c: Likewise.
15830 * math/w_logf.c: Likewise.
15831 * math/w_logl.c: Likewise.
15832 * math/w_sqrt.c: Likewise.
15833 * math/w_sqrtf.c: Likewise.
15834 * math/w_sqrtl.c: Likewise.
15835 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15836 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15837 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15838 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15839 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15840
ebaf36eb
JM
158412012-02-19 Joseph Myers <joseph@codesourcery.com>
15842
15843 [BZ #9739]
15844 * manual/string.texi (strnlen): Use correct parameter name in
15845 equivalent expression.
15846
71c254a6
JM
158472012-02-19 Joseph Myers <joseph@codesourcery.com>
15848
15849 [BZ #11174]
15850 * manual/users.texi (seteuid): Consistently use neweuid for
15851 argument name.
15852
16d2c631
JM
158532012-02-19 Joseph Myers <joseph@codesourcery.com>
15854
15855 [BZ #13704]
15856 * manual/nss.texi (Services in the NSS configuration): Correct
15857 list of services in example configuration file.
15858
cd837b09
NB
158592012-02-19 Nick Bowler <nbowler@draconx.ca>
15860
15861 [BZ #11322]
15862 * manual/arith.texi: Remove statements about negative zero
15863 behaving identically to zero.
15864
02c4bbad
JM
158652012-02-18 Joseph Myers <joseph@codesourcery.com>
15866
15867 [BZ #5993]
15868 * manual/install.texi: Do not document upgrading from libc5.
15869
366842e7
JM
158702012-02-18 Joseph Myers <joseph@codesourcery.com>
15871
15872 [BZ #4596]
15873 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15874
dd54084d
DM
158752012-02-18 David S. Miller <davem@davemloft.net>
15876
15877 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15878 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15879 %o7 across the call.
15880 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15881 instead.
15882 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15883 SETUP_PIC_REG_LEAF.
15884 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15885 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15886 * sysdeps/sparc/crtn.S: Likewise.
15887
2bcc53a3
UD
158882012-02-17 Ulrich Drepper <drepper@gmail.com>
15889
15890 * aout/Makefile: Remove.
15891
09c093b5
RK
158922012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
15893
15894 [BZ #13058]
15895 * manual/examples/argp-ex1.c (main): Format definition in GNU
15896 style.
15897 * manual/examples/argp-ex2.c (main): Likewise.
15898 * manual/examples/argp-ex3.c (main): Likewise.
15899 * manual/examples/argp-ex4.c (main): Likewise.
15900 * manual/examples/longopt.c (main): Use new-style prototype
15901 definition.
15902 * manual/examples/strncat.c (main): Specify return type and use
15903 (void) for arguments.
15904 * manual/examples/subopt.c (main): Use char **argv argument.
15905
2ee633a2
JM
159062012-02-17 Joseph Myers <joseph@codesourcery.com>
15907
15908 [BZ #5077]
15909 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15910 rounding modes.
15911
0520adde
FB
159122012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
15913
15914 [BZ #6907]
15915 * manual/string.texi (strchr): Change when strchrnul is
15916 recommended.
15917
3f4081cd
DGM
159182012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
15919
15920 [BZ #174]
15921 * manual/locale.texi (setlocale): Document LOCPATH.
15922
d1b10e78
JM
159232012-02-17 Joseph Myers <joseph@codesourcery.com>
15924
15925 [BZ #10210]
15926 * manual/process.texi (execle): Move @dots{} before last argument.
15927
79c6869c
PB
159282012-02-17 Paul Bolle <pebolle@tiscali.nl>
15929
15930 [BZ #12047]
15931 * manual/charset.texi (Generic Charset Conversion): Fix typo
15932 (LC_TYPE -> LC_CTYPE).
15933
cc6e48bc
NB
159342012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
15935
15936 [BZ #5805]
15937 * manual/arith.texi (scalbn): Use @var{} on parameter names.
15938 (scalbnf): Likewise.
15939 (scalbnl): Likewise.
15940 (scalbln): Likewise.
15941 (scalblnf): Likewise.
15942 (scalblnl): Likewise.
15943 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15944 (vwarnx): Likewise.
15945 (verr): Likewise.
15946 (verrx): Likewise.
15947 * manual/filesys.texi (telldir): Use braces around return type.
15948 * manual/llio.texi (mmap): Add space after comma.
15949 (mmap64): Likewise.
15950 * manual/math.texi (jn): Use @var{} on parameter names.
15951 (jnf): Likewise.
15952 (jnl): Likewise.
15953 (yn): Likewise.
15954 (ynf): Likewise.
15955 (ynl): Likewise.
15956 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15957 line.
15958 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15959 "...".
15960 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15961 (sched_get_priority_max): Likewise.
15962 * manual/signal.texi (sigvec): Add space after comma.
15963 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15964 names.
15965 (if_indextoname): Likewise.
15966 (if_freenameindex): Likewise.
15967 (sendto): Use ',' instead of '.' in prototype.
15968 * manual/startup.texi (syscall): Use @dots{} instead of literal
15969 "...".
15970 * manual/stdio.texi (__fpending): Separate initial words of
15971 paragraph from @deftypefun line.
15972 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15973 "...".
15974 (vsyslog): Use @var{} on parameter names.
15975 * manual/terminal.texi (stty): Use @var{} on parameter names.
15976 * manual/users.texi (getutmp): Use @var{} on parameter names.
15977 (getutmpx): Likewise.
15978
5b23062f
JM
159792012-02-17 Joseph Myers <joseph@codesourcery.com>
15980
15981 [BZ #6884]
15982 * manual/stdio.texi (fopen): Fix typos in description of
15983 ",ccs=STRING".
15984
8dee4833
AJ
159852012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15986
15987 [BZ #4026]
15988 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15989 get clock_id definition.
15990
9078ce93
TS
159912012-02-17 Thomas Schwinge <thomas@schwinge.name>
15992
15993 [BZ #4822]
15994 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15995 (madvise): Cast every argument to void on its own.
15996
3835c55f
JM
159972012-02-17 Joseph Myers <joseph@codesourcery.com>
15998
15999 [BZ #9902]
16000 * manual/startup.texi (Exit Status): Fix typo.
16001
35c47e37
JM
160022012-02-17 Joseph Myers <joseph@codesourcery.com>
16003
16004 [BZ #10140]
16005 * manual/examples/argp-ex1.c: Include <stdlib.h>.
16006 * manual/examples/argp-ex2.c: Likewise.
16007 * manual/examples/argp-ex3.c: Likewise.
16008
e3b69ca7
RH
160092012-02-16 Richard Henderson <rth@redhat.com>
16010
16011 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
16012 * sysdeps/s390/s390-32/initfini.c: Remove.
16013 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
16014 * sysdeps/s390/s390-64/initfini.c: Remove.
16015
df83af67
KK
160162012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16017
16018 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
16019 compiler output for sysdeps/generic/initfini.c.
16020 * sysdeps/sh/elf/initfini.c: Remove file.
16021
f63f3380
DM
160222012-02-16 David S. Miller <davem@davemloft.net>
16023
fb59b3a4
DM
16024 [BZ #11494]
16025 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
16026
f63f3380
DM
16027 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
16028 * sysdeps/sparc/crti.S: New file.
16029 * sysdeps/sparc/crtn.S: New file.
16030 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
16031 * sysdeps/sparc/sparc64/Makefile: Likewise.
16032
df6a4a4a
MF
160332012-02-15 Mike Frysinger <vapier@gentoo.org>
16034
6dd8f3dc 16035 [BZ #3335]
df6a4a4a
MF
16036 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
16037
1cac7236
RM
160382012-02-15 Roland McGrath <roland@hack.frob.com>
16039
d2c736f8
RM
16040 [BZ #4822]
16041 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
16042
1cac7236
RM
16043 * mach/devstream.c (cookie_io_functions_t): Macro removed.
16044 (write, read, close): Likewise.
16045 Patch by Aurelien Jarno <aurelien@aurel32.net>.
16046
8e475601
JM
160472012-02-15 Joseph Myers <joseph@codesourcery.com>
16048
16049 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
16050 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
16051 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
16052 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
16053 <bits/signalfd.h>.
16054 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
16055 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16056 bits/signalfd.h.
16057
ed656b40
MP
160582012-02-14 Marek Polacek <polacek@redhat.com>
16059
16060 * sysdeps/x86_64/crti.S: New file.
16061 * sysdeps/x86_64/crtn.S: New file.
16062 * sysdeps/x86_64/elf/initfini.c: Remove file.
16063
2a979d3a
JM
160642012-02-13 Joseph Myers <joseph@codesourcery.com>
16065
16066 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
16067 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
16068 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
16069 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
16070 <bits/inotify.h>.
16071 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
16072 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16073 bits/inotify.h.
16074
2a418ac3
JM
160752012-02-13 Joseph Myers <joseph@codesourcery.com>
16076
16077 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
16078 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
16079 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
16080 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
16081 <bits/eventfd.h>.
16082 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
16083 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16084 bits/eventfd.h.
16085
fb779be7
TS
160862012-02-10 Thomas Schwinge <thomas@codesourcery.com>
16087
e19e83c5
RM
16088 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
16089 __feraiseexcept instead of feraiseexcept.
7c35ffed 16090
fb779be7
TS
16091 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
16092 nanosleep invocations.
16093 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
16094 strings, and add error checking for a nanosleep invocations.
16095
59ba27a6
PE
160962012-02-09 Paul Eggert <eggert@cs.ucla.edu>
16097
16098 Replace FSF snail mail address with URLs, as per GNU coding standards.
16099 Most of the snail mail addresses were wrong anyway, and omitting
16100 them makes the source code easier to maintain. Almost all of the
16101 changes are to license notices and to locale LC_IDENTIFICATION
16102 addresses, except for this one:
16103 * manual/libc.texinfo: In "Published by", give the FSF's URL,
16104 not its snail mail address.
16105
57b957eb
RH
161062012-02-09 Richard Henderson <rth@twiddle.net>
16107
af850b1c
RH
16108 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
16109 of kernel-features.h.
16110
57b957eb
RH
16111 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
16112
6b73181a
MP
161132012-02-08 Marek Polacek <polacek@redhat.com>
16114
16115 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
16116 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
16117 * sysdeps/gnu/_G_config.h: Likewise.
16118 * sysdeps/generic/_G_config.h: Likewise.
16119
26ecc33a
AS
161202012-02-08 Andreas Schwab <schwab@linux-m68k.org>
16121
6c6dbc63
AS
16122 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
16123 tests.
16124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16125
e216c012
AS
16126 * sysdeps/powerpc/powerpc32/crti.S: New file.
16127 * sysdeps/powerpc/powerpc32/crtn.S: New file.
16128 * sysdeps/powerpc/powerpc64/crti.S: New file.
16129 * sysdeps/powerpc/powerpc64/crtn.S: New file.
16130
26ecc33a
AS
16131 * Makeconfig (have-initfini): Don't set.
16132 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
16133 * configure.in (nopic_initfini): Don't substitute.
16134 * config.h.in (HAVE_INITFINI): Don't #undef.
16135 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
16136 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
16137
3add8e13
JM
161382012-02-08 Joseph Myers <joseph@codesourcery.com>
16139
16140 Support crti.S and crtn.S provided directly by architectures.
16141 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
16142 [crti.S in sysdirs] (omit-deps): Likewise.
16143 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
16144 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
16145 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
16146 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
16147 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
16148 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
16149 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
16150 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
16151 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
16152 compiler output for sysdeps/generic/initfini.c.
16153 * sysdeps/i386/elf/Makefile: Remove file.
16154 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
16155
a22f12b4
MP
161562012-02-07 Marek Polacek <polacek@redhat.com>
16157
16158 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
16159 * sysdeps/gnu/_G_config.h: Likewise.
16160 * sysdeps/mach/hurd/_G_config.h: Likewise.
16161
148cf100
MP
161622012-02-07 Marek Polacek <polacek@redhat.com>
16163
16164 * math/Makefile (tests): Add tst-CMPLX2.
16165 * math/tst-CMPLX2.c: New file.
16166
cfdc0dd7
AS
161672012-02-07 Andreas Schwab <schwab@linux-m68k.org>
16168
84ba42c4
AS
16169 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16170
cfdc0dd7
AS
16171 * math/libm-test.inc (jn_test): Add missing L suffix.
16172
622c86f4
MP
161732012-02-06 Marek Polacek <polacek@redhat.com>
16174
16175 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
16176 * sysdeps/i386/fpu/e_powf.S: Likewise.
16177 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16178 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16179 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16180 * sysdeps/i386/fpu/e_pow.S: Likewise.
16181 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16182 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16183 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16184 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16185 * sysdeps/i386/fpu/e_log2.S: Likewise.
16186 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16187 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16188 * sysdeps/i386/fpu/e_powl.S: Likewise.
16189 * sysdeps/i386/fpu/s_log1p.S: Likewise.
16190 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16191 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16192 * sysdeps/i386/fpu/e_logl.S: Likewise.
16193 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16194 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
16195 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16196 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16197 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16198 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16199 * sysdeps/i386/fpu/e_log.S: Likewise.
16200 * sysdeps/i386/fpu/s_cexp.S: Likewise.
16201 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16202 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
16203 * sysdeps/i386/fpu/e_logf.S: Likewise.
16204 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16205 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16206 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
16207 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16208 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16209 * sysdeps/i386/fpu/e_log10.S: Likewise.
16210 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16211 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16212 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16213 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16214 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16215 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16216 * sysdeps/i386/asm-syntax.h: Likewise.
16217 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16218 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16219 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16220 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
16221 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
16222 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16223 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16224 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16225 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16226 * sysdeps/powerpc/sysdep.h: Likewise.
16227 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
16228 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16229
d4a54ac6
JM
162302012-02-06 Joseph Myers <joseph@codesourcery.com>
16231
16232 [BZ #411]
16233 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
16234
314054ea
JM
162352012-02-06 Joseph Myers <joseph@codesourcery.com>
16236
16237 * sysdeps/i386/sysdep.h: Include <features.h>.
16238 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
16239 version.
16240
d8e0ca50
JM
162412012-02-05 Joseph Myers <joseph@codesourcery.com>
16242
16243 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
16244 Define.
16245 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
16246 LOAD_PIC_REG_STR.
16247
b1da7dd9
JM
162482012-02-03 Joseph Myers <joseph@codesourcery.com>
16249
16250 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
16251 (SETUP_PIC_REG): Use GET_PC_THUNK.
16252 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
16253 macro.
16254
9a1d9254
JM
162552012-02-03 Joseph Myers <joseph@codesourcery.com>
16256
16257 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
16258 for non-PIC compilation.
16259 (SETUP_PIC_REG): Add .p2align directive.
16260 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
16261 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16262 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16263 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16264 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16265 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16266 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16267 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16268 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16269 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16270 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16271 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16272 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16273 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16274 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16275 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16276 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16277 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16278 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16279 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16280 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16281 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16282 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16283 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16284 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16285 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16286 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16287 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16288 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16289 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16290 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16291 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16292 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16293 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16294 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16295 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16296 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16297 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16298 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16299 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16300 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16301
65dc3b75
JM
163022012-02-03 Joseph Myers <joseph@codesourcery.com>
16303
16304 * math/tst-CMPLX.c: Include <stdio.h>.
16305
d55bf177
JM
163062012-01-31 Joseph Myers <joseph@codesourcery.com>
16307
16308 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
16309 float.
16310 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16311 * sysdeps/sparc/bits/mathdef.h: Likewise.
16312
69db4f8f
MP
163132012-01-31 Marek Polacek <polacek@redhat.com>
16314
16315 * libio/libio.h: Don't define _PARAMS.
16316 * locale/programs/config.h: Don't define PARAMS.
16317 * stdlib/strtol_l.c: Likewise.
16318 (__strtol_l): Remove PARAMS from the prototype.
16319
41b81892
UD
163202012-01-31 Ulrich Drepper <drepper@gmail.com>
16321
3b49edc0
UD
16322 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
16323 names. Just use the correct names. Remove unnecessary wrapper
16324 functions.
16325 * malloc/arena.c: Likewise.
16326 * malloc/hooks.c: Likewise.
16327
41b81892
UD
16328 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
16329 ARENA_TEST says not to. Simplify test for creation of a new arena.
16330 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
16331
27a25b6e
UD
163322012-01-30 Ulrich Drepper <drepper@gmail.com>
16333
16334 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
16335 into tail calls.
16336 (update_get_addr): New function.
16337 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
16338 GET_ADDR_MODULE parameter.
16339
c8a89e7d
JM
163402012-01-30 Joseph Myers <joseph@codesourcery.com>
16341
16342 * crypt/cert.c: Remove __STDC__ conditionals.
16343 * crypt/crypt-entry.c: Likewise.
16344 * crypt/crypt_util.c: Likewise.
16345 * libio/filedoalloc.c: Likewise.
16346 * libio/fileops.c: Likewise.
16347 * libio/genops.c: Likewise.
16348 * libio/iofclose.c: Likewise.
16349 * libio/iofdopen.c: Likewise.
16350 * libio/iofopen.c: Likewise.
16351 * libio/iofopen64.c: Likewise.
16352 * libio/iogetdelim.c: Likewise.
16353 * libio/iopopen.c: Likewise.
16354 * libio/obprintf.c: Likewise.
16355 * libio/oldfileops.c: Likewise.
16356 * libio/oldiofclose.c: Likewise.
16357 * libio/oldiofdopen.c: Likewise.
16358 * libio/oldiofopen.c: Likewise.
16359 * libio/oldiopopen.c: Likewise.
16360 * libio/wfiledoalloc.c: Likewise.
16361 * libio/wgenops.c: Likewise.
16362 * locale/programs/xmalloc.c: Likewise.
16363 * misc/syslog.c: Likewise.
16364 * stdio-common/xbug.c: Likewise.
16365 * string/memchr.c: Likewise.
16366 * string/memcmp.c: Likewise.
16367 * string/memrchr.c: Likewise.
16368 * string/rawmemchr.c: Likewise.
16369 * sysdeps/posix/getcwd.c: Likewise.
16370 * time/strftime_l.c: Likewise.
16371
3b100462
JM
163722012-01-30 Joseph Myers <joseph@codesourcery.com>
16373
16374 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
16375 * config.make.in (config-cflags-sse2avx): Define.
16376 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
16377 Fix typo.
16378
607998af
CM
163792012-01-29 Chris Metcalf <cmetcalf@tilera.com>
16380
16381 * scripts/config.guess: Update from upstream config git repository.
16382 * scripts/config.sub: Likewise.
16383
3601428f
CM
163842012-01-28 Chris Metcalf <cmetcalf@tilera.com>
16385
3ac8b282
CM
16386 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
16387 (EM_NUM): Update.
16388 (R_TILEPRO_*, R_TILEGX_*): New macros.
16389
e034841e
CM
16390 * scripts/firstversions.awk: Fix bug in version range handling.
16391
540d7568
CM
16392 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
16393
3601428f
CM
16394 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
16395
463de862
CM
16396 * include/sys/epoll.h: New file.
16397 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
16398 libc_hidden_def.
16399
73139a76
UD
164002012-01-28 Ulrich Drepper <drepper@gmail.com>
16401
96bc5b45
UD
16402 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
16403 Avoid unnecessary __WORDSIZE == 64 test.
16404 (fmaxf): Use VEX format if possible.
16405 (fmax): Likewise.
16406 (fminf): Likewise.
16407 (fmin): Likewise.
16408
56f6f6a2
UD
16409 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
16410 * math/math_private.h: Remove libc_fegetround* and
16411 libc_fesetround*.
16412 * sysdeps/i386/configure.in: Check for -msse2avx.
16413 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
16414 also if SSE2AVX is defined.
16415 Remove libc_fegetround* and libc_fesetround*.
16416 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
16417 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
16418 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
16419 of HAS_YMM_USABLE.
16420 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16421 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16422 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16423 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16424 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16425
73139a76
UD
16426 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
16427
d73f93a4
AZ
164282012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16429
16430 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
16431 size is not set.
16432 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16433
6ee65ed6
UD
164342012-01-27 Ulrich Drepper <drepper@gmail.com>
16435
16436 [BZ #13618]
16437 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
16438 relocation.
16439 * Makeconfig (libm): Define.
16440 * elf/Makefile: Add rules to build and run tst-relsort1.
16441 * elf/tst-relsort1.c: New file.
16442 * elf/tst-relsort1mod1.c: New file.
16443 * elf/tst-relsort1mod2.c: New file.
16444
8db21882
JM
164452012-01-27 Joseph Myers <joseph@codesourcery.com>
16446
16447 * math/s_ldexp.c: Remove __STDC__ conditionals.
16448 * math/s_ldexpf.c: Likewise.
16449 * math/s_ldexpl.c: Likewise.
16450 * math/s_nextafter.c: Likewise.
16451 * math/s_nexttowardf.c: Likewise.
16452 * math/s_significand.c: Likewise.
16453 * math/s_significandf.c: Likewise.
16454 * math/s_significandl.c: Likewise.
16455 * math/w_jnl.c: Likewise.
16456 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16457 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16458 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16459 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16460 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16461 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16462 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
16463 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16464 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16465 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16466 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16467 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16468 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16469 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16470 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16471 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16472 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16473 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16474 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16475 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16476 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16477 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16478 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16479 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16480 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16481 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16482 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16483 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16484 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16485 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16486 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16487 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16488 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16489 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16490 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16491 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16492 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16493 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16494 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16495 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16496 * sysdeps/ieee754/k_standard.c: Likewise.
16497 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16498 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16499 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16500 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16501 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16502 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16503 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16504 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16505 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16506 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16507 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16508 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16509 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16510 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16511 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16512 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16513 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16514 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16515 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16516 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16517 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16518 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16519 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16520 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16521 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16522 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16523 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16524 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16525 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16526 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16527 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16528 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
16529 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16530 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16531 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16532 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16533 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
16534 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16535 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16536 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
16537 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
16538 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16539 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16540 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
16541 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16542 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16543 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16544 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16545 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16546 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16547 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
16548 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16549 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16550 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16551 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16552 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16553 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
16554 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16555 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16556 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16557 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16558 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16559 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16560 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16561 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16562 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16563 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16564 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16565 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16566 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16567 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16568 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16569 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16570 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16571 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16572 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16573 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16574 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16575 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16576 * sysdeps/ieee754/s_matherr.c: Likewise.
16577 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16578 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16579 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16580 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16581
965a54a4
JM
165822012-01-26 Joseph Myers <joseph@codesourcery.com>
16583
16584 * crypt/md5.h: Remove __STDC__ conditionals.
16585 * libio/libioP.h: Likewise.
16586 * locale/programs/config.h: Likewise.
16587 * sysdeps/generic/sysdep.h: Likewise.
16588 * sysdeps/i386/asm-syntax.h: Likewise.
16589 * sysdeps/s390/asm-syntax.h: Likewise.
16590 * sysdeps/unix/sysdep.h: Likewise.
16591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16593
7071ad79
JM
165942012-01-26 Joseph Myers <joseph@codesourcery.com>
16595
16596 * libio/libio.h: Remove __STDC__ conditionals.
16597 * malloc/obstack.h: Likewise.
16598 * math/complex.h: Likewise.
16599 * math/math.h: Likewise.
16600 * sysdeps/generic/_G_config.h: Likewise.
16601 * sysdeps/gnu/_G_config.h: Likewise.
16602 * sysdeps/mach/hurd/_G_config.h: Likewise.
16603 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16604 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16605 * sysdeps/sparc/bits/mathdef.h: Likewise.
16606
afc5ed09
UD
166072012-01-26 Ulrich Drepper <drepper@gmail.com>
16608
16609 [BZ #13583]
16610 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 16611 Clean up HAS_* macros.
afc5ed09 16612 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
16613 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
16614 possible.
16615 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
16616 HAS_AVX.
16617 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16618 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16619 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16620 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16621 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 16622
bdb6de1d
JM
166232012-01-25 Joseph Myers <joseph@codesourcery.com>
16624
16625 * elf/tst-unique3.cc (gets): Remove declaration.
16626 * elf/tst-unique3lib.cc (gets): Likewise.
16627 * elf/tst-unique3lib2.cc (gets): Likewise.
16628 * elf/tst-unique4.cc (gets): Likewise.
16629
b15549e6
UD
166302012-01-24 Ulrich Drepper <drepper@gmail.com>
16631
16632 * include/stdio.h: Add C++ protection. Add gets declarations and
16633 definitions.
16634 * debug/tst-chk1.c: Don't declare gets here.
16635 * stdio-common/tst-gets.c: Likewise.
16636
a037381f
JM
166372012-01-24 Joseph Myers <joseph@codesourcery.com>
16638
16639 * posix/glob: Remove directory.
16640
f1d4aa75
JM
166412012-01-24 Joseph Myers <joseph@codesourcery.com>
16642
16643 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16644
81c0c964
PT
166452012-01-22 Pino Toscano <toscano.pino@tiscali.it>
16646
16647 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16648 of the non-standard EPFNOSUPPORT.
16649
0ea698ae
ST
166502011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
16651
16652 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16653 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16654 ANYWHERE set to 1 only on KERN_NO_SPACE error.
16655
d220b117
UD
166562012-01-21 Ulrich Drepper <drepper@gmail.com>
16657
16658 * wcsmbs/uchar.h: Test __STDC_VERSION__.
16659
3e1aa84e
UD
166602012-01-20 Ulrich Drepper <drepper@gmail.com>
16661
16662 * nscd/aicache.c (addhstaiX): Do not cache negative results of
16663 transient errors.
16664 * nscd/grpcache.c (cache_addgr): Likewise.
16665 * nscd/hstcache.c (cache_addhst): Likewise.
16666 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16667 * nscd/pwdcache.c (cache_addpw): Likewise.
16668 * nscd/servicescache.c (cache_addserv): Likewise.
16669
400aa020
UD
166702012-01-16 Ulrich Drepper <drepper@gmail.com>
16671
d77e7869
UD
16672 * malloc/malloc.c: Various cleanups.
16673 * malloc/hooks.c: Likewise.
16674
400aa020
UD
16675 * stdlib/Makefile (tests): Add bug-fmtmsg1.
16676 * stdlib/bug-fmtmsg1.c: New file.
16677
16678 * stdlib/fmtmsg.c (init): Add missing unlock.
16679 Patch by Peng Haitao <penght@cn.fujitsu.com>.
16680
e0a309cf
MP
166812012-01-12 Marek Polacek <polacek@redhat.com>
16682
16683 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
16684 and _GNU_SOURCE.
16685
929d11c7
WS
166862012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16687
16688 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16689 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16690 macro to ensure uniqueness of label name.
16691 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16692 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16693
41d0e869
UD
166942012-01-11 Ulrich Drepper <drepper@gmail.com>
16695
0cc5ed3b
UD
16696 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16697
41d0e869
UD
16698 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16699 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16700 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16701 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16702
a47a831a
UD
167032012-01-10 Ulrich Drepper <drepper@gmail.com>
16704
daa891c0
UD
16705 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16706
16707 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16708 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16709 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16710
e58ef0f2
UD
16711 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16712
a47a831a 16713 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
16714 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16715 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 16716 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
16717
16718 * math/bits/math-finite.h: Add ldexp support.
16719
a0bfc9c7
MP
167202012-01-10 Marek Polacek <polacek@redhat.com>
16721
16722 * locale/programs/localedef.h (show_archive_content): Add noreturn
16723 attribute.
16724
d6e97a1d
UD
167252012-01-09 Ulrich Drepper <drepper@gmail.com>
16726
16727 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16728
d5835c26
UD
167292012-01-08 Ulrich Drepper <drepper@gmail.com>
16730
e5f484c6
UD
16731 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16732
d5835c26
UD
16733 * io/Makefile (headers): Add bits/poll2.h.
16734
d1f741e9
WS
167352011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
16736
16737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16738 typo #include statement.
16739
ec09c1c4
UD
167402012-01-08 Ulrich Drepper <drepper@gmail.com>
16741
16742 * include/sys/cdefs.h: Define __attribute_alloc_size.
16743 * catgets/gencat.c: Add alloc_size attribute and apply consistently
16744 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16745 * elf/pldd.c: Likewise.
16746 * iconv/iconv_charmap.c: Likewise.
16747 * iconv/iconvconfig.c: Likewise.
16748 * iconv/strtab.c: Likewise.
16749 * locale/programs/locale.c: Likewise.
16750 * locale/programs/localedef.h: Likewise.
16751 * locale/programs/simple-hash.c: Likewise.
16752 * nscd/nscd.h: Likewise.
16753 * nss/makedb.c: Likewise.
16754 * sysdeps/generic/ldconfig.h: Likewise.
16755 * locale/programs/localedef.c: Remove xmalloc prototype.
16756 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16757
20b38e03
PP
167582012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16759
16760 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16761 appropriate.
16762
a0da5fe1
UD
167632012-01-08 Ulrich Drepper <drepper@gmail.com>
16764
1d5a644a 16765 * math/Makefile (tests): Add tst-CMPLX.
669704fd 16766 * math/tst-CMPLX.c: New file.
1d5a644a 16767
8784a6db
UD
16768 * math/complex.h (CMPLXL): Fix typo.
16769
d9a216c0
UD
16770 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16771 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16772 GLIBC_2.16.
16773 * debug/tst-chk1.c: Add poll and ppoll tests.
16774 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16775 * include/sys/poll.h: Add hidden proto for ppoll.
16776 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16777 * sysdeps/mach/hurd/ppoll.c: Likewise.
16778 * io/ppoll.c: Likewise.
16779 * debug/poll_chk.c: New file.
16780 * debug/ppoll_chk.c: New file.
16781 * include/bits/poll2.h: New file.
16782 * io/bits/poll2.h: New file.
16783
ac097f5c
UD
16784 [BZ #1350]
16785 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16786
2119dcfa
UD
16787 * configure.in: static is always set to yes. Remove.
16788 * config.make.in: Don't set build-static.
16789 * Makeconfig: Remove use of build-static.
16790 * dlfcn/Makefile: Likewise.
16791 * elf/Makefile: Likewise.
16792 * math/Makefile: Likewise.
16793 * misc/Makefile: Likewise.
16794 * nptl/Makefile: Likewise.
16795 * sysdeps/mach/hurd/Makefile: Likewise.
16796
121766a9
UD
16797 * configure.in: PWD_P is not used anymore.
16798 * config.make.in: Remove PWD_P entry.
16799
51a1d39c 16800 * configure.in: Remove last remnants of RANLIB.
8720d066 16801 No need to check for signed size_t anymore.
215f4bdc
UD
16802 Don't set libc_commonpagesize and libc_relro_required here for Alpha
16803 and IA-64.
3857022a 16804 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
16805 * aclocal.m4: Likewise.
16806
d3ed7225
UD
16807 * wcsmbs/mbrtoc16.c: Implement using towc function.
16808 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16809 * wcsmbs/wcsmbsload.c: Likewise.
16810 * iconv/gconv_simple.c: Likewise.
16811 * iconv/gconv_int.h: Likewise.
16812 * iconv/gconv_builtin.h: Likewise.
16813 * iconv/iconv_prog.c: Remove CHAR16 handling.
16814
16815 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16816
16817 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16818
a0da5fe1
UD
16819 * configure.in: Remove --with-elf and --enable-bounded options.
16820 Dont set base_machine for ia64. More non-ELF conditions removed.
16821 Remove testing and setting of leading underscore information.
16822 * config.make.in (build-bounded): Set to no.
16823 * config.h.in: Remove NO_UNDERSCORES entry.
16824 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
16825 them.
16826 * csu/start.c: Remove !NO_UNDERSCORE code.
16827 * locale/localeinfo.h: Likewise.
16828 * sysdeps/generic/machine-gmon.h: Likewise.
16829 * sysdeps/generic/sysdep.h: Likewise.
16830 * sysdeps/i386/sysdep.h: Likewise.
16831 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16832 * sysdeps/mach/sysdep.h: Likewise.
16833 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16834 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16835 * sysdeps/sh/sysdep.h: Likewise.
16836 * sysdeps/sparc/sparc32/alloca.S: Likewise.
16837 * sysdeps/unix/i386/sysdep.S: Likewise.
16838 * sysdeps/unix/sparc/start.c: Likewise.
16839 * sysdeps/unix/sparc/sysdep.S: Likewise.
16840 * sysdeps/unix/sparc/sysdep.h: Likewise.
16841 * sysdeps/unix/start.c: Likewise.
16842 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16843 * sysdeps/x86_64/sysdep.h: Likewise.
16844
df78418a
UD
168452012-01-07 Ulrich Drepper <drepper@gmail.com>
16846
a784e502
UD
16847 [BZ #13553]
16848 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16849 for non-gcc.
16850 * argp/argp-fmtstream.h: Use const instead __const.
16851 * argp/argp.h: Likewise.
16852 * assert/assert.h: Likewise.
16853 * bits/fenv.h: Likewise.
16854 * bits/sched.h: Likewise.
16855 * bits/sigset.h: Likewise.
16856 * bits/sigthread.h: Likewise.
16857 * catgets/nl_types.h: Likewise.
16858 * conform/data/pthread.h-data: Likewise.
16859 * crypt/crypt-private.h: Likewise.
16860 * crypt/crypt.h: Likewise.
16861 * crypt/crypt_util.c: Likewise.
16862 * ctype/ctype.h: Likewise.
16863 * debug/execinfo.h: Likewise.
16864 * debug/mbsnrtowcs_chk.c: Likewise.
16865 * debug/mbsrtowcs_chk.c: Likewise.
16866 * debug/wcsnrtombs_chk.c: Likewise.
16867 * debug/wcsrtombs_chk.c: Likewise.
16868 * debug/wcstombs_chk.c: Likewise.
16869 * dirent/dirent.h: Likewise.
16870 * dlfcn/dlfcn.h: Likewise.
16871 * elf/neededtest4.c: Likewise.
16872 * grp/grp.h: Likewise.
16873 * gshadow/gshadow.h: Likewise.
16874 * iconv/gconv.h: Likewise.
16875 * iconv/gconv_int.h: Likewise.
16876 * iconv/gconv_simple.c: Likewise.
16877 * iconv/iconv.h: Likewise.
16878 * iconv/loop.c: Likewise.
16879 * iconv/skeleton.c: Likewise.
16880 * include/aio.h: Likewise.
16881 * include/aliases.h: Likewise.
16882 * include/argz.h: Likewise.
16883 * include/arpa/inet.h: Likewise.
16884 * include/assert.h: Likewise.
16885 * include/dirent.h: Likewise.
16886 * include/dlfcn.h: Likewise.
16887 * include/execinfo.h: Likewise.
16888 * include/fcntl.h: Likewise.
16889 * include/fenv.h: Likewise.
16890 * include/glob.h: Likewise.
16891 * include/grp.h: Likewise.
16892 * include/libintl.h: Likewise.
16893 * include/mntent.h: Likewise.
16894 * include/netdb.h: Likewise.
16895 * include/pwd.h: Likewise.
16896 * include/rpc/netdb.h: Likewise.
16897 * include/sched.h: Likewise.
16898 * include/search.h: Likewise.
16899 * include/shadow.h: Likewise.
16900 * include/signal.h: Likewise.
16901 * include/stdio.h: Likewise.
16902 * include/stdlib.h: Likewise.
16903 * include/string.h: Likewise.
16904 * include/sys/socket.h: Likewise.
16905 * include/sys/stat.h: Likewise.
16906 * include/sys/statfs.h: Likewise.
16907 * include/sys/statvfs.h: Likewise.
16908 * include/sys/syslog.h: Likewise.
16909 * include/sys/time.h: Likewise.
16910 * include/sys/uio.h: Likewise.
16911 * include/time.h: Likewise.
16912 * include/unistd.h: Likewise.
16913 * include/utmp.h: Likewise.
16914 * include/wchar.h: Likewise.
16915 * include/wctype.h: Likewise.
16916 * inet/aliases.h: Likewise.
16917 * inet/arpa/inet.h: Likewise.
16918 * inet/netinet/ether.h: Likewise.
16919 * inet/netinet/in.h: Likewise.
16920 * intl/libintl.h: Likewise.
16921 * io/bits/fcntl2.h: Likewise.
16922 * io/fcntl.h: Likewise.
16923 * io/ftw.h: Likewise.
16924 * io/sys/poll.h: Likewise.
16925 * io/sys/stat.h: Likewise.
16926 * io/sys/statfs.h: Likewise.
16927 * io/sys/statvfs.h: Likewise.
16928 * io/utime.h: Likewise.
16929 * libio/bits/stdio.h: Likewise.
16930 * libio/bits/stdio2.h: Likewise.
16931 * libio/libio.h: Likewise.
16932 * libio/libioP.h: Likewise.
16933 * libio/stdio.h: Likewise.
16934 * locale/lc-ctype.c: Likewise.
16935 * locale/locale.h: Likewise.
16936 * login/utmp.h: Likewise.
16937 * malloc/arena.c: Likewise.
16938 * malloc/malloc.c: Likewise.
16939 * malloc/malloc.h: Likewise.
16940 * malloc/mcheck.c: Likewise.
16941 * malloc/mtrace.c: Likewise.
16942 * math/bits/mathcalls.h: Likewise.
16943 * math/fenv.h: Likewise.
16944 * math/math_private.h: Likewise.
16945 * misc/bits/error.h: Likewise.
16946 * misc/bits/syslog.h: Likewise.
16947 * misc/err.h: Likewise.
16948 * misc/error.h: Likewise.
16949 * misc/fstab.h: Likewise.
16950 * misc/mntent.h: Likewise.
16951 * misc/regexp.h: Likewise.
16952 * misc/search.h: Likewise.
16953 * misc/sgtty.h: Likewise.
16954 * misc/sys/mman.h: Likewise.
16955 * misc/sys/syslog.h: Likewise.
16956 * misc/sys/uio.h: Likewise.
16957 * misc/sys/xattr.h: Likewise.
16958 * misc/ttyent.h: Likewise.
16959 * nis/rpcsvc/ypclnt.h: Likewise.
16960 * nss/nss.h: Likewise.
16961 * posix/bits/unistd.h: Likewise.
16962 * posix/fnmatch.h: Likewise.
16963 * posix/glob.h: Likewise.
16964 * posix/sched.h: Likewise.
16965 * posix/spawn.h: Likewise.
16966 * posix/sys/wait.h: Likewise.
16967 * posix/unistd.h: Likewise.
16968 * posix/wordexp.h: Likewise.
16969 * pwd/pwd.h: Likewise.
16970 * resolv/netdb.h: Likewise.
16971 * resource/sys/resource.h: Likewise.
16972 * rt/aio.h: Likewise.
16973 * rt/bits/mqueue2.h: Likewise.
16974 * rt/mqueue.h: Likewise.
16975 * shadow/shadow.h: Likewise.
16976 * signal/signal.h: Likewise.
16977 * socket/send.c: Likewise.
16978 * socket/sendto.c: Likewise.
16979 * socket/sys/socket.h: Likewise.
16980 * stdio-common/printf.h: Likewise.
16981 * stdlib/bits/stdlib.h: Likewise.
16982 * stdlib/fmtmsg.h: Likewise.
16983 * stdlib/monetary.h: Likewise.
16984 * stdlib/stdlib.h: Likewise.
16985 * stdlib/ucontext.h: Likewise.
16986 * streams/stropts.h: Likewise.
16987 * string/argz.h: Likewise.
16988 * string/bits/string2.h: Likewise.
16989 * string/string.h: Likewise.
16990 * string/strings.h: Likewise.
16991 * sunrpc/rpc/auth.h: Likewise.
16992 * sunrpc/rpc/auth_des.h: Likewise.
16993 * sunrpc/rpc/clnt.h: Likewise.
16994 * sunrpc/rpc/netdb.h: Likewise.
16995 * sunrpc/rpc/pmap_clnt.h: Likewise.
16996 * sunrpc/rpc/xdr.h: Likewise.
16997 * sysdeps/generic/inttypes.h: Likewise.
16998 * sysdeps/generic/net/if.h: Likewise.
16999 * sysdeps/generic/sys/swap.h: Likewise.
17000 * sysdeps/gnu/net/if.h: Likewise.
17001 * sysdeps/gnu/utmpx.h: Likewise.
17002 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
17003 * sysdeps/i386/i486/bits/string.h: Likewise.
17004 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
17005 * sysdeps/s390/bits/string.h: Likewise.
17006 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
17007 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
17008 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
17009 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
17010 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17011 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
17012 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
17013 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
17014 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
17015 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
17016 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
17017 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17018 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
17019 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17020 * sysdeps/unix/sysv/linux/readv.c: Likewise.
17021 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
17022 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17023 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17024 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17025 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17026 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17027 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
17028 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
17029 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
17030 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
17031 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
17032 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
17033 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17034 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
17035 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
17036 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
17037 * sysvipc/sys/ipc.h: Likewise.
17038 * sysvipc/sys/msg.h: Likewise.
17039 * sysvipc/sys/sem.h: Likewise.
17040 * sysvipc/sys/shm.h: Likewise.
17041 * termios/termios.h: Likewise.
17042 * time/sys/time.h: Likewise.
17043 * time/time.h: Likewise.
17044 * wcsmbs/bits/wchar2.h: Likewise.
17045 * wcsmbs/uchar.h: Likewise.
17046 * wcsmbs/wchar.h: Likewise.
17047 * wctype/wctype.h: Likewise.
17048
0269750c
UD
17049 [BZ #13551]
17050 * Makeconfig: Remove all but ELF support including AIX support.
17051 * Makerules: Likewise.
17052 * config.h.in: Likewise.
17053 * config.make.in: Likewise.
17054 * configure: Likewise.
17055 * configure.in: Likewise.
17056 * csu/Makefile: Likewise.
17057 * csu/version.c: Likewise.
17058 * debug/Makefile: Likewise.
17059 * dlfcn/Makefile: Likewise.
17060 * elf/Makefile: Likewise.
17061 * extra-lib.mk: Likewise.
17062 * iconv/Makefile: Likewise.
17063 * include/libc-symbols.h: Likewise.
17064 * include/shlib-compat.h: Likewise.
17065 * resolv/Makefile: Likewise.
17066 * resolv/res_libc.c: Likewise.
17067 * rt/Makefile: Likewise.
17068 * sysdeps/i386/asm-syntax.h: Likewise.
17069 * sysdeps/i386/sysdep.h: Likewise.
17070 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17071 * sysdeps/mach/sysdep.h: Likewise.
17072 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
17073 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
17074 * sysdeps/s390/asm-syntax.h: Likewise.
17075 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17076 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17077 * sysdeps/sh/sysdep.h: Likewise.
17078 * sysdeps/unix/sparc/sysdep.h: Likewise.
17079 * sysdeps/wordsize-32/divdi3.c: Likewise.
17080 * sysdeps/x86_64/sysdep.h: Likewise.
17081
00bbd29b
UD
17082 * argp/Versions: Remove _argp_unlock_xxx.
17083
17084 [BZ #13559]
17085 * abilist/ld.abilist: Update. Adjust for removal of tls option.
17086 * abilist/libBrokenLocale.abilist: Likewise.
17087 * abilist/libanl.abilist: Likewise.
17088 * abilist/libc.abilist: Likewise.
17089 * abilist/libcrypt.abilist: Likewise.
17090 * abilist/libdl.abilist: Likewise.
17091 * abilist/libm.abilist: Likewise.
17092 * abilist/libnsl.abilist: Likewise.
17093 * abilist/libpthread.abilist: Likewise.
17094 * abilist/libresolv.abilist: Likewise.
17095 * abilist/librt.abilist: Likewise.
17096 * abilist/libthread_db.abilist: Likewise.
17097 * abilist/libutil.abilist: Likewise.
17098 * abilist/libnss_db.abilist: New file.
17099
17100 * scripts/abilist.awk: Add support for indirect functions.
17101
a2693a0e
UD
17102 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
17103
3f05895f
UD
17104 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
17105
ecb6fb48
UD
17106 * shlib-versions: Remove entries for ports architectures.
17107
664f8cb9
UD
17108 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
17109 files in ports.
17110 * elf/stackguard-macros.h: Remove support for IA-64.
17111 * elf/tst-auditmod1.c: Likewise.
17112 * sysdeps/generic/ldsodefs.h: Likewise.
17113
7ae81d88
UD
17114 * sysdeps/unix/sysv/linux/configure.in: Ports should define
17115 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
17116 configure files.
17117
bdeba135
UD
17118 [BZ #13552]
17119 * configure.in: Remove --enable-omitfp support.
17120 * FAQ.in: Adjust.
17121 * config.make.in: Likewise.
17122 * Makeconfig: Likewise.
17123 * manual/install.texi: Likewise.
17124
d75a0a62
UD
17125 In case anyone cares, the IA-64 architecture could move to ports.
17126 * sysdeps/ia64/*: Removed.
17127 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 17128 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 17129
dcc9756b
UD
17130 [BZ #13555]
17131 * configure.in: Remove entries for unsupported architectures.
17132
d3761ebc 17133 [BZ #13533]
9954432e
UD
17134 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
17135 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
17136 routines.
17137 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
17138 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
17139 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
17140 fall back to using wcrtomb.
17141 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
17142 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
17143 renaming.
17144 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
17145 * wcsmbs/tst-c16c32-1.c: New file.
17146
17147 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
17148 local variable.
17149
c3a87236
UD
17150 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
17151
28926a1b
UD
17152 * elf/tst-unique3.cc: Add explicit declaration of gets.
17153 * elf/tst-unique3lib.cc: Likewise.
17154 * elf/tst-unique3lib2.cc: Likewise.
17155 * elf/tst-unique4.cc: Likewise.
17156
df78418a
UD
17157 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
17158
8ecd6b2a
JM
171592012-01-06 Joseph Myers <joseph@codesourcery.com>
17160
17161 [BZ #13566]
17162 * assert/assert.h (static_assert): Don't define for C++.
17163 * libio/stdio.h (gets): Do declare for C++ <= C++11.
17164 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
17165
9f115170
UD
171662012-01-03 Ulrich Drepper <drepper@gmail.com>
17167
5e0d0300
UD
17168 * iconv/loop.c (single loop): Fix assertion in storing of
17169 remaining bytes.
17170
9f115170
UD
17171 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
17172
81fb02b0
UD
171732012-01-01 Ulrich Drepper <drepper@gmail.com>
17174
17175 * posix/getconf.c: Update copyright year.
17176 * nss/getent.c: Likewise.
a316c1f6 17177 * nss/makedb.c: Likewise.
81fb02b0
UD
17178 * iconv/iconvconfig.c: Likewise.
17179 * iconv/iconv_prog.c: Likewise.
17180 * elf/ldconfig.c: Likewise.
a316c1f6
UD
17181 * elf/pldd.c: Likewise.
17182 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
17183 * catgets/gencat.c: Likewise.
17184 * csu/version.c: Likewise.
17185 * elf/ldd.bash.in: Likewise.
17186 * elf/sprof.c (print_version): Likewise.
17187 * locale/programs/locale.c: Likewise.
17188 * locale/programs/localedef.c: Likewise.
a316c1f6 17189 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
17190 * nscd/nscd.c (print_version): Likewise.
17191 * debug/xtrace.sh: Likewise.
17192 * malloc/memusage.sh: Likewise.
17193 * malloc/mtrace.pl: Likewise.
17194 * debug/catchsegv.sh: Likewise.
17195
2ba92745
JJ
171962011-12-30 Jakub Jelinek <jakub@redhat.com>
17197
17198 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
17199 pure attribute.
17200
dadebdae
UD
172012011-12-24 Ulrich Drepper <drepper@gmail.com>
17202
d3761ebc 17203 [BZ #13533]
db6af3eb
UD
17204 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
17205 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
17206 transformations.
17207 * iconv/gconv_int.h: Likewise.
17208 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
17209 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
17210 from libc for GLIBC_2.16.
17211 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
17212 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
17213 * wcsmbs/uchar.h: Really define mbstate_t.
17214 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
17215 * wcsmbs/c16rtomb.c: New file.
17216 * wcsmbs/mbrtoc16.c: New file.
17217 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
17218 for C/POSIX locale.
17219 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
17220 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
17221
dadebdae
UD
17222 * wcsmbs/wchar.h: Add missing __restrict.
17223
67371b56
UD
172242011-12-23 Ulrich Drepper <drepper@gmail.com>
17225
74033a25
UD
17226 [BZ #13532]
17227 * time/Makefile (routines): Add timespec_get.
17228 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
17229 * time/time.h: Define TIME_UTC and declare timespec_get. Define
17230 timespec for ISO C11.
17231 * time/timespec_get.c: New file.
17232 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
17233 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
17234
380d7e87
UD
17235 [BZ #13531]
17236 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
17237 * stdlib/stdlib.h: Declare aligned_alloc.
17238 * Versions.def: Add GLIBC_2.16 for libc.
17239 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
17240
4e9e7a35
UD
17241 [BZ 13527]
17242 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
17243 ISO C11.
17244
380d7e87 17245 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
17246 code.
17247
03a71829
UD
17248 [BZ #13528]
17249 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
17250
839e283e
UD
17251 [BZ #13529]
17252 * assert/assert.h (static_assert): Define.
17253
ce5294e2 17254 * version.h: Update for 2.16 development version.
90fa7312 17255
8d44e150 17256 [BZ #13526]
d7809905
UD
17257 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
17258 _ISOC11_SOURCE.
17259
c0da14cd
UD
17260 * version.h (RELEASE): Bump for 2.15 release.
17261 * include/features.h (__GLIBC_MINOR__): Bump to 15.
17262
530a3249
MP
17263 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
17264 Patch by Marek Polacek <mpolacek@redhat.com>.
17265
67371b56
UD
17266 * bits/byteswap.h: Protect long long constants with __extension__.
17267 * sysdeps/i386/bits/byteswap.h: Likewise.
17268 * sysdeps/ia64/bits/byteswap.h: Likewise.
17269 * sysdeps/s390/bits/byteswap.h: Likewise.
17270 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17271
15db4de1
LD
172722011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17273
17274 [BZ #13540]
bbe315ea
LD
17275 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
17276 destination buffer.
15db4de1
LD
17277 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17278
2b2596b1
MP
172792011-12-23 Marek Polacek <polacek@redhat.com>
17280
17281 * elf/dl-addr.c (determine_info): Add inline keyword.
17282 * elf/tst-auditmod4b.c (check_avx): Likewise.
17283 * elf/tst-auditmod6b.c (check_avx): Likewise.
17284 * elf/tst-auditmod6c.c (check_avx): Likewise.
17285 * elf/tst-auditmod7b.c (check_avx): Likewise.
17286
70c6c246
UD
172872011-12-23 Ulrich Drepper <drepper@gmail.com>
17288
17289 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
17290 !__SSE_MATH__.
17291
c044cf14
LD
172922011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17293
15db4de1 17294 [BZ #13540]
c044cf14
LD
17295 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
17296 processing for last bytes.
17297
6b13d9d9
BH
172982011-08-06 Bruno Haible <bruno@clisp.org>
17299
d455f537
BH
17300 [BZ #13061]
17301 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
17302 U+0385, not to U+1FEE.
17303
6b13d9d9
BH
17304 [BZ #13062]
17305 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
17306 entry for U+00A5 U+0301.
17307
db910efd
UD
173082011-12-22 Ulrich Drepper <drepper@gmail.com>
17309
27deeafc
UD
17310 [BZ #13166]
17311 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
17312 buffer for the output is too small.
17313
aed9d171
UD
17314 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
17315 optimization.
17316
db910efd
UD
17317 [BZ #13185]
17318 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
17319 SSE flags if possible.
17320
2bd779ae
LD
173212011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17322
e7f9dac3 17323 [BZ #13540]
2bd779ae
LD
17324 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
17325 processing for last bytes.
17326
154bfc16
JM
173272011-12-22 Joseph Myers <joseph@codesourcery.com>
17328
17329 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
17330 (syscall-list-default-options, syscall-list-default-condition)
17331 (syscall-list-includes): Define.
17332 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
17333 list of ABIs and options and #if conditions for each ABI. Do not
17334 handle common syscalls between ABIs specially.
17335 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
17336 Remove.
17337 (syscall-list-variants, syscall-list-32bit-options)
17338 (syscall-list-32bit-condition, syscall-list-64bit-options)
17339 (syscall-list-64bit-condition): Define.
17340 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
17341 (syscall-list-variants, syscall-list-32bit-options)
17342 (syscall-list-32bit-condition, syscall-list-64bit-options)
17343 (syscall-list-64bit-condition): Define.
17344 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
17345 Remove.
17346 (syscall-list-variants, syscall-list-32bit-options)
17347 (syscall-list-32bit-condition, syscall-list-64bit-options)
17348 (syscall-list-64bit-condition): Define.
17349 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
17350 Remove.
17351 (syscall-list-variants, syscall-list-32bit-options)
17352 (syscall-list-32bit-condition, syscall-list-64bit-options)
17353 (syscall-list-64bit-condition): Define.
17354
21eaf3a5
UD
173552011-12-22 Ulrich Drepper <drepper@gmail.com>
17356
16c6f992
UD
17357 * locale/iso-639.def: Add brx entry.
17358
41043168
UD
17359 [BZ #13328]
17360 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
17361 Proposed by Mariusz_Cukr <marcukr@op.pl>.
17362
21eaf3a5
UD
17363 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
17364 __feraiseexcept_renamed.
17365
e3a851a2
UD
173662011-12-21 Ulrich Drepper <drepper@gmail.com>
17367
4920765e
UD
17368 [BZ #13538]
17369 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
17370 EPOLLET with unsigned values.
17371 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17372 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17373
e3a851a2
UD
17374 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
17375 to large cancellation.
17376 * math/s_cacoshf.c: Likewise.
17377 * math/s_cacoshl.c: Likewise.
17378
b27e24b8
RK
173792011-11-18 Richard B. Kreckel <kreckel@ginac.de>
17380
17381 [BZ #13305]
aebefeee 17382 [BZ #12786]
b27e24b8
RK
17383 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
17384 * math/s_cacoshf.c: Likewise.
17385 * math/s_cacoshl.c: Likewise.
17386
ee190f67
UD
173872011-12-21 Ulrich Drepper <drepper@gmail.com>
17388
17389 [BZ #13439]
17390 * iconv/gconv.h: Define __GCONV_SWAP.
17391 * iconvdata/unicode.c: The swap bit must be stored in __flags.
17392 * iconvdata/utf-16.c: Likewise.
17393 * iconvdata/utf-32.c: Likewise.
17394
707f25df
AS
173952011-12-21 Andreas Schwab <schwab@linux-m68k.org>
17396
17397 [BZ #13524]
17398 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
17399 numerator after shifting it by one limb.
17400
d2daaa1e
RÁE
174012011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
17402
17403 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
17404 under [__USE_EXTERN_INLINES].
17405
a4647e72
UD
174062011-12-17 Ulrich Drepper <drepper@gmail.com>
17407
17408 [BZ #13446]
17409 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
17410
f0b264f1
AZ
174112011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17412
17413 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
17414 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
17415 optimized code.
17416 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
17417 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
17418 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
17419 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
17420 for strncasecmp/strncasecmp_l compilation.
17421 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
17422 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
17423
8ef4f244
MP
174242011-12-08 Marek Polacek <mpolacek@redhat.com>
17425
17426 [BZ #13484]
17427 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
17428 of __asm__.
17429
97ac2654
UD
174302011-12-17 Ulrich Drepper <drepper@gmail.com>
17431
17432 [BZ #13506]
17433 * time/tzfile.c (__tzfile_read): Check values from file header.
17434
91d2a845
WS
174352011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17436
17437 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
17438 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
17439 * powerpc/powerpc32/dl-start.S: Likewise.
17440 * powerpc/powerpc32/elf/start.S: Likewise.
17441 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17442 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
17443 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17444 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
17445 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17446 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
17447 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
17448 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17449 * powerpc/powerpc32/fpu/s_round.S: Likewise.
17450 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17451 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17452 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17453 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17454 * powerpc/powerpc32/memset.S: Likewise.
17455 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17456 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17457 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17458 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17459 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17460 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17461 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17462 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17463 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
17464 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
17465 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
17466 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17467 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17468
a1267ba1
AZ
174692011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17470
17471 * math/libm-test.inc: Added more nearbyint tests.
17472 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
17473 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
17474 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
17475 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
17476
ad8ac1bd
RL
174772011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
17478
17479 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
17480 FD_CLOEXEC.
17481
1d3e4b61
UD
174822011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17483
17484 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
17485 Add wcscpy-ssse3 wcscpy-c.
17486 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
17487 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
17488 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
17489 * sysdeps/x86_64/wcschr.S: New file.
17490 * sysdeps/x86_64/wcsrchr.S: New file.
17491 * string/test-strcmp.c: Remove checking of wcscmp function for
17492 wrong alignments.
17493 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
17494 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
17495 wcsrchr-sse2 wcsrchr-c.
17496 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
17497 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
17498 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
17499 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
17500 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
17501 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
17502 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
17503 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
17504 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
17505 * wcsmbc/wcschr.c (WCSCHR): New macro.
17506
5b330a2d
UD
175072011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17508
17509 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
17510 * wcsmbs/test-wcsrchr.c: New file.
17511 * string/test-strrchr.c: Add wcsrchr support.
17512 (WIDE): New macro.
17513 * wcsmbs/test-wcscpy.c: New file.
17514 * string/test-strcpy.c: Add wcscpy support.
17515 (WIDE): New macro.
26428b7c 17516
f039c043
UD
175172011-12-10 Ulrich Drepper <drepper@gmail.com>
17518
17519 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
17520 the inner loop.
17521
850fb039
AS
175222011-12-06 Andreas Schwab <schwab@linux-m68k.org>
17523
17524 [BZ #13472]
17525 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
17526
4efbd5cb
UD
175272011-12-04 Ulrich Drepper <drepper@gmail.com>
17528
52ff5dd0 17529 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 17530 Minor optimizations.
52ff5dd0 17531
4efbd5cb
UD
17532 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
17533 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
17534 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17535
8a426e12
UD
175362011-12-03 Ulrich Drepper <drepper@gmail.com>
17537
aff2453d
UD
17538 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
17539 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
17540 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
17541 for gcc to avoid warnings.
17542 * inet/Makefile (tests): Add tst-checks.
17543 * inet/tst-checks.c: New file.
17544
17545 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
17546 warning.
17547
17548 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
17549 __wmemcmp_sse2.
17550
17551 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
17552 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
17553
8a426e12
UD
17554 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
17555
9bea3473
UD
175562011-12-02 Ulrich Drepper <drepper@gmail.com>
17557
3a965496
UD
17558 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
17559 problem.
17560
9bea3473
UD
17561 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
17562
f101631b
UD
175632011-11-29 Joseph Myers <joseph@codesourcery.com>
17564
17565 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
17566 conditional on GCC version.
17567 (__arch_compare_and_exchange_val_8_acq)
17568 (__arch_compare_and_exchange_val_16_acq)
17569 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
17570 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
17571 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
17572
a98275aa
UD
175732011-12-02 Joseph Myers <joseph@codesourcery.com>
17574
17575 * sysdeps/sh/backtrace.c: New file.
17576
d4cc29a2
AS
175772011-12-02 Andreas Schwab <schwab@redhat.com>
17578
17579 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
17580 parenthesis.
17581
6257af2d
AS
175822011-12-01 Andreas Schwab <schwab@redhat.com>
17583
17584 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
17585 falling back to utime.
17586
b5f44c1a
AS
175872011-11-30 Andreas Schwab <schwab@redhat.com>
17588
17589 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
17590 expectations for float.
17591
f3a6cc0a
AS
175922011-11-29 Andreas Schwab <schwab@redhat.com>
17593
17594 * locale/weight.h (findidx): Add parameter len.
17595 * locale/weightwc.h (findidx): Likewise.
17596 * posix/fnmatch_loop.c (FCT): Adjust caller.
17597 * posix/regcomp.c (build_equiv_class): Likewise.
17598 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
17599 * posix/regexec.c (check_node_accept_bytes): Likewise.
17600 * string/strcoll_l.c (STRCOLL): Likewise.
17601 * string/strxfrm_l.c (STRXFRM): Likewise.
17602
9d65ea3a
UD
176032011-11-17 Ulrich Drepper <drepper@gmail.com>
17604
17605 * Makefile.in: Remove CVSOPT handling.
17606 * configure.in: Remove use of AC_REVISION.
17607 * iconvdata/Makefile (distribute): No need to filter out CVS.
17608 * scripts/list-sources.sh: Remove CVS, subversion and monotone
17609 handling.
17610
5583a086
AS
176112011-11-16 Andreas Schwab <schwab@redhat.com>
17612
17613 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
17614 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
17615 [USE_AS_STRNCASECMP_L]: Likewise.
17616 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
17617 NO_TLS_DIRECT_SEG_REFS.
17618 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
17619 Fix argument offsets for non-PIC.
17620 [USE_AS_STRNCASECMP_L]: Likewise.
17621 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
17622 NO_TLS_DIRECT_SEG_REFS.
17623
d62a8200
UD
176242011-11-15 Ulrich Drepper <drepper@gmail.com>
17625
9d65ea3a 17626 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
17627 O_CLOEXEC.
17628 * locale/loadlocale.c (_nl_load_locale): Likewise.
17629
09f93bd3
AS
176302011-11-15 Andreas Schwab <schwab@redhat.com>
17631
446514f9
AS
17632 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
17633 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
17634 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
17635 (SYSCALL_GETTIME): Set errno on error.
17636
09f93bd3
AS
17637 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
17638 count references to noai6ai_cached.
17639
312be3f9
UD
176402011-11-15 Ulrich Drepper <drepper@gmail.com>
17641
17642 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17643
17644 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17645 FD_CLOEXEC for /proc/self/maps.
17646
17647 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17648 FD_CLOEXEC for /proc/meminfo.
17649
17650 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17651 gai.conf.
17652
17653 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
17654 FD_CLOEXEC for given file.
17655
17656 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17657
17658 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17659 FD_CLOEXEC for /etc/hosts.
17660 (_gethtent): Likewise.
17661
17662 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
17663
17664 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
17665 cancellation and set FD_CLOEXEC for /etc/netgroup.
17666
17667 * nss/nss_files/files-key.c (search): Don't allow cancellation when
17668 reading /etc/publickey.
17669
17670 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
17671 allow cancellation when reading /etc/group.
17672
17673 * nss/nss_files/files-alias.c (internal_setent): Don't allow
17674 cancellation.
17675 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
17676
17677 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
17678 when using data file.
17679
17680 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
17681
17682 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
17683 (write_nis_obj): Use "c" and "e" in fopen.
17684
17685 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17686
17687 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17688
17689 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17690
17691 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17692
17693 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17694 locale.alias.
17695
17696 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17697
17698 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17699
17700 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17701
17702 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17703 file parsing and set FD_CLOEXEC.
17704
82af0fa8
UD
177052011-11-14 Ulrich Drepper <drepper@gmail.com>
17706
17707 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17708
a5fb313c
AS
177092011-11-14 Andreas Schwab <schwab@redhat.com>
17710
17711 * malloc/arena.c (arena_get2): Don't call reused_arena when
17712 _int_new_arena failed.
17713
6abf3465
UD
177142011-11-14 Ulrich Drepper <drepper@gmail.com>
17715
17716 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17717 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17718 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17719 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17720 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17721 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17722 to compile strcasecmp and strncasecmp.
17723 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17724 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17725
17726 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17727
76e3966e
UD
177282011-11-13 Ulrich Drepper <drepper@gmail.com>
17729
17730 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17731 locale-defines.sym to gen-as-const-headers.
17732 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17733 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17734 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17735 to compile strcasecmp and strncasecmp.
17736 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17737 strcasecmp_l and strncasecmp_l.
17738 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17739 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17740 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17741 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17742 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17743 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17744 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17745 * sysdeps/i386/i686/multiarch/strncase.S: New file.
17746 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17747 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17748 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17749
ab26144e
UD
177502011-11-12 Ulrich Drepper <drepper@gmail.com>
17751
7edb22ef
UD
17752 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17753 result of SYSDEP_GETTIME_CPU to retval.
17754 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17755 parameter list to macro. Remove trailing semicolon. Adjust users.
17756
9694fc44
UD
17757 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17758 variable.
17759
8ad89ef8
UD
17760 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17761 mantissa words.
17762 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17763
0c822ef9
UD
17764 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17765 from unused variable.
17766
874e0564
UD
17767 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17768 DWARF definitions.
17769 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17770 for assembling.
17771
3a2edc79
UD
17772 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17773 over namespaces.
17774
f3c2577f
UD
17775 * sunrpc/rpc_prot.c (rejected): Fix case value.
17776
294ce126
UD
17777 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17778 unsigned long long int to avoid warnings in shift.
17779
5e2b63c6
UD
17780 * posix/regex_internal.c (re_string_reconstruct): Actually use result
17781 of use of trans.
17782 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17783 variable tmp.
17784
e7f4b08e
UD
17785 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17786 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17787 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17788
ab26144e
UD
17789 * nis/nis_table.c (nis_list): Use variable of correct type for
17790 result of __follow_path call.
17791
8a6d5255
AZ
177922011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17793
17794 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17795 of math functions ceil, trunc, floor, round, and sqrt, when
17796 avaliable on the platform.
17797 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17798 name clash.
17799 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17800 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17801 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17802
aaddc98c
MP
178032011-10-30 Marek Polacek <mpolacek@redhat.com>
17804
17805 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17806 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17807
95b7042b
RM
178082011-11-11 Roland McGrath <roland@hack.frob.com>
17809
17810 * include/unistd.h: Fix __readlink return type.
17811 Reported by Chris Metcalf <cmetcalf@tilera.com>.
17812
57769839
UD
178132011-11-11 Ulrich Drepper <drepper@gmail.com>
17814
17815 * stdlib/ucontext.h: Undo last change for makecontext.
17816
edc5984d
AS
178172011-11-11 Andreas Schwab <schwab@redhat.com>
17818
98591e58
AS
17819 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17820
edc5984d
AS
17821 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17822 * setjmp/setjmp.h: Mark functions as non-leaf.
17823 * setjmp/bits/setjmp2.h: Likewise.
17824 * stdlib/ucontext.h: Likewise.
17825
77cdc054
AS
178262011-11-10 Andreas Schwab <schwab@redhat.com>
17827
17828 * malloc/arena.c (_int_new_arena): Don't increment narenas.
17829 (reused_arena): Don't check arena limit.
17830 (arena_get2): Atomically check arena limit.
17831
fe72eebd
UD
178322011-11-08 Ulrich Drepper <drepper@gmail.com>
17833
5f078c32
UD
17834 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17835 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17836
fe72eebd
UD
17837 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17838 instructions.
17839
ae1bc2fa
AS
178402011-11-07 Andreas Schwab <schwab@redhat.com>
17841
7583a88d
AS
17842 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17843 handler when locking.
17844
ae1bc2fa
AS
17845 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17846 Fix size of allocated buffer.
17847
10fb0bfa
AS
178482011-11-04 Andreas Schwab <schwab@redhat.com>
17849
998832a4
AS
17850 [BZ #10103]
17851 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17852 declarations for long double functions.
17853 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17854
10fb0bfa
AS
17855 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17856
3d7ba52b
AS
178572011-11-03 Andreas Schwab <schwab@redhat.com>
17858
a9ae54a1
AS
17859 * nscd/nscd.c (main): Don't start AVC thread until credentials are
17860 installed.
17861
3d7ba52b
AS
17862 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17863 is disabled.
17864
bc8db248
ST
178652011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17866
17867 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17868
45b96dd6
AS
178692011-11-01 Andreas Schwab <schwab@linux-m68k.org>
17870
647776f6
AS
17871 * include/alloca.h (stackinfo_alloca_round): Define.
17872 (extend_alloca): Use it.
17873 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17874 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17875 here.
17876
d91a8b93
AS
17877 * scripts/check-local-headers.sh: Ignore libaudit.h.
17878
45b96dd6
AS
17879 * nscd/Makefile (extra-objs): Make recursively expanded.
17880
432d41ce
UD
178812011-11-01 Ulrich Drepper <drepper@gmail.com>
17882
34372fc6
UD
17883 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17884 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17885
fadb59f8
UD
17886 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17887 * posix/tst-rfc3484-2.c: Likewise.
17888 * posix/tst-rfc3484-3.c: Likewise.
17889
78239589
UD
17890 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17891 process_vm_writev.
17892 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17893 process_vm_writev.
17894 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17895 process_vm_writev from libc using GLIBC_2.15 version.
17896
432d41ce
UD
17897 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17898
02f9c6cf
PP
178992011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
17900
17901 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17902 stack usage.
17903
3a2c0242
UD
179042011-10-31 Ulrich Drepper <drepper@gmail.com>
17905
f4ec4833
UD
17906 [BZ #13367]
17907 * nss/getent.c (initgroups_keys): Show error message in case no group
17908 names are given.
17909
3a2c0242
UD
17910 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17911 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17912 __bump_nl_timestamp.
17913 * nscd/connections (nscd_init): When host database is served open
17914 netlink socket and request notification about configuration changes.
17915 (main_loop_poll): Track netlink file descriptor and bump timestamp
17916 in case data becomes available.
17917 (main_loop_epoll): Likewise.
17918 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17919 (database_pers_head): Add extra_data fileds.
17920 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17921 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17922 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17923 Adjust caller.
17924 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17925 in6ai data, call __free_in6ai.
17926 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17927 Add -DHAVE_NETLINK.
17928 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
17929 interface information. Reuse previous data if netlink timestamp
17930 is not changed.
17931 (__bump_nl_timestamp): New function.
17932 (__free_in6ai): New function.
17933
636064eb
UD
179342011-10-30 Ulrich Drepper <drepper@gmail.com>
17935
17936 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17937 close_not_cancel_no_status here.
17938 (__check_pf): Reorganize code a bit to not call close twice if OOM.
17939
9beb2334
UD
179402011-10-29 Ulrich Drepper <drepper@gmail.com>
17941
6ef76f3b
UD
17942 [BZ #13276]
17943 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17944 return value.
17945
0ffc4f3e 17946 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
17947 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17948 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17949
cb95113e
UD
179502011-07-03 Andreas Jaeger <aj@suse.de>
17951
17952 [BZ #10709]
17953 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17954 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17955 * math/libm-test.inc (sin_test): Add test case.
17956
a1b560ff
UD
179572011-10-29 Ulrich Drepper <drepper@gmail.com>
17958
c9aaface
UD
17959 [BZ #13337]
17960 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17961 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17962
d272e7f1
UD
17963 * elf/chroot_canon.c (chroot_canon): Cleanups.
17964
1bc33071
UD
17965 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17966
1760874d
TJ
17967 [BZ #13335]
17968 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17969 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17970
51d91b18
UD
17971 * string/test-strchr.c: Make usable for strchrnul testing.
17972 * string/test-strchrnul.c: New file.
17973 * string/Makefile (strop-tests): Add strchrnul.
17974
a1b560ff 17975 * po/it.po: Update from translation team.
b611fb81 17976 * po/es.po: Likewise.
a1b560ff 17977
a5b81e1f
UD
179782011-10-28 Ulrich Drepper <drepper@gmail.com>
17979
fd52bc6d
UD
17980 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17981 the three constants needed as parameters. Drop the others.
17982 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17983 __m128i_strloadu_tolower.
52e4b9eb
UD
17984 Create and initialize variable zero and use it in all the places
17985 where _mm_setzero_si128 was used.
fd52bc6d 17986
a5b81e1f
UD
17987 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17988 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17989 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17990 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17991 anymore.
17992 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17993 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17994 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17995 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17996 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17997 __mpranred, __mptan.
17998 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17999 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
18000 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
18001 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
18002 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
18003 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
18004 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
18005 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
18006 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
18007
b4343346
AS
180082011-10-28 Andreas Schwab <schwab@redhat.com>
18009
0c92d8a8
AS
18010 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
18011 redefine if SHARED.
18012 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
18013
b4343346
AS
18014 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
18015 wide char related routines to wcsmbs subdir.
18016
3871f58f
AS
180172011-10-27 Andreas Schwab <schwab@redhat.com>
18018
18019 [BZ #13344]
18020 * misc/sys/cdefs.h (__THROWNL): Define.
18021 * posix/unistd.h: Use __THREADNL instead of __THREAD
18022 for memory synchronization functions.
18023
94d44d9f
RM
180242011-10-26 Roland McGrath <roland@hack.frob.com>
18025
21b64b15 18026 [BZ #13349]
94d44d9f
RM
18027 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
18028 doesn't exist.
18029 * manual/stdio.texi (Obstack Streams): Node removed.
18030
f6ce9294
AS
180312011-10-26 Andreas Schwab <schwab@redhat.com>
18032
80479147
AS
18033 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
18034 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18035 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18036
f6ce9294
AS
18037 * math/math_private.h (math_force_eval): Allow non-addressable
18038 arguments.
18039 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
18040
618280a1
UD
180412011-10-25 Ulrich Drepper <drepper@gmail.com>
18042
e0016b11
UD
18043 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
18044 file is not needed.
18045
18046 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
18047 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18048 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18049 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18050 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18051 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18052 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18053 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
18054 Add AVX variants.
18055 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
18056 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
18057 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
18058 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
18059 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
18060 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
18061 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
18062 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
18063 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
18064 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
18065 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
18066 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
18067 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
18068 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
18069 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
18070 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
18071 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
18072 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
18073 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
18074
18075 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
18076 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
18077
618280a1
UD
18078 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
18079 place. Use VEX encoding when compiling for AVX.
18080
37822576
AS
180812011-10-25 Andreas Schwab <schwab@redhat.com>
18082
1f1e1947
AS
18083 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
18084 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18085
37822576
AS
18086 * string/test-strchr.c (do_test): Don't generate NUL bytes.
18087
31ea014d
UD
180882011-10-25 Ulrich Drepper <drepper@gmail.com>
18089
d7826aa1 18090 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 18091 useless if() expression.
d7826aa1
UD
18092 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18093 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18094 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18095 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18096 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18097 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18098 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18099 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18100 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18101 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18102 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18103 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18104 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18105 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18106 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18107 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18108 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18109 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18110 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18111
31ea014d
UD
18112 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
18113
16437fec
AS
181142011-10-25 Andreas Schwab <schwab@redhat.com>
18115
18116 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
18117 condition.
18118 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18119
31d3cc00
UD
181202011-10-25 Ulrich Drepper <drepper@gmail.com>
18121
18122 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
18123 .text section. Avoid duplicate constants.
18124 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18125 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18126 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18127 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18128 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18129 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18130 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18131 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18132 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18133 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
18134 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18135 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18136 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18137 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18138 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18139 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18140 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18141 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18142 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18143 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18144 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18145 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18146 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18147 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
18148 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
18149 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
18150 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
18151 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
18152 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
18153 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18154 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
18155 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18156 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18157 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
18158 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
18159 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18160 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18161 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
18162 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
18163 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
18164 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
18165 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
18166 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
18167 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18168 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18169
58985aa9
UD
181702011-10-24 Ulrich Drepper <drepper@gmail.com>
18171
202c9deb
UD
18172 * sysdeps/x86_64/dla.h: Move to ...
18173 * sysdeps/x86_64/fpu/dla.h: ...here.
18174 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
18175 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 18176
af968f62
UD
18177 * config.make.in: Add have-mfma4 entry.
18178 * configure.in: Substitute libc_cv_cc_fma4.
18179 * math/Makefile (dbl-only-routines): Add sincostab.
18180 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
18181 Use __sincostab not sincos.
18182 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
18183 name is a macro.
18184 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18185 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18186 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18187 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
18188 using __copysign.
18189 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
18190 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
18191 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
18192 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
18193 and __inv.
18194 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
18195 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
18196 __copysign.
18197 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
18198 define aliases when function name is a macro.
18199 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
18200 sysdeps/ieee754/dbl-64/sincos.tbl.
18201 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
18202 fma4-enabled routines.
18203 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
18204 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
18205 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
18206 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
18207 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
18208 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
18209 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
18210 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
18211 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
18212 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
18213 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
18214 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
18215 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
18216 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
18217 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
18218 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
18219 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
18220 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
18221 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
18222 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
18223 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
18224 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
18225 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
18226 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
18227 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
18228 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
18229 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
18230 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
18231 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
18232 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
18233
58985aa9
UD
18234 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
18235 rename.
18236 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18237 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18238 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18239 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18240 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18241 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18242 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18243 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18244
a201fbcf
AS
182452011-10-24 Andreas Schwab <schwab@redhat.com>
18246
18247 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
18248
fc2ee42a
LD
182492011-10-23 Ulrich Drepper <drepper@gmail.com>
18250
bb3129bd
UD
18251 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
18252
0275fff8
UD
18253 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
18254 prediction.
18255 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
18256
2fa2ae85
UD
18257 * string/strnlen.c: Don't define STRNLEN, reverse logic.
18258 Remove unused variable magic_bits.
18259 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
18260
fc2ee42a
LD
18261 * string/strnlen.c: Define and use STRNLEN macro.
18262 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
18263 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
18264 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
18265 * wcsmbs/wcslen.c: Define and use WCSLEN.
18266 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
18267 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
18268 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
18269 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
18270 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
18271 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
18272 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18273
ce7dd29f
LD
182742011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18275
18276 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18277 strnlen-sse2-no-bsf.
18278 Rename strlen-no-bsf to strlen-sse2-no-bsf.
18279 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
18280 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
18281 Add strnlen support.
18282 (USE_AS_STRNLEN): New macro.
18283 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
18284 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
18285 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
18286 * sysdeps/x86_64/wcslen.S: New file.
18287
979c70a3
MZ
182882011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
18289
18290 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18291 XMM-moves are used for copying on small sizes.
18292
2d09f82f
LD
182932011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18294
18295 * wcsmbs/Makefile (strop-tests): Add wcschr.
18296 * wcsmbs/test-wcschr.c: New file.
18297 * string/test-strchr.c: Update.
18298 Add wcschr support.
18299 (WIDE): New macro.
18300
619fccca
LD
183012011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18302
2d09f82f 18303 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
18304 * wcsmbs/test-wcslen.c: New file.
18305 * string/test-strlen.c: Update.
18306 Add wcslen support.
18307 (WIDE): New macro.
18308
09f699ea
UD
183092011-10-23 Ulrich Drepper <drepper@gmail.com>
18310
18311 * po/it.po: Update from translation team.
18312
95584d3b
LD
183132011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18314
18315 * sysdeps/x86_64/wcscmp.S: Update.
18316 Fix wrong comparison semantics.
18317 wcscmp shall use signed comparison not unsigned.
18318 Don't use substraction to avoid overflow bug.
18319 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18320 * wcsmbc/wcscmp.c: Likewise.
18321 * string/test-strcmp.c: Likewise.
18322 Add new tests to check cases with negative values.
18323
c8b3296b
UD
183242011-10-23 Ulrich Drepper <drepper@gmail.com>
18325
18326 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
18327 * sysdeps/x86_64/dla.h: ...here. New file.
18328 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
18329 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18330 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18331 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18332 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18333 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18334 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18335 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18336 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18337
246ad57a
AS
183382011-10-23 Andreas Schwab <schwab@linux-m68k.org>
18339
18340 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
18341 __ynl_finite aliases.
18342
a1a87169
UD
183432011-10-22 Ulrich Drepper <drepper@gmail.com>
18344
0d355eb7
UD
18345 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18346
a1a87169
UD
18347 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
18348 define DLA_FMA.
18349 [DLA_FMA] (EMULV): Use DLA_FMA.
18350 [DLA_FMA] (MUL12): Use EMULV.
18351 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
18352 that are not needed.
18353 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18354 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18355 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18356 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18357 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18358 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18359 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18360
ee2aafe0
AS
183612011-10-22 Andreas Schwab <schwab@linux-m68k.org>
18362
18363 * math/s_nan.c: Undef __nan.
18364 * math/s_nanf.c: Undef __nanf.
18365 * math/s_nanl.c: Undef __nanl.
18366 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
18367 "math_private.h".
18368
bc62c2fb
UD
183692011-10-22 Ulrich Drepper <drepper@gmail.com>
18370
77425c63
UD
18371 * math/s_catan.c: Add branch predictions.
18372 * math/s_catanf.c: Likewise.
18373 * math/s_catanh.c: Likewise.
18374 * math/s_catanhf.c: Likewise.
18375 * math/s_catanhl.c: Likewise.
18376 * math/s_catanl.c: Likewise.
18377 * math/s_cexp.c: Likewise.
18378 * math/s_cexpf.c: Likewise.
18379 * math/s_cexpl.c: Likewise.
18380 * math/s_clog.c: Likewise.
18381 * math/s_clog10.c: Likewise.
18382 * math/s_clog10f.c: Likewise.
18383 * math/s_clog10l.c: Likewise.
18384 * math/s_clogf.c: Likewise.
18385 * math/s_clogl.c: Likewise.
18386 * math/s_csqrt.c: Likewise.
18387 * math/s_csqrtf.c: Likewise.
18388 * math/s_csqrtl.c: Likewise.
18389 * math/s_ctanf.c: Likewise.
18390 * math/s_ctanh.c: Likewise.
18391 * math/s_ctanhf.c: Likewise.
18392 * math/s_ctanhl.c: Likewise.
18393 * math/s_ctanl.c: Likewise.
18394
bc62c2fb
UD
18395 * math/math_private.h: Define __nan, __nanf, __nanl.
18396 * math/s_cacosh.c: Include <math_private.h>.
18397 * math/s_cacoshl.c: Likewise.
18398 * math/s_casinh.c: Likewise.
18399 * math/s_casinhf.c: Likewise.
18400 * math/s_casinhl.c: Likewise.
18401 * math/s_ccos.c: Rely entire on ccosh.
18402 * math/s_ccosf.c: Rely entire on ccoshf.
18403 * math/s_ccosl.c: Rely entirely on ccoshl.
18404 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
18405 Remove tests for FE_INVALID.
18406 * math/s_ccoshf.c: Likewise.
18407 * math/s_ccoshl.c: Likewise.
18408 * math/s_csin.c: Likewise.
18409 * math/s_csinf.c: Likewise.
18410 * math/s_csinh.c Likewise.
18411 * math/s_csinhf.c: Likewise.
18412 * math/s_csinhl.c: Likewise.
18413 * math/s_csinl.c: Likewise.
18414 * math/s_ctan.c: Likewise.
18415 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
18416 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
18417 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
18418
8ec250a4
UD
184192011-10-21 Ulrich Drepper <drepper@gmail.com>
18420
c196fed8
UD
18421 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
18422 compilation problems.
18423
8ec250a4
UD
18424 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
18425 __builtin_expect.
18426
8d4f46c6
UD
184272011-10-20 Ulrich Drepper <drepper@gmail.com>
18428
ed72b654
UD
18429 * sysdeps/i386/configure.in: Test for -mfma4 option.
18430 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
18431 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
18432 COMMON_CPUID_INDEX_80000001.
18433 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
18434 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
18435 use it if FMA3 is not supported.
18436 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18437
8d4f46c6
UD
18438 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
18439 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18440
d45c60c2
AS
184412011-10-20 Andreas Schwab <schwab@redhat.com>
18442
18443 [BZ #12892]
18444 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
18445 it would create a cycle with a link time dependency.
18446
d9a4d2ab
UD
184472011-10-19 Ulrich Drepper <drepper@gmail.com>
18448
855d1560
UD
18449 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
18450 instruction.
18451 * string/Makefile (strop-tests): Add rawmemchr.
18452 * string/test-rawmemchr.c: New file.
18453
d9a4d2ab
UD
18454 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
18455 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
18456 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
18457 when compiling str{,n}casecmp and when AVX is available. Hook up
18458 new optimized code in initializers.
18459
8f3b1ffe
AS
184602011-10-19 Andreas Schwab <schwab@redhat.com>
18461
18462 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
18463 __feraiseexcept instead of feraiseexcept.
18464
d38f1dba
UD
184652011-10-18 Ulrich Drepper <drepper@gmail.com>
18466
d9a8d0ab
UD
18467 * math/math_private.h: Define defaults for libc_fetestexcept and
18468 libc_feupdateenv.
18469 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
18470 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18471 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18472 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18473 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18474 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18475 libc_fetestexcept and libc_feupdateenv.
18476
4855e3dd
UD
18477 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
18478 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
18479 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
18480 * sysdeps/x86_64/fpu/math_private.h: Define special version of
18481 libc_feholdexcept_setround.
18482
581d30e3
UD
18483 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
18484 Add s_nearbyint-c and s_nearbyintf-c.
18485 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
18486 nearbyintf inlines.
18487 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
18488 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
18489 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
18490 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
18491
d38f1dba
UD
18492 * math/math_private.h: Define defaults for libc_fegetround,
18493 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
18494 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
18495 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
18496 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
18497 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
18498 standard functions.
18499 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18500 Remove comments and hacks for old compiler versions.
18501 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18502 libc_fegetround, libc_fesetround, libc_feholdexcept, and
18503 libc_feholdexceptl.
18504
caa6c9d8
AS
185052011-10-18 Andreas Schwab <schwab@redhat.com>
18506
18507 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
18508 (__feraiseexcept_renamed): Add __NTH.
18509 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
18510 namespace violations.
18511
97c066e6
UD
185122011-10-17 Ulrich Drepper <drepper@gmail.com>
18513
99ce7b04
UD
18514 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
18515
1004d182
UD
18516 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
18517
228a984d
UD
18518 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
18519 recently added interfaces.
18520 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
18521
c8553a6a
UD
18522 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
18523 about macro parameter expansion.
18524
ed22dcf6
UD
18525 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
18526 __NO_MATH_INLINES is defined. Cleanups.
18527
18528 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
18529 and __floorf is target has SSE4.1.
18530 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
18531 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
18532 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
18533 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
18534
b171c137
UD
18535 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
18536 name.
18537 (floorf): Likewise.
18538
97c066e6
UD
18539 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
18540
629f62ef
AS
185412011-10-17 Andreas Schwab <schwab@redhat.com>
18542
49a43d80
AS
18543 * misc/sys/cdefs.h: Fix last change.
18544
629f62ef
AS
18545 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
18546 database lookup.
18547
e453f6cd
UD
185482011-10-16 Ulrich Drepper <drepper@gmail.com>
18549
aa78043a
UD
18550 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
18551
ad0f5cad
UD
18552 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
18553 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18554 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18555 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18556 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18557 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18558 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18559 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18560 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18561 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
18562 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
18563 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
18564 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
18565 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
18566 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
18567 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
18568 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
18569 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
18570 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
18571 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
18572 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
18573 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
18574
18575 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
18576 ceil, ceilf, floor, floorf.
18577
18578 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
18579 Perform IRELATIVE relocations last.
18580
e453f6cd
UD
18581 * elf/do-rel.h: Add another parameter nrelative, replacing the
18582 local variable with the same name. Change name of the function
18583 to end in Rel or Rela (uppercase).
18584 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
18585 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
18586 elf_dynamic_do_##reloc function.
18587
fd5bdc09
UD
185882011-10-15 Ulrich Drepper <drepper@gmail.com>
18589
79b195b5
UD
18590 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
18591 is sufficient, at least on modern CPUs.
18592
d4a28569
UD
18593 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
18594
b61099b5
UD
18595 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
18596 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
18597
bcf01e6d
UD
18598 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
18599 __expl_finite.
18600 * math/bits/math-finite.h: Add entries for exp.
18601 * math/e_expl.c: Add __*_finite alias.
18602 * sysdeps/i386/fpu/e_exp.S: Likewise.
18603 * sysdeps/i386/fpu/e_expf.S: Likewise.
18604 * sysdeps/i386/fpu/e_expl.c: Likewise.
18605 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18606 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18607 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18608 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18609 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
18610 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18611 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18612
ba1a0d59
UD
18613 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
18614 is sufficient, at least on modern CPUs.
18615
fd5bdc09
UD
18616 * ctype/ctype-info.c (__ctype_init): Define.
18617 * include/ctype.h (__ctype_init): Declare.
18618 (__ctype_b_loc): The variable is always initialized.
18619 (__ctype_toupper_loc): Likewise.
18620 (__ctype_tolower_loc): Likewise.
18621 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
18622 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
18623
7872cfb0
AS
186242011-10-15 Andreas Schwab <schwab@linux-m68k.org>
18625
b468825a
AS
18626 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
18627
7872cfb0
AS
18628 * configure.in: Also look in $cxxmachine/include for C++ system
18629 headers.
18630
be13f7bf
LD
186312011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18632
18633 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
18634 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
18635 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
18636 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
18637 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
18638 (USE_AS_WMEMCMP): New macro.
18639 Fixing indents.
18640 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
18641 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18642 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18643 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18644 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18645 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18646 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18647 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18648 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18649 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18650 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18651 (USE_AS_WMEMCMP): New macro.
18652 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18653 * sysdeps/string/test-memcmp.c: Update.
18654 Fix simple_wmemcmp.
18655 Add new tests.
18656 * wcsmbs/wmemcmp.c: Update.
18657 (WMEMCMP): New macro.
18658 Fix overflow bug.
18659
556a2007
AJ
186602011-10-12 Andreas Jaeger <aj@suse.de>
18661
18662 [BZ #13268]
18663 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
18664
538faaa7
UD
186652011-10-15 Ulrich Drepper <drepper@gmail.com>
18666
ab6737ff
UD
18667 * libio/iofwide.c (do_length): Avoid warning.
18668
538faaa7
UD
18669 * ctype/ctype.h (__isctype_f): Add missing __THROW.
18670
396a21b1
UD
186712011-10-14 Ulrich Drepper <drepper@gmail.com>
18672
cdf2901f
UD
18673 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
18674
38ad40ce
UD
18675 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
18676 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
18677 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
18678 * sysdeps/i386/i686/fpu/e_log.S: New file.
18679 * sysdeps/i386/i686/fpu/e_logf.S: New file.
18680 * sysdeps/i386/i686/fpu/e_logl.S: New file.
18681
396a21b1
UD
18682 * ctype/ctype.h: Add support for inlined isXXX functions when
18683 compiling C++ code.
18684
6b1f68c9
AS
186852011-10-14 Andreas Schwab <schwab@redhat.com>
18686
349290c0
AS
18687 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18688
6b1f68c9
AS
18689 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18690
f2282d42
RM
186912011-10-13 Roland McGrath <roland@hack.frob.com>
18692
18693 [BZ #13291]
18694 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18695
5298ffa8
AS
186962011-10-13 Andreas Schwab <schwab@redhat.com>
18697
714fad23
AS
18698 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18699 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18700 feraiseexcept.
18701
81dcc7fb
AS
18702 * sysdeps/x86_64/memrchr.S: Check for zero size.
18703
5298ffa8
AS
18704 * string/stratcliff.c: Add memrchr tests.
18705
951fbcec
LD
187062011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18707
18708 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18709 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18710 rawmemchr-sse2 rawmemchr-sse2-bsf.
18711 * sysdeps/i386/i686/multiarch/memchr.S: New file.
18712 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18713 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18714 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18715 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18716 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18717 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18718 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18719 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18720 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18721 * string/memrchr.c (MEMRCHR): New macro.
18722
0ac5ae23
UD
187232011-10-12 Ulrich Drepper <drepper@gmail.com>
18724
18725 Add integration with gcc's -ffinite-math-only and optimize wrapper
18726 functions in libm.
18727 * Versions.def: Define GLIBC_2.15 version for libm.
18728 * math/Makefile (headers): Add bits/math-finite.h.
18729 * math/bits/math-finite.h: New file.
18730 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18731 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18732 * math/e_acoshl.c: Add __*_finite alias.
18733 * math/e_acosl.c: Likewise.
18734 * math/e_asinl.c: Likewise.
18735 * math/e_atan2l.c: Likewise.
18736 * math/e_atanhl.c: Likewise.
18737 * math/e_coshl.c: Likewise.
18738 * math/e_exp10.c: Likewise.
18739 * math/e_exp10f.c: Likewise.
18740 * math/e_exp10l.c: Likewise.
18741 * math/e_exp2l.c: Likewise.
18742 * math/e_fmodl.c: Likewise.
18743 * math/e_gammal_r.c: Likewise.
18744 * math/e_hypotl.c: Likewise.
18745 * math/e_j0l.c: Likewise.
18746 * math/e_j1l.c: Likewise.
18747 * math/e_jnl.c: Likewise.
18748 * math/e_lgammal_r.c: Likewise.
18749 * math/e_log10l.c: Likewise.
18750 * math/e_log2l.c: Likewise.
18751 * math/e_logl.c: Likewise.
18752 * math/e_powl.c: Likewise.
18753 * math/e_sinhl.c: Likewise.
18754 * math/e_sqrtl.c: Likewise.
18755 * math/e_scalb.c: Completely rewritten and optimized.
18756 * math/e_scalbf.c: Likewise.
18757 * math/e_scalbl.c: Likewise.
18758 * math/w_acos.c: Likewise.
18759 * math/w_acosf.c: Likewise.
18760 * math/w_acosl.c: Likewise.
18761 * math/w_acosh.c: Likewise.
18762 * math/w_acoshf.c: Likewise.
18763 * math/w_acoshl.c: Likewise.
18764 * math/w_asin.c: Likewise.
18765 * math/w_asinf.c: Likewise.
18766 * math/w_asinl.c: Likewise.
18767 * math/w_atan2.c: Likewise.
18768 * math/w_atan2f.c: Likewise.
18769 * math/w_atan2l.c: Likewise.
18770 * math/w_atanh.c: Likewise.
18771 * math/w_atanhf.c: Likewise.
18772 * math/w_atanhl.c: Likewise.
18773 * math/w_exp10.c: Likewise.
18774 * math/w_exp10f.c: Likewise.
18775 * math/w_exp10l.c: Likewise.
18776 * math/w_fmod.c: Likewise.
18777 * math/w_fmodf.c: Likewise.
18778 * math/w_fmodl.c: Likewise.
18779 * math/w_j0.c: Likewise.
18780 * math/w_j0f.c: Likewise.
18781 * math/w_j0l.c: Likewise.
18782 * math/w_j1.c: Likewise.
18783 * math/w_j1f.c: Likewise.
18784 * math/w_j1l.c: Likewise.
18785 * math/w_jn.c: Likewise.
18786 * math/w_jnf.c: Likewise.
18787 * math/w_log.c: Likewise.
18788 * math/w_logf.c: Likewise.
18789 * math/w_logl.c: Likewise.
18790 * math/w_log10.c: Likewise.
18791 * math/w_log10f.c: Likewise.
18792 * math/w_log10l.c: Likewise.
18793 * math/w_log2.c: Likewise.
18794 * math/w_log2f.c: Likewise.
18795 * math/w_log2l.c: Likewise.
18796 * math/w_pow.c: Likewise.
18797 * math/w_powf.c: Likewise.
18798 * math/w_powl.c: Likewise.
18799 * math/w_remainder.c: Likewise.
18800 * math/w_remainderf.c: Likewise.
18801 * math/w_remainderl.c: Likewise.
18802 * math/w_scalb.c: Likewise.
18803 * math/w_scalbf.c: Likewise.
18804 * math/w_scalbl.c: Likewise.
18805 * math/w_sqrt.c: Likewise.
18806 * math/w_sqrtf.c: Likewise.
18807 * math/w_sqrtl.c: Likewise.
18808 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18809 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
18810 used.
18811 * math/math_private.h: Declare __kernel_standard_f.
18812 * math/w_cosh.c: Remove cruft and optimize a bit.
18813 * math/w_coshf.c: Likewise.
18814 * math/w_coshl.c: Likewise.
18815 * math/w_exp2.c: Likewise.
18816 * math/w_exp2f.c: Likewise.
18817 * math/w_exp2l.c: Likewise.
18818 * math/w_hypot.c: Likewise.
18819 * math/w_hypotf.c: Likewise.
18820 * math/w_hypotl.c: Likewise.
18821 * math/w_lgamma.c: Likewise.
18822 * math/w_lgamma_r.c: Likewise.
18823 * math/w_lgammaf.c: Likewise.
18824 * math/w_lgammaf_r.c: Likewise.
18825 * math/w_lgammal.c: Likewise.
18826 * math/w_lgammal_r.c: Likewise.
18827 * math/w_sinh.c: Likewise.
18828 * math/w_sinhf.c: Likewise.
18829 * math/w_sinhl.c: Likewise.
18830 * math/w_tgamma.c: Likewise.
18831 * math/w_tgammaf.c: Likewise.
18832 * math/w_tgammal.c: Likewise.
18833 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18834 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18835 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18836 Minor optimizations. Pretty printing. Remove cruft.
18837 * sysdeps/i386/fpu/e_acosf.S: Likewise.
18838 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18839 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18840 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18841 * sysdeps/i386/fpu/e_acosl.c: Likewise.
18842 * sysdeps/i386/fpu/e_asin.S: Likewise.
18843 * sysdeps/i386/fpu/e_asinf.S: Likewise.
18844 * sysdeps/i386/fpu/e_atan2.S: Likewise.
18845 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18846 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18847 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18848 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18849 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18850 * sysdeps/i386/fpu/e_exp10.S: Likewise.
18851 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18852 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18853 * sysdeps/i386/fpu/e_exp2.S: Likewise.
18854 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18855 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18856 * sysdeps/i386/fpu/e_fmod.S: Likewise.
18857 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18858 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18859 * sysdeps/i386/fpu/e_hypot.S: Likewise.
18860 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18861 * sysdeps/i386/fpu/e_log.S: Likewise.
18862 * sysdeps/i386/fpu/e_log10.S: Likewise.
18863 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18864 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18865 * sysdeps/i386/fpu/e_log2.S: Likewise.
18866 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18867 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18868 * sysdeps/i386/fpu/e_logf.S: Likewise.
18869 * sysdeps/i386/fpu/e_logl.S: Likewise.
18870 * sysdeps/i386/fpu/e_pow.S: Likewise.
18871 * sysdeps/i386/fpu/e_powf.S: Likewise.
18872 * sysdeps/i386/fpu/e_powl.S: Likewise.
18873 * sysdeps/i386/fpu/e_remainder.S: Likewise.
18874 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18875 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18876 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18877 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18878 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18879 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18880 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18881 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18882 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18883 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18884 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18885 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18886 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18887 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18888 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18889 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18890 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18891 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18892 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18893 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18894 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18895 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18896 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18897 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18898 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18899 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18900 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18901 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18902 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18903 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18904 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18905 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18906 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18907 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18908 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18909 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18910 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18911 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18912 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18913 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18914 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18915 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18916 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18917 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18918 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18919 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18920 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18921 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18922 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18923 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18924 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18925 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18926 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18927 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18928 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18929 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18930 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18931 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18932 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18933 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18934 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18935 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18936 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18937 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18938 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18939 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18940 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18941 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18942 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18943 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18944 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18945 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18946 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18947 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18948 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18949 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18950 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18951 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18952 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18953 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18954 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18955 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18956 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18957 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18958 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18959 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18960 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18961 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18962 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18963 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18964 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18965 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18966 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18967 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18968 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18969 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18970 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18971 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18972 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18973 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18974 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18975 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18976 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18977 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18978 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18979 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18980 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18981 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18982 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18983 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18984 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18985 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18986 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18987 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18988 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18989 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18990 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18991 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18992 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18993 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18994 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18995 (__isnanf): Likewise.
18996 (__isinf_ns): Likewise.
18997 (__isinf_nsf): Likewise.
18998 (__finite): Likewise.
18999 (__finitef): Likewise.
19000 (__ieee754_sqrt): Define as macro.
19001 (__ieee754_sqrtf): Define as macro.
19002 (__ieee754_sqrtl): Define as macro.
19003 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
19004 inlined copy.
19005 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
19006 __FINITE_MATH_ONLY__ consistent.
19007 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
19008
12cc2fcd
AS
190092011-10-10 Andreas Schwab <schwab@linux-m68k.org>
19010
a843a204
AS
19011 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
19012 of rawmemchr.
19013
12cc2fcd
AS
19014 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
19015
c853acd5
UD
190162011-10-09 Ulrich Drepper <drepper@gmail.com>
19017
19018 * po/ja.po: Update from translation team.
19019
c658d255
RM
190202011-10-08 Roland McGrath <roland@hack.frob.com>
19021
110946e4
RM
19022 * locale/programs/locarchive.c (prepare_address_space): New function.
19023 (create_archive, enlarge_archive, open_archive): Use it.
19024
50604220
RM
19025 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
19026 inside [SHARED], where it is used.
19027
c658d255
RM
19028 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
19029
19030 * nss/getent.c (netgroup_keys): Remove unused variable.
19031 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19032
6a621eb7
UD
190332011-10-08 Ulrich Drepper <drepper@gmail.com>
19034
7edb55ce
UD
19035 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
19036 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
19037 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
19038 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
19039 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
19040 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
19041 * math/Makefile (libm-calls): Add s_isinf_ns.
19042 * math/divtc3.c: Use __isinf_nsl instead of isinf.
19043 * math/multc3.c: Likewise.
19044 * math/s_casin.c: Likewise.
19045 * math/s_casinf.c: Likewise.
19046 * math/s_casinl.c: Likewise.
19047 * math/s_ccos.c: Likewise.
19048 * math/s_ccosf.c: Likewise.
19049 * math/s_ccosl.c: Likewise.
19050 * math/s_ctan.c: Likewise.
19051 * math/s_ctanf.c: Likewise.
19052 * math/s_ctanh.c: Likewise.
19053 * math/s_ctanhf.c: Likewise.
19054 * math/s_ctanhl.c: Likewise.
19055 * math/s_ctanl.c: Likewise.
19056 * math/w_fmod.c: Likewise.
19057 * math/w_fmodf.c: Likewise.
19058 * math/w_fmodl.c: Likewise.
19059 * math/w_remainder.c: Likewise.
19060 * math/w_remainderf.c: Likewise.
19061 * math/w_remainderl.c: Likewise.
19062 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
19063 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
19064 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
19065 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
19066 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
19067 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
19068 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
19069 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
19070
187da0ae
UD
19071 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
19072 of the number.
19073 * stdio-common/printf_fphex.c: Likewise.
19074 * stdio-common/printf_size.c: Likewise.
19075
9277c064
UD
19076 * math/e_exp10.c: Include math_private.h using <...> not "...".
19077 * math/e_exp10f.c: Likewise.
19078 * math/e_exp10l.c: Likewise.
19079 * math/e_exp2l.c: Likewise.
19080 * math/e_j0l.c: Likewise.
19081 * math/e_j1l.c: Likewise.
19082 * math/e_jnl.c: Likewise.
19083 * math/e_lgammal_r.c: Likewise.
19084 * math/e_rem_pio2l.c: Likewise.
19085 * math/e_scalb.c: Likewise.
19086 * math/e_scalbf.c: Likewise.
19087 * math/e_scalbl.c: Likewise.
19088 * math/k_cosl.c: Likewise.
19089 * math/k_sinl.c: Likewise.
19090 * math/k_tanl.c: Likewise.
19091 * math/s_cacoshf.c: Likewise.
19092 * math/s_catan.c: Likewise.
19093 * math/s_catanf.c: Likewise.
19094 * math/s_catanh.c: Likewise.
19095 * math/s_catanhf.c: Likewise.
19096 * math/s_catanhl.c: Likewise.
19097 * math/s_catanl.c: Likewise.
19098 * math/s_ccosh.c: Likewise.
19099 * math/s_ccoshf.c: Likewise.
19100 * math/s_ccoshl.c: Likewise.
19101 * math/s_cexp.c: Likewise.
19102 * math/s_cexpf.c: Likewise.
19103 * math/s_cexpl.c: Likewise.
19104 * math/s_clog.c: Likewise.
19105 * math/s_clog10.c: Likewise.
19106 * math/s_clog10f.c: Likewise.
19107 * math/s_clog10l.c: Likewise.
19108 * math/s_clogf.c: Likewise.
19109 * math/s_clogl.c: Likewise.
19110 * math/s_csin.c: Likewise.
19111 * math/s_csinf.c: Likewise.
19112 * math/s_csinh.c: Likewise.
19113 * math/s_csinhf.c: Likewise.
19114 * math/s_csinhl.c: Likewise.
19115 * math/s_csinl.c: Likewise.
19116 * math/s_csqrt.c: Likewise.
19117 * math/s_csqrtf.c: Likewise.
19118 * math/s_csqrtl.c: Likewise.
19119 * math/s_ctan.c: Likewise.
19120 * math/s_ctanf.c: Likewise.
19121 * math/s_ctanh.c: Likewise.
19122 * math/s_ctanhf.c: Likewise.
19123 * math/s_ctanhl.c: Likewise.
19124 * math/s_ctanl.c: Likewise.
19125 * math/s_ldexp.c: Likewise.
19126 * math/s_ldexpf.c: Likewise.
19127 * math/s_ldexpl.c: Likewise.
19128 * math/s_significand.c: Likewise.
19129 * math/s_significandf.c: Likewise.
19130 * math/s_significandl.c: Likewise.
19131 * math/w_acos.c: Likewise.
19132 * math/w_acosf.c: Likewise.
19133 * math/w_acosh.c: Likewise.
19134 * math/w_acoshf.c: Likewise.
19135 * math/w_acoshl.c: Likewise.
19136 * math/w_acosl.c: Likewise.
19137 * math/w_asin.c: Likewise.
19138 * math/w_asinf.c: Likewise.
19139 * math/w_asinl.c: Likewise.
19140 * math/w_atan2.c: Likewise.
19141 * math/w_atan2f.c: Likewise.
19142 * math/w_atan2l.c: Likewise.
19143 * math/w_atanh.c: Likewise.
19144 * math/w_atanhf.c: Likewise.
19145 * math/w_atanhl.c: Likewise.
19146 * math/w_cosh.c: Likewise.
19147 * math/w_coshf.c: Likewise.
19148 * math/w_coshl.c: Likewise.
19149 * math/w_dremf.c: Likewise.
19150 * math/w_exp10.c: Likewise.
19151 * math/w_exp10f.c: Likewise.
19152 * math/w_exp10l.c: Likewise.
19153 * math/w_exp2.c: Likewise.
19154 * math/w_exp2f.c: Likewise.
19155 * math/w_fmod.c: Likewise.
19156 * math/w_fmodf.c: Likewise.
19157 * math/w_fmodl.c: Likewise.
19158 * math/w_hypot.c: Likewise.
19159 * math/w_hypotf.c: Likewise.
19160 * math/w_hypotl.c: Likewise.
19161 * math/w_j0.c: Likewise.
19162 * math/w_j0f.c: Likewise.
19163 * math/w_j0l.c: Likewise.
19164 * math/w_j1.c: Likewise.
19165 * math/w_j1f.c: Likewise.
19166 * math/w_j1l.c: Likewise.
19167 * math/w_jn.c: Likewise.
19168 * math/w_jnf.c: Likewise.
19169 * math/w_jnl.c: Likewise.
19170 * math/w_lgamma.c: Likewise.
19171 * math/w_lgamma_r.c: Likewise.
19172 * math/w_lgammaf.c: Likewise.
19173 * math/w_lgammaf_r.c: Likewise.
19174 * math/w_lgammal.c: Likewise.
19175 * math/w_lgammal_r.c: Likewise.
19176 * math/w_log.c: Likewise.
19177 * math/w_log10.c: Likewise.
19178 * math/w_log10f.c: Likewise.
19179 * math/w_log10l.c: Likewise.
19180 * math/w_log2.c: Likewise.
19181 * math/w_log2f.c: Likewise.
19182 * math/w_log2l.c: Likewise.
19183 * math/w_logf.c: Likewise.
19184 * math/w_logl.c: Likewise.
19185 * math/w_pow.c: Likewise.
19186 * math/w_powf.c: Likewise.
19187 * math/w_powl.c: Likewise.
19188 * math/w_remainder.c: Likewise.
19189 * math/w_remainderf.c: Likewise.
19190 * math/w_remainderl.c: Likewise.
19191 * math/w_scalb.c: Likewise.
19192 * math/w_scalbf.c: Likewise.
19193 * math/w_scalbl.c: Likewise.
19194 * math/w_sinh.c: Likewise.
19195 * math/w_sinhf.c: Likewise.
19196 * math/w_sinhl.c: Likewise.
19197 * math/w_sqrt.c: Likewise.
19198 * math/w_sqrtf.c: Likewise.
19199 * math/w_sqrtl.c: Likewise.
19200 * math/w_tgamma.c: Likewise.
19201 * math/w_tgammaf.c: Likewise.
19202 * math/w_tgammal.c: Likewise.
19203
6a621eb7
UD
19204 * po/ja.po: Update from translation team.
19205
bf582445
AJ
192062011-09-29 Andreas Jaeger <aj@suse.de>
19207
f9efbf3a
AJ
19208 [BZ #13179]
19209 * sunrpc/netname.c (netname2host): Fix logic.
19210
bf582445
AJ
19211 [BZ #6779]
19212 [BZ #6783]
19213 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
19214 correctly.
19215 * math/w_remainder.c (__remainder): Likewise.
19216 * math/w_remainderf.c (__remainderf): Likewise.
19217 * math/libm-test.inc (remainder_test): Add test cases.
19218
48693bea
AK
192192011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19220
19221 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
19222 sdiv_qrnnd.
19223
42622229
LD
192242011-10-07 Ulrich Drepper <drepper@gmail.com>
19225
19226 * string/test-memcmp.c: Avoid unncessary #defines.
19227 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19228
093ecf92
LD
192292011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19230
19231 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
19232 Use new sse2 version for core i3 - i7 as it's faster
19233 than sse42 version.
19234 (bit_Prefer_PMINUB_for_stringop): New.
19235 * sysdeps/x86_64/rawmemchr.S: Update.
19236 Replace with faster SSE2 version.
19237 * sysdeps/x86_64/memrchr.S: New file.
19238 * sysdeps/x86_64/memchr.S: Update.
19239 Replace with faster SSE2 version.
19240
fde56e5c
MP
192412011-09-12 Marek Polacek <mpolacek@redhat.com>
19242
19243 * elf/dl-load.c (lose): Add cast to avoid warning.
19244
21fd49a9
UD
192452011-10-07 Ulrich Drepper <drepper@gmail.com>
19246
5a06e643
UD
19247 * po/ca.po: Update from translation team.
19248
684ae515
UD
19249 * inet/getnetgrent_r.c: Hook up nscd.
19250 * nscd/Makefile (routines): Add nscd_netgroup.
19251 (nscd-modules): Add netgroupcache.
19252 (CFLAGS-netgroupcache.c): Define.
19253 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
19254 (cache_search): Add const to second parameter.
19255 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
19256 INNETGR.
19257 (dbs): Add netgrdb entry.
19258 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
19259 (verify_persistent_db): Handle netgrdb.
19260 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
19261 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
19262 GETFDNETGR.
19263 (netgroup_response_header): Define.
19264 (innetgroup_response_header): Define.
19265 (datahead): Add netgroup_response_header and innetgroup_response_header
19266 elements.
19267 * nscd/nscd.conf: Add entries for netgroup cache.
19268 * nscd/nscd.h (dbtype): Add netgrdb.
19269 (_PATH_NSCD_NETGROUP_DB): Define.
19270 (netgroup_iov_disabled): Declare.
19271 (xmalloc, xcalloc, xrealloc): Move declarations here.
19272 (cache_search): Adjust prototype.
19273 Add netgroup-related prototypes.
19274 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
19275 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
19276 (__nscd_innetgr): Declare.
19277 * nscd/selinux.c (perms): Use access_vector_t as element type and
19278 add netgroup-related initializers.
19279 * nscd/netgroupcache.c: New file.
19280 * nscd/nscd_netgroup.c: New file.
19281 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
19282 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
19283 For four parameters use innetgr.
19284 * nss/nss_files/files-init.c: Add definition and callback for netgr.
19285 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
19286 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
19287 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
19288
21fd49a9
UD
19289 * nscd/connections.c (register_traced_file): Don't register file
19290 for disabled databases.
19291
054c0457
UD
192922011-10-06 Ulrich Drepper <drepper@gmail.com>
19293
32b63198
UD
19294 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
19295
054c0457
UD
19296 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
19297 from tree and freeing node.
19298
64031225
JO
192992011-09-25 Jiri Olsa <jolsa@redhat.com>
19300
19301 * nss/nsswitch.c (__nss_database_lookup): Handle
19302 nss_parse_service_list out of memory case.
19303
0490345c
JO
193042011-09-15 Jiri Olsa <jolsa@redhat.com>
19305
19306 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
19307 out of memory case.
19308
3a62d00d
AS
193092011-10-04 Andreas Schwab <schwab@redhat.com>
19310
19311 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
19312 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
19313 pass it down.
19314 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
19315 elf_machine_rela, elf_machine_lazy_rel.
19316 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
19317 (ELF_DYNAMIC_DO_REL): Likewise.
19318 (ELF_DYNAMIC_DO_RELA): Likewise.
19319 (ELF_DYNAMIC_RELOCATE): Likewise.
19320 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
19321 to ELF_DYNAMIC_DO_REL.
19322 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
19323 (dl_main): In trace mode always set __RTLD_NOIFUNC.
19324 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
19325 elf_machine_rela.
19326 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
19327 skip_ifunc, don't call ifunc function if non-zero.
19328 (elf_machine_rela): Likewise.
19329 (elf_machine_lazy_rel): Likewise.
19330 (elf_machine_lazy_rela): Likewise.
19331 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19332 (elf_machine_lazy_rel): Likewise.
19333 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19334 Likewise.
19335 (elf_machine_lazy_rel): Likewise.
19336 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19337 Likewise.
19338 (elf_machine_lazy_rel): Likewise.
19339 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
19340 (elf_machine_lazy_rel): Likewise.
19341 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
19342 (elf_machine_lazy_rel): Likewise.
19343 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19344 (elf_machine_lazy_rel): Likewise.
19345 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
19346 (elf_machine_lazy_rel): Likewise.
19347 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
19348 (elf_machine_lazy_rel): Likewise.
19349 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19350 (elf_machine_lazy_rel): Likewise.
19351
68577918
UD
193522011-09-28 Ulrich Drepper <drepper@gmail.com>
19353
19354 * nss/nss_files/files-init.c (_nss_files_init): Use static
19355 initialization for all the *_traced_file variables.
19356
68822d74
AS
193572011-09-28 Andreas Schwab <schwab@redhat.com>
19358
19359 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19360
2056100b
RM
193612011-09-27 Roland McGrath <roland@hack.frob.com>
19362
19363 [BZ #13226]
19364 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
19365
32c76b63
AS
193662011-09-27 Andreas Schwab <schwab@redhat.com>
19367
19368 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19369 Reread the line before reparsing it.
19370
bf972c9d
AS
193712011-09-26 Andreas Schwab <schwab@redhat.com>
19372
19373 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
19374
e057a1b5
JM
193752011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
19376 Maxim Kuvyrkov <maxim@codesourcery.com>
19377 Joseph Myers <joseph@codesourcery.com>
19378
19379 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
19380 if needed for __stack_chk_guard.
19381
bc7e1c36
RM
193822011-09-19 Roland McGrath <roland@hack.frob.com>
19383
ecb1482f
RM
19384 * sysdeps/posix/spawni.c (script_execute): Always define it.
19385 It will be optimized away if unused.
19386 (maybe_script_execute): New function.
19387 (__spawni): Call it.
19388
bc7e1c36
RM
19389 * Makerules: Don't include tls.make.
19390 (config-tls): Always set to thread.
19391 * tls.make.c: File removed.
19392
1c3b002b
MF
193932011-09-19 Mike Frysinger <vapier@gentoo.org>
19394
19395 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
19396 * config.make.in (CPPFLAGS-config): New substituted variable.
19397
2840865d
UD
193982011-09-15 Ulrich Drepper <drepper@gmail.com>
19399
88738eb6
UD
19400 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
19401
cbf645a6 19402 [BZ #13192]
2840865d
UD
19403 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
19404 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
19405
b402e91a
RM
194062011-09-15 Roland McGrath <roland@hack.frob.com>
19407
19408 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
19409 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
19410 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19411 (CALL_FAIL): Likewise.
19412 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
19413 (CALL_FAIL): Macro removed.
19414 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
19415
4c1a1f71
UD
194162011-09-15 Ulrich Drepper <drepper@gmail.com>
19417
19418 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
19419 for __FINITE_MATH_ONLY__ == 1.
19420
edc121be
AS
194212011-09-15 Andreas Schwab <schwab@redhat.com>
19422
19423 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
19424 __ieee754_sqrt instead of sqrt.
19425 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
19426 __ieee754_sqrtf instead of sqrtf.
19427 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
19428 __floorf instead of floorf.
19429 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
19430 __floorf, __truncf instead of floorf, truncf.
19431
cd205654
UD
194322011-09-14 Ulrich Drepper <drepper@gmail.com>
19433
ee4d0315
UD
19434 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
19435
cd205654
UD
19436 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
19437 __extern_always_inline.
19438 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
19439 32-bit.
19440
48b67d71
AS
194412011-09-14 Andreas Schwab <schwab@redhat.com>
19442
19443 * elf/rtld.c (dl_main): Also relocate in dependency order when
19444 doing symbol dependency testing.
19445
1ae12c75
AS
194462011-09-13 Andreas Schwab <schwab@linux-m68k.org>
19447
19448 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19449 Always define `refsym'.
19450
995a80df
AS
194512011-09-13 Andreas Schwab <schwab@redhat.com>
19452
e529793b
AS
19453 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
19454 (__FD_ELT): Renamed from __FDELT.
19455 * misc/bits/select2.h (__FD_ELT): Likewise.
19456 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19457 __FD_MASK instead of __FDELT, __FDMASK.
19458 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19459 Likewise.
19460 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19461 Likewise.
19462
52d4fef8
AS
19463 * elf/Makefile (gen-ldd): Fix pattern.
19464
995a80df
AS
19465 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
19466 (init_tls): Likewise.
19467
8682f8b0
UD
194682011-09-12 Ulrich Drepper <drepper@gmail.com>
19469
19470 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
19471
de82006d
AS
194722011-09-12 Andreas Schwab <schwab@redhat.com>
19473
a7c8e6a1
AS
19474 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
19475 `struct cmsghdr *' instead of `void *'.
19476 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
19477 Likewise.
19478
0f31fe77
AS
194792011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19480
19481 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
19482 if non-absolute.
19483 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
19484 ldd_rewrite_script.
0f31fe77 19485
32b4c839
UD
194862011-09-11 Ulrich Drepper <drepper@gmail.com>
19487
83cd1420
UD
19488 * configure.in: Remove --with-tls option.
19489 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
19490 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
19491 out in case it is missing.
19492 * sysdeps/ia64/elf/configure.in: Likewise.
19493 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
19494 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
19495 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
19496 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
19497 * sysdeps/sh/elf/configure.in: Likewise.
19498 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
19499 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19500 * sysdeps/x86_64/elf/configure.in: Likewise.
19501 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
19502 * sysdeps/mach/hurd/tls.h: Likewise.
19503
633f745d
UD
19504 [BZ #13067]
19505 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
19506
f318beb8
UD
19507 [BZ #13090]
19508 * configure.in: Fix use of AC_INIT.
19509
32b4c839
UD
19510 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
19511
3ce1f295
UD
195122011-09-10 Ulrich Drepper <drepper@gmail.com>
19513
bb016596
UD
19514 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
19515 __set_errno.
8e58439c
UD
19516 * malloc/hooks.c: Likewise.
19517
aebae053 19518 [BZ #11929]
02d46fc4
UD
19519 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
19520 variables statically.
19521 (narenas): Initialize.
19522 (list_lock): Initialize.
bb016596
UD
19523 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
19524 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
19525 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
19526 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
19527 Add initializers to main_arena and mp_.
19528 (malloc_state): Remove pagesize member. Change all users to use
19529 GLRO(dl_pagesize).
19530
19531 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
19532 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
19533 is always initialized.
19534
22a89187
UD
19535 * malloc/malloc.c: Removed unused configurations and dead code.
19536 * malloc/arena.c: Likewise.
19537 * malloc/hooks.c: Likewise.
02d46fc4 19538 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 19539
d063d164
UD
19540 * include/tls.h: Removed. USE___THREAD must always be defined.
19541 * bits/libc-tsd.h: Don't handle !USE___THREAD.
19542 * elf/dl-libc.c: Likewise.
19543 * elf/dl-tsd.c: Likewise.
19544 * include/errno.h: Likewise.
19545 * include/netdb.h: Likewise.
19546 * include/resolv.h: Likewise.
19547 * inet/herrno-loc.c: Likewise.
19548 * inet/herrno.c: Likewise.
19549 * malloc/arena.c: Likewise.
19550 * malloc/hooks.c: Likewise.
19551 * malloc/malloc.c: Likewise.
19552 * resolv/res-state.c: Likewise.
19553 * resolv/res_libc.c: Likewise.
19554 * sysdeps/i386/dl-machine.h: Likewise.
19555 * sysdeps/ia64/dl-machine.h: Likewise.
19556 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
19557 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19558 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19559 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19560 * sysdeps/sh/dl-machine.h: Likewise.
19561 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19562 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19563 * sysdeps/unix/i386/sysdep.S: Likewise.
19564 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19565 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19566 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19567 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19568 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19569 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19570 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19571 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19572 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19573 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19574 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19575 * sysdeps/x86_64/dl-machine.h: Likewise.
19576 * tls.make.c: Likewise.
19577
3ce1f295
UD
19578 * configure.in: Remove --with-__thread option. Make tests for
19579 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
19580 tls_model attribute fail if no support is available. Remove
19581 USE_IN_LIBIO.
19582 * Makeconfig: Adjust for dropped configure option. All features are
19583 now mandatory.
19584 * Makerules: Likewise.
19585 * Versions.def: Likewise.
19586 * argp/argp-fmtstream.c: Likewise.
19587 * argp/argp-fmtstream.h: Likewise.
19588 * argp/argp-help.c: Likewise.
19589 * assert/assert.c: Likewise.
19590 * config.h.in: Likewise.
19591 * config.make.in: Likewise.
19592 * configure: Likewise.
19593 * configure.in: Likewise.
19594 * csu/Versions: Likewise.
19595 * csu/init.c: Likewise.
19596 * elf/tst-audit2.c: Likewise.
19597 * elf/tst-tls10.c: Likewise.
19598 * elf/tst-tls10.h: Likewise.
19599 * elf/tst-tls11.c: Likewise.
19600 * elf/tst-tls12.c: Likewise.
19601 * elf/tst-tls14.c: Likewise.
19602 * elf/tst-tlsmod11.c: Likewise.
19603 * elf/tst-tlsmod12.c: Likewise.
19604 * elf/tst-tlsmod13.c: Likewise.
19605 * elf/tst-tlsmod13a.c: Likewise.
19606 * elf/tst-tlsmod14a.c: Likewise.
19607 * elf/tst-tlsmod15b.c: Likewise.
19608 * elf/tst-tlsmod16a.c: Likewise.
19609 * elf/tst-tlsmod16b.c: Likewise.
19610 * elf/tst-tlsmod7.c: Likewise.
19611 * elf/tst-tlsmod8.c: Likewise.
19612 * elf/tst-tlsmod9.c: Likewise.
19613 * gmon/gmon.c: Likewise.
19614 * grp/fgetgrent_r.c: Likewise.
19615 * grp/putgrent.c: Likewise.
19616 * hurd/fopenport.c: Likewise.
19617 * include/libc-symbols.h: Likewise.
19618 * include/tls.h: Likewise.
19619 * intl/gettextP.h: Likewise.
19620 * intl/loadinfo.h: Likewise.
19621 * locale/global-locale.c: Likewise.
19622 * locale/localeinfo.h: Likewise.
19623 * mach/devstream.c: Likewise.
19624 * malloc/arena.c: Likewise.
19625 * malloc/set-freeres.c: Likewise.
19626 * misc/err.c: Likewise.
19627 * misc/getttyent.c: Likewise.
19628 * misc/mntent_r.c: Likewise.
19629 * posix/getopt.c: Likewise.
19630 * posix/wordexp.c: Likewise.
19631 * pwd/fgetpwent_r.c: Likewise.
19632 * resolv/Versions: Likewise.
19633 * resolv/res_hconf.c: Likewise.
19634 * shadow/fgetspent_r.c: Likewise.
19635 * shadow/putspent.c: Likewise.
19636 * stdio-common/printf_fphex.c: Likewise.
19637 * stdio-common/tmpfile.c: Likewise.
19638 * stdlib/abort.c: Likewise.
19639 * stdlib/fmtmsg.c: Likewise.
19640 * sunrpc/auth_unix.c: Likewise.
19641 * sunrpc/clnt_perr.c: Likewise.
19642 * sunrpc/clnt_tcp.c: Likewise.
19643 * sunrpc/clnt_udp.c: Likewise.
19644 * sunrpc/clnt_unix.c: Likewise.
19645 * sunrpc/openchild.c: Likewise.
19646 * sunrpc/svc_simple.c: Likewise.
19647 * sunrpc/svc_tcp.c: Likewise.
19648 * sunrpc/svc_udp.c: Likewise.
19649 * sunrpc/svc_unix.c: Likewise.
19650 * sunrpc/xdr.c: Likewise.
19651 * sunrpc/xdr_array.c: Likewise.
19652 * sunrpc/xdr_rec.c: Likewise.
19653 * sunrpc/xdr_ref.c: Likewise.
19654 * sunrpc/xdr_stdio.c: Likewise.
19655
1248c1c4
PB
196562011-09-09 Ulrich Drepper <drepper@gmail.com>
19657
19658 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19659
196602011-07-03 Andreas Jaeger <aj@suse.de>
19661
19662 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
19663 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
19664 regenerate with gen-libm-tests.pl.
19665
196662010-05-12 Petr Baudis <pasky@suse.cz>
19667
19668 [BZ #11589]
19669 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
19670 around j0() zero points by switching to j1().
19671 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19672 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19673 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19674 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19675
f22e1074
UD
196762011-09-09 Ulrich Drepper <drepper@gmail.com>
19677
f19009c1
UD
19678 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
19679 instead of 0.
19680 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 19681 instead of 0.
f19009c1
UD
19682 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19683 Patch in part by Pavel Roskin <proski@gnu.org>.
19684
3f8cc204
UD
19685 [BZ #13138]
19686 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19687 realloc.
19688 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
19689 Free memory block if necessary.
19690
f22e1074
UD
19691 [BZ #12847]
19692 * libio/genops.c (INTDEF): For string streams the _lock pointer can
19693 be NULL. Don't lock in this case.
19694
0a2349f9
RM
196952011-09-09 Roland McGrath <roland@hack.frob.com>
19696
19697 * elf/elf.h (ELFOSABI_GNU): New macro.
19698 (ELFOSABI_LINUX): Define to that.
19699
f3cdd467
DZ
197002011-07-29 Denis Zaitceff <zaitceff@gmail.com>
19701
19702 * string/strncat.c (strncat): Undef the symbol in case it has been
19703 defined in bits/string.h.
19704
74718d13
UD
197052011-09-09 Ulrich Drepper <drepper@gmail.com>
19706
633e9e0f
UD
19707 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19708
0a2349f9 19709 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
19710 link map.
19711
f9924780
AJ
197122011-08-17 Andreas Jaeger <aj@suse.de>
19713
19714 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19715
7f5517aa
PP
197162011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19717 Ian Lance Taylor <iant@google.com>
19718
19719 * math/libm-test.inc (lround_test): New testcase.
19720 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19721
762011fe
UD
197222011-09-08 Ulrich Drepper <drepper@gmail.com>
19723
92963737
UD
19724 * Makefile: Remove support for automatic cvs check-ins.
19725 * Makerules: Likewise.
19726 * config.make.in: Likewise.
19727 * configure.in: Likewise.
19728 * intl/Makefile: Likewise.
19729 * locale/Makefile: Likewise.
19730 * po/Makefile: Likewise.
19731 * posix/Makefile: Likewise.
19732 * sysdeps/gnu/Makefile: Likewise.
19733 * sysdeps/mach/hurd/Makefile: Likewise.
19734 * sysdeps/sparc/sparc32/Makefile: Likewise.
19735
b0727fd8
JS
19736 [BZ #13118]
19737 * posix/Makefile (bug-regex32-ENV): Define.
19738 Patch by John Stanley <jpsinthemix@verizon.net>.
19739
a0f33f99
UD
19740 * misc/Makefile (headers): Add bits/select2.h.
19741 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19742 * misc/bits/select2.h: New file.
19743 * include/bits/select2.h: New file.
19744 * debug/Makefile (routines): Add fdelt_chk.
19745 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19746 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19747 FD_ISSET.
19748 * debug/fdelt_chk.c: New file.
19749
762011fe
UD
19750 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
19751 * wcsmbs/test-wmemcmp.c: Likewise.
19752 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 19753 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
19754
197552011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19756
19757 * string/Makefile (strop-tests): Add memcmp.
19758 * string/test-wmemcmp.c: New file.
19759 * string/test-memcmp.c: Add wmemcmp support.
19760
7f513ec8
RM
197612011-09-08 Roland McGrath <roland@hack.frob.com>
19762
0442afb4
RM
19763 [BZ #13153]
19764 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19765 2011-07-19 change.
19766
7f513ec8
RM
19767 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19768 garbage value in a __mach_port_mod_refs call in the cases of the
19769 task-self and thread-self ports.
19770
a12b2239
ST
197712011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19772
19773 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19774
610f9ab4
AS
197752011-09-08 Andreas Schwab <schwab@redhat.com>
19776
7f513ec8 19777 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 19778
48882a1a
LD
197792011-09-07 Ulrich Drepper <drepper@gmail.com>
19780
b49865be
UD
19781 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19782
fdc86bc9
UD
19783 * elf/dl-libc.c (dlerror_run): Pass back error code from
19784 dl_catch_error.
19785
c966526a
UD
19786 [BZ #13123]
19787 * elf/dl-load.c (lose): Free l_origin if it is valid.
19788
48882a1a
LD
19789 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19790 names.
19791 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19792 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19793 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19794 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19795 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19796 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19797
77a2a8b4
AZ
197982011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19799
19800 * sysdeps/powerpc/fpu/e_hypot.c: New file.
19801 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19802 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19803 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19804 * sysdeps/powerpc/fpu/k_cosf.c: New file.
19805 * sysdeps/powerpc/fpu/k_sinf.c: New file.
19806 * sysdeps/powerpc/fpu/s_cosf.c: New file.
19807 * sysdeps/powerpc/fpu/s_sinf.c: New file.
19808 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19809 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19810
24f579d8
AM
198112011-08-15 Alan Modra <amodra@gmail.com>
19812
19813 [BZ #13092]
19814 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19815 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19816 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
19817 ppc_mcount to static-only-routines.
19818 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19819 __mcount_internal.
19820 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19821 __mcount_internal with usual JUMPTARGET. Remove useless nop.
19822
3d4837df
UD
198232011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
19824
19825 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19826 for finite and infinity parameters.
19827
22700377
WS
198282011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19829
19830 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19831 and add nop instructions for throughput optimization.
19832 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19833
5025581e
WS
198342011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
19835
19836 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19837 aligned copy for power7 with vector-scalar instructions.
19838 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19839
08a300c9
L
198402011-07-24 H.J. Lu <hongjiu.lu@intel.com>
19841
19842 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19843 AVX check.
19844
59178ef9
AS
198452011-09-07 Andreas Schwab <schwab@redhat.com>
19846
19847 [BZ #13144]
19848 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19849 last change.
19850
e38ba7ab
UD
198512011-09-07 Ulrich Drepper <drepper@gmail.com>
19852
19853 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19854 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19855 syscall wrapper around clock_gettime in __vdso_clock_gettime.
19856 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19857 clock_gettime.
19858
d53a73ac
UD
198592011-09-06 Ulrich Drepper <drepper@gmail.com>
19860
fc8bffcc
UD
19861 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19862 Forgot to demangle the pointer.
19863
ceaa0c5d
UD
19864 * sysdeps/i386/sysdep.h: Define atom_text_section.
19865 * sysdeps/x86_64/sysdep.h: Likewise.
19866 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19867 section with atom_text_section.
19868 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19869 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19870 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19871 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19872 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19873
a77d3c17
UD
19874 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19875 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19876 already be defined. Change to take two parameters and don't assign
19877 result to variable. Adjust all users.
19878 Define INTERNAL_GETTIME if not already defined.
19879 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19880 call.
19881 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19882 HAVE_CLOCK_GETTIME_VSYSCALL.
19883 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19884
d53a73ac
UD
19885 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19886 gettimeofday vsyscall, just use time.
19887
a8f84144
AS
198882011-09-06 Andreas Schwab <schwab@redhat.com>
19889
19890 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19891 <errno.h>.
19892
ef606249
UD
198932011-09-06 Ulrich Drepper <drepper@gmail.com>
19894
19895 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19896 syscall on x86-64.
19897 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19898 syscall.
19899 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19900 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19901 syscall if possible.
19902
6585cb60
UD
199032011-09-05 Ulrich Drepper <drepper@gmail.com>
19904
19905 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19906 e_ident. Don't pass to find_mapsXX.
19907 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19908
a5f524e4
LD
199092011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19910
19911 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19912 strchr-sse2-no-bsf strrchr-sse2-no-bsf
19913 * sysdeps/x86_64/multiarch/strchr.S: Update.
19914 Check bit_slow_BSF bit.
19915 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19916 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19917 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19918
554881ef
UD
199192011-09-05 Ulrich Drepper <drepper@gmail.com>
19920
d96de963
UD
19921 [BZ #13134]
19922 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19923 before glibc 2.15.
19924 (tryshell): Define.
19925 (__spawni): Change last parameter to be flag. Test
19926 SPAWN_XFLAGS_USE_PATH flag to use path or not.
19927 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19928 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19929 * posix/spawni.c: Likewise.
19930 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19931 * posix/spawnp.c: Likewise. Change normal version to use
19932 SPAWN_XFLAGS_USE_PATH.
19933 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19934 SPAWN_XFLAGS_TRY_SHELL.
19935
d48e5868
UD
19936 [BZ #13150]
19937 * posix/glob.h: Remove gcc 1.x support.
19938
554881ef
UD
19939 [BZ #13068]
19940 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19941
693fb948
LD
199422011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19943
19944 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19945 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19946 strrchr-sse2-bsf
19947 * sysdeps/i386/i686/multiarch/strchr.S: New file.
19948 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19949 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19950 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19951 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19952 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19953
1b48c537
UD
199542011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19955
49d42c37
UD
19956 * sysdeps/x86_64/wcscmp.S: New file.
19957
1b48c537
UD
19958 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19959 wcscmp-c wcscmp-sse2
19960 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19961 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19962 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19963 * wcsmbs/wcscmp.c: Allow renaming.
19964
15c95c5d
DM
199652011-09-05 David S. Miller <davem@davemloft.net>
19966
19967 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19968 stack slot, rather than the struct return pointer slot.
19969 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19970 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19972 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19973
2f0ad8f3
UD
199742011-09-05 Ulrich Drepper <drepper@gmail.com>
19975
d88ae418
UD
19976 * po/ja.po: Update from translation team.
19977
2f0ad8f3
UD
19978 [BZ #13144]
19979 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19980 kernel in 64-bit binaries.
19981
5f4318d1
DM
199822011-09-01 David S. Miller <davem@davemloft.net>
19983
19984 * elf/elf.h (HWCAP_SPARC_*): Move to..
19985 * sysdeps/sparc/sysdep.h: this new file and add new values.
19986 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19987 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19988 _DL_HWCAP_COUNT to 24.
19989 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19990 entries.
19991 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19992 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19993 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19994 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19995 instead of magic constants.
19996 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19997
3ba57516
DM
199982011-08-31 David S. Miller <davem@davemloft.net>
19999
20000 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
20001 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
20002 Reimplement to do errno handling inline.
20003 (SYSCALL_ERROR_HANDLER): New macro.
20004 (__SYSCALL_STRING): Do not do errno handling in asm.
20005 (__CLONE_SYSCALL_STRING): Delete.
20006 (__INTERNAL_SYSCALL_STRING): Delete.
20007 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
20008 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
20009 (PSEUDO): Reimplement to do errno handling inline.
20010 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
20011 (SYSCALL_ERROR_HANDLER): New macro.
20012 (__SYSCALL_STRING): Do not do errno handling in asm.
20013 (__CLONE_SYSCALL_STRING): Delete.
20014 (__INTERNAL_SYSCALL_STRING): Delete.
20015 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
20016 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
20017 i386.
20018 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
20019 (inline_syscall*): Add 'err' argument.
20020 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
20021 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
20022 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
20023 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
20024
20025 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
20026 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20027
2bc17433
AS
200282011-08-30 Andreas Schwab <schwab@redhat.com>
20029
20030 * elf/rtld.c (dl_main): Relocate objects in dependency order.
20031
fbeb5f4d
JO
200322011-08-29 Jiri Olsa <jolsa@redhat.com>
20033
20034 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
20035 directive.
20036
ad69cc26
DM
200372011-08-24 David S. Miller <davem@davemloft.net>
20038
20039 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
20040
39dd69df
AS
200412011-08-24 Andreas Schwab <schwab@redhat.com>
20042
20043 * elf/Makefile: Add rules to build and run unload8 test.
20044 * elf/unload8.c: New file.
20045 * elf/unload8mod1.c: New file.
20046 * elf/unload8mod1x.c: New file.
20047 * elf/unload8mod2.c: New file.
20048 * elf/unload8mod3.c: New file.
20049
20050 * elf/dl-close.c (_dl_close_worker): Reset private search list if
20051 it wasn't used.
20052
2c0b250a
DM
200532011-08-23 David S. Miller <davem@davemloft.net>
20054
20055 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
20056 subtract stack bias.
20057 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
20058 %sp not %fp in calculations.
20059 (_JMPBUF_UNWINDS_ADJ): Likewise.
20060
22044b48
DM
20061 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
20062 (aio_suspend): Call it to force an exception region around the
20063 AIO_MISC_WAIT() invocation.
20064
2cae4995
AS
200652011-08-23 Andreas Schwab <schwab@redhat.com>
20066
20067 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
20068 backslash.
20069
873a772e
AJ
200702011-07-04 Aurelien Jarno <aurelien@aurel32.net>
20071
20072 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
20073 protection macro.
20074 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
20075 and <dl-machine.h>.
20076 (Elf64_FuncDesc): Remove.
20077
25ad0df1
DM
200782011-08-22 David S. Miller <davem@davemloft.net>
20079
20080 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
20081 sigaltstack check, add missing cfi directives.
20082 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
20083 missing cfi directives, and sigaltstack handling.
20084
e888bcbe
AS
200852011-08-16 Andreas Schwab <schwab@redhat.com>
20086
20087 [BZ #11724]
20088 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
20089 object is seen twice.
20090 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20091
20092 * elf/Makefile (distribute): Add tst-initorder2.c.
20093 (tests): Add tst-initorder2.
20094 (modules-names): Add tst-initorder2a tst-initorder2b
20095 tst-initorder2c tst-initorder2d. Add rules to build them.
20096 ($(objpfx)tst-initorder2.out): New rule.
20097 * elf/tst-initorder2.c: New file.
20098 * elf/tst-initorder2.exp: New file.
20099
87162f46
AS
201002011-08-22 Andreas Schwab <schwab@redhat.com>
20101
70538b7f
AS
20102 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
20103
f55ffe58
AS
20104 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
20105 dependencies back to end of function.
20106
87162f46
AS
20107 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20108 $(elfobjdir)/ld.so.
20109
91b392a4
UD
201102011-08-21 Ulrich Drepper <drepper@gmail.com>
20111
20112 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
20113 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
20114 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
20115 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
20116 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
20117 of __vdso_gettimeofday.
20118 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
20119 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
20120 attribute_hidden.
20121 (_libc_vdso_platform_setup): Remove initialization of
20122 __vdso_gettimeofday and __vdso_time.
20123
5c43483f
UD
201242011-08-20 Ulrich Drepper <drepper@gmail.com>
20125
775a77e7
UD
20126 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
20127 and fgetc_unlocked.
20128 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
20129 getc_unlocked.
89f447ed 20130
49c74ba9
UD
20131 * elf/dl-open.c (add_to_global): Report additions to the global scope
20132 for LD_DEBUG=scopes.
20133 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 20134 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 20135
5c43483f
UD
20136 [BZ #13114]
20137 * stdio-common/Makefile (tests): Add bug24.
20138 * stdio-common/bug24.c: New file.
20139
a101b025
AJ
201402011-08-19 Andreas Jaeger <aj@suse.de>
20141
20142 [BZ #13114]
20143 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
20144 non-existant file when using close-on-exec mode.
20145
c88f1766
UD
201462011-08-20 Ulrich Drepper <drepper@gmail.com>
20147
0276a718
UD
20148 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
20149 the very first instruction.
20150
c88f1766
UD
20151 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
20152 the CFI state in the end.
20153 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
20154 inclusion of dl-trampoline.h.
20155 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
20156
51ccffa0
AS
201572011-08-19 Andreas Schwab <schwab@redhat.com>
20158
94d7165f
AS
20159 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
20160 expectations for long double.
20161
51ccffa0
AS
20162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
20163 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
20164
fd708658 201652011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
20166
20167 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
20168 artificual limit depends upon the system page size.
20169
44f0a71e
UD
201702011-08-17 Ulrich Drepper <drepper@gmail.com>
20171
20172 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
20173 * resolv/Makefile: Define CFLAGS-libresolv.
20174
8de79a24
AS
201752011-08-17 Andreas Schwab <schwab@redhat.com>
20176
20177 * nss/makedb.c (compute_tables): Make variables used in nested
20178 function static.
20179
27724598
UD
201802011-08-17 Ulrich Drepper <drepper@gmail.com>
20181
c5305d88
UD
20182 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
20183 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
20184 if buffer was too small.
20185
27724598
UD
20186 * elf/pldd.c (main): Attach to all threads in the process.
20187 Rewrite /proc handling to use *at functions.
20188
076fe015
UD
201892011-08-16 Ulrich Drepper <drepper@gmail.com>
20190
174baab3
UD
20191 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
20192 specifies first scope to show.
20193 (dl_open_worker): Update callers. Move printing scope of new
20194 object to before the relocation.
44f0a71e 20195 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
20196 * sysdeps/generic/ldsodefs.h: Update declaration.
20197
076fe015
UD
20198 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
20199 string for the scope number.
20200
a60df2c3
UD
202012011-08-14 Ulrich Drepper <drepper@gmail.com>
20202
20203 * nscd/servicescache.c (cache_addserv): Make sure written is always
20204 initialized.
20205
5e4287d1
RM
202062011-08-14 Roland McGrath <roland@hack.frob.com>
20207
85ae0589
RM
20208 * sysdeps/i386/i486/bits/atomic.h
20209 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
20210 statement expression, so as to suppress "set but not used" warning.
20211 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
20212
69f63097
RM
20213 * string/strncat.c (STRNCAT): Use prototype definition.
20214
675456ef
RM
20215 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
20216 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
20217 -Iprograms here.
20218 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
20219 (localedef-modules): Add localedef.
20220 (locale-modules): Add locale.
20221
5e4287d1
RM
20222 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
20223 * elf/rtld.c (dl_main): Invert order of assignment in last change,
20224 to avoid a warning.
20225
9c96ff23
DM
202262011-08-14 David S. Miller <davem@davemloft.net>
20227
20228 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
20229 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
20230
f9ddf089
UD
202312011-08-13 Ulrich Drepper <drepper@gmail.com>
20232
44f0a71e 20233 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
20234 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
20235 * elf/rtld.c (dl_main): Set l_name of vDSO.
20236 Call _dl_show_scope when DL_DEBUG_SCOPES.
20237 (process_dl_debug): Recognize scopes flag and also set it for all.
20238 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
20239 Declare _dl_show_scope.
20240
1dc27704
UD
20241 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
20242 (do_dlopen): Pass caller_dlopen to dl_open.
20243 (__libc_dlopen_mode): Initialize caller_dlopen.
20244
f9ddf089
UD
20245 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
20246 of libc. Make tolower call locale-independent. Optimize a bit by
20247 using isdigit instead of isalnum.
20248 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
20249
9ac533d3
UD
202502011-08-12 Ulrich Drepper <drepper@gmail.com>
20251
20252 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
20253 was a dependency or dynamically loaded.
20254
89edf2e9
UD
202552011-08-11 Ulrich Drepper <drepper@gmail.com>
20256
8e999d29
UD
20257 * intl/l10nflist.c: Allow architecture-specific pop function.
20258 * sysdeps/x86_64/l10nflist.c: New file.
20259
89edf2e9
UD
20260 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
20261 classification.
20262
14d96785
AS
202632011-08-10 Andreas Schwab <schwab@redhat.com>
20264
20265 * include/dirent.h: Add libc_hidden_proto for scandirat and
20266 scandirat64. Don't declare __scandirat64.
20267 * dirent/scandirat.c: Add libc_hidden_def.
20268 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
20269 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
20270
6761ac04
DM
202712011-08-10 David S. Miller <davem@davemloft.net>
20272
20273 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
20274 enum.
20275 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20276 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20277 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20278
c55fbd1e
UD
202792011-08-09 Ulrich Drepper <drepper@gmail.com>
20280
20281 * Versions.def [libc]: Add GLIBC_2.15.
20282 * dirent/Makefile (routines): Add scandirat and scandirat64.
20283 * dirent/Versions [libc]: Export scandirat and scandirat64 for
20284 GLIBC_2.15.
20285 * dirent/dirent.h: Declare scandirat and scandirat64.
20286 * dirent/scandirat.c: New file.
20287 * dirent/scandirat64.c: New file.
20288 * sysdeps/wordsize-64/scandirat.c: New file.
20289 * sysdeps/wordsize-64/scandirat64.c: New file.
20290 * dirent/opendir.c: Define opendirat.
20291 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
20292 using scandirat.
20293 * dirent/scandir64.c: Adjust for scandir.c change.
20294 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
20295 __scandirat64, and __scandir_cancel_handler.
20296 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
20297 additional parameter and use openat instead of open (outside of ld.so).
20298 Add new __opendir as wrapper around __opendirat.
20299 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
20300 here without requiring old scandirat implementation.
20301
879165f2
UD
203022011-08-08 Ulrich Drepper <drepper@gmail.com>
20303
20304 * dirent/scandir.c (cancel_handler): Renamed to
20305 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
20306 defined. Adjust users.
20307 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
20308 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
20309
cb7e923b
UD
203102011-08-04 Ulrich Drepper <drepper@gmail.com>
20311
16292edd
UD
20312 * string/test-string.h (IMPL): Use __STRING to expand name and then
20313 stringify it.
20314
cb7e923b
UD
20315 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
20316 of cleanups.
20317
cff82933
LD
203182011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20319
20320 * string/Makefile: Update.
20321 (strop-tests): Append strncat.
20322 * string/test-wcscmp.c: New file.
20323 New comprehensive test for wcscmp.
20324 * string/test-strcmp.c: Update.
20325 (WIDE): New define.
20326
9be9bfcc
AS
203272011-07-22 Andreas Schwab <schwab@redhat.com>
20328
20329 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
20330 line.
20331
2e96f1c7
AS
203322011-07-26 Andreas Schwab <schwab@redhat.com>
20333
20334 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20335 encoding to ACE if AI_IDN.
20336
85188888
JJ
203372011-08-01 Jakub Jelinek <jakub@redhat.com>
20338
20339 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
20340 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
20341
5fa16e9b
LD
203422011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20343
20344 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
20345 Fix overflow bug in strncat.
20346 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20347
20348 * string/test-strncat.c: Update.
20349 Add new tests for checking overflow bugs.
20350
203512011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20352
20353 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20354 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
20355 * sysdeps/i386/i686/multiarch/strcat.S: New file.
20356 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
20357 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
20358 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
20359 * sysdeps/i386/i686/multiarch/strncat.S: New file.
20360 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
20361 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
20362
20363 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
20364 (USE_AS_STRCAT): Define.
20365 Add strcat and strncat support.
20366 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20367
8c1a459f
AS
203682011-07-25 Andreas Schwab <schwab@redhat.com>
20369
20370 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
20371 __n bigger than INT_MAX+1.
20372 (__strncmp_g): Likewise.
20373
bba33c28
UD
203742011-07-23 Ulrich Drepper <drepper@gmail.com>
20375
798be72d
UD
20376 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
20377 * libio/stido.h: Likewise.
20378
8accd4dc
UD
20379 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
20380 (AF_NFC): Define.
20381 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
20382 (AF_NFC): Define.
20383
cbff0d96
UD
20384 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
20385 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20386 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20387 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20388 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20389
9191c04a
UD
20390 [BZ #13021]
20391 * scripts/test-installation.pl: Don't expect libnss_test1 to be
20392 installed.
20393
bba33c28
UD
20394 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
20395 typo.
20396 (_dl_x86_64_save_sse): Likewise.
20397
90f139dd
UD
203982011-07-22 Ulrich Drepper <drepper@gmail.com>
20399
1aae088a
UD
20400 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
20401 OSXSAVE.
20402 (_dl_x86_64_save_sse): Likewise.
20403
8e2045f5
UD
20404 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
20405
90f139dd
UD
20406 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
20407
1d002f25
AS
204082011-07-21 Andreas Schwab <schwab@redhat.com>
20409
20410 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
20411 change.
20412 (_dl_x86_64_save_sse): Use correct AVX check.
20413
21137f89
UD
204142011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20415
20416 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20417 bug in strncpy/strncat.
20418 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20419
a65c0b7a
UD
204202011-07-21 Ulrich Drepper <drepper@gmail.com>
20421
20422 * string/tester.c (test_strcat): Add tests for different alignments
20423 of source and destination.
20424 (test_strncat): Likewise.
20425
6986b98a
UD
204262011-07-20 Ulrich Drepper <drepper@gmail.com>
20427
90bb2039
UD
20428 [BZ #12852]
20429 * posix/glob.c (glob): Check passed in values before using them in
20430 expressions to avoid some overflows.
20431 (glob_in_dir): Likewise.
20432
5644ef54
UD
20433 [BZ #13007]
20434 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
20435 check for AVX enablement so that we don't crash with old kernels and
20436 new hardware.
20437 * elf/tst-audit4.c: Add same checks here.
20438 * elf/tst-audit6.c: Likewise.
20439
20440 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 20441
bfc9dc9b
AS
204422011-07-09 Andreas Schwab <schwab@linux-m68k.org>
20443
20444 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
20445
702e64bb
UD
204462011-07-20 Ulrich Drepper <drepper@gmail.com>
20447
20448 * po/cs.po: Update from translation team.
20449 * po/bg.po: Likewise.
20450
295e904f
MP
204512011-07-12 Marek Polacek <mpolacek@redhat.com>
20452
20453 * misc/sys/cdefs.h: Add support for const attribute.
20454 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
20455 to gnu_dev_{major,minor,makedev} functions.
20456
3ff94596
MP
204572011-07-20 Marek Polacek <mpolacek@redhat.com>
20458
20459 * intl/dcigettext.c (get_output_charset): Add missing bracket.
20460
28b59fca
AS
204612011-07-20 Andreas Schwab <schwab@redhat.com>
20462
20463 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
20464 strlen results.
20465
19df733e
AK
204662011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20467
20468 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20469 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
20470 register in order to avoid conflicts with the soft frame pointer
20471 being held in r11 when necessary.
20472 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20473 (INTERNAL_VSYSCALL_NCS): Likewise.
20474
c8835729
MP
204752011-07-14 Marek Polacek <mpolacek@redhat.com>
20476
20477 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
20478 * elf/dl-fini.c (_dl_fini): Adjust caller.
20479 * elf/dl-close.c (_dl_close_worker): Likewise.
20480 * sysdeps/generic/ldsodefs.h: Adjust declaration.
20481
b902330c
MP
204822011-07-15 Marek Polacek <mpolacek@redhat.com>
20483
8991e135
MP
20484 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
20485 "aux_cache->nlibs < 0".
20486
b902330c
MP
20487 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
20488 in the reload-count case.
20489
99710781
LD
204902011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20491
20492 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20493 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
20494 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
20495 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
20496 * sysdeps/x86_64/multiarch/strcat.S: New file.
20497 * sysdeps/x86_64/multiarch/strncat.S: New file.
20498 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
20499 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
20500 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
20501 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
20502 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
20503 (USE_AS_STRCAT): Define.
20504 Add strcat and strncat support.
20505 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20506 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20507 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
20508 * string/strncat.c: Update.
20509 (USE_AS_STRNCAT): Define.
20510 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20511 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
20512 and i7.
20513 * sysdeps/x86_64/multiarch/init-arch.h
20514 (bit_Prefer_PMINUB_for_stringop): New.
20515 (index_Prefer_PMINUB_for_stringop): Likewise.
20516 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
20517 bit_Prefer_PMINUB_for_stringop.
20518
7dc6bd90
UD
205192011-07-19 Ulrich Drepper <drepper@gmail.com>
20520
20521 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
20522 buffer64.
20523 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
20524 of casting of buffer.
20525 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
20526 buffer32 and buffer64.
20527 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
20528 writes instead of casting of buffer.
20529 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
20530 buffer32.
20531 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
20532 casting of buffer.
20533
e0e72284
AS
205342011-07-19 Andreas Schwab <schwab@redhat.com>
20535
20536 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
20537
feb1eb0b
UD
205382011-07-19 Ulrich Drepper <drepper@gmail.com>
20539
20540 * nscd/nscd.c (termination_handler): Don't do anything for a database
20541 if it has not yet been initialized.
20542
298711ff
UD
205432011-07-18 Ulrich Drepper <drepper@gmail.com>
20544
20545 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20546
205472011-07-15 Marek Polacek <mpolacek@redhat.com>
20548
20549 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20550
f9d68389
UD
205512011-07-18 Ulrich Drepper <drepper@gmail.com>
20552
20553 * po/nl.po: Update from translation team.
20554 * po/sv.po: Likewise.
20555
db290cf5
RM
205562011-07-16 Roland McGrath <roland@hack.frob.com>
20557
20558 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
20559 now disallowed by GCC.
5c550700 20560
fd5e21c7
RM
20561 * configure.in (use-default-link): Default to yes if a test -shared
20562 link meets our qualifications.
20563 * configure: Regenerated.
20564
5c550700
RM
20565 * config.make.in (output-format): New variable.
20566 * configure.in: Check for ld --print-output-format support.
20567 * configure: Regenerated.
20568 * Makerules ($(common-objpfx)format.lds)
20569 [$(output-format) != unknown]: Just use $(output-format),
20570 instead of the linker-script munging.
20571
9fa2c032
RM
205722011-07-14 Roland McGrath <roland@hack.frob.com>
20573
a6928d51
RM
20574 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
20575 of $(common-objpfx)shlib.lds.
20576 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
20577
661607b3
RM
20578 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
20579 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
20580
9fa2c032
RM
20581 * configure.in (-z relro check): Adjust test code to add a large
20582 writable data section after it.
20583 * configure: Regenerated.
20584
defe9061
RM
205852011-07-11 Roland McGrath <roland@hack.frob.com>
20586
20587 * configure.in (-z relro check): Fix test code to make the variable
20588 truly const.
20589 * configure: Regenerated.
20590
319b9ad4
UD
205912011-07-11 Ulrich Drepper <drepper@gmail.com>
20592
20593 * nscd/nscd.h (struct traced_file): Define.
20594 (struct database_dyn): Remove inotify_descr, reset_res, and filename
20595 elements. Add traced_files.
20596 (inotify_fd): Declare.
20597 (register_traced_file): Declare.
20598 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
20599 (inotify_fd): Export.
20600 (resolv_conf_descr): Remove.
20601 (nscd_init): Move inotify descriptor creation to main.
20602 Don't register files for notification here.
20603 (register_traced_file): New function.
20604 (invalidate_cache): Don't use reset_res to determine whether to call
20605 res_init, go through the list of registered files.
20606 (main_loop_poll): The inotify descriptors are now stored in the
20607 structures for the traced files.
20608 (main_loop_epoll): Likewise
20609 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
20610 to __nss_disable_nscd.
20611 * nscd/cache.c (prune_cache): There is no single inotify descriptor
20612 for a database anymore. Check the records for all the registered
20613 files instead.
20614 * nss/Makefile (libnss_files-routines): Add files-init.
20615 (libnss_db-routines): Add db-init.
20616 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
20617 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
20618 * nss/nss_db/db-init.c: New file.
20619 * nss/nss_files/files-init.c: New file.
20620 * nss/nsswitch.c (nss_load_library): New function. Broken out of
20621 __nss_lookup_function.
20622 (__nss_lookup_function): Call nss_load_library.
20623 (nss_load_all_libraries): New function.
20624 (__nss_disable_nscd): Take parameter with callback function for files
20625 to register. Set is_nscd. Load all the DSOs for the NSS modules
20626 used for the cached services.
20627 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
20628 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
20629 options for features to all the files in nscd.
20630
20631 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
20632
23bee3e8
RM
206332011-07-10 Roland McGrath <roland@hack.frob.com>
20634
20635 * csu/elf-init.c (__libc_csu_init): Comment typo.
20636
46a5b7f0
UD
206372011-07-09 Ulrich Drepper <drepper@gmail.com>
20638
20639 * po/pl.po: Update from translation team.
20640 * po/ja.po: Likewise.
20641 * po/ru.po: Likewise.
20642 * po/ko.po: Likewise.
20643 * po/fr.po: Likewise.
20644
d30cf5bb
RM
206452011-07-09 Roland McGrath <roland@hack.frob.com>
20646
113ddea4
RM
20647 * configure.in (.ctors/.dtors header and trailer check):
20648 Use an empirical test on a built program.
20649 * configure: Regenerated.
20650
574920b4
RM
20651 * configure.in (-z relro check): Use an empirical test on a built DSO.
20652 Detect, but do not require, on ia64.
20653 * configure: Regenerated.
20654
d30cf5bb
RM
20655 * configure.in (READELF): Find it with AC_CHECK_TOOL.
20656 Update tests that use readelf to use $READELF instead.
20657 * configure: Regenerated.
20658
8538fdb3
UD
206592011-07-08 Ulrich Drepper <drepper@gmail.com>
20660
20661 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
20662 if the result is not used.
20663
04d08991
AJ
206642011-07-05 Andreas Jaeger <aj@suse.de>
20665
20666 [BZ#9696]
20667 * stdlib/tst-strtod.c: Add testcase.
20668
de283087
AD
206692011-07-07 Ulrich Drepper <drepper@gmail.com>
20670
4e5f31c8 20671 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 20672 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
20673 The latter has a higher limit. Take additional parameter to pass to
20674 the new function.
20675 (__pathconf): Pass file to __statfs_link_max.
20676 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
20677 __statfs_link_max.
20678 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
20679 __statfs_link_max.
20680
de283087
AD
20681 [BZ #12868]
20682 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
20683 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20684 Handle Lustre.
20685 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20686 (__statfs_filesize_max): Likewise.
20687 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20688
c75fa153
AJ
206892011-07-05 Andreas Jaeger <aj@suse.de>
20690
20691 * resolv/res_comp.c (dn_skipname): Remove unused variable.
20692
1a544854
UD
206932011-07-06 Marek Polacek <mpolacek@redhat.com>
20694
20695 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20696 `status' variable.
20697 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20698 Likewise.
20699
6f0eec67
UD
207002011-07-04 H.J. Lu <hongjiu.lu@intel.com>
20701
20702 * Makefile (strop-tests): Add strncat.
20703 * string/test-strncat.c: New file.
20704
aae30307
UD
207052011-06-30 Marek Polacek <mpolacek@redhat.com>
20706
20707 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20708
c0cfb5eb
UD
207092011-06-21 Andreas Jaeger <aj@suse.de>
20710
20711 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20712 Copy rule from iconvdata/Makefile.
20713
01636b21
UD
207142011-07-06 Ulrich Drepper <drepper@gmail.com>
20715
20716 [BZ #12922]
20717 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20718 but no long options are defined, just return 'W'.
20719
9895c8bc
UD
207202011-06-22 Marek Polacek <mpolacek@redhat.com>
20721
20722 [BZ #9696]
20723 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20724
5d4cf042
UD
207252011-07-06 Ulrich Drepper <drepper@gmail.com>
20726
20727 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20728 netgroups to read.
960e5535 20729 (innetgr): Likewise.
5d4cf042 20730
751eb97e
RM
207312011-07-05 Roland McGrath <roland@hack.frob.com>
20732
20733 * config.make.in (install_root): Default to $(DESTDIR).
20734
f15f1e45
UD
207352011-07-05 Ulrich Drepper <drepper@gmail.com>
20736
20737 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20738
4e34ac6a
RM
207392011-07-02 Roland McGrath <roland@hack.frob.com>
20740
5e9b6af4
RM
20741 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20742
84f9ea0f
RM
20743 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20744 containing directory rather than embedding absolute directory names.
20745
ea5ee9f7
RM
20746 * scripts/check-local-headers.sh: Rewritten using awk.
20747 Match by word, not by line. Print error messages for matches.
20748 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20749
1b74661a
RM
20750 * Makerules [shlib-lds-flags empty]:
20751 ($(common-objpfx)libc_pic.opts): New target.
20752 ($(common-objpfx)libc_pic.os.clean): New target.
20753 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20754
20755 * config.make.in (OBJCOPY): New variable.
20756 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20757 * configure: Regenerated.
20758
f781ef40
RM
20759 * config.make.in (use-default-link): New variable.
20760 * configure.in (use_default_link): Grok --with-default-link to set it.
20761 * configure: Regenerated.
20762 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20763 (shlib-lds, shlib-lds-flags): Define to empty.
20764
2d4fa81e
RM
20765 * Makerules (shlib-lds): New variable.
20766 (shlib-lds-flags): New variable.
20767 (build-shlib, build-moduile, build-module-asneeded): Use it.
20768 ($(common-objpfx)libc.so): Use $(shlib-lds).
20769 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20770 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20771
31fffa6b
RM
20772 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20773 DT_FLAGS/DT_FLAGS_1 with zero flags.
20774
4e34ac6a
RM
20775 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20776 linker script munging.
20777
fcfc776b
UD
207782011-07-02 Ulrich Drepper <drepper@gmail.com>
20779
20780 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20781 as 128-bit value.
20782 * crypt/sha512.c (sha512_process_block): Perform total addition using
20783 128-bit if possible.
20784 (__sha512_finish_ctx): Likewise.
20785 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20786 as 64-bit value.
20787 * crypt/sha256.c (SWAP64): Define.
20788 (sha256_process_block): Perform total addition using 64-bit if
20789 possible.
20790 (__sha256_finish_ctx): Likewise.
20791
99231d9a
UD
207922011-07-01 Ulrich Drepper <drepper@gmail.com>
20793
20794 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
20795 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20796 * nscd/hstcache.c (cache_addhst): Likewise.
20797 * nscd/grpcache.c (cache_addgr): Likewise.
20798 * nscd/aicache.c (addhstaiX): Likewise
20799 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20800
445b4a53
TK
208012011-07-01 Thorsten Kukuk <kukuk@suse.de>
20802
20803 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20804 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20805 * nscd/hstcache.c (cache_addhst): Likewise.
20806 * nscd/grpcache.c (cache_addgr): Likewise.
20807 * nscd/aicache.c (addhstaiX): Likewise
20808
6d4d8e8e
AS
208092011-07-01 Andreas Schwab <schwab@redhat.com>
20810
20811 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20812 domain only when needed.
20813
89f654c5
AS
208142011-06-30 Andreas Schwab <schwab@redhat.com>
20815
20816 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20817 is always restored.
20818
cf3b23ff
UD
208192011-06-29 Ulrich Drepper <drepper@gmail.com>
20820
20821 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20822 are re-adding the entry.
20823 * nscd/servicescache.c (cache_addserv): Likewise.
20824
751626f9
AJ
208252011-06-30 Aurelien Jarno <aurelien@aurel32.net>
20826
20827 * sysdeps/generic/dl-irel.h: fix protection against multiple
20828 inclusions.
20829 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20830
9113ea1f
UD
208312011-06-28 Ulrich Drepper <drepper@gmail.com>
20832
5c0b8d90
UD
20833 [BZ #12935]
20834 * malloc/memusage.sh: Fix quoting in message.
20835 * debug/xtrace.sh: Likewise.
20836
9113ea1f
UD
20837 * configure.in: Remove support for --experimental-malloc option, make
20838 it the default.
20839 * config.make.in: Likewise.
20840 * malloc/Makefile: Likewise.
20841
a4172181
AS
208422011-06-27 Andreas Schwab <schwab@redhat.com>
20843
20844 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20845 two-byte characters.
20846
78a7eee7
RM
208472011-06-27 Roland McGrath <roland@hack.frob.com>
20848
62bede13
RM
20849 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20850 AC_CACHE_CHECK invocation.
20851 * configure: Regenerated.
20852
78a7eee7
RM
20853 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20854
5ce33a62
UD
208552011-06-27 Ulrich Drepper <drepper@gmail.com>
20856
034807a9
UD
20857 [BZ #12350]
20858 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
20859 bit from old_res_options.
20860
4902da17
UD
20861 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20862
5ce33a62
UD
20863 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20864 value type for setfct.
20865
c2344f56
L
208662011-06-23 H.J. Lu <hongjiu.lu@intel.com>
20867
20868 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20869 __gettimeofday instead of gettimeofday.
20870
68468076
UD
208712011-06-26 Ulrich Drepper <drepper@gmail.com>
20872
20873 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20874
acb0d739
L
208752011-06-24 H.J. Lu <hongjiu.lu@intel.com>
20876
20877 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20878
20879 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20880 info.
20881
8912479f
L
208822011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20883
20884 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20885 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20886 strcpy-sse2-unaligned strncpy-sse2-unaligned
20887 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20888 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20889 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20890 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20891 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20892 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20893 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20894 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20895 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20896 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20897 (STRCPY): Support SSE2 and SSSE3 versions.
20898
d5495a11
UD
208992011-06-24 Ulrich Drepper <drepper@gmail.com>
20900
20901 [BZ #12874]
20902 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20903 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20904 kernels which artificially limit size of requests.
20905
0b1cbaae
L
209062011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20907
20908 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20909 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20910 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20911 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20912 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20913 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20914 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20915 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20916 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20917 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20918 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20919 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20920 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20921 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20922 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20923 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20924 Enable unaligned load optimization for Intel Core i3, i5 and i7
20925 processors.
20926 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20927 Define.
20928 (index_Fast_Unaligned_Load): Define.
20929 (HAS_FAST_UNALIGNED_LOAD): Define.
20930
07f494a0
MP
209312011-06-23 Marek Polacek <mpolacek@redhat.com>
20932
20933 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20934
fa3fc0fe
UD
209352011-06-22 Ulrich Drepper <drepper@gmail.com>
20936
20937 [BZ #12907]
20938 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20939 until it is clear that the information is realy needed.
20940 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20941
e12df166
AS
209422011-06-22 Andreas Schwab <schwab@redhat.com>
20943
20944 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20945
852eb34d
UD
209462011-06-22 Ulrich Drepper <drepper@gmail.com>
20947
84e2a551
UD
20948 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20949 /sys/devices/system/cpu/online if it is usable.
20950
852eb34d
UD
20951 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20952 reading the information from the /proc filesystem to once a second.
20953
6e502e19
UD
209542011-06-21 Andreas Jaeger <aj@suse.de>
20955
20956 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20957 NULL after inclusion of kernel headers.
20958
75d39ff2
UD
209592011-06-21 Ulrich Drepper <drepper@gmail.com>
20960
51f9aa6a
UD
20961 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20962 calls to internal_setent.
20963
c0244a9d
UD
20964 [BZ #12885]
20965 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20966 addresses using gethostbyname4_r ignore IPv4 addresses.
20967
c5e3c2ae
UD
20968 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20969 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20970
75d39ff2
UD
20971 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20972
42675c6f
DM
209732011-06-20 David S. Miller <davem@davemloft.net>
20974
20975 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20976 inclusions.
20977 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20978
20979 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20980 (elf_irel): Use it.
20981 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20982 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20983 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20984 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20985 * sysdeps/x86_64/dl-irel.h: Likewise.
20986
20987 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20988 * elf/dl-sym.c: Likewise.
20989
57912a71
UD
209902011-06-15 Ulrich Drepper <drepper@gmail.com>
20991
20992 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20993 need to dereference resplen2.
20994
ee22793d
AS
209952011-06-14 Andreas Schwab <schwab@redhat.com>
20996
20997 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20998
a9e836b0
UD
209992011-06-15 Ulrich Drepper <drepper@gmail.com>
21000
77fb9117
UD
21001 * Makeconfig: Define vardbdir and inst_vardbdir.
21002 * nss/Makefile: Add rules to install db-Makefile.
21003
40c1b22c
UD
21004 * nss/nss_db/db-XXX.c: Cleanup.
21005
9f2da732
UD
21006 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
21007 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
21008 GLIBC_PRIVATE.
21009 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
21010 * nss/makedb.c: Implement -g option to specify that value strings
21011 are generated and should not be added to table iterated over for
21012 get*ent calls.
21013 * nss/nss_db/db-initgroups.c: New file.
21014
82e9a1f7
UD
21015 * nss/getent.c: Add support for initgroups lookups through getgrouplist
21016 interface.
21017
c41af17e
UD
21018 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
21019 (internal_getgrouplist): Adjust to name change.
21020 Update use_initgroups_entry if this is not the first call.
21021 * nss/databases.def: Add initgroups entry.
21022
a9e836b0
UD
21023 * nss/makedb.c (compute_tables): Check result of multiple hash table
21024 sizes to minimize maximum chain length.
21025
2666d441
UD
210262011-06-14 Ulrich Drepper <drepper@gmail.com>
21027
21028 * Versions.def: Add entry for libnss_db.
21029 * shlib-versions: Likewise.
21030 * nss/Makefile: Add rules to build libnss_db.
21031 * nss/Versions: Add libnss_db information. Organize libnss_files
21032 entries better.
21033 * nss/db-Makefile: Add gshadow support. Change rules for the new
21034 makedb progra. Some minor improvements to generate smaller files.
21035 * nss/nss_db/nss_db.h: Move NSS database header data structures to
21036 here from...
21037 * nss/makedb.c: ...here.
21038 Improve database format to be smaller and require less memory at
21039 runtime.
21040 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
21041 db anymore.
21042 * nss/nss_db/db-netgrp.c: Likewise.
21043 * nss/nss_db/db-open.c: Likewise.
21044 * nss/nss_files/flies-XXX.x: Adjust comments.
21045 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
21046 * nss/nss_files/files-grp.c: Likewise.
21047 * nss/nss_files/files-hosts.c: Likewise.
21048 * nss/nss_files/files-network.c: Likewise.
21049 * nss/nss_files/files-proto.c: Likewise.
21050 * nss/nss_files/files-pwd.c: Likewise.
21051 * nss/nss_files/files-rpc.c: Likewise.
21052 * nss/nss_files/files-service.c: Likewise.
21053 * nss/nss_files/files-sgrp.c: Likewise.
21054 * nss/nss_files/files-spwd.c: Likewise.
21055 * nss/nss_db/db-alias.c: Removed.
21056 * nss/nss_db/dummy-db.h: Removed.
21057
9ee76b5a
UD
210582011-06-02 Ulrich Drepper <drepper@gmail.com>
21059
21060 * nss/makedb.c: Rewritten to not use database library.
21061 * nss/Makefile: Update to build new makedb program.
21062
c71ca1f8
AJ
210632011-06-14 Andreas Jaeger <aj@suse.de>
21064
21065 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
21066 memset declaration.
21067
3154bfb8
UD
210682011-06-10 Andreas Schwab <schwab@redhat.com>
21069
21070 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
21071 tmpbuf.
21072
b350afab
RM
210732011-06-10 Roland McGrath <roland@hack.frob.com>
21074
decd4e50
RM
21075 * Makerules (shlib.lds): Fail if the linker script comes out empty.
21076 * elf/Makefile ($(objpfx)ld.so): Likewise.
21077
5615eaf2
RM
21078 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
21079 Don't list ld.so twice in dependencies.
21080
21081 * posix/bug-regex31.c: Include <stdlib.h>.
21082
21083 * nscd/hstcache.c (cache_addhst): Remove unused variable.
21084
21085 * nis/nss_compat/compat-spwd.c
21086 (getspent_next_nss_netgr): Remove unused variable.
21087 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
21088
21089 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
21090 nonmembers" output to use the right array.
21091
21092 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
21093
21094 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
21095
21096 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
21097 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
21098 * catgets/gencat.c (read_input_file): Likewise.
21099 * locale/programs/locarchive.c (enlarge_archive): Likewise.
21100
21101 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
21102 variable definition inside #if's controlling its use.
21103
21104 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
21105
21106 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
21107
21108 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
21109
21110 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
21111 unreachable code.
21112
21113 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
21114
b68e08db
RM
21115 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
21116 * configure: Regenerated.
21117
b350afab
RM
21118 * Makerules: Revert last change.
21119 * elf/Makefile: Likewise.
21120
28368601
RM
211212011-06-09 Roland McGrath <roland@hack.frob.com>
21122
21123 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
21124 * elf/Makefile ($(objpfx)librtld.os): Likewise.
21125 (reloc-link): Likewise.
21126
11988f8f
UD
211272011-06-09 Ulrich Drepper <drepper@gmail.com>
21128
21129 * elf/Makefile: Add rules to build pldd.
21130 * elf/pldd.c: New file.
21131 * elf/pldd-xx.c: New file.
21132
e80fab37
UD
211332011-06-07 Ulrich Drepper <drepper@gmail.com>
21134
21135 * version.h: Update for 2.15 development version.
21136
9b849836
DM
211372011-06-07 David S. Miller <davem@davemloft.net>
21138
21139 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
21140 ifuncs.
21141 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
21142 elf_machine_lazy_rel): Likewise.
21143 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21144 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
21145 elf_machine_lazy_rel): Likewise.
21146 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
21147 dl_hwcap via passed in argument.
21148 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
21149 Likewise.
21150
5a31b283
AK
211512011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21152
21153 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
21154
069e52f8
RM
211552011-06-06 Roland McGrath <roland@hack.frob.com>
21156
21157 [BZ #12849]
21158 * manual/fdl-1.1.texi: New file, verbatim from:
21159 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
21160 * manual/lgpl-2.1.texi: New file, verbatim from:
21161 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
21162 * manual/Makefile (licenses): New variable, list those new file names.
21163 (texis): Use it.
21164 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
21165
21166 * manual/fdl.texi: File removed.
21167 * manual/lesser.texi: File removed.
21168 * manual/libc.texinfo (Copying, Documentation License):
21169 Use new @include file names, put @appendix directive before @include.
21170
f16846a5
JJ
211712011-06-04 Jakub Jelinek <jakub@redhat.com>
21172
21173 [BZ #12841]
21174 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
21175 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
21176 (mq_open): Add __NTH.
21177
3d29045b
L
211782011-06-02 H.J. Lu <hongjiu.lu@intel.com>
21179
21180 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21181 Assume Intel Core i3/i5/i7 processor if AVX is available.
21182
8c297311
UD
211832011-05-31 Ulrich Drepper <drepper@gmail.com>
21184
21185 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21186 typo.
21187
c8fc0c91
UD
211882011-05-31 Andreas Schwab <schwab@redhat.com>
21189
21190 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
21191 memory. Use alloca_account. Fix memory leak when retrying.
21192
5b27a807
UD
211932011-05-31 Ulrich Drepper <drepper@gmail.com>
21194
356f8bc6
UD
21195 * version.h (RELEASE): Bump for 2.14 release.
21196 * include/features.h (__GLIBC_MINOR__): Bump to 14.
21197
5b27a807
UD
21198 * config.make.in (RANLIB): Remove entry.
21199
01f16ab0
UD
212002011-05-30 Ulrich Drepper <drepper@gmail.com>
21201
41fce8bd
UD
21202 * po/Makefile (po-sed-cmd): Add ksh to extensions.
21203 (libc.pot): Work around missing support for .ksh extension in xgettext.
21204
4769ae77
UD
21205 [BZ #12684]
21206 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
21207 if both request failed.
21208 (send_dg): In case of server errors clear resplen or *resplen2.
21209
6b1e7d19
UD
21210 [BZ #12454]
21211 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
21212 when there are multiple maps.
21213 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
21214 (_dl_fini): Remove test here.
21215
01f16ab0
UD
21216 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
21217
b1ebd700
UD
212182011-05-29 Ulrich Drepper <drepper@gmail.com>
21219
7ae22829
UD
21220 [BZ #12350]
21221 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
21222 bit from old_res_options.
21223 (gaih_inet): Likewise.
21224
553149f6 21225 [BZ #11099]
18a84741 21226 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
21227 as signed.
21228
652ffab1
UD
21229 * resolv/res_init.c (res_setoptions): Make the code more compact.
21230
16985fd0
UD
21231 [BZ #11558]
21232 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
21233 set RES_USEVC.
21234
0464f746
UD
21235 [BZ #11634]
21236 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
21237
7d17596c
UD
21238 * malloc/malloc.h: Mark malloc hook variables as deprecated.
21239
cf6bbbd7
UD
21240 [BZ #11781]
21241 * malloc/malloc.h: Declare malloc hook variables as volatile.
21242
13f1ab36
UD
21243 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
21244 in last patch.
21245
b1ebd700
UD
21246 [BZ #11799]
21247 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 21248 raise in the comment.
80e2212d
UD
21249 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21250 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21251 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 21252
ce67228d
UD
212532011-05-28 Ulrich Drepper <drepper@gmail.com>
21254
8887a920
UD
21255 [BZ #12811]
21256 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
21257 grow the buffers more if it already has to be sufficient.
21258 (build_wcs_upper_buffer): Likewise.
21259 * posix/regexec.c (check_matching): Likewise.
21260 (clean_state_log_if_needed): Likewise.
21261 (extend_buffers): Don't enlarge buffers beyond size of the input
21262 buffer.
21263 Patches mostly by Emil Wojak <emil@wojak.eu>.
21264 * posix/bug-regex32.c: New file.
21265 * posix/Makefile (tests): Add bug-regex32.
21266
4f031072
UD
21267 * locale/findlocale.c (_nl_find_locale): Return right away if
21268 _nl_explode_name failed.
21269 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21270
d0478f0c
UD
21271 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
21272
de81b246
UD
21273 * debug/xtrace.sh: Unify messages.
21274 * malloc/memusage.sh: Likewise.
21275
c738465a
UD
21276 [BZ #12813]
21277 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
21278 time symbol from vDSO. Substitute with vsyscall if not available.
21279 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
21280 __vdso_time.
21281
f1f929d7
UD
21282 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
21283 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
21284 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
21285 Add sendmmsg and internal_sendmmsg.
21286 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
21287 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
21288 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
21289
ce67228d
UD
21290 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
21291 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
21292 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
21293
e57420c6
UD
212942011-05-27 Ulrich Drepper <drepper@gmail.com>
21295
a8509ca5
UD
21296 [BZ #12813]
21297 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
21298 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
21299 available.
21300 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
21301 __vdso_getcpu.
21302
e57420c6
UD
21303 [BZ #12814]
21304 * iconvdata/Makefile (tests): Add bug-iconv9.
21305 * iconvdata/bug-iconv9.c: New file.
21306
4d07db15
AS
213072011-05-27 Andreas Schwab <schwab@redhat.com>
21308
21309 [BZ #12814]
21310 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
21311
ea486f69
JJ
213122011-05-25 Jakub Jelinek <jakub@redhat.com>
21313
21314 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21315 (struct user_regs_struct): Change intcs field back to cs.
21316
6f038433
UD
213172011-05-25 Ulrich Drepper <drepper@gmail.com>
21318
21319 * po/ja.po: Update from translation team.
21320
67f86a25
UD
213212011-05-23 Ulrich Drepper <drepper@gmail.com>
21322
21323 [BZ #12795]
21324 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
21325 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
21326
def7fbd6
AS
213272011-05-20 Andreas Schwab <schwab@redhat.com>
21328
21329 * stdlib/longlong.h: Update from GCC.
21330
f50ef8f1
AS
213312011-05-23 Andreas Schwab <schwab@redhat.com>
21332
21333 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
21334 parameter name.
21335 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
21336 Add parameter name.
21337 (__sysconf): Pass it down.
21338
de7ce8f1
UD
213392011-05-22 Ulrich Drepper <drepper@gmail.com>
21340
f2962a71
UD
21341 [BZ #12671]
21342 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
21343 some situations.
21344 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21345 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
21346 add in in __libc_use_alloca calls. Adjust callers.
21347 (glob): Use malloc in some situations.
21348
de7ce8f1
UD
21349 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
21350 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
21351 pltexit.
21352
aec84f53
UD
213532011-05-21 Ulrich Drepper <drepper@gmail.com>
21354
05bb4a68
UD
21355 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
21356 and CLOCK_BOOTTIME_ALARM.
21357
7ea72f99
UD
21358 [BZ #12782]
21359 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
21360 is returned.
21361
7e4afad5
UD
21362 * string/_strerror.c (__strerror_r): Print negative errors as signed
21363 numbers.
21364
8e211fec
UD
21365 [BZ #12777]
21366 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
21367 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
21368 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
21369
f7d82dc9
UD
21370 * configure.in: Fix typo in redirection and correct removal of test
21371 files in two cases.
21372
cc9e536d
UD
21373 [BZ #12788]
21374 * locale/setlocale.c (new_composite_name): Fix test to check for
21375 identical name of all categories.
21376
aec84f53
UD
21377 [BZ #12792]
21378 * libio/filedoalloc.c (local_isatty): New function.
21379 (_IO_file_doallocate): Use local_isatty.
21380 * stdio-common/perror.c (perror): In case a new stream is used
21381 forward the stream error.
21382 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
21383 error flag.
21384
78e64fdc
RT
213852011-05-20 Ulrich Drepper <drepper@gmail.com>
21386
34a9094f
UD
21387 [BZ #11869]
21388 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
21389 alloca.
21390 * include/alloca.h (extend_alloca_account): Define.
21391
78e64fdc
RT
21392 [BZ #11857]
21393 * posix/regex.h: Fix comments with documentation of user-accessible
21394 fields after compilation and describe correct free'ing of pattern
21395 after re_compile_pattern.
21396 Patch by Reuben Thomas <rrt@sc3d.org>.
21397
457bddfc
RA
213982011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
21399
21400 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
21401 and -mno-altivec to prevent the compiler from using Altivec and/or
21402 VSX instructions when the corresponding registers are not available.
21403
a4527b51
AS
214042011-05-19 Andreas Schwab <schwab@redhat.com>
21405
21406 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
21407
ed690b2f
UD
214082011-05-19 Ulrich Drepper <drepper@gmail.com>
21409
21410 * libio/freopen.c (freopen): Use __dup2, not dup2.
21411 * libio/freopen64.c (freopen64): Likewise.
21412
8db73634
L
214132011-05-17 H.J. Lu <hongjiu.lu@intel.com>
21414
21415 [BZ #12775]
21416 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
21417 * math/Makefile (tests): Add test-powl.
21418 (CFLAGS-test-powl.c): Define.
21419 * math/test-powl.c: New file.
21420
0a197a9d
L
214212011-05-16 H.J. Lu <hongjiu.lu@intel.com>
21422
21423 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
21424
ee30c380
UD
214252011-05-17 Ulrich Drepper <drepper@gmail.com>
21426
21427 [BZ #11837]
21428 * iconvdata/gb18030.c: Update to GB18020-2005.
21429
6ce75379
UD
214302011-05-16 Ulrich Drepper <drepper@gmail.com>
21431
a4b89fd8
AR
21432 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
21433 RE_SYNTAX_POSIX_AWK): Update to match recent development.
21434 Patch by Aharon Robbins <arnold@skeeve.com>.
21435
ea389b12
UD
21436 [BZ #11892]
21437 * stdlib/putenv.c (putenv): Don't always create copy of the variable
21438 on the stack.
21439
68a3f91f
UD
21440 [BZ #11895]
21441 * misc/pselect.c (__pselect): Handle timeout value errors hidden
21442 through underflows.
21443
15cc7dd1
UD
21444 [BZ #12766]
21445 * misc/error.c (error_at_line): Ensure file_name and old_file_name
21446 point to strings before performing equality test for error_one_per_line
21447 mode.
21448
f3799213
UD
21449 [BZ #11697]
21450 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
21451
d79a9c94
UD
21452 [BZ #11820]
21453 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21454 (struct user_fpregs_struct): Avoid __uint*_t types.
21455
56e5eb46
UD
21456 [BZ #6420]
21457 * malloc/mtrace.c (tr_where): Add additional parameter to point to
21458 symbol info. Use it instead of calling _dl_addr locally.
21459 (lock_and_info): New function.
21460 (tr_freehook): Call lock_and_info and pass symbol info as additional
21461 parameter to tr_where.
21462 (tr_mallochook): Likewise.
21463 (tr_reallochook): Likewise.
21464 (tr_memalignhook): Likewise.
21465
6ce75379
UD
21466 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
21467 used and couldn't be at all thread-safe.
21468
f8a3b5bf
UD
214692011-05-15 Ulrich Drepper <drepper@gmail.com>
21470
94b7cc37
UD
21471 * libio/freopen.c (freopen): Don't close old file descriptor
21472 before the new one is opened. Instead dup the new file descriptor
21473 to the old one after the new stream is created.
21474 * libio/freopen64.c (freopen64): Likewise.
21475 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
21476 * libio/fileops.c (_IO_new_file_close_it): Handle new
21477 _IO_FLAGS2_NOCLOSE flag.
21478 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
21479 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
21480 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
21481 _IO_FLAGS2_NOCLOSE flag.
21482 * include/unistd.h: Add hidden_proto for dup3.
21483 Define __have_dup3.
21484 * io/dup3.c: Define hidden symbol.
21485 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
21486
bd25564e
UD
21487 [BZ #7101]
21488 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
21489 when an incomplete long option is used.
21490 * posix/tst-getopt_long1.c: New file.
21491 * posix/Makefile (tests): Add tst-getopt_long1.
21492
c84cfef4
UD
21493 [BZ #10138]
21494 * scripts/config.guess: Update from autoconf-2.68.
21495 * scripts/config.sub: Likewise.
21496
3b85df27
UD
21497 [BZ #10157]
21498 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
21499 tests into ...
21500 (has_cpuclock): ...this. New function.
21501 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
21502 macro here based on has_cpuclock code.
21503
15a856b1
UD
21504 [BZ #10149]
21505 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21506 First byte (not low byte) is now always NUL.
21507 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
21508
05f399e6
UD
21509 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21510 Use non-cancelable interfaces.
21511
10a52685 21512 [BZ #9809]
94ecc67d
UD
21513 * locale/iso-639.def: Add entry for Sorani.
21514
f8a3b5bf
UD
21515 [BZ #11901]
21516 * include/stdlib.h: Move include protection to the right place.
21517 Define abort_msg_s. Declare __abort_msg with it.
21518 * stdlib/abort.c (__abort_msg): Adjust type.
21519 * assert/assert.c (__assert_fail_base): New function. Majority
21520 of code from __assert_fail. Allocate memory for __abort_msg with
21521 mmap.
21522 (__assert_fail): Now call __assert_fail_base.
21523 * assert/assert-perr.c: Remove bulk of implementation. Use
21524 __assert_fail_base.
21525 * include/assert.hL Declare __assert_fail_base.
21526 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
21527 mmap.
21528 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
21529
1af4e298
UD
215302011-05-14 Ulrich Drepper <drepper@gmail.com>
21531
f8a3b5bf 21532 [BZ #11952]
d26dfc60
MG
21533 [BZ #12453]
21534 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
21535 until all modules are registered in the DTV.
21536 * elf/Makefile: Add rules to build and run tst-tls19.
21537 * elf/tst-tls19.c: New file.
21538 * elf/tst-tls19mod1.c: New file.
21539 * elf/tst-tls19mod2.c: New file.
21540 * elf/tst-tls19mod3.c: New file.
21541 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
21542
2fc54d6f
UD
21543 [BZ #12083]
21544 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
21545 correctly.
21546
98d76b46
UD
21547 [BZ #12601]
21548 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
21549 two-byte sequence errors.
21550 * iconvdata/Makefile (tests): Add bug-iconv8.
21551 * iconvdata/bug-iconv8.c: New file.
21552
da3c19ef
UD
21553 [BZ #12626]
21554 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
21555 buf2 definition.
21556
ca408c15
UD
21557 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
21558
d6f67f7d
UD
21559 [BZ #12432]
21560 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
21561 (dummy_getcfa): New function.
21562 (init): Get _Unwind_GetCFA address, use dummy if not found.
21563 (backtrace_helper): In recursion check, also check whether CFA changes.
21564 (__backtrace): Completely initialize arg.
21565
1af4e298 21566 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
21567 storing incomplete byte sequence in state object. Avoid testing for
21568 guaranteed too small input if we know there is enough data available.
1af4e298 21569
da62f81b
AS
215702011-05-11 Andreas Schwab <schwab@redhat.com>
21571
21572 * Makeconfig (+link-pie): Indent.
21573 * Rules (binaries-pie): Define if $(have-fpie) and
21574 $(build-shared).
21575 (binaries-shared): Also filter out $(binaries-pie).
21576 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
21577 * nscd/Makefile (others-pie): Add nscd.
21578 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
21579 ($(objpfx)nscd): Remove command override.
21580 * login/Makefile (others-pie): Add pt_chown.
21581 ($(objpfx)pt_chown): Remove command override.
21582 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
21583 remove command overrides.
21584
fcabc0f8
UD
215852011-05-13 Ulrich Drepper <drepper@gmail.com>
21586
20030ae6
UD
21587 * libio/tst_putwc.c: Fix error messages.
21588
fcabc0f8
UD
21589 [BZ #12724]
21590 * libio/fileops.c (_IO_new_file_close_it): Always flush when
21591 currently writing and seek to current position when not.
21592 * libio/Makefile (tests): Add bug-fclose1.
21593 * libio/bug-fclose1.c: New file.
21594
320a5dc0
PB
215952011-05-12 Ulrich Drepper <drepper@gmail.com>
21596
21597 [BZ #12511]
21598 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
21599 don't set DF_1_NODELETE here.
21600 (do_lookup_x): When entering new entry test for copy relocation
21601 and if necessary set DF_1_NODELETE flag.
21602 * elf/tst-unique4.cc: New file.
21603 * elf/tst-unique4.h: New file.
21604 * elf/tst-unique4lib.cc: New file.
21605 * elf/Makefile: Add rules to build and run tst-unique4.
21606 Patch by Piotr Bury <pbury@goahead.com>.
21607
22836f52
UD
216082011-05-11 Ulrich Drepper <drepper@gmail.com>
21609
f574184a
UD
21610 [BZ #12052]
21611 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
21612
e1fb097f
UD
21613 [BZ #12625]
21614 * misc/mntent_r.c (addmntent): Flush the stream after the output
21615
22836f52
UD
21616 [BZ #12393]
21617 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
21618 (is_trusted_path_normalize): Skip initial colon. Append slash
21619 to empty buffer. Duplicate is_trusted_path code but allow
21620 constructed patch to be prefix.
21621 (is_dst): Allow $ORIGIN followed by /.
21622 (_dl_dst_substitute): Correct clearing of check_for_trusted.
21623 Correct testing of result of is_trusted_path_normalize
21624 (decompose_rpath): Fix warning.
21625
7b3b0b2a
UD
216262011-05-10 Ulrich Drepper <drepper@gmail.com>
21627
21628 [BZ #11257]
21629 * grp/initgroups.c (internal_getgrouplist): When we found the service
21630 list through the initgroups entry in nsswitch.conf do not always
21631 continue on a successful lookup. Don't always use the
eac80ce2 21632 __nss_group_database value if it is set.
7b3b0b2a
UD
21633 * nss/nsswitch.conf (initgroups): Change action for successful db
21634 lookup to continue for compatibility.
21635
2a81eaa5
UD
216362011-05-09 Ulrich Drepper <drepper@gmail.com>
21637
be97a69e
UD
21638 [BZ #11532]
21639 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
21640 and CP774 modules.
21641 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21642 and CP774 modules.
21643 * iconvdata/tst-tables.sh: Likewise.
21644 * iconvdata/cp770.c: New file.
21645 * iconvdata/cp771.c: New file.
21646 * iconvdata/cp772.c: New file.
21647 * iconvdata/cp773.c: New file.
21648 * iconvdata/cp774.c: New file.
21649 * iconvdata/testdata/CP770: New file.
21650 * iconvdata/testdata/CP770..UTF8: New file.
21651 * iconvdata/testdata/CP771: New file.
21652 * iconvdata/testdata/CP771..UTF8: New file.
21653 * iconvdata/testdata/CP772: New file.
21654 * iconvdata/testdata/CP772..UTF8: New file.
21655 * iconvdata/testdata/CP773: New file.
21656 * iconvdata/testdata/CP773..UTF8: New file.
21657 * iconvdata/testdata/CP774: New file.
21658 * iconvdata/testdata/CP774..UTF8: New file.
21659
21660 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
21661 END CHARMAP line.
21662 * iconvdata/gen-8bit-gap.sh: Likewise.
21663 * iconvdata/gen-8bit.sh: Likewise.
21664
c1e9e399
UD
21665 * locale/iso-639.def: Add ary entry.
21666
24c55fb3 21667 [BZ #11258]
96b4b1b0
UD
21668 * locale/C-translit.h.in: Add U20A1 transliteration.
21669
bdc2f971
KB
21670 [BZ #12178]
21671 * locale/iso-639.def: Add wae entry.
21672 Patch by Kevin Bortis <bortis@translate-wae.ch>.
21673
2952b117
UD
21674 [BZ #12545]
21675 * locale/programs/localedef.c (construct_output_path): Use ssize_t
21676 for n.
21677
2a81eaa5
UD
21678 [BZ #12711]
21679 * locale/C-translit.h.in: Add entry for U20B9.
21680 Patch by pravin.d.s@gmail.com.
21681
28377d1b
UD
216822011-05-08 Ulrich Drepper <drepper@gmail.com>
21683
7fb90fb8
UD
21684 [BZ #12713]
21685 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21686 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
21687 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
21688 in rtld. Use *stat64.
7fb90fb8 21689 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 21690 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 21691 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
21692 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21693 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21694 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21695 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21696 __fstatat64 macros.
7fb90fb8
UD
21697 * include/dirent.h: Add libc_hidden_proto for rewinddir.
21698 * dirent/rewinddir.c: Add libc_hidden_def.
21699 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 21700 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 21701
28377d1b
UD
21702 * include/dirent.h (__alloc_dir): Add flags parameter.
21703 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21704 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21705 __alloc_dir.
21706 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
21707 from fdopendir if O_CLOEXEC is already set.
21708
66bdbaa4
AM
217092011-03-15 Alan Modra <amodra@gmail.com>
21710
21711 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21712 l_tls_firstbyte_offset non-zero. Save padding offset in
21713 l_tls_firstbyte_offset for later use.
21714 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21715 freeing static tls block.
21716
95721191
JN
217172011-03-05 Jonathan Nieder <jrnieder@gmail.com>
21718
21719 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21720 where #ifdef was intended. The intent is to prevent ARG_MAX from
21721 being defined by the kernel headers.
21722
f87dfb1f
UD
217232011-05-07 Ulrich Drepper <drepper@gmail.com>
21724
21725 [BZ #12734]
21726 * resolv/resolv.h: Define RES_NOTLDQUERY.
21727 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21728 no-tld-query and set RES_NOTLDQUERY.
21729 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21730 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21731 modern BIND to search name as TLD unless forbidden.
21732
47c3cd7a
UD
217332011-05-07 Petr Baudis <pasky@suse.cz>
21734 Ulrich Drepper <drepper@gmail.com>
21735
21736 [BZ #12393]
21737 * elf/dl-load.c (fillin_rpath): Move trusted path check...
21738 (is_trusted_path): ...to here.
c1e9ea35 21739 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 21740 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 21741 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 21742
8a35c912
PP
217432011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21744
21745 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21746 __BEGIN/__END_DECLS.
21747
acd41f47
UD
217482011-05-06 Ulrich Drepper <drepper@gmail.com>
21749
21750 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21751 NSS_STATUS_NOTFOUND if no record was found.
21752
597df647
AS
217532011-05-05 Andreas Schwab <schwab@redhat.com>
21754
21755 * sunrpc/Makefile (headers): Add rpc/netdb.h.
21756 (headers-not-in-tirpc): Remove rpc/netdb.h
21757 * resolv/netdb.h: Revert last change.
21758
b9af1301
PP
217592011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21760
21761 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21762 circular dependency between libgcc.a and libc.a.
21763
4e34d5f5
AS
217642011-05-05 Andreas Schwab <schwab@redhat.com>
21765
21766 * resolv/netdb.h: Don't include <rpc/netdb.h>.
21767 * nis/Makefile: Don't install rpcsvc/*.
21768 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21769 instead of <rpc/types.h>.
21770 (MAXHOSTNAMELEN): Define.
21771
00ee369c
AS
217722011-05-03 Andreas Schwab <schwab@redhat.com>
21773
21774 * elf/ldconfig.c (add_dir): Don't crash on empty path.
21775
0b592a30
MB
217762011-04-28 Maciej Babinski <mbabinski@google.com>
21777
21778 [BZ #12714]
21779 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21780 gethostbyname4_r when IPv6 results are possible.
21781
6e04cbbe
UD
217822011-05-02 Ulrich Drepper <drepper@gmail.com>
21783
21784 [BZ #12723]
21785 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21786 _PC_PIPE_BUF handling.
21787
e4ecafe0
BH
217882011-04-30 Bruno Haible <bruno@clisp.org>
21789
21790 [BZ #12717]
21791 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21792 * resolv/netdb.h (getnameinfo): Change type of flags parameter
21793 to 'int'.
21794 * inet/getnameinfo.c (getnameinfo): Likewise.
21795
125ee683
UD
217962011-04-29 Ulrich Drepper <drepper@gmail.com>
21797
21798 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21799 to groups setting in database lookup.
21800 * nss/nsswitch.conf: Add initgroups entry.
21801
b722481a
EB
218022011-04-22 Ulrich Drepper <drepper@gmail.com>
21803
21804 [BZ #12685]
21805 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21806 mode string.
21807 Patch by Eric Blake <eblake@redhat.com>.
21808
4df46dbd
L
218092011-04-20 H.J. Lu <hongjiu.lu@intel.com>
21810
21811 * sunrpc/Makefile (need-export-routines): Add svc_run.
21812 (routines): Remove svc_run.
21813 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21814 * sunrpc/clnt_perr.c (clnt_perrno): Export.
21815 * sunrpc/svc_run.c (svc_run): Likewise.
21816 * sunrpc/svc_udp.c (svcudp_create): Likewise.
21817
e84142d2
UD
218182011-04-21 Ulrich Drepper <drepper@gmail.com>
21819
21820 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21821 problem in reallocation in last patch.
21822
877175d8
UD
218232011-04-20 Ulrich Drepper <drepper@gmail.com>
21824
21825 * sunrpc/Makefile: Move inclusion of Rules.
21826
ab8eed78
UD
218272011-04-19 Ulrich Drepper <drepper@gmail.com>
21828
21829 * nss/nss_files/files-initgroups.c: New file.
21830 * nss/Makefile (libnss_files-routines): Add files-initgroups.
21831 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21832 _nss_files_initgroups_dyn.
21833
e3d8f584
RS
218342011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
21835
21836 * elf/elf.h (R_ARM_IRELATIVE): Define.
21837
af190f45
UD
218382011-04-19 Ulrich Drepper <drepper@gmail.com>
21839
21840 * po/ru.po: Update from translation team.
21841
53cf59ef
UD
218422011-04-17 Ulrich Drepper <drepper@gmail.com>
21843
21844 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21845 dependencies.
21846
4c559bcd
MF
218472011-02-06 Mike Frysinger <vapier@gentoo.org>
21848
21849 [BZ #12653]
21850 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21851 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21852 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21853 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21854 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21855
4420675c
AS
218562011-03-28 Andreas Schwab <schwab@linux-m68k.org>
21857
21858 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21859 differing bytes.
21860 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21861 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21862 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21863
75ea32ab
UD
218642011-04-17 Ulrich Drepper <drepper@gmail.com>
21865
21866 [BZ #12420]
21867 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21868 storing it.
21869 * stdlib/bug-getcontext.c: New file.
21870 * stdlib/Makefile: Add rules to build and run bug-getcontext.
21871
27390476
AK
218722011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21873
21874 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21875 instructions into .machine "z9-109".
21876 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21877 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21878
10442705
AK
218792011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21880
21881 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21882 between environment variables and auxiliary vector.
21883
7b57bfe5
UD
218842011-04-16 Ulrich Drepper <drepper@gmail.com>
21885
21886 * Makefile: Add rules to build linkobj/libc.so.
21887 * include/libc-symbols.h: Define libc_hidden_nolink.
21888 * include/rpc/auth.h: Mark functions which are to be hidden.
21889 * include/rpc/auth_des.h: Likewise.
21890 * include/rpc/auth_unix.h: Likewise.
21891 * include/rpc/clnt.h: Likewise.
21892 * include/rpc/des_crypt.h: Likewise.
21893 * include/rpc/key_prot.h: Likewise.
21894 * include/rpc/pmap_clnt.h: Likewise.
21895 * include/rpc/pmap_prot.h: Likewise.
21896 * include/rpc/pmap_rmt.h: Likewise.
21897 * include/rpc/rpc_msg.h: Likewise.
21898 * include/rpc/svc.h: Likewise.
21899 * include/rpc/svc_auth.h: Likewise.
21900 * include/rpc/xdr.h: Likewise.
21901 * nis/Makefile: Link all DSOs against linkobj/libc.so.
21902 * nss/Makefile: Likewise.
21903 * sunrpc/Makefile: Don't install headers. Build library with normal
21904 entry points. Don't build rpcinfo. Link RPC tests appropriately.
21905 * sunrpc/auth_des.c: Hide exported symbols by default, export some
21906 for the compat linking library. Remove use of INTDEF/INTUSE.
21907 * sunrpc/auth_none.c: Likewise.
21908 * sunrpc/auth_unix.c: Likewise.
21909 * sunrpc/authdes_prot.c: Likewise.
21910 * sunrpc/authuxprot.c: Likewise.
21911 * sunrpc/clnt_gen.c: Likewise.
21912 * sunrpc/clnt_perr.c: Likewise.
21913 * sunrpc/clnt_raw.c: Likewise.
21914 * sunrpc/clnt_simp.c: Likewise.
21915 * sunrpc/clnt_tcp.c: Likewise.
21916 * sunrpc/clnt_udp.c: Likewise.
21917 * sunrpc/clnt_unix.c: Likewise.
21918 * sunrpc/des_crypt.c: Likewise.
21919 * sunrpc/des_soft.c: Likewise.
21920 * sunrpc/get_myaddr.c: Likewise.
21921 * sunrpc/key_call.c: Likewise.
21922 * sunrpc/key_prot.c: Likewise.
21923 * sunrpc/netname.c: Likewise.
21924 * sunrpc/pm_getmaps.c: Likewise.
21925 * sunrpc/pm_getport.c: Likewise.
21926 * sunrpc/pmap_clnt.c: Likewise.
21927 * sunrpc/pmap_prot.c: Likewise.
21928 * sunrpc/pmap_prot2.c: Likewise.
21929 * sunrpc/pmap_rmt.c: Likewise.
21930 * sunrpc/publickey.c: Likewise.
21931 * sunrpc/rpc_cmsg.c: Likewise.
21932 * sunrpc/rpc_common.c: Likewise.
21933 * sunrpc/rpc_dtable.c: Likewise.
21934 * sunrpc/rpc_prot.c: Likewise.
21935 * sunrpc/rpc_thread.c: Likewise.
21936 * sunrpc/rtime.c: Likewise.
21937 * sunrpc/svc.c: Likewise.
21938 * sunrpc/svc_auth.c: Likewise.
21939 * sunrpc/svc_authux.c: Likewise.
21940 * sunrpc/svc_raw.c: Likewise.
21941 * sunrpc/svc_run.c: Likewise.
21942 * sunrpc/svc_simple.c: Likewise.
21943 * sunrpc/svc_tcp.c: Likewise.
21944 * sunrpc/svc_udp.c: Likewise.
21945 * sunrpc/svc_unix.c: Likewise.
21946 * sunrpc/svcauth_des.c: Likewise.
21947 * sunrpc/xcrypt.c: Likewise.
21948 * sunrpc/xdr.c: Likewise.
21949 * sunrpc/xdr_array.c: Likewise.
21950 * sunrpc/xdr_float.c: Likewise.
21951 * sunrpc/xdr_intXX_t.c: Likewise.
21952 * sunrpc/xdr_mem.c: Likewise.
21953 * sunrpc/xdr_rec.c: Likewise.
21954 * sunrpc/xdr_ref.c: Likewise.
21955 * sunrpc/xdr_sizeof.c: Likewise.
21956 * sunrpc/xdr_stdio.c: Likewise.
21957
e6c61494
UD
219582011-04-10 Ulrich Drepper <drepper@gmail.com>
21959
21960 [BZ #12650]
21961 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21962 * sysdeps/ia64/dl-tls.h: Likewise.
21963 * sysdeps/powerpc/dl-tls.h: Likewise.
21964 * sysdeps/s390/dl-tls.h: Likewise.
21965 * sysdeps/sh/dl-tls.h: Likewise.
21966 * sysdeps/sparc/dl-tls.h: Likewise.
21967 * sysdeps/x86_64/dl-tls.h: Likewise.
21968 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21969
34fe483e
AS
219702011-03-14 Andreas Schwab <schwab@redhat.com>
21971
21972 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21973 rpath element also skip the following colon.
21974 (expand_dynamic_string_token): Add is_path parameter and pass
21975 down to DL_DST_REQUIRED and _dl_dst_substitute.
21976 (decompose_rpath): Call expand_dynamic_string_token with
21977 non-zero is_path. Ignore empty rpaths.
21978 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21979 with zero is_path.
21980
f12a32e6
AS
219812011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21982
21983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21984 Make cancelable.
21985
38a7d692
UD
219862011-04-09 Ulrich Drepper <drepper@gmail.com>
21987
21988 [BZ #12655]
21989 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21990 Patch by Filipe David Manana <fdmanana@apache.org>.
21991
e451d22b
AS
219922011-04-07 Andreas Schwab <schwab@redhat.com>
21993
21994 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21995 Maintain aligned stack.
21996 (CHECK_RSP): Remove unused macro.
21997
dedc7c7b
UD
219982011-04-03 Ulrich Drepper <drepper@gmail.com>
21999
22000 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
22001 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
22002
94521213
UD
220032011-04-02 Ulrich Drepper <drepper@gmail.com>
22004
22005 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
22006
8cb700c0 22007 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 22008
0354e355
L
220092011-03-26 H.J. Lu <hongjiu.lu@intel.com>
22010
22011 [BZ #12518]
22012 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
22013 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
22014 * sysdeps/x86_64/memmove.c: New file.
22015 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
22016 (memcpy): Renamed to ...
22017 (__new_memcpy): This.
22018 (memcpy): Provide GLIBC_2_14 memcpy.
22019 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
22020 (memcpy): Provide GLIBC_2_2_5 memcpy.
22021
8593482f
UD
220222011-04-01 Ulrich Drepper <drepper@gmail.com>
22023
22024 [BZ #12631]
22025 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
22026
81a5726b
AS
220272011-03-30 Andreas Schwab <schwab@redhat.com>
22028
22029 * misc/syncfs.c: New file.
22030 * misc/Makefile (routines): Add syncfs.
22031 * posix/unistd.h: Declare syncfs.
22032 * sysdeps/unix/syscalls.list: Add syncfs.
22033
00e5419f
AS
220342011-04-01 Andreas Schwab <schwab@redhat.com>
22035
22036 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
22037 open_by_handle_at.
22038 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22039 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22040 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22041 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22042 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22043 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
22044 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22045
748876bf
UD
220462011-04-01 Ulrich Drepper <drepper@gmail.com>
22047
658e451d
UD
22048 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
22049 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22050 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
22051 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22052 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22053 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22054 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22055
748876bf
UD
22056 * io/Makefile: Compile fallocate.c, fallocate64.c, and
22057 sync_file_range.c with -fexceptions.
22058 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
22059 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
22060 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22061 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22062 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
22063 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22064 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
22065 sync_file_range as cancellation point
22066 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
22067 now a wrapper around __call_sync_file_range with cancellation handling.
22068 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
22069 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
22070 function name to __call_sync_file_range.
22071 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
22072 Add call_sync_file_range.
748876bf 22073
6e63d5e1
AS
220742011-04-01 Andreas Schwab <schwab@redhat.com>
22075
22076 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 22077 bits/timex.h.
6e63d5e1 22078
46998f74
UD
220792011-04-01 Ulrich Drepper <drepper@gmail.com>
22080
4c1423ed
UD
22081 * iconv/iconv.h: Fix typo in comment.
22082 * io/fcntl.h: Likewise.
22083 * libio/stdio.h: Likewise.
22084 * posix/spawn.h: Likewise.
22085 * posix/unistd.h: Likewise.
22086 * stdlib/stdlib.h: Likewise.
22087 * time/time.h: Likewise.
22088 * wcsmbs/wchar.h: Likewise.
22089
158648c0
UD
22090 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
22091 open_by_handle): Add.
22092 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
22093 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
22094 Augment a few comments.
22095 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22096 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22097 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22098 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22099 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22100 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
22101 open_by_handle.
22102
46998f74
UD
22103 * io/fcntl.h (AT_EMPTY_PATH): Define.
22104
83fe108b
UD
221052011-03-30 Ulrich Drepper <drepper@gmail.com>
22106
22107 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
22108 * sysdeps/unix/sysv/linux/bits/time.h: New file.
22109 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
22110 to...
22111 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
22112 * Versions.def: Add GLIBC_2.14.
22113 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
22114 Export.
83fe108b 22115
bb242059
UD
221162011-03-22 Ulrich Drepper <drepper@gmail.com>
22117
22118 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
22119 round counter.
22120 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22121
c97a1282
L
221222011-03-20 H.J. Lu <hongjiu.lu@intel.com>
22123
22124 [BZ #12597]
22125 * string/test-strncmp.c (do_page_test): New function.
22126 (check2): Likewise.
22127 (test_main): Call check2.
22128 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
22129
2a115601
UD
221302011-03-20 Ulrich Drepper <drepper@gmail.com>
22131
22132 [BZ #12587]
22133 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
22134 Handle cache information in CPU leaf 4.
22135 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22136
8126d904
UD
221372011-03-18 Ulrich Drepper <drepper@gmail.com>
22138
042c49c6 22139 [BZ #12583]
8126d904
UD
22140 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
22141 character representation.
22142 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
22143
ccfe366e
RA
221442011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
22145
22146 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
22147 END(__isnan) to END(__isnanf) to match function entry point/label
22148 EALIGN(__isnanf,...).
22149
c6e13027
JJ
221502011-03-10 Jakub Jelinek <jakub@redhat.com>
22151
22152 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
22153
33f85a3f
UD
221542011-03-10 Ulrich Drepper <drepper@gmail.com>
22155
028478fa
UD
22156 [BZ #12510]
22157 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
22158 copy from the symbol referenced in the relocation to initialize the
22159 used variable.
22160 Patch by Piotr Bury <pbury@goahead.com>.
22161 * elf/Makefile: Add rules to build and tst-unique3.
22162 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
22163 * elf/tst-unique3.cc: New file.
22164 * elf/tst-unique3.h: New file.
22165 * elf/tst-unique3lib.cc: New file.
22166 * elf/tst-unique3lib2.cc: New file.
22167
33f85a3f
UD
22168 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
22169
03592fc7
MF
221702011-03-10 Mike Frysinger <vapier@gentoo.org>
22171
22172 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
22173 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
22174 to _start.
03592fc7 22175
6a5ee102
UD
221762011-03-06 Ulrich Drepper <drepper@gmail.com>
22177
22178 * elf/dl-load.c (_dl_map_object): If we are looking for the first
22179 to-be-loaded object along a path to loader is ld.so.
22180
7e4ba49c
HJ
221812011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22182 Ulrich Drepper <drepper@gmail.com>
22183
22184 * sysdeps/x86_64/memset.S: After aligning destination, code
22185 branches to different locations depending on the value of
22186 misalignment, when multiarch is enabled. Fix this.
22187
221882011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22189
22190 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
22191 Set _x86_64_preferred_memory_instruction for AMD processsors.
22192 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22193 Set bit_Prefer_SSE_for_memop for AMD processors.
22194
13a804de
UD
221952011-03-04 Ulrich Drepper <drepper@gmail.com>
22196
22197 * libio/fmemopen.c (fmemopen): Optimize a bit.
22198
9d25c392
AS
221992011-03-03 Andreas Schwab <schwab@redhat.com>
22200
22201 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
22202
a5543c6a
RM
222032011-03-03 Roland McGrath <roland@redhat.com>
22204
22205 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
22206
012d35f7
DM
222072011-02-28 Aurelien Jarno <aurelien@aurel32.net>
22208
7e4ba49c 22209 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
22210 __bzero_ultra1 instead of __memset_ultra1.
22211
4bff6e01
AS
222122011-02-23 Andreas Schwab <schwab@redhat.com>
22213 Ulrich Drepper <drepper@gmail.com>
22214
22215 [BZ #12509]
22216 * include/link.h (struct link_map): Add l_orig_initfini.
22217 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
22218 returning unsuccessfully.
22219 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
22220 close of a file loaded at startup, restore the original l_initfini
22221 list.
22222 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
22223 list, store the pointer.
22224 * elf/Makefile ($(objpfx)noload-mem): New rule.
22225 (noload-ENV): Define.
22226 (tests): Add $(objpfx)noload-mem.
22227 * elf/noload.c: Include <memcheck.h>.
22228 (main): Call mtrace. Close all opened handles.
22229
f2092faf
AS
222302011-02-17 Andreas Schwab <schwab@redhat.com>
22231
22232 [BZ #12454]
22233 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
22234 dependencies are missing.
22235
6c8a2e88
ST
222362011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
22237
f2092faf 22238 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
22239 Hurd needs munmap.
22240 * sysdeps/mach/hurd/ifreq.h: New file.
22241
84a42118
PB
222422011-01-27 Petr Baudis <pasky@suse.cz>
22243 Ulrich Drepper <drepper@gmail.com>
22244
071f805e 22245 [BZ 12445]#
84a42118
PB
22246 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
22247 to extend_alloca().
22248 * stdio-common/bug23.c: New file.
22249 * stdio-common/Makefile (tests): Add bug23.
22250
e23fe25b
AS
222512010-09-28 Andreas Schwab <schwab@redhat.com>
22252 Ulrich Drepper <drepper@gmail.com>
22253
22254 [BZ #12489]
22255 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
22256 before performing relro protection. At old place add assertion
22257 to make sure nothing changed.
22258
d3f02e10
NS
222592011-02-17 Nathan Sidwell <nathan@codesourcery.com>
22260 Glauber de Oliveira Costa <glommer@gmail.com>
22261
22262 * elf/elf.h: Add new ARM TLS relocs.
22263
d55fd7a5
RA
222642011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
22265
22266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22267 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
22268 cast from r3.
22269 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
22270 'tests' variable.
22271 * sysdeps/wordsize-64/tst-writev.c: New file.
22272
2206397e
RA
222732011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
22274
22275 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
22276 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
22277 insns in _dl_start to prevent a TOC reference before relocs are
22278 resolved.
22279
e9433893
UD
222802011-02-15 Ulrich Drepper <drepper@gmail.com>
22281
22282 [BZ #12469]
22283 * Makeconfig: Remove RANLIB definition.
22284 * Makerules: Don't use RANLIB.
22285 * aclocal.m4: Remove ranlib test.
22286 * configure.in: No need to check for ranlib.
22287 * elf/rtld-Rules: Don't use RANLIB.
22288
f75286c6
ST
222892011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22290
8e31c82d
ST
22291 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
22292 protection macro.
22293 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
22294 inclusion protection macro.
22295
f75286c6
ST
22296 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
22297 SIGRTMIN and SIGRTMAX and print information in that case only when
22298 SIGRTMIN is defined.
22299
c1d0e639
JJ
223002011-02-11 Jakub Jelinek <jakub@redhat.com>
22301
22302 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
22303 arginfo fn returning -1.
22304
22305 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
22306 and thousands string is zero terminated.
22307
edf9294e
AS
223082011-02-03 Andreas Schwab <schwab@redhat.com>
22309
22310 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
22311 sysdeps/unix/sysv/linux/bits/socket.h.
22312
2b7e92df
ST
223132011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22314
edf9294e
AS
22315 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
22316 (__CPU_COUNT): Remove old macros.
22317 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
22318 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
22319 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
22320 (__sched_cpualloc, __sched_cpufree): Add declarations.
22321
a4c7ea7b
UD
223222011-02-05 Ulrich Drepper <drepper@gmail.com>
22323
22324 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
22325 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
22326 * nscd/aicache.c (addhstaiX): Return timeout of added value.
22327 (readdhstai): Return value of addhstaiX call.
22328 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
22329 (addgrbyX): Return value returned by cache_addgr.
22330 (readdgrbyname): Return value returned by addgrbyX.
22331 (readdgrbygid): Likewise.
22332 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
22333 (addpwbyX): Return value returned by cache_addpw.
22334 (readdpwbyname): Return value returned by addhstbyX.
22335 (readdpwbyuid): Likewise.
22336 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
22337 (addservbyX): Return value returned by cache_addserv.
22338 (readdservbyname): Return value returned by addservbyX:
22339 (readdservbyport): Likewise.
22340 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
22341 (addhstbyX): Return value returned by cache_addhst.
22342 (readdhstbyname): Return value returned by addhstbyX.
22343 (readdhstbyaddr): Likewise.
22344 (readdhstbynamev6): Likewise.
22345 (readdhstbyaddrv6): Likewise.
22346 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
22347 (readdinitgroups): Return value returned by addinitgroupsX.
22348 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
22349 (prune_cache): Keep track of timeout value of re-added entries.
22350 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
22351 * nscd/nscd.h: Adjust prototypes of readd* functions.
22352
a0bf67cc
RM
223532011-02-04 Roland McGrath <roland@redhat.com>
22354
22355 * nis/nis_server.c (nis_servstate): Use the right name for 0.
22356 (nis_stats): Likewise.
22357 * nis/nis_modify.c (nis_modify): Likewise.
22358 * nis/nis_remove.c (nis_remove): Likewise.
22359 * nis/nis_add.c (nis_add): Likewise.
22360
22361 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
22362
22363 * posix/fnmatch_loop.c: Add some consts.
22364
22365 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
22366
435b95eb
L
223672011-02-02 H.J. Lu <hongjiu.lu@intel.com>
22368
22369 [BZ #12460]
22370 * config.make.in (config-cflags-novzeroupper): Define.
22371 * configure.in: Substitute libc_cv_cc_novzeroupper.
22372 * elf/Makefile (AVX-CFLAGS): Define.
22373 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
22374 (CFLAGS-tst-auditmod4a.c): Likewise.
22375 (CFLAGS-tst-auditmod4b.c): Likewise.
22376 (CFLAGS-tst-auditmod6b.c): Likewise.
22377 (CFLAGS-tst-auditmod6c.c): Likewise.
22378 (CFLAGS-tst-auditmod7b.c): Likewise.
22379 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
22380
8517b15e
UD
223812011-02-02 Ulrich Drepper <drepper@gmail.com>
22382
22383 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
22384 function to the callback.
22385 Patch partly by Jiri Olsa <jolsa@redhat.com>.
22386
10a656fe
AS
223872011-02-02 Andreas Schwab <schwab@redhat.com>
22388
22389 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
22390 of errno.
22391
968dad0a
UD
223922011-01-19 Ulrich Drepper <drepper@gmail.com>
22393
9f94d2ea 22394 [BZ #11724]
968dad0a
UD
22395 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
22396 of constructors.
22397 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
22398 of destructors.
22399 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
22400
22401 [BZ #11724]
22402 * elf/Makefile: Add rules to build and run new test.
22403 * elf/tst-initorder.c: New file.
22404 * elf/tst-initorder.exp: New file.
22405 * elf/tst-initordera1.c: New file.
22406 * elf/tst-initordera2.c: New file.
22407 * elf/tst-initordera3.c: New file.
22408 * elf/tst-initordera4.c: New file.
22409 * elf/tst-initorderb1.c: New file.
22410 * elf/tst-initorderb2.c: New file.
22411 * elf/tst-order-a1.c: New file.
22412 * elf/tst-order-a2.c: New file.
22413 * elf/tst-order-a3.c: New file.
22414 * elf/tst-order-a4.c: New file.
22415 * elf/tst-order-b1.c: New file.
22416 * elf/tst-order-b2.c: New file.
22417 * elf/tst-order-main.c: New file.
22418 New test case by George Gensure <werkt0@gmail.com>.
22419
86e92359
UD
224202010-10-01 Andreas Schwab <schwab@redhat.com>
22421
22422 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22423 decoding ACE if AI_CANONIDN.
22424
5d5732b0
UD
224252011-01-18 Ulrich Drepper <drepper@gmail.com>
22426
22427 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
22428
a77e8cbc
UD
224292011-01-17 Ulrich Drepper <drepper@gmail.com>
22430
6392473f
UD
22431 * version.h (RELEASE): Bump for 2.13 release.
22432 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
22433
620a0529
UD
22434 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
22435
18ba70a5
UD
22436 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
22437 MADV_NOHUGEPAGE.
32465c3e
UD
22438 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
22439 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22440 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22441 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22442 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22443 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22444
c0dafcf1
UD
22445 * posix/getconf.c: Update copyright year.
22446 * catgets/gencat.c: Likewise.
22447 * csu/version.c: Likewise.
22448 * debug/catchsegv.sh: Likewise.
22449 * debug/xtrace.sh: Likewise.
22450 * elf/ldconfig.c: Likewise.
22451 * elf/ldd.bash.in: Likewise.
22452 * elf/sprof.c (print_version): Likewise.
22453 * iconv/iconv_prog.c: Likewise.
22454 * iconv/iconvconfig.c: Likewise.
22455 * locale/programs/locale.c: Likewise.
22456 * locale/programs/localedef.c: Likewise.
22457 * malloc/memusage.sh: Likewise.
22458 * malloc/mtrace.pl: Likewise.
22459 * nscd/nscd.c (print_version): Likewise.
22460 * nss/getent.c: Likewise.
22461
a77e8cbc
UD
22462 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
22463 PF_CAIF, and PF_ALG.
22464 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22465
77e8bddf
AS
224662011-01-16 Andreas Schwab <schwab@linux-m68k.org>
22467
1f20b93a
AS
22468 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
22469 (modules-names): Use them.
22470 (ifunc-test-modules, ifunc-pie-tests): Define.
22471 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
22472 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
22473 (test-extras): Likewise.
22474 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
22475 $(compile-command.c).
22476 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
22477 (all-built-dso): Define.
22478 (check-textrel.out, check-execstack.out): Depend on it.
22479
77e8bddf
AS
22480 * configure.in: Don't override --enable-multi-arch.
22481
bc425b33
UD
224822011-01-15 Ulrich Drepper <drepper@gmail.com>
22483
22484 [BZ #6812]
22485 * nscd/hstcache.c (tryagain): Define.
22486 (cache_addhst): Return tryagain not notfound for temporary errors.
22487 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
22488 failed.
22489
794c3ad3
UD
224902011-01-14 Ulrich Drepper <drepper@gmail.com>
22491
70181fdd
UD
22492 [BZ #10563]
22493 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
22494 to make the syscall.
22495 * sysdeps/unix/sysv/linux/setgroups.c: New file.
22496
794c3ad3
UD
22497 [BZ #12378]
22498 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
22499 and fall back to matching as normal character if the string ends before
22500 the matching ']' is found. This is what POSIX requires.
22501 * posix/testfnm.c: Adjust test result.
22502 * posix/globtest.sh: Adjust test result. Add new test.
22503 * posix/tst-fnmatch.input: Likewise.
22504 * posix/tst-fnmatch2.c: Add new test.
22505
68dc9497
AS
225062010-12-28 Andreas Schwab <schwab@linux-m68k.org>
22507
22508 * elf/Makefile (check-execstack): Revert last change. Depend on
22509 check-execstack.h.
22510 (check-execstack.h): New target.
22511 (generated): Add check-execstack.h.
22512 * elf/check-execstack.c: Include "check-execstack.h".
22513 (main): Revert last change.
22514 (handle_file): Return zero if GNU_STACK is absent and
22515 DEFAULT_STACK_PERMS doesn't include PF_X.
22516
451f001b
UD
225172011-01-13 Ulrich Drepper <drepper@gmail.com>
22518
cfa28e56
UD
22519 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
22520 in child fails because the descriptor is already closed.
8cf8ce17
UD
22521 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
22522 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
22523 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 22524
1086d70d
UD
22525 [BZ #12397]
22526 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
22527 syscall.
22528
451f001b
UD
22529 [BZ #10484]
22530 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
22531 temporary buffer used to handle multi lookups locally.
a85b5cb4 22532 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 22533
08769175
UD
225342011-01-12 Ulrich Drepper <drepper@gmail.com>
22535
22536 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
22537 loader is ld.so.
22538
5e49c52e
UD
225392011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
22540
22541 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
22542 alignment for SSE2.
22543
60522a5f
UD
225442011-01-12 Ulrich Drepper <drepper@gmail.com>
22545
22546 [BZ #12394]
22547 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
22548 characters. When rounding increased number of integer digits recompute
22549 number of groups.
22550 * stdio-common/tst-grouping.c: New file.
22551 * stdio-common/Makefile: Add rules to build and run tst-grouping.
22552
f257bbd7
UD
225532011-01-09 Ulrich Drepper <drepper@gmail.com>
22554
22555 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
22556 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
22557
22558 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
22559 void.
22560 * bits/select.h: Likewise.
22561
fa9c15cb
UD
225622011-01-08 Ulrich Drepper <drepper@gmail.com>
22563
22564 * po/ja.po: Update from translation team.
22565
16c2895f
DM
225662011-01-04 David S. Miller <davem@sunset.davemloft.net>
22567
22568 [BZ #11155]
22569 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
22570 implementation just like for lxstat, fxstatat, et al.
22571
2543fef2
JM
225722010-12-27 Jim Meyering <meyering@redhat.com>
22573
22574 [BZ #12348]
22575 * posix/regexec.c (build_trtable): Return failure indication upon
22576 calloc failure. Otherwise, re_search_internal could infloop on OOM.
22577
98727dbe
UD
225782010-12-25 Ulrich Drepper <drepper@gmail.com>
22579
5bd6dc5c
UD
22580 [BZ #12201]
22581 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
22582 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
22583 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
22584 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
22585
97983464
UD
22586 [BZ #12207]
22587 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
22588
98727dbe
UD
22589 [BZ #12204]
22590 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
22591 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
22592
4a531bb0
L
225932010-12-15 H.J. Lu <hongjiu.lu@intel.com>
22594
22595 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
22596 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
22597 script has SORT_BY_INIT_PRIORITY.
22598 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
22599 NO_CTORS_DTORS_SECTIONS is defined.
22600 * elf/soinit.c: Likewise.
22601 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
22602 NO_CTORS_DTORS_SECTIONS is defined.
22603 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
22604 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
22605 * sysdeps/sh/init-first.c: Likewise.
22606 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
22607
07eb4b71
UD
226082010-12-24 Ulrich Drepper <drepper@gmail.com>
22609
22610 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
22611 always use the slow path.
22612
30950a5f
RA
226132010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
22614
22615 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
22616 similar rule which adds the sysdep directories to the header search in
22617 order to pick up the correct platform stackinfo.h.
22618 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
22619 perform test if it is, otherwise return successfully without testing.
22620 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
22621 DEFAULT_STACK_PERMS define in stackinfo.h.
22622 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
22623 defined in stackinfo.h.
22624 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
22625 DEFAULT_STACK_PERMS defined in stackinfo.h.
22626 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
22627 * sysdeps/ia64/stackinfo.h: Likewise.
22628 * sysdeps/s390/stackinfo.h: Likewise.
22629 * sysdeps/sh/stackinfo.h: Likewise.
22630 * sysdeps/sparc/stackinfo.h: Likewise.
22631 * sysdeps/x86_64/stackinfo.h: Likewise.
22632 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
22633 PF_X for powerpc64. Retain PF_X for powerpc32.
22634
db753e2c
UD
226352010-12-19 Ulrich Drepper <drepper@gmail.com>
22636
14b697f7
UD
22637 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
22638 accurately.
db753e2c
UD
22639 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
22640 GETDENTS_64BIT_ALIGNED.
22641
28300719
UD
226422010-12-14 Ulrich Drepper <dreper@gmail.com>
22643
14b697f7 22644 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 22645
4f197237
AS
226462010-12-10 Andreas Schwab <schwab@redhat.com>
22647
dbb0472f
AS
22648 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22649 _GNU_SOURCE.
22650
4f197237
AS
22651 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22652 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22653 Remove __restrict.
22654 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22655 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22656
fb88ac72
UD
226572010-12-09 Ulrich Drepper <drepper@gmail.com>
22658
22659 [BZ #11655]
22660 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
22661 are initialized.
22662
42acbb92
JJ
226632010-12-09 Jakub Jelinek <jakub@redhat.com>
22664
22665 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
22666
c038d98d
UD
226672010-12-03 Ulrich Drepper <drepper@gmail.com>
22668
22669 * po/it.po: Update from translation team.
22670
3a4a2499
L
226712010-12-01 H.J. Lu <hongjiu.lu@intel.com>
22672
22673 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
22674 unused codes.
22675
1e24cf6e
UD
226762010-11-30 Ulrich Drepper <drepper@gmail.com>
22677
22678 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
22679
a7690819
AS
226802010-11-24 Andreas Schwab <schwab@redhat.com>
22681
22682 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
22683 specially.
22684 (gaih_getanswer_slice): Likewise.
22685
3bf8d1b1
JJ
226862010-10-20 Jakub Jelinek <jakub@redhat.com>
22687
22688 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22689
6db52fbb
PB
226902010-05-31 Petr Baudis <pasky@suse.cz>
22691
22692 [BZ #11149]
22693 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22694 silently even in the chroot mode.
22695
eaca7569
UD
226962010-11-22 Ulrich Drepper <drepper@gmail.com>
22697
22698 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22699 last patch a bit. Pretty printing
22700
3056dcdb
UD
227012010-05-31 Petr Baudis <pasky@suse.cz>
22702
22703 [BZ #10085]
22704 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22705 initialization of skip_initgroups_dyn.
22706
cf7c9078
UD
227072010-11-19 Ulrich Drepper <drepper@gmail.com>
22708
22709 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22710 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22711
a1fb5e3e
UD
227122010-11-16 Ulrich Drepper <drepper@gmail.com>
22713
22714 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22715
3540d66b
AS
227162010-11-11 Andreas Schwab <schwab@redhat.com>
22717
22718 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22719 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22720 (tst-fnmatch-ENV): Set MALLOC_TRACE.
22721 ($(objpfx)tst-fnmatch-mem): New rule.
22722 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22723 * posix/tst-fnmatch.c (main): Call mtrace.
22724
13b69574
L
227252010-11-11 H.J. Lu <hongjiu.lu@intel.com>
22726
22727 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22728 Support Intel processor model 6 and model 0x2c.
22729
da93d214
LM
227302010-11-10 Luis Machado <luisgpm@br.ibm.com>
22731
22732 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22733 signed comparison.
22734
8ca52c6e
L
227352010-11-09 H.J. Lu <hongjiu.lu@intel.com>
22736
22737 [BZ #12205]
22738 * string/test-strncasecmp.c (check_result): New function.
22739 (do_one_test): Use it.
22740 (check1): New function.
22741 (test_main): Use it.
22742 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22743 Support strcasecmp and strncasecmp.
22744
69da074d
UD
227452010-11-08 Ulrich Drepper <drepper@gmail.com>
22746
22747 [BZ #12194]
22748 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22749 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22750
ff02d528
L
227512010-11-07 H.J. Lu <hongjiu.lu@intel.com>
22752
22753 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22754 IFUNC support.
22755 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22756 memset-x86-64.
22757 * sysdeps/x86_64/multiarch/bzero.S: New file.
22758 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22759 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22760 * sysdeps/x86_64/multiarch/memset.S: New file.
22761 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22762 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22763 Set bit_Prefer_SSE_for_memop for Intel processors.
22764 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22765 Define.
22766 (index_Prefer_SSE_for_memop): Define.
22767 (HAS_PREFER_SSE_FOR_MEMOP): Define.
22768
344d0b54
LM
227692010-11-04 Luis Machado <luisgpm@br.ibm.com>
22770
22771 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22772 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22773
c0dde15b
UD
227742010-11-03 H.J. Lu <hongjiu.lu@intel.com>
22775
22776 [BZ #12191]
22777 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22778 (__x86_64_raw_data_cache_size_half): Likewise.
22779 (__x86_64_raw_shared_cache_size): Likewise.
22780 (__x86_64_raw_shared_cache_size_half): Likewise.
22781
22782 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22783 (__x86_64_raw_data_cache_size_half): Likewise.
22784 (__x86_64_raw_shared_cache_size): Likewise.
22785 (__x86_64_raw_shared_cache_size_half): Likewise.
22786 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22787 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22788 and __x86_64_raw_shared_cache_size_half. Round
22789 __x86_64_data_cache_size_half, __x86_64_data_cache_size
22790 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22791 to multiple of 256 bytes.
22792
0e516e0e
MS
227932010-11-03 Ulrich Drepper <drepper@gmail.com>
22794
22795 [BZ #12167]
22796 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22797 of inacessible symlinks. Verify result of symlink before returning it.
22798 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22799 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22800
0e012e87
ER
228012010-10-28 Erich Ritz <erichritz@gmail.com>
22802
22803 * math/math.h (isinf): Fix typo in comment.
22804
de0ff7bc
UD
228052010-11-01 Ulrich Drepper <drepper@gmail.com>
22806
22807 * po/da.po: Update from translation team.
22808
fa41c84d
UD
228092010-10-26 Ulrich Drepper <drepper@gmail.com>
22810
22811 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22812 is added to the list.
22813
f0967738
AK
228142010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22815 Ulrich Drepper <drepper@gmail.com>
22816
22817 * elf/dl-object.c (_dl_new_object): Don't append the new object to
22818 the global list here. Move code to...
22819 (_dl_add_to_namespace_list): ...here. New function.
22820 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22821 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22822 * elf/dl-load.c (lose): Don't remove the element from the list.
22823 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22824 (_dl_map_object): Likewise.
22825
228262010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
22827
22828 [BZ #12159]
22829 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22830 into all bytes of SSE register.
22831 Patch by Richard Li <richardpku@gmail.com>.
22832
f0967738 228332010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
22834
22835 [BZ #12140]
22836 * malloc/malloc.c (_int_free): Fill correct number of bytes when
22837 perturbing.
22838
d0b9e94f
MB
228392010-10-20 Michael B. Brutman <brutman@us.ibm.com>
22840
22841 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22842 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22843 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22844 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22846 submachine.
22847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22848
8e9f92e9
AS
228492010-10-22 Andreas Schwab <schwab@redhat.com>
22850
22851 * include/dlfcn.h (__RTLD_SECURE): Define.
22852 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
22853 mode & __RTLD_SECURE instead.
22854 (open_path): Rename preloaded parameter to secure.
22855 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22856 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22857 * elf/dl-deps.c (openaux): Likewise.
22858 * elf/rtld.c (struct map_args): Remove is_preloaded.
22859 (map_doit): Don't use it.
22860 (dl_main): Likewise.
22861 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22862 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22863
bc96fbda
AS
228642010-09-09 Andreas Schwab <schwab@redhat.com>
22865
22866 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22867 (sysd-rules-targets): Remove duplicates.
22868 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22869 rtld-%.$o dependency.
22870
22cd1c9b
AS
228712010-10-18 Andreas Schwab <schwab@redhat.com>
22872
22873 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22874 _dl_map_object do it.
22875
18edac48
UD
228762010-10-19 Ulrich Drepper <drepper@gmail.com>
22877
22878 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22879 fast fma builtins, define the macros in the C99 standard.
22880 (FP_FAST_FMAF): Likewise.
22881 (FP_FAST_FMAL): Likewise.
22882 * sysdeps/x86_64/bits/mathdef.h: Likewise.
22883
22884 * bits/mathdef.h: Update copyright year.
22885 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22886
d2050124
MM
228872010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
22888
22889 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22890 builtins, define the macros in the C99 standard.
22891 (FP_FAST_FMAF): Likewise.
22892 (FP_FAST_FMAL): Likewise.
22893 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22894 multiply/add.
22895 (FP_FAST_FMAF): Likewise.
22896
475facd1
JJ
228972010-10-15 Jakub Jelinek <jakub@redhat.com>
22898
22899 [BZ #3268]
22900 * math/libm-test.inc (fma_test): Some new testcases.
22901 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22902 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22903 y and infinite z. Do multiplication by C already in long double.
22904 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22905 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22906 y and infinite z. Do bitwise or of inexact bit into u.d.
22907 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22908 * sysdeps/i386/fpu/s_fmaf.S: Removed.
22909 * sysdeps/i386/fpu/s_fma.S: Removed.
22910 * sysdeps/i386/fpu/s_fmal.S: Removed.
22911
7c08a05c
JJ
229122010-10-16 Jakub Jelinek <jakub@redhat.com>
22913
22914 [BZ #3268]
22915 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22916 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22917 computation is not scheduled after fetestexcept. Fix value
22918 of minimum denormal long double.
22919
f3f7372d
JJ
229202010-10-14 Jakub Jelinek <jakub@redhat.com>
22921
22922 [BZ #3268]
22923 * math/libm-test.inc (fma_test): Add some more tests.
22924 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22925 correctly.
22926
14d43591
AS
229272010-10-15 Andreas Schwab <schwab@redhat.com>
22928
22929 * scripts/data/localplt-s390-linux-gnu.data: New file.
22930 * scripts/data/localplt-s390x-linux-gnu.data: New file.
22931
5e908464
JJ
229322010-10-13 Jakub Jelinek <jakub@redhat.com>
22933
22934 [BZ #3268]
22935 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22936 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22937 instead of dbl-64.
22938 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22939 inlines.
22940 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22941 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22942 if one of x and y is very large and the other is subnormal.
22943 * sysdeps/s390/fpu/s_fmaf.c: New file.
22944 * sysdeps/s390/fpu/s_fma.c: New file.
22945 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22946 * sysdeps/powerpc/fpu/s_fma.S: New file.
22947 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22948 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22949 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22950
229512010-10-12 Jakub Jelinek <jakub@redhat.com>
22952
22953 [BZ #3268]
22954 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22955 fma tests.
22956 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22957 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22958 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22959 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22960 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22961 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22962 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22963
b833d51f
UD
229642010-10-12 Ulrich Drepper <drepper@redhat.com>
22965
22966 [BZ #12078]
22967 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22968 * posix/bug-regex31.input: Add test case.
22969
1751705d
UD
229702010-10-11 Ulrich Drepper <drepper@gmail.com>
22971
e9b9cbf5
UD
22972 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22973 * posix/bug-regex31.input: New file.
22974
22975 [BZ #12078]
22976 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22977 (parse_sub_exp): Fix last change, use postorder.
22978
ef06edbe
UD
22979 * posix/bug-regex31.c: New file.
22980 * posix/Makefile: Add rules to build and run bug-regex31.
22981
a129c80d
UD
22982 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22983
22984 [BZ #12078]
22985 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22986
b76b818e
UD
22987 [BZ #12108]
22988 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22989 to have entries in sys_siglist.
22990
1751705d
UD
22991 [BZ #12093]
22992 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22993 be NULL.
22994
9ff8d36f
JJ
229952010-10-07 Jakub Jelinek <jakub@redhat.com>
22996
22997 [BZ #3268]
22998 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22999 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
23000 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23001 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
23002 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23003 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
23004 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
23005 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
23006 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
23007 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
23008 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
23009 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
23010 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23011 * math/ftestexcept.c (fetestexcept): Likewise.
23012 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
23013 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
23014 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23015 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
23016 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
23017 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
23018 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23019
af325969
UD
230202010-10-11 Ulrich Drepper <drepper@gmail.com>
23021
c579b202 23022 [BZ #12107]
af325969
UD
23023 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
23024 newline.
23025
67a67b95
UD
230262010-10-06 Ulrich Drepper <drepper@gmail.com>
23027
23028 * string/bug-strstr1.c: New file.
23029 * string/Makefile: Add rules to build and run bug-strstr1.
23030
5fb308bc
EB
230312010-10-05 Eric Blake <eblake@redhat.com>
23032
23033 [BZ #12092]
23034 * string/str-two-way.h (two_way_long_needle): Always clear memory
23035 when skipping input due to the shift table.
23036
45db99c7
UD
230372010-10-03 Ulrich Drepper <drepper@gmail.com>
23038
3b111893
UD
23039 [BZ #12005]
23040 * malloc/mcheck.c: Handle large requests.
23041
45db99c7
UD
23042 [BZ #12077]
23043 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
23044 for strncmp and strncasecmp.
23045 * string/stratcliff.c: Add tests for strcmp and strncmp.
23046 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
23047
cf7a1eb8
NI
230482010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23049
23050 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
23051 __set_fpscr.
23052
6484ba5e
AJ
230532010-09-30 Andreas Jaeger <aj@suse.de>
23054
23055 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
23056 (CGROUP_SUPER_MAGIC): Define.
23057 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23058 Handle btrfs and cgroup file systems.
23059 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23060 Likewise.
23061
91c42559
LM
230622010-09-27 Luis Machado <luisgpm@br.ibm.com>
23063
23064 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
23065 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
23066
87a97932
AK
230672010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23068
23069 [BZ #12067]
23070 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
23071 trying to locate the ELF header.
23072
c21cc9bc
AS
230732010-09-27 Andreas Schwab <schwab@redhat.com>
23074
23075 [BZ #11611]
23076 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
23077 Mask out sign-bit copies when constructing f_fsid.
23078
315970f6
PB
230792010-09-24 Petr Baudis <pasky@suse.cz>
23080
23081 * debug/stack_chk_fail_local.c: Add missing licence exception.
23082 * debug/warning-nop.c: Likewise.
23083
1ac7a2c7
JM
230842010-09-15 Joseph Myers <joseph@codesourcery.com>
23085
23086 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
23087 implementing getdents64 using getdents syscall, set d_type if
23088 __ASSUME_GETDENTS32_D_TYPE.
23089
56801c50
AS
230902010-09-16 Andreas Schwab <schwab@redhat.com>
23091
23092 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
23093 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
23094
dda51327
UD
230952010-09-21 Ulrich Drepper <drepper@redhat.com>
23096
23097 [BZ #12037]
23098 * posix/unistd.h: Undo change of feature selection for ftruncate from
23099 2010-01-11.
23100
8ffcee4a
UD
231012010-09-20 Ulrich Drepper <drepper@redhat.com>
23102
a545ecd9 23103 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
23104 detection.
23105
e24f0a8b
AS
231062010-09-20 Andreas Schwab <schwab@redhat.com>
23107
23108 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
23109 fanotify_mark.
23110 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23111
7291c56f
AS
231122010-09-14 Andreas Schwab <schwab@redhat.com>
23113
23114 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
23115 variables after CHECK_SP call.
23116 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
23117
bc5fb037
AS
231182010-09-13 Andreas Schwab <schwab@redhat.com>
23119 Ulrich Drepper <drepper@redhat.com>
23120
23121 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
23122 re-relocationg ld.so.
23123 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
23124 _dl_init_paths call.
23125 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
23126 here anymore.
23127
e66e7419
UD
231282010-09-14 Ulrich Drepper <drepper@redhat.com>
23129
23130 * resolv/res_init.c (__res_vinit): Count the default server we added.
23131
c044aa75
CLT
231322010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
23133 Ulrich Drepper <drepper@redhat.com>
23134
23135 [BZ #11968]
23136 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23137 (____longjmp_chk): Use %ebx for saving value across system call.
23138 Add unwind info.
23139
32cf4069
AS
231402010-09-06 Andreas Schwab <schwab@redhat.com>
23141
23142 * manual/Makefile: Don't mix pattern rules with normal rules.
23143
817328ee
AS
231442010-09-05 Andreas Schwab <schwab@linux-m68k.org>
23145
23146 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
23147 operation.
23148 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
23149 * libio/iofopncook.c (_IO_cookie_init): Likewise.
23150 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
23151 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23152 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23153 Likewise.
23154
29fddf61
UD
231552010-09-04 Ulrich Drepper <drepper@redhat.com>
23156
23157 [BZ #11979]
23158 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
23159 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
23160
0959ffc9
UD
231612010-09-02 Ulrich Drepper <drepper@redhat.com>
23162
23163 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
23164 * sysdeps/x86_64/addmul_1.S: Likewise.
23165 * sysdeps/x86_64/lshift.S: Likewise.
23166 * sysdeps/x86_64/mul_1.S: Likewise.
23167 * sysdeps/x86_64/rshift.S: Likewise.
23168 * sysdeps/x86_64/sub_n.S: Likewise.
23169 * sysdeps/x86_64/submul_1.S: Likewise.
23170
ece29840
ST
231712010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
23172
0959ffc9
UD
23173 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
23174 Define __sched_param instead of SCHED_* and sched_param when
ece29840 23175 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 23176 * bits/sched.h [__need_schedparam]
ece29840 23177 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
23178 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
23179 (__defined_schedparam): Define to 1.
ece29840
ST
23180 (__sched_param): New structure, identical to sched_param.
23181 (__need_schedparam): Undefine.
23182
e53a31fe
MF
231832010-08-31 Mike Frysinger <vapier@gentoo.org>
23184
fdc0c10d
MF
23185 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
23186 (epoll_create1): Declare.
23187
e53a31fe
MF
23188 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
23189
a726d796
AS
231902010-08-31 Andreas Schwab <schwab@redhat.com>
23191
23192 [BZ #7066]
23193 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
23194 shifting retval into place.
23195
2f3e3dc7
UD
231962010-09-01 Ulrich Drepper <drepper@redhat.com>
23197
f2933da9
UD
23198 * nis/rpcsvc/nis.h: Update copyright notice.
23199 * nis/rpcsvc/nis.x: Likewise.
23200 * nis/rpcsvc/nis_callback.h: Likewise.
23201 * nis/rpcsvc/nis_callback.x: Likewise.
23202 * nis/rpcsvc/nis_object.x: Likewise.
23203 * nis/rpcsvc/nis_tags.h: Likewise.
23204 * nis/rpcsvc/yp.h: Likewise.
23205 * nis/rpcsvc/yp.x: Likewise.
23206 * nis/rpcsvc/ypupd.h: Likewise.
23207 * nis/yp_xdr.c: Likewise.
23208 * nis/ypupdate_xdr.c: Likewise.
23209
2f3e3dc7
UD
23210 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
23211 mainly the body of pmap_getport. Add parameters to specify timeouts.
23212 (pmap_getport): Use __libc_rpc_getport.
23213 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
23214 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
23215 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
23216
f3dcc2f9
AS
232172010-08-31 Andreas Schwab <schwab@linux-m68k.org>
23218
23219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
23220 fanotify_mark.
23221
6d34eb5b
RM
232222010-08-27 Roland McGrath <roland@redhat.com>
23223
23224 * sysdeps/i386/i686/multiarch/Makefile
23225 (CFLAGS-varshift.c): New variable.
23226
9ea3de11
UD
232272010-08-27 Ulrich Drepper <drepper@redhat.com>
23228
c96d23fc
UD
23229 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
23230 * sysdeps/i386/i686/multiarch/varshift.c: New file.
23231
9ea3de11
UD
23232 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
23233
23234 * sysdeps/x86_64/strlen.S: Minimal code improvement.
23235
623aac7f
L
232362010-08-26 H.J. Lu <hongjiu.lu@intel.com>
23237
23238 * sysdeps/x86_64/strlen.S: Unroll the loop.
23239 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23240 strlen-sse2 strlen-sse2-bsf.
23241 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
23242 __strlen_no_bsf if bit_Slow_BSF is set.
23243 (__strlen_sse42): Removed.
23244 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
23245 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
23246
8b2b7715
RM
232472010-08-25 Roland McGrath <roland@redhat.com>
23248
23249 * sysdeps/x86_64/multiarch/varshift.S: File removed.
23250 * sysdeps/x86_64/multiarch/varshift.c: New file.
23251 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
23252 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
23253 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
23254 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23255
e73015f2
L
232562010-08-25 H.J. Lu <hongjiu.lu@intel.com>
23257
23258 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23259 strlen-sse2 strlen-sse2-bsf.
23260 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
23261 __strlen_sse2_bsf if bit_Slow_BSF is unset.
23262 (__strlen_sse2): Removed.
23263 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
23264 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
23265 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23266 bit_Slow_BSF for Atom.
23267 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
23268 (index_Slow_BSF): Define.
23269 (HAS_SLOW_BSF): Define.
23270
df24a73e
UD
232712010-08-25 Ulrich Drepper <drepper@redhat.com>
23272
23273 [BZ #10851]
23274 * resolv/res_init.c (__res_vinit): When no server address at all
23275 is given default to loopback.
23276
f2ac4868
RM
232772010-08-24 Roland McGrath <roland@redhat.com>
23278
09055553
RM
23279 * configure.in: Remove config-name.h generation.
23280 * configure: Regenerated.
23281 * config-name.in: File removed.
23282 * scripts/config-uname.sh: New file.
23283 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
23284 ($(objdir)config-name.h): New target.
23285
f2ac4868
RM
23286 * sunrpc/rpc_parse.h: Avoid nested comment.
23287
73f27d5e
RH
232882010-08-24 Richard Henderson <rth@redhat.com>
23289 Ulrich Drepper <drepper@redhat.com>
23290 H.J. Lu <hongjiu.lu@intel.com>
23291
23292 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
23293 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
23294 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
23295 Replace _mm_srli_si128 with __m128i_shift_right. Replace
23296 _mm_alignr_epi8 with _mm_loadu_si128.
23297 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
23298 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
23299 (__m128i_shift_right): Removed.
23300 * sysdeps/i386/i686/multiarch/varshift.h: New file.
23301 * sysdeps/i386/i686/multiarch/varshift.S: New file.
23302 * sysdeps/x86_64/multiarch/varshift.h: New file.
23303 * sysdeps/x86_64/multiarch/varshift.S: New file.
23304
84b9230c
MF
233052010-08-21 Mike Frysinger <vapier@gentoo.org>
23306
23307 * configure.in: Move assembler checks to before sysdep dir checking.
23308
9bbd0ddc
PB
233092010-08-20 Petr Baudis <pasky@suse.cz>
23310
23311 * LICENSES: Sync the sunrpc license.
23312
9da4bb31
UD
233132010-08-19 Ulrich Drepper <drepper@redhat.com>
23314
a7ab6ec8
UD
23315 * sunrpc/auth_des.c: Update copyright notice once again.
23316 * sunrpc/auth_none.c: Likewise.
23317 * sunrpc/auth_unix.c: Likewise.
23318 * sunrpc/authdes_prot.c: Likewise.
23319 * sunrpc/authuxprot.c: Likewise.
23320 * sunrpc/bindrsvprt.c: Likewise.
23321 * sunrpc/clnt_gen.c: Likewise.
23322 * sunrpc/clnt_perr.c: Likewise.
23323 * sunrpc/clnt_raw.c: Likewise.
23324 * sunrpc/clnt_simp.c: Likewise.
23325 * sunrpc/clnt_tcp.c: Likewise.
23326 * sunrpc/clnt_udp.c: Likewise.
23327 * sunrpc/clnt_unix.c: Likewise.
23328 * sunrpc/des_crypt.c: Likewise.
23329 * sunrpc/des_soft.c: Likewise.
23330 * sunrpc/get_myaddr.c: Likewise.
23331 * sunrpc/getrpcport.c: Likewise.
23332 * sunrpc/key_call.c: Likewise.
23333 * sunrpc/key_prot.c: Likewise.
23334 * sunrpc/openchild.c: Likewise.
23335 * sunrpc/pm_getmaps.c: Likewise.
23336 * sunrpc/pm_getport.c: Likewise.
23337 * sunrpc/pmap_clnt.c: Likewise.
23338 * sunrpc/pmap_prot.c: Likewise.
23339 * sunrpc/pmap_prot2.c: Likewise.
23340 * sunrpc/pmap_rmt.c: Likewise.
23341 * sunrpc/rpc/auth.h: Likewise.
23342 * sunrpc/rpc/auth_unix.h: Likewise.
23343 * sunrpc/rpc/clnt.h: Likewise.
23344 * sunrpc/rpc/des_crypt.h: Likewise.
23345 * sunrpc/rpc/key_prot.h: Likewise.
23346 * sunrpc/rpc/netdb.h: Likewise.
23347 * sunrpc/rpc/pmap_clnt.h: Likewise.
23348 * sunrpc/rpc/pmap_prot.h: Likewise.
23349 * sunrpc/rpc/pmap_rmt.h: Likewise.
23350 * sunrpc/rpc/rpc.h: Likewise.
23351 * sunrpc/rpc/rpc_des.h: Likewise.
23352 * sunrpc/rpc/rpc_msg.h: Likewise.
23353 * sunrpc/rpc/svc.h: Likewise.
23354 * sunrpc/rpc/svc_auth.h: Likewise.
23355 * sunrpc/rpc/types.h: Likewise.
23356 * sunrpc/rpc/xdr.h: Likewise.
23357 * sunrpc/rpc_clntout.c: Likewise.
23358 * sunrpc/rpc_cmsg.c: Likewise.
23359 * sunrpc/rpc_common.c: Likewise.
23360 * sunrpc/rpc_cout.c: Likewise.
23361 * sunrpc/rpc_dtable.c: Likewise.
23362 * sunrpc/rpc_hout.c: Likewise.
23363 * sunrpc/rpc_main.c: Likewise.
23364 * sunrpc/rpc_parse.c: Likewise.
23365 * sunrpc/rpc_parse.h: Likewise.
23366 * sunrpc/rpc_prot.c: Likewise.
23367 * sunrpc/rpc_sample.c: Likewise.
23368 * sunrpc/rpc_scan.c: Likewise.
23369 * sunrpc/rpc_scan.h: Likewise.
23370 * sunrpc/rpc_svcout.c: Likewise.
23371 * sunrpc/rpc_tblout.c: Likewise.
23372 * sunrpc/rpc_util.c: Likewise.
23373 * sunrpc/rpc_util.h: Likewise.
23374 * sunrpc/rpcinfo.c: Likewise.
23375 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
23376 * sunrpc/rpcsvc/key_prot.x: Likewise.
23377 * sunrpc/rpcsvc/klm_prot.x: Likewise.
23378 * sunrpc/rpcsvc/mount.x: Likewise.
23379 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
23380 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
23381 * sunrpc/rpcsvc/rex.x: Likewise.
23382 * sunrpc/rpcsvc/rstat.x: Likewise.
23383 * sunrpc/rpcsvc/rusers.x: Likewise.
23384 * sunrpc/rpcsvc/sm_inter.x: Likewise.
23385 * sunrpc/rpcsvc/spray.x: Likewise.
23386 * sunrpc/rpcsvc/yppasswd.x: Likewise.
23387 * sunrpc/rtime.c: Likewise.
23388 * sunrpc/svc.c: Likewise.
23389 * sunrpc/svc_auth.c: Likewise.
23390 * sunrpc/svc_authux.c: Likewise.
23391 * sunrpc/svc_raw.c: Likewise.
23392 * sunrpc/svc_run.c: Likewise.
23393 * sunrpc/svc_simple.c: Likewise.
23394 * sunrpc/svc_tcp.c: Likewise.
23395 * sunrpc/svc_udp.c: Likewise.
23396 * sunrpc/svc_unix.c: Likewise.
23397 * sunrpc/svcauth_des.c: Likewise.
23398 * sunrpc/xcrypt.c: Likewise.
23399 * sunrpc/xdr.c: Likewise.
23400 * sunrpc/xdr_array.c: Likewise.
23401 * sunrpc/xdr_float.c: Likewise.
23402 * sunrpc/xdr_mem.c: Likewise.
23403 * sunrpc/xdr_rec.c: Likewise.
23404 * sunrpc/xdr_ref.c: Likewise.
23405 * sunrpc/xdr_sizeof.c: Likewise.
23406 * sunrpc/xdr_stdio.c: Likewise.
23407
9da4bb31
UD
23408 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
23409 handling.
23410
bdaa77bc
AS
234112010-08-19 Andreas Schwab <schwab@redhat.com>
23412
23413 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
23414
fe2f79db
LM
234152010-08-19 Luis Machado <luisgpm@br.ibm.com>
23416
23417 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
23418 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
23419 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
23420 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
23421 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
23422 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
23423 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
23424 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
23425 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
23426 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
23427 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
23428 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
23429 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
23430 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
23431
b9b42ee0
AB
234322010-07-26 Anton Blanchard <anton@samba.org>
23433
23434 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
23435 * malloc/arena.c (heap_trim): Likewise.
23436
1c06ba31
UD
234372010-08-16 Ulrich Drepper <drepper@redhat.com>
23438
23439 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
23440 here. Not...
23441 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
23442 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
23443
f8392f40
L
234442010-08-12 H.J. Lu <hongjiu.lu@intel.com>
23445
23446 * sysdeps/i386/elf/Makefile: New file.
23447
3162f12e
AS
234482010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23449
23450 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
23451 from fanotify_init.
23452 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
23453 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23454
28c90b2c
UD
234552010-08-15 Ulrich Drepper <drepper@redhat.com>
23456
23457 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23458 of strncasecmp_l.
1feccb6c 23459 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 23460
ca6bb004
UD
234612010-08-14 Ulrich Drepper <drepper@redhat.com>
23462
e9f82e0d
UD
23463 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23464 strncase_l-nonascii.
23465 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23466 Add strncase_l-ssse3.
23467 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
23468 * sysdeps/x86_64/strcmp.S: Likewise.
23469 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
23470 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
23471 * sysdeps/x86_64/strncase.S: New file.
23472 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
23473 * sysdeps/x86_64/strncase_l.S: New file.
23474 * string/Makefile (strop-tests): Add strncasecmp.
23475 * string/test-strncasecmp.c: New file.
23476
23477 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
23478 warning.
23479
ca6bb004
UD
23480 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
23481 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23482
052fa7b3
AS
234832010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23484
23485 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
23486
962dba78
UD
234872010-08-12 Ulrich Drepper <drepper@redhat.com>
23488
23489 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
23490 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
23491 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
23492
bebff237
AM
234932010-05-01 Alan Modra <amodra@gmail.com>
23494
23495 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
23496 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
23497 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
23498 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
23499 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
23500 tidying. Don't tail-call __sigjmp_save for static lib.
23501 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
23502 save location.
23503 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
23504 (CALL_MCOUNT): Add eh info, and nop after bl.
23505 (TAIL_CALL_SYSCALL_ERROR): New macro.
23506 (PSEUDO_RET): Use it.
23507 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23508 Correct save location of integer regs and cr.
23509 (_dl_profile_resolve): Correct cr save location. Delete nops
23510 after bl when SHARED. Reduce cfi size a little by better
23511 placement of cfi directives.
23512 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
23513 make a stack frame. Instead use parm save area as a temp.
23514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
23515 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
23516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23517 Don't make a stack frame for parent, use parm save area.
23518 Increase child stack frame to 112 bytes. Don't save unused reg,
23519 and adjust reg usage. Set up cfi on error recovery and
23520 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
23521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23522 (__makecontext): Add dummy nop after jump to exit.
23523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
23524 Use correct parm save area and cr save, reduce stack frame.
23525 Correct cfi for possible PSEUDO_RET frame setup.
23526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
23527 Branch to local label emitted by PSEUDO_RET rather than
23528 __syscall_error.
23529
02637374
AS
235302010-08-12 Andreas Schwab <schwab@redhat.com>
23531
23532 [BZ #11904]
23533 * locale/programs/locale.c (print_assignment): New function.
23534 (show_locale_vars): Use it.
23535
c3e2f19b
UD
235362010-08-11 Ulrich Drepper <drepper@redhat.com>
23537
3cdaa6ad
UD
23538 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
23539 field.
23540 (struct statfs64): Likewise.
23541 (_STATFS_F_FLAGS): Define.
23542 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
23543 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23544 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
23545 (ST_VALID): Define locally.
23546 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
23547 __statvfs_getflags, use the provided value.
23548 * sysdeps/unix/sysv/linux/kernel-features.h: Define
23549 __ASSUME_STATFS_F_FLAGS.
23550
754f7da3
UD
23551 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
23552
10b3bedc
UD
23553 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
23554 Add sys/fanotify.h.
23555 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
23556 fanotify_mask for GLIBC_2.13.
23557 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
23558 fanotify_init and fanotify_mark.
23559 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23560 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
23561
c08fb0d7
UD
23562 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
23563 Add prlimit.
23564 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
23565 prlimit64 for GLIBC_2.13.
23566 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
23567 prlimit64.
23568 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
23569 syscall.
23570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
23571 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23572 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
23573 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
23574 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
23575 add prlimit alias.
23576 * sysdeps/unix/sysv/linux/prlimit.c: New file.
23577
15bac72b
UD
23578 [BZ #11903]
23579 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
23580 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
23581
c3e2f19b
UD
23582 * nss/Makefile: Add rules to build and run tst-nss-test1.
23583 * shlib-versions: Add entry for libnss_test1.
23584 * nss/nss_test1.c: New file.
23585 * nss/tst-nss-test1.c: New file.
23586
23587 * nss/nsswitch.c (__nss_database_custom): Define new variable.
23588 (__nss_configure_lookup): Set appropriate entry in
23589 __nss_configure_lookup to true.
23590 * nss/nsswitch.h: Define enum with indeces of databases in
23591 databases and __nss_database_custom arrays. Declare
23592 __nss_database_custom.
23593 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
23594 to avoid using nscd when custom rules are installed.
23595 * nss/getXXbyYY_r.c: Likewise.
23596 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23597
23598 * nss/nss_files/files-parse.c: Whitespace fixes.
23599
f15ce4d8
UD
236002010-08-09 Ulrich Drepper <drepper@redhat.com>
23601
23602 [BZ #11883]
23603 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
23604 * posix/fnmatch_loop.c: Likewise.
23605
d22e4cc9
AK
236062010-07-17 Andi Kleen <ak@linux.intel.com>
23607
23608 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
23609 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
23610 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
23611 * Versions.def [GLIBC_2.13]: Add.
23612
805bc17d
UD
236132010-08-06 Ulrich Drepper <drepper@redhat.com>
23614
23615 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23616 Also fail if tpwd after pwuid call is NULL.
23617
5a42321d
ST
236182010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
23619
23620 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
23621 when converting to ms.
23622
fd3ebeda
ST
236232010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23624
23625 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
23626 EOPNOTSUPP errors with ENOTTY.
23627 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
23628 EOPNOTSUPP errors with ENOTTY.
23629
73507d3a
UD
236302010-07-31 Ulrich Drepper <drepper@redhat.com>
23631
23632 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23633 Add strcasecmp_l-ssse3.
23634 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
23635 strcasecmp.
23636 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
23637 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
23638 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
23639
fe36dd02
UD
236402010-07-30 Ulrich Drepper <drepper@redhat.com>
23641
66f6765a
UD
23642 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23643
42e08a54
UD
23644 * string/Makefile (strop-tests): Add strcasecmp.
23645 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23646 strcasecmp_l-nonascii.
23647 (gen-as-const-headers): Add locale-defines.sym.
23648 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23649 * sysdeps/x86_64/strcasecmp.S: New file.
23650 * sysdeps/x86_64/strcasecmp_l.S: New file.
23651 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23652 * sysdeps/x86_64/locale-defines.sym: New file.
23653 * string/test-strcasecmp.c: New file.
23654
fe36dd02
UD
23655 * string/test-strcasestr.c: Test both ends of the range of characters.
23656 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23657
48cbc0d6
RM
236582010-07-29 Roland McGrath <roland@redhat.com>
23659
76e6d6bc 23660 [BZ #11856]
48cbc0d6
RM
23661 * manual/locale.texi (Yes-or-No Questions): Fix example code.
23662
880113d9
UD
236632010-07-27 Ulrich Drepper <drepper@redhat.com>
23664
23665 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
23666 for ld.so.
23667
deb9cabb
AS
236682010-07-27 Andreas Schwab <schwab@redhat.com>
23669
23670 * manual/memory.texi (Malloc Tunable Parameters): Document
23671 M_PERTURB.
23672
1c7570ff
RM
236732010-07-26 Roland McGrath <roland@redhat.com>
23674
23675 [BZ #11840]
23676 * configure.in (-fgnu89-inline check): Set and substitute
23677 gnu89_inline, not libc_cv_gnu89_inline.
23678 * configure: Regenerated.
23679 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
23680
24fb0f88
UD
236812010-07-26 Ulrich Drepper <drepper@redhat.com>
23682
23683 * string/test-strnlen.c: New file.
23684 * string/Makefile (strop-tests): Add strnlen.
23685 * string/tester.c (test_strnlen): Add a few more test cases.
23686 * string/tst-strlen.c: Better error reporting.
23687
23688 * sysdeps/x86_64/strnlen.S: New file.
23689
8e96b93a
UD
236902010-07-24 Ulrich Drepper <drepper@redhat.com>
23691
23692 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23693 lower-latency instructions.
23694
dbc676d4
UD
236952010-07-23 Ulrich Drepper <drepper@redhat.com>
23696
23697 * string/test-strcasestr.c: New file.
23698 * string/test-strstr.c: New file.
23699 * string/Makefile (strop-tests): Add strstr and strcasestr.
23700 * string/str-two-way.h: Don't undefine MAX.
23701 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23702
f6a31e0e
AS
237032010-07-21 Andreas Schwab <schwab@redhat.com>
23704
23705 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23706 strcasestr-nonascii.
23707 (CFLAGS-strcasestr-nonascii.c): Define.
23708 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23709 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23710 Remove unused attribute.
23711
5dbc3b6c
RM
237122010-07-20 Roland McGrath <roland@redhat.com>
23713
23714 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23715 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
23716 ld.so.cache was broken. With it, there is no way to disable dsocaps
23717 like LD_HWCAP_MASK can disable hwcaps.
23718
23d101d8
EPM
237192010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23720
23721 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23722
cc9f2e47
UD
237232010-07-16 Ulrich Drepper <drepper@redhat.com>
23724
23725 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23726 call in strcasestr.
23727 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23728 __strcasestr_sse42_nonascii.
23729 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23730 strcasestr-nonascii.c.
23731 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23732
77c1b069
LM
237332010-06-15 Luis Machado <luisgpm@br.ibm.com>
23734
23735 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23736 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23737 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23738 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23739
440566c3
UD
237402010-07-09 Ulrich Drepper <drepper@redhat.com>
23741
23742 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23743 fcntl.
23744
5be9d05d
AS
237452010-07-06 Andreas Schwab <schwab@redhat.com>
23746
c30b7ee2 23747 [BZ #11577]
5be9d05d
AS
23748 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23749 dl_signal_cerror.
23750
8a492a67
UD
237512010-07-06 Ulrich Drepper <drepper@redhat.com>
23752
23753 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23754 _PC_PIPE_BUF using F_GETPIPE_SZ.
23755
713df3d5
RM
237562010-07-05 Roland McGrath <roland@redhat.com>
23757
23758 * manual/arith.texi (Rounding Functions): Fix rint description
23759 implicit in round description.
23760
702e8f14
UD
237612010-07-02 Ulrich Drepper <drepper@redhat.com>
23762
23763 * elf/Makefile: Fix linking for a few tests to make recent linker
23764 happy.
23765
52ed8be9
AS
237662010-06-30 Andreas Schwab <schwab@redhat.com>
23767
23768 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23769 $(common-objpfx)libc_nonshared.a.
23770
f47c9a11
LM
237712010-06-21 Luis Machado <luisgpm@br.ibm.com>
23772
23773 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23774 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23775 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23776 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23777 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23778 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23779 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23780 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23795 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23796 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23797 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23798 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23799 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23800 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23801 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23802 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23803 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23804 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23805 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23806 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23821
6fb8cbcb
L
238222010-06-25 H.J. Lu <hongjiu.lu@intel.com>
23823
23824 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23825 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
23826 * string/memmove.c (memmove): Renamed to ...
23827 (MEMMOVE): ...this. Default to memmove.
23828 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23829 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23830 (END_CHK): Define.
23831 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23832 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23833 mempcpy-ssse3-back memmove-ssse3-back.
23834 * sysdeps/x86_64/multiarch/bcopy.S: New file .
23835 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23836 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23837 * sysdeps/x86_64/multiarch/memcpy.S: New file.
23838 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23839 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23840 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23841 * sysdeps/x86_64/multiarch/memmove.c: New file.
23842 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23843 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23844 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23845 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23846 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23847 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23848 Define.
23849 (index_Fast_Copy_Backward): Define.
23850 (HAS_ARCH_FEATURE): Define.
23851 (HAS_FAST_REP_STRING): Define.
23852 (HAS_FAST_COPY_BACKWARD): Define.
23853
4e733bac 238542010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
23855
23856 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23857 Restore proper fallback handling.
23858
63c4ed22
UD
238592010-06-19 Ulrich Drepper <drepper@redhat.com>
23860
ac2b484c
UD
23861 [BZ #11701]
23862 * posix/group_member.c (__group_member): Correct checking loop.
23863
63c4ed22
UD
23864 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23865 OOM in getpwuid_r correctly. Return error number when the caller
23866 should return, otherwise -1.
23867 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23868 call returning > 0 value.
23869 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23870
765ade4b
AS
238712010-06-07 Andreas Schwab <schwab@redhat.com>
23872
23873 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23874 libc_nonshared.a from targets in modules-names.
23875
80da2e09
KS
238762010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
23877
23878 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23879 requires it.
23880
158db122
LM
238812010-06-10 Luis Machado <luisgpm@br.ibm.com>
23882
23883 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23884 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23885 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23886 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23887
caa78cf8
AS
238882010-06-02 Andreas Schwab <schwab@redhat.com>
23889
23890 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23891
b2ef2c01
UD
238922010-06-14 Ulrich Drepper <drepper@redhat.com>
23893
23894 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23895 and F_GETPIPE_SZ.
23896 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23897 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23898 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23899 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23900 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23901 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23902
fbd643b6
RM
239032010-06-14 Roland McGrath <roland@redhat.com>
23904
23905 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23906
f32f2869
JJ
239072010-06-07 Jakub Jelinek <jakub@redhat.com>
23908
23909 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23910 __REDIRECT followed by __THROW.
23911 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23912 * posix/getopt.h (getopt): Likewise.
23913
2a50c078
EPM
239142010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23915
23916 * hurd/lookup-at.c (__file_name_lookup_at): Accept
23917 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
23918 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23919 in AT_FLAGS.
23920 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23921 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23922
eb5ad2eb
LM
239232010-05-28 Luis Machado <luisgpm@br.ibm.com>
23924
23925 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23926
3c88fe1e
L
239272010-05-26 H.J. Lu <hongjiu.lu@intel.com>
23928
23929 [BZ #11640]
23930 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23931 Properly check family and model.
23932
d2f73151
TY
239332010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
23934
23935 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23936
ebd2e13d
LM
239372010-05-24 Luis Machado <luisgpm@br.ibm.com>
23938
23939 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23940
b32b8b45
UD
239412010-05-21 Ulrich Drepper <drepper@redhat.com>
23942
23943 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23944 symbol reference.
23945
9acbe24d
AS
239462010-05-19 Andreas Schwab <schwab@redhat.com>
23947
23948 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23949 symbol reference.
23950
f0ccf6ea
AS
239512010-05-21 Andreas Schwab <schwab@redhat.com>
23952
3d04ff3a
AS
23953 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23954 and internal_recvmmsg.
23955 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23956 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23957 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23958 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23959
f0ccf6ea
AS
23960 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23961 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23962 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23963
5b08ac57
AS
239642010-05-20 Andreas Schwab <schwab@redhat.com>
23965
23966 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23967
4828935d
LM
239682010-05-17 Luis Machado <luisgpm@br.ibm.com>
23969
23970 POWER7 optimizations.
23971 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23972 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23973
373d545e
UD
239742010-05-19 Ulrich Drepper <drepper@redhat.com>
23975
23976 * version.h: Update for 2.13 development version.
23977
21a2b1ae
AS
239782010-05-12 Andrew Stubbs <ams@codesourcery.com>
23979
23980 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23981 exceptions. Return 0.
23982
3f7dcb2b
RM
239832010-05-07 Roland McGrath <roland@redhat.com>
23984
23985 * elf/ldconfig.c (main): Add a const.
23986
5f24d53a 239872010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 23988
a160f8d8
UD
23989 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23990 (args_options): Add no-idn option.
23991 (ahosts_keys_int): Add idn_flags to ai_flags.
23992 (parse_option): Handle 'i' option to clear idn_flags.
23993
5f24d53a
UD
23994 * malloc/malloc.c (_int_free): Possible race in the most recently
23995 added check. Only act on the data if no current modification
23996 happened.
265bb1ce
UD
23997
23998See ChangeLog.17 for earlier changes.