]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add MSG_FASTOPEN
[thirdparty/glibc.git] / ChangeLog
CommitLineData
c6fe55cf
AJ
12013-01-11 Andreas Jaeger <aj@suse.de>
2
3 [BZ #15003]
4 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
5 value. Sync with Linux 3.7.
6
9e6919c8
DM
72013-01-10 David S. Miller <davem@davemloft.net>
8
9 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12
1c9f1a02
RM
132013-01-10 Roland McGrath <roland@hack.frob.com>
14
15 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
16 never set.
17 * configure: Regenerated.
18
b9de2dde
DM
192013-01-10 David S. Miller <davem@davemloft.net>
20
21 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22 sparc V9 rather than using V8 code.
23 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25
e7f68ef4
RM
262013-01-10 Roland McGrath <roland@hack.frob.com>
27
28 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
29 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
30 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
31 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
33 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
34 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
35 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
36 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
37 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
38 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
39 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
40 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
41 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
42 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
43 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
44 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
45 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
46 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
47 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
48 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
49 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
50 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
51 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
52 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
53 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
54 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
55
5a47cc9c
DM
562013-01-10 David S. Miller <davem@davemloft.net>
57
58 * sysdeps/sparc/fpu/libm-test-ulps: Update.
59
4cf8f209
L
602013-01-10 H.J. Lu <hongjiu.lu@intel.com>
61
62 * posix/Makefile (tests-static): New variable.
63 (tests): Add $(tests-static).
64 (tst-exec-static-ARGS): New variable.
65 (tst-spawn-static-ARGS): Likewise.
66 * posix/tst-exec-static.c: New file.
67 * posix/tst-spawn-static.c: Likewise.
68 * posix/tst-exec.c: Support run directly.
69 * posix/tst-spawn.c: Likewise.
70
fed0faa1
JM
712013-01-10 Joseph Myers <joseph@codesourcery.com>
72
828beb13
JM
73 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
74 long.
75 * math/bits/mathcalls.h (llrint): Likewise.
76 (llround): Likewise.
77 * stdlib/stdlib.h (struct drand48_data): Likewise.
78 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
79 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
80 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
81 Likewise.
82 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
83 Likewise.
84 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
85 (elf_greg_t): Likewise.
86 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
87 (__jmp_buf): Likewise.
88 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
89 definitions.
90 (llrint): Likewise, for all definitions.
91 (llrintl): Likewise.
92
fed0faa1
JM
93 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
94 Remove [__GNUC__] condition.
95 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
96 condition to just [__USE_ISOC99].
97 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
98
1a20cb20
L
992013-01-10 H.J. Lu <hongjiu.lu@intel.com>
100
101 [BZ #14200]
102 * sysdeps/unix/sysv/linux/x86/bits/environments.h
103 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
104 defined.
105 (_POSIX_V6_ILP32_OFF32): Likewise.
106 (_XBS5_ILP32_OFF32): Likewise.
107 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
108 (__ILP32_OFFBIG_LDFLAGS): Likewise.
109
751b85f7
SP
1102013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
111
7490eb81
SP
112 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
113
751b85f7
SP
114 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
115 doubles __mpexp_twomm1. Adjust usage.
116 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
117 Remove.
118
988197f0
AS
1192013-01-10 Andreas Schwab <schwab@suse.de>
120
121 [BZ #14964]
122 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
123 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
124
e83d7298
DM
1252013-01-09 David S. Miller <davem@davemloft.net>
126
034ed64b 127 [BZ #15003]
e83d7298
DM
128 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
129 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
130 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
131 TCP_FASTOPEN): Define.
132 (tcp_repair_opt): New structure.
133 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
134 enum values.
135 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
136 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
137 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
138 (tcp_cookie_transactions): New structure.
139
d5e0b9bd
AB
1402013-01-09 Anton Blanchard <anton@samba.org>
141
142 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
143 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
144 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
145 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
146
0c07e3ea
JM
1472013-01-09 Joseph Myers <joseph@codesourcery.com>
148
149 * include/features.h (__USE_ANSI): Remove.
150
232f7002
RM
1512013-01-09 Roland McGrath <roland@hack.frob.com>
152
ad98e30c
RM
153 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
154
232f7002
RM
155 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
156
950c99ca
SP
1572013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
158
b5792741
SP
159 * sysdeps/s390/fpu/libm-test-ulps: Update.
160
47cf2278
SP
161 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
162
950c99ca
SP
163 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
164 (__acr): Likewise.
165 (__cpy): Likewise.
166 (norm): Likewise.
167 (denorm): Likewise.
168 (__mp_dbl): Likewise.
169 (__dbl_mp): Likewise.
170 (add_magnitudes): Likewise.
171 (sub_magnitudes): Likewise.
172 (__add): Likewise.
173 (__sub): Likewise.
174 (__mul): Likewise.
175 (__inv): Likewise.
176 (__dvd): Likewise.
177 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
178 (__acr): Likewise.
179 (__cpy): Likewise.
180 (norm): Likewise.
181 (denorm): Likewise.
182 (__mp_dbl): Likewise.
183 (__dbl_mp): Likewise.
184 (add_magnitudes): Likewise.
185 (sub_magnitudes): Likewise.
186 (__add): Likewise.
187 (__sub): Likewise.
188 (__mul): Likewise.
189 (__inv): Likewise.
190 (__dvd): Likewise.
191 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
192 (__acr): Likewise.
193 (__cpy): Likewise.
194 (norm): Likewise.
195 (denorm): Likewise.
196 (__mp_dbl): Likewise.
197 (__dbl_mp): Likewise.
198 (add_magnitudes): Likewise.
199 (sub_magnitudes): Likewise.
200 (__add): Likewise.
201 (__sub): Likewise.
202 (__mul): Likewise.
203 (__inv): Likewise.
204 (__dvd): Likewise.
205
eede9df9
JM
2062013-01-08 Joseph Myers <joseph@codesourcery.com>
207
208 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
209 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
210 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
211 2 && __USE_EXTERN_INLINES]: Likewise.
212
c40ea3d9
AJ
2132013-01-08 Andreas Jaeger <aj@suse.de>
214
215 [BZ# 14985]
216 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
217 Remove.
218 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
219 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
220
2ccdea26
AB
2212013-01-07 Anton Blanchard <anton@samba.org>
222
223 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
224 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
225 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
226 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
227 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
228 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
229 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
230 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
231 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
232 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
233 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
234 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
235 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
236 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
237 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
238 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
239 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
240 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
241 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
242 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
243 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
244 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
245 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
246 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
247 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
248 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
249 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
250 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
251 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
252 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
253 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
254 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
255 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
256 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
257 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
258 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
259 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
260 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
261 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
262 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
263 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
264 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
265 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
266
a9708fed
JM
2672013-01-07 Joseph Myers <joseph@codesourcery.com>
268
375607b9
JM
269 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
270 (__MALLOC_PMT): Likewise.
271 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
272 [__GNUC__], only on [_LIBC].
273 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
274 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
275 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
276 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
277 forward declaration.
278 (realloc_hook_ini): Likewise.
279 (memalign_hook_ini): Likewise.
280 (__libc_memalign): Do not use __MALLOC_PMT in variable
281 declaration.
282 (__libc_valloc): Likewise.
283 (__libc_pvalloc): Likewise.
284 (__libc_calloc): Likewise.
285 (__posix_memalign): Likewise.
286
a9708fed
JM
287 [BZ #14996]
288 * math/s_casinh.c: Include <float.h>.
289 (__casinh): Do not do computation with squaring and square root
290 for large arguments.
291 * math/s_casinhf.c: Include <float.h>.
292 (__casinhf): Do not do computation with squaring and square root
293 for large arguments.
294 * math/s_casinhl.c: Include <float.h>.
295 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
296 (__casinhl): Do not do computation with squaring and square root
297 for large arguments.
298 * math/libm-test.inc (casin_test): Add more tests.
299 (casinh_test): Likewise.
300 * sysdeps/i386/fpu/libm-test-ulps: Update.
301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
302
afec409a
L
3032013-01-04 H.J. Lu <hongjiu.lu@intel.com>
304
305 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
306 (__x86_64_raw_data_cache_size): Likewise.
307 (__x86_64_data_cache_size_half): Likewise.
308 (__x86_64_raw_data_cache_size_half): Likewise.
309 (__x86_64_shared_cache_size): Likewise.
310 (__x86_64_raw_shared_cache_size): Likewise.
311 (__x86_64_shared_cache_size_half): Likewise.
312 (__x86_64_raw_shared_cache_size_half): Likewise.
313 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
314 to ...
315 (__x86_data_cache_size): This.
316 (__x86_64_raw_data_cache_size): Renamed to ...
317 (__x86_raw_data_cache_size): This.
318 (__x86_64_data_cache_size_half): Renamed to ...
319 (__x86_data_cache_size_half): This.
320 (__x86_64_raw_data_cache_size_half): Renamed to ...
321 (__x86_raw_data_cache_size_half): This.
322 (__x86_64_shared_cache_size): Renamed to ...
323 (__x86_shared_cache_size): This.
324 (__x86_64_raw_shared_cache_size): Renamed to ...
325 (__x86_raw_shared_cache_size): This.
326 (__x86_64_shared_cache_size_half): Renamed to ...
327 (__x86_shared_cache_size_half): This.
328 (__x86_64_raw_shared_cache_size_half): Renamed to ...
329 (__x86_raw_shared_cache_size_half): This.
330 * sysdeps/x86_64/memcpy.S: Updated.
331 * sysdeps/x86_64/memset.S: Likewise.
332 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
333 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
334 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
335
0b3986d0
DM
3362013-01-04 David S. Miller <davem@davemloft.net>
337
338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
339
e47686e9
AS
3402013-01-04 Andreas Schwab <schwab@linux-m68k.org>
341
d643bac1
AS
342 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
343 1 to avoid redefinition warning.
344 (__USE_GNU): Don't define.
345 (init_signaling_nan): Protoize.
346
e47686e9
AS
347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
348
b18decba
SP
3492013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
350
fffb407f
SP
351 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
352 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
353 (__cpymn): Likewise.
354 (norm): Remove commented code.
355 (denorm): Likewise.
356 (__mp_dbl): Likewise.
357 (__inv): Likewise.
358 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
359 (__cpymn): Likewise.
360 (norm): Remove commented code.
361 (denorm): Likewise.
362 (__mp_dbl): Likewise.
363 (__inv): Likewise.
364
b18decba
SP
365 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
366 mp_no value for 1.0 and 2.0.
367 (norm): Use RADIXI instead of radixi.d.
368 (denorm): Likewise.
369 (__mul): Use 0.0 instead of zero.d.
370 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
371 mp_no value for 1.0 and 2.0.
372 (norm): Use RADIXI instead of radixi.d.
373 (denorm): Likewise.
374 (__mul): Use 0.0 instead of zero.d.
375
cdc1c96f
JM
3762013-01-04 Joseph Myers <joseph@codesourcery.com>
377
378 [BZ #14994]
379 * math/s_casinh.c (__casinh): Reduce finite argument to first
380 quadrant then set signs of results at the end.
381 * math/s_casinhf.c (__casinhf): Likewise.
382 * math/s_casinhl.c (__casinhl): Likewise.
383 * math/libm-test.inc (casin_test): Add more tests.
384 (casinh_test): Likewise.
385 * sysdeps/i386/fpu/libm-test-ulps: Update.
386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
387
302913e1
SP
3882013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
389
6420d207
SP
390 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
391
a9e48ab4
SP
392 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
393
b7837264
SP
394 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
395 declarations.
396 (denorm): Likewise.
397 (__mp_dbl): Likewise.
398 (__inv): Likewise.
399
f8af25d2
SP
400 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
401 and adjust the header comment.
402
302913e1
SP
403 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
404 variable name from declaration.
405
5d7dd1ca
L
4062013-01-03 H.J. Lu <hongjiu.lu@intel.com>
407
408 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
409 Initialize COMMON_CPUID_INDEX_7 element.
410 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
411 (CPUID_RTM): Likewise.
412 (HAS_RTM): Likewise.
413 (COMMON_CPUID_INDEX_7): New enum.
414
2f5f40f4
AS
4152013-01-03 Andreas Schwab <schwab@linux-m68k.org>
416
417 [BZ #14981]
418 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
419 size is zero, record memory as freed.
420
4056f4a0
AJ
4212013-01-03 Andreas Jaeger <aj@suse.de>
422
423 * po/ia.po: Add new Interlingua translation.
424
ab15736f 4252012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
426
427 * locale/programs/localedef.c: Fix description of '--posix' flag.
428
568035b7
JM
4292013-01-02 Joseph Myers <joseph@codesourcery.com>
430
e6898b8d
JM
431 * NEWS: Update dates in second copyright notice.
432 * README: Update copyright dates in example.
433 * manual/libc.texinfo: Update copyright dates.
434 * scripts/test-installation.pl: Update copyright date in --version
435 output.
436
0e2f9562
JM
437 * hurd/ctty-input.c: Fix copyright notice formatting.
438 * hurd/ctty-output.c: Likewise.
439 * hurd/dtable.c: Likewise.
440 * hurd/hurd-raise.c: Likewise.
441 * hurd/hurdprio.c: Likewise.
442 * hurd/msgportdemux.c: Likewise.
443 * misc/sys/file.h: Likewise.
444 * misc/sys/ioctl.h: Likewise.
445 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
446 * sysdeps/mach/hurd/chdir.c: Likewise.
447 * sysdeps/mach/hurd/fchdir.c: Likewise.
448 * sysdeps/mach/hurd/rename.c: Likewise.
449 * sysdeps/mach/hurd/rmdir.c: Likewise.
450 * sysdeps/mach/hurd/seekdir.c: Likewise.
451 * sysdeps/mach/hurd/setsid.c: Likewise.
452 * sysdeps/posix/wait3.c: Likewise.
453
568035b7
JM
454 * All files with FSF copyright notices: Update copyright dates
455 using scripts/update-copyrights.
456 * intl/plural.c: Regenerated.
457 * locale/programs/charmap-kw.h: Likewise.
458 * locale/programs/locfile-kw.h: Likewise.
459
da08f647
SP
4602013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
461
0f5477af
SP
462 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
463 four values.
464
44e0d4c2
SP
465 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
466 calculation loop and add branch prediction.
467
4d55b4e5
SP
468 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
469 check access beyond bounds of m1np.
470
da08f647
SP
471 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
472 MPTWO.
473 (__inv): Remove local variable MPTWO to use the global
474 constant.
475 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
476 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
477 variable MPTWO.
478 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
479 MP3HALFS static const.
480
8e051029
DM
4812013-01-01 David S. Miller <davem@davemloft.net>
482
483 * po/ca.po: Update from translation team.
484
f4cf5f2d
JM
4852013-01-01 Joseph Myers <joseph@codesourcery.com>
486
487 * scripts/update-copyrights: New file.
488 * Makeconfig: Reformat copyright notice.
489 * ctype/ctype.h: Likewise.
490 * debug/swprintf_chk.c: Likewise.
491 * elf/dl-cache.c: Likewise.
492 * elf/dl-debug.c: Likewise.
493 * elf/dl-object.c: Likewise.
494 * grp/initgroups.c: Likewise.
495 * hurd/Makefile: Likewise.
496 * hurd/hurd/signal.h: Likewise.
497 * hurd/hurdfault.c: Likewise.
498 * hurd/hurdioctl.c: Likewise.
499 * hurd/hurdlookup.c: Likewise.
500 * hurd/intr-msg.c: Likewise.
501 * iconv/gconv_open.c: Likewise.
502 * libio/swprintf.c: Likewise.
503 * locale/lc-ctype.c: Likewise.
504 * locale/nl_langinfo.c: Likewise.
505 * mach/Machrules: Likewise.
506 * mach/Makefile: Likewise.
507 * malloc/obstack.h: Likewise.
508 * manual/Makefile: Likewise.
509 * manual/tsort.awk: Likewise.
510 * misc/bits/stab.def: Likewise.
511 * nis/nis_print_group_entry.c: Likewise.
512 * nis/nis_table.c: Likewise.
513 * nis/nss_compat/compat-pwd.c: Likewise.
514 * nis/nss_compat/compat-spwd.c: Likewise.
515 * po/Makefile: Likewise.
516 * posix/fnmatch.c: Likewise.
517 * posix/regex.h: Likewise.
518 * resolv/Makefile: Likewise.
519 * resolv/nss_dns/dns-network.c: Likewise.
520 * resolv/res_hconf.c: Likewise.
521 * scripts/gen-sorted.awk: Likewise.
522 * soft-fp/soft-fp.h: Likewise.
523 * stdio-common/printf.h: Likewise.
524 * stdlib/monetary.h: Likewise.
525 * stdlib/random.c: Likewise.
526 * stdlib/random_r.c: Likewise.
527 * sysdeps/generic/Makefile: Likewise.
528 * sysdeps/gnu/Makefile: Likewise.
529 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
530 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
531 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
532 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
533 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
534 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
535 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
536 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
537 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
538 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
539 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
540 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
541 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
542 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
543 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
544 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
545 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
546 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
547 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
548 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
549 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
550 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
551 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
552 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
553 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
554 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
555 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
556 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
557 * sysdeps/mach/hurd/errnos.awk: Likewise.
558 * sysdeps/mach/hurd/fork.c: Likewise.
559 * sysdeps/mach/hurd/getcwd.c: Likewise.
560 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
561 * sysdeps/mach/hurd/mmap.c: Likewise.
562 * sysdeps/mach/hurd/utimes.c: Likewise.
563 * sysdeps/mach/hurd/xmknod.c: Likewise.
564 * sysdeps/posix/profil.c: Likewise.
565 * sysdeps/posix/readdir_r.c: Likewise.
566 * sysdeps/powerpc/bits/mathdef.h: Likewise.
567 * sysdeps/powerpc/bits/setjmp.h: Likewise.
568 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
569 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
570 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
571 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
572 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
573 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
574 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
575 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
576 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
577 * sysdeps/pthread/lio_listio.c: Likewise.
578 * sysdeps/sparc/dl-procinfo.h: Likewise.
579 * sysdeps/unix/i386/sysdep.S: Likewise.
580 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
581 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
582 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
583 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
585 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
586 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
587 * sysdeps/unix/sysv/linux/speed.c: Likewise.
588 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
589 * sysdeps/wordsize-32/divdi3.c: Likewise.
590 * time/sys/time.h: Likewise.
591 * wcsmbs/Makefile: Likewise.
592
0549fbba
DM
5932013-01-01 David S. Miller <davem@davemloft.net>
594
a141f1a7
DM
595 * po/fr.po: Update from translation team.
596
0549fbba
DM
597 * catgets/gencat.c: Update copyright year.
598 * csu/version.c: Likewise.
599 * debug/catchsegv.sh: Likewise.
600 * debug/pcprofiledump.c: Likewise.
601 * debug/xtrace.sh: Likewise.
602 * elf/ldconfig.c: Likewise.
603 * elf/ldd.bash.in: Likewise.
604 * elf/pldd.c: Likewise.
605 * elf/sotruss.ksh: Likewise.
606 * elf/sprof.c: Likewise.
607 * iconv/iconv_prog.c: Likewise.
608 * iconv/iconvconfig.c: Likewise.
609 * locale/programs/locale.c: Likewise.
610 * locale/programs/localedef.c: Likewise.
611 * login/programs/pt_chown.c: Likewise.
612 * malloc/memusage.sh: Likewise.
613 * malloc/memusagestat.c: Likewise.
614 * malloc/mtrace.pl: Likewise.
615 * nscd/nscd.c: Likewise.
616 * nss/getent.c: Likewise.
617 * nss/makedb.c: Likewise.
618 * posix/getconf.c: Likewise.
619
18ea052c
SP
6202012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
621
622 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
623 numbers.
624
9c89fca6
MF
6252012-12-30 Mike Frysinger <vapier@gentoo.org>
626
627 * math/bits/mathcalls.h (modf): Use __nonnull.
628
085ec079
SP
6292012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
630
631 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
632 (split): Use macro CN instead of the bare value.
633 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
634 could be used.
635 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
636 instead of the bare value.
637 (power1): Likewise.
638
6d9f97e1
SP
6392012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
640
d63f73be
SP
641 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
642 __ATAN_TWOM.
643 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
644
6d9f97e1
SP
645 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
646 their values.
647 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
648 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
649 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
650 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
651
4c4febf5
AJ
6522012-12-28 Andreas Jaeger <aj@suse.de>
653
af5843ef
AJ
654 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
655 values are from Linux 3.7.
656
4c4febf5
AJ
657 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
658 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
659
99136f82
SP
6602012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
661
2f216c3c 662 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
663 TRUE case.
664
99136f82
SP
665 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
666 (norm): Likewise.
667 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
668 variables with preprocessor constants.
669 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
670 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
671 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
672
7fffbdff
BH
6732012-12-27 Bruno Haible <bruno@clisp.org>
674
675 [BZ #14317]
676 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
677 only if needed.
678
b76eb5f0
SP
6792012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
680
31a7fe5c
SP
681 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
682 and use variable directly.
683 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
684
b76eb5f0
SP
685 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
686 MPONE.
687 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
688 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
689 variable MPONE.
690 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
691 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
692 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
693 include directive. Remove local variable MPONE.
694 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
695 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
696 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
697
2c8bfe7d
DM
6982012-12-25 David S. Miller <davem@davemloft.net>
699
700 * version.h (RELEASE): Set to "development".
701 (VERSION): Set to "2.17.90".
702 * NEWS: Add 2.18 section.
703
147d03b0
DM
7042012-12-21 David S. Miller <davem@davemloft.net>
705
706 * po/hr.po: Update from translation team.
707
a8ebb2b9
AK
7082012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
709
710 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
711
95b4f1b6
SE
7122012-12-19 Steve Ellcey <sellcey@mips.com>
713
b2d94007 714 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 715
cedb2a90
MS
7162012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
717
718 * manual/contrib.texi (Contributors): Spelling correction.
719
bbf527d6
DM
7202012-12-15 David S. Miller <davem@davemloft.net>
721
722 * po/ru.po: Update from translation team.
723
bc38c906
DM
7242012-12-13 David S. Miller <davem@davemloft.net>
725
85429b1a
DM
726 * NEWS: Mention IFUNC testsuite enhancements.
727
d283e353
DM
728 * po/pl.po: Update from translation team.
729 * po/bg.po: Likewise.
730
bc38c906
DM
731 * manual/contrib.texi (Contributors): Update entries for Hongjiu
732 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
733
a181b0d7
DM
7342012-12-11 David S. Miller <davem@davemloft.net>
735
4641d57e
DM
736 * po/sv.po: Update from translation team.
737
f7bc6495
DM
738 * po/vi.po: Update from translation team.
739
6fc9048f
DM
740 * po/cs.po: Update from translation team.
741
a181b0d7
DM
742 * po/de.po: Update from translation team.
743 * po/eo.po: Likewise.
744 * po/nl.po: Likewise.
745
f70bfe80
SP
7462012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
747
3c8b4190
SP
748 [BZ #14246]
749 * manual/argp.texi (Argp Helper Functions): Move node to follow
750 Argp Parsing State.
751
f70bfe80
SP
752 [BZ #14872]
753 * manual/conf.texi (Limits on File System Capacity): Mention if
754 terminating null is included in the max size.
755
188f0adf
AJ
7562012-12-10 Andreas Jaeger <aj@suse.de>
757
758 * po/cs.po: Update from translation team.
759
56e7d3ad
SP
7602012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
761
762 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
763 void pointer and cast to uintptr_t.
764 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
765 path.
766 * sysdeps/s390/s390-64/memcpy.S: Likewise.
767 * sysdeps/s390/s390-64/memset.S: Likewise.
768
76f2d2ea 7692012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
770
771 [BZ #14833]
772 * menual/message.texi (Message Translation): Fix typos.
773 (Helper programs for gettext): Likewise.
774
67cbf9a2
AS
7752012-12-07 Andreas Schwab <schwab@linux-m68k.org>
776
777 [BZ #14898]
778 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
779 Change to -1.
780
682d0e9a
DM
7812012-12-07 David S. Miller <davem@davemloft.net>
782
783 * po/libc.pot: Update.
784
573cd484
RH
7852012-12-07 Richard Henderson <rth@redhat.com>
786
7e9da188 787 [BZ #10114]
573cd484
RH
788 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
789 normal/normal case to before the switch.
790 (_FP_DIV): Likewise.
791
e933a943
MF
7922012-12-06 Carlos O'Donell <carlos@systemhalted.org>
793 Mike Frysinger <vapier@gentoo.org>
794
795 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
796 check for __NR_fadvise64_64.
797
82123268
CM
7982012-12-06 Chris Metcalf <cmetcalf@tilera.com>
799
800 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
801 0, not just to plain "0" as a statement.
802 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
803 with cw.
804
d9814526
JM
8052012-12-06 Joseph Myers <joseph@codesourcery.com>
806
807 * NEWS: Use sourceware.org in Bugzilla URL.
808
7728c574
SP
8092012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
810
f16946dd
SP
811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
812 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
813
5704bbcb
SP
814 * stdio-common/tst-put-error.c (do_test): Add newline to the
815 padded test to ensure flush.
816
17aa0516
JL
8172012-12-05 Jeff Law <law@redhat.com>
818
819 * sunrpc/etc.rpc (fedfs_admin): Add entry.
820
363313b5
JM
8212012-12-05 Joseph Myers <joseph@codesourcery.com>
822
effbd42a
JM
823 * README: Don't refer to ports add-on as distributed separately.
824 Mention AArch64 in list of systems supported in the ports add-on.
825
87600365
JM
826 * LICENSES: Add more non-FSF copyright and license notices.
827
a0d7066a
JM
828 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
829 ((unused)).
830
66ca5a5b
JM
831 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
832
363313b5
JM
833 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
834 10000 as width of padded output.
835
b37984ad
JM
8362012-12-04 Joseph Myers <joseph@codesourcery.com>
837
9003570a
JM
838 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
839
b37984ad
JM
840 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
841 variable LX with __attribute__ ((unused)).
842 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
843 Likewise.
844 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
845 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
846 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
847 with __attribute__ ((unused)).
848
c8df52ec
DM
8492012-12-04 David S. Miller <davem@abraco.davemloft.net>
850
851 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
852
b3b099af
JM
8532012-12-04 Joseph Myers <joseph@codesourcery.com>
854
c33aa6e3
JM
855 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
856 (CFLAGS-nldbl-acos.c): New variable.
857 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
858 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
859 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
860 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
861 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
862 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
863 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
864 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
865 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
866 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
867 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
868 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
869 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
870 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
871 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
872 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
873 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
874 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
875 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
876 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
877 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
878 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
879 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
880 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
881 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
882 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
883 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
884 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
885 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
886 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
887 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
888 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
889 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
890 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
891 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
892 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
893 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
894 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
895 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
896 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
897 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
898 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
899 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
900 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
901 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
902 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
903 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
904 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
905 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
906 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
907 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
908 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
909 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
910 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
911 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
912 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
913 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
914 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
915 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
916 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
917 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
918 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
919 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
920 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
921 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
922 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
923 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
924 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
925 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
926 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
927 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
928 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
929 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
930 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
931 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
932 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
933 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
934 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
935 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
936 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
937 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
938 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
939 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
940 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
941 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
942 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
943 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
944 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
945 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
946 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
947 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
948 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
949 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
950 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
951 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
952 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
953 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
954
20f0018d
JM
955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
956 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
957
b3b099af
JM
958 [BZ #14914]
959 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
960 whole low double instead of just low 47 bits when splitting values
961 into two parts.
962
029264d1
AM
9632012-12-03 Allan McRae <allan@archlinux.org>
964
965 * manual/stdio.texi (Predefined Printf Handlers): Remove
966 @hsep and @vsep usage.
967
c9d6789e
MF
9682012-12-03 Mike Frysinger <vapier@gentoo.org>
969
970 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
971 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
972
4b7634a5
JL
9732012-12-03 Jeff Law <law@redhat.com>
974
975 * time/sys/time.h (settimeofday): Do not mark TV argument
976 as __nonnull.
977
eb6cbd24
MF
9782012-12-01 Mike Frysinger <vapier@gentoo.org>
979
980 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
981 when currently writing and seek to current position when not.
982 * libio/Makefile (tests): Remove bug-fclose1.
983 * libio/bug-fclose1.c: Delete.
984
f638872a
JM
9852012-12-01 Joseph Myers <joseph@codesourcery.com>
986
987 * manual/arith.texi (feenableexcept): Fix typo.
988 (fedisableexcept): Likewise.
989
48085d14
RM
9902012-11-30 Roland McGrath <roland@hack.frob.com>
991
992 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
993 second, differently-typed declaration, rather than a cast.
994
1a538b9f
SP
9952012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
996
997 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
998 * include/rpc/svc.h: ... here.
999
d07f2ff1 10002012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
1001
1002 [BZ #13013]
1003 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
1004 depending n and resplen2 to catch cases where answer
1005 equals answerp2.
1006
c93ec1f0
CD
10072012-11-29 Carlos O'Donell <carlos@systemhalted.org>
1008
1009 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
1010 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
1011
37db69de
MF
10122012-11-29 Mike Frysinger <vapier@gentoo.org>
1013
1014 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
1015
e10c4e4f
RM
10162012-11-29 Roland McGrath <roland@hack.frob.com>
1017
1018 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
1019
2af1b328
JL
10202012-11-28 Jeff Law <law@redhat.com>
1021
1022 [BZ #13761]
1023 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
1024 dataset_temporary. Track alloca usage into alloca_used.
1025 If dataset is large allocate and release it via malloc/free.
1026
111db5b1
FW
10272012-06-04 Florian Weimer <fweimer@redhat.com>
1028
f06cc227 1029 [BZ #14197]
111db5b1
FW
1030 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
1031
dd694abd
DM
10322012-11-28 David S. Miller <davem@davemloft.net>
1033
1034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1035
9984dd01
JM
10362012-11-28 Joseph Myers <joseph@codesourcery.com>
1037
1038 [BZ #14803]
1039 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
1040 of pi/2 rounded to nearest to 64 bits.
1041 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
1042 nearest to 64 bits.
1043 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
1044 bits.
1045
14bc93a9
JL
10462012-11-28 Jeff Law <law@redhat.com>
1047 Martin Osvald <mosvald@redhat.com>
1048
1049 [BZ #14889]
1050 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
1051 * sunrpc/svc.c: Include time.h.
1052 (__svc_accept_failed): New function.
1053 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
1054 any reason other than EINTR, call __svc_accept_failed.
1055 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
1056 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
1057
e3c6aa3a
AS
10582012-11-28 Andreas Schwab <schwab@suse.de>
1059
1060 * scripts/abilist.awk: Also handle indirect functions in .opd
1061 section.
1062
1bead169
JM
10632012-11-28 Joseph Myers <joseph@codesourcery.com>
1064
1065 [BZ #13881]
1066 * sysdeps/x86/fpu/powl_helper.c: New file.
1067 * sysdeps/x86/fpu/Makefile: Likewise.
1068 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
1069 (p3): New object.
1070 (__ieee754_powl): Use __powl_helper for finite arguments except
1071 integer exponents below 8.
1072 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
1073 (p3): New object.
1074 (__ieee754_powl): Use __powl_helper for finite arguments except
1075 integer exponents below 8.
1076 * math/libm-test.inc (pow_test): Add more tests and enable some
1077 previously disabled tests.
1078 * sysdeps/i386/fpu/libm-test-ulps: Update.
1079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1080
0817d63d
SP
10812012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1082 Carlos O'Donell <carlos_odonell@mentor.com>
1083
1084 * nss/makedb.c (is_prime): Assert that input is odd and greater
1085 than 4. Note that fact in a comment too.
1086 (next_prime): Add 4 to input.
1087
de2fd463
SP
10882012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1089
1090 [BZ #11741]
1091 * libio/Makefile (tests): Add test case tst-fwrite-error.
1092 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
1093 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1094 * libio/tst-fwrite-error.c: New test case.
1095
c515fb51
L
10962012-11-26 H.J. Lu <hongjiu.lu@intel.com>
1097
1098 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
1099 before casting to void *.
1100 * include/libc-internal.h (__pointer_type): New macro.
1101 (__integer_if_pointer_type_sub): Likewise.
1102 (__integer_if_pointer_type): Likewise.
1103 (cast_to_integer): Likewise.
1104 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
1105 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
1106 before casting to atomic64_t.
1107 (atomic_exchange_acq): Likewise.
1108 (__arch_exchange_and_add_body): Likewise.
1109 (__arch_add_body): Likewise.
1110 (atomic_add_negative): Likewise.
1111 (atomic_add_zero): Likewise.
1112
4cf77aa9
JM
11132012-11-26 Joseph Myers <joseph@codesourcery.com>
1114
1115 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
1116 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
1117 (add_fdes): Likewise.
1118 (linear_search_fdes): Likewise.
1119 (binary_search_unencoded_fdes): Likewise.
1120
d260b3b4
AS
11212012-11-26 Andreas Schwab <schwab@linux-m68k.org>
1122
1123 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
1124
67060746
AC
11252012-11-24 Adam Conrad <adconrad@0c3.net>
1126
1127 * configure.in: Autodetect C++ header directories.
1128 * configure: Regenerated.
1129
800938a1
MF
11302012-11-23 Mike Frysinger <vapier@gentoo.org>
1131
1132 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
1133
4e6e34e6
AS
11342012-11-23 Andreas Schwab <schwab@linux-m68k.org>
1135
1136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1137
7c7feb47
JM
11382012-11-22 Joseph Myers <joseph@codesourcery.com>
1139
7184dcdf
JM
1140 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
1141 LDBL_MANT_DIG == 106]: Disable some tests.
1142 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1143 Likewise.
1144 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1145 Likewise.
1146
0a42601f
JM
1147 [BZ #14871]
1148 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
1149 input for small inputs. Return +/- pi/2 for large inputs.
1150 * math/libm-test.inc (atan_test): Add more tests.
1151
79c9b9fe
JM
1152 * sysdeps/generic/unwind-dw2-fde-glibc.c
1153 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
1154 __attribute__ ((unused)).
1155
c60d3bf2
JM
1156 [BZ #14645]
1157 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
1158 x * y if x and y are nonzero and z is zero.
1159
ef1e0867
JM
1160 [BZ #14811]
1161 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
1162 nonzero exponents with absolute value below 0x1p-117 to +/-
1163 0x1p-117.
1164
1468ded3
JM
1165 [BZ #14869]
1166 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
1167 up arguments below 2**-450, not just those below 2**-500.
1168 * math/libm-test.inc (hypot_test): Add another test.
1169
8e27e3cc
JM
1170 [BZ #14868]
1171 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
1172 Return a+b for ratio over 2**120, not 2**60.
1173 * math/libm-test.inc (hypot_test): Add another test.
1174
c9c0279b
JM
1175 * math/libm-test.inc (clog_test): Use
1176 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
1177 (clog10_test): Likewise.
1178
7c7feb47
JM
1179 [BZ #6778]
1180 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
1181
fff1530e
AS
11822012-11-22 Andreas Schwab <schwab@suse.de>
1183
1184 * sysdeps/i386/fpu/libm-test-ulps: Update.
1185
94558d30
PT
11862012-11-22 Pino Toscano <toscano.pino@tiscali.it>
1187
1188 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
1189 printf output with newline.
1190
7e1be741
L
11912012-11-21 H.J. Lu <hongjiu.lu@intel.com>
1192
6bfea974
L
1193 [BZ #14865]
1194 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
1195 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
1196 -z nodlopen, -z initfirst and -z execstack support.
1197 * configure: Regenerated.
1198
7e1be741
L
1199 * elf/elf.h (DF_1_NODIRECT): New macro.
1200 (DF_1_IGNMULDEF): Likewise.
1201 (DF_1_NOKSYMS): Likewise.
1202 (DF_1_NOHDR): Likewise.
1203 (DF_1_EDITED): Likewise.
1204 (DF_1_NORELOC): Likewise.
1205 (DF_1_SYMINTPOSE): Likewise.
1206 (DF_1_GLOBAUDIT): Likewise.
1207 (DF_1_SINGLETON): Likewise.
1208 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
1209 DT_1_SUPPORTED_MASK bits.
1210 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
1211
105ce2ce
CD
12122012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
1213
1214 * sysdeps/unix/make-syscalls.sh: Document prefixes.
1215
123be9de
TS
12162012-11-20 Thomas Schwinge <thomas@codesourcery.com>
1217
d072f3f7
TS
1218 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
1219 macro.
1220
123be9de
TS
1221 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
1222 (sendmmsg): Move declarations...
1223 * socket/sys/socket.h: ... here.
1224 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
1225 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
1226 include it from...
1227 * socket/recvmmsg.c: ... this new file.
1228 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
1229 (sendmmsg): Rename to __sendmmsg, create weak alias and make
1230 definition of __sendmmsg hidden.
1231 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1232 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
1233 Move ENOSYS stub into and include it from...
1234 * socket/sendmmsg.c: ... this new file.
1235 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
1236 (sysdep_routines): Move recvmmsg and sendmmsg...
1237 * socket/Makefile (routines): ... here.
1238 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
1239 (GLIBC_PRIVATE): Add __sendmmsg.
1240 * include/sys/socket.h (__sendmmsg): Add declarations.
1241 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
1242 sendmmsg.
1243
cf9a5d18
JM
12442012-11-20 Joseph Myers <joseph@codesourcery.com>
1245
1246 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
1247 variable I1 with __attribute__ ((unused)).
1248 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1249
ecd4caf9
JM
12502012-11-19 Joseph Myers <joseph@codesourcery.com>
1251
be14d48f
JM
1252 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
1253 DUMMY variables with __attribute__ ((unused)).
1254
ecd4caf9
JM
1255 * bits/byteswap.h: Include <bits/types.h>.
1256 (__bswap_64): Use __uint64_t instead of unsigned long long int.
1257
986cab95
PT
12582012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1259
1260 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
1261 string_t. Do not manually set errno.
1262 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
1263 length with __strnlen. Make sure to both set errno and return it on
1264 failure.
1265
6d33cc9d
DM
12662012-11-19 David S. Miller <davem@davemloft.net>
1267
1268 With help from Joseph Myers.
1269 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
1270 very large arguments properly.
1271 * math/libm-test.inc (atan_test): New tests.
1272 (atan2_test): New tests.
1273 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1274 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1275
ee663277
JM
12762012-11-19 Joseph Myers <joseph@codesourcery.com>
1277
877f2d8e
JM
1278 [BZ #14856]
1279 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
1280 Define to 3.
1281
116fc08a
JM
1282 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
1283 [POSIX] (EADDRNOTAVAIL): Likewise.
1284 [POSIX] (EAFNOSUPPORT): Likewise.
1285 [POSIX] (EALREADY): Likewise.
1286 [POSIX] (ECONNABORTED): Likewise.
1287 [POSIX] (ECONNREFUSED): Likewise.
1288 [POSIX] (ECONNRESET): Likewise.
1289 [POSIX] (EDESTADDRREQ): Likewise.
1290 [POSIX] (EDQUOT): Likewise.
1291 [POSIX] (EHOSTUNREACH): Likewise.
1292 [POSIX] (EIDRM): Likewise.
1293 [POSIX] (EISCONN): Likewise.
1294 [POSIX] (ELOOP): Likewise.
1295 [POSIX] (EMULTIHOP): Likewise.
1296 [POSIX] (ENETDOWN): Likewise.
1297 [POSIX] (ENETUNREACH): Likewise.
1298 [POSIX] (ENOBUFS): Likewise.
1299 [POSIX] (ENODATA): Likewise.
1300 [POSIX] (ENOLINK): Likewise.
1301 [POSIX] (ENOMSG): Likewise.
1302 [POSIX] (ENOPROTOOPT): Likewise.
1303 [POSIX] (ENOSR): Likewise.
1304 [POSIX] (ENOSTR): Likewise.
1305 [POSIX] (ENOTCONN): Likewise.
1306 [POSIX] (ENOTSOCK): Likewise.
1307 [POSIX] (EOPNOTSUPP): Likewise.
1308 [POSIX] (EOVERFLOW): Likewise.
1309 [POSIX] (EPROTO): Likewise.
1310 [POSIX] (EPROTONOSUPPORT): Likewise.
1311 [POSIX] (EPROTOTYPE): Likewise.
1312 [POSIX] (ESTALE): Likewise.
1313 [POSIX] (ETIME): Likewise.
1314 [POSIX] (ETXTBSY): Likewise.
1315 [POSIX] (EWOULDBLOCK): Likewise.
1316 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
1317 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
1318 [POSIX] (SEEK_CUR): Likewise.
1319 [POSIX] (SEEK_END): Likewise.
1320 [POSIX || UNIX98] (mode_t): Do not require.
1321 [POSIX] (off_t): Likewise.
1322 [POSIX] (pid_t): Likewise.
1323 [POSIX] (sys/stat.h): Do not allow header.
1324 [POSIX] (unistd.h): Likewise.
1325 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
1326 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
1327 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
1328 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
1329 require.
1330 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
1331 sigevent): Specify elements.
1332 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
1333 entry.
1334 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
1335 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
1336
a483863f
JM
1337 * conform/data/cpio.h-data [POSIX]: Disable whole file.
1338 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
1339 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
1340 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
1341 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
1342 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
1343 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
1344 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
1345 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
1346 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
1347 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
1348 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
1349 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
1350 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
1351 Likewise.
1352 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
1353 Likewise.
1354 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
1355 Likewise.
1356 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
1357 Likewise.
1358 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
1359 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
1360 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
1361 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
1362 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
1363 Specify lower bound on value.
1364 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
1365 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
1366 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
1367 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
1368 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
1369 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
1370 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
1371 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
1372 value.
1373 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
1374 as optional.
1375 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
1376 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
1377 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
1378 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
1379 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
1380 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
1381 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
1382 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
1383 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
1384 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
1385 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
1386 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
1387 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
1388 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
1389 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
1390 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
1391 entry.
1392 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
1393 optional.
1394 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
1395 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
1396 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
1397 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
1398 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
1399 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
1400 Likewise.
1401 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
1402 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
1403 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
1404 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
1405 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
1406 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
1407 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
1408 as optional.
1409 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
1410 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
1411 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
1412 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
1413 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
1414 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
1415 specify as optional.
1416 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
1417 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
1418 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
1419 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
1420 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
1421 [XPG3] (NL_LANGMAX): Likewise.
1422 [POSIX || XPG3] (NL_MSGMAX): Likewise.
1423 [POSIX || XPG3] (NL_NMAX): Likewise.
1424 [POSIX || XPG3] (NL_SETMAX): Likewise.
1425 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
1426 [XPG3] (NZERO): Likewise.
1427 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
1428 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
1429 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
1430 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
1431 (REG_ERANGE): Expect.
1432 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
1433 optional-constant.
1434 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
1435 Use (void) in prototype.
1436 [POSIX] (*_t): Allow.
1437 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
1438 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
1439 (WRDE_BADVAL): Expect.
1440
5ba924e3
JM
1441 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
1442 expect.
1443 [XPG3 || XPG4] (O_RSYNC): Likewise.
1444 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
1445 Likewise.
1446 [XPG3 || XPG4] (pthread_sigmask): Likewise.
1447 [XPG3 || XPG4] (sigqueue): Likewise.
1448 [XPG3 || XPG4] (sigtimedwait): Likewise.
1449 [XPG3 || XPG4] (sigwaitinfo): Likewise.
1450 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
1451 [XPG3 || XPG4] (vsnprintf): Likewise.
1452 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
1453 Likewise.
1454 [XPG3 || XPG4] (blksize_t): Likewise.
1455 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
1456 Likewise.
1457 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
1458 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1459 [XPG3 || XPG4] (struct itimerspec): Likewise.
1460 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
1461 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
1462 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
1463 [XPG3 || XPG4] (clockid_t): Likewise.
1464 [XPG3 || XPG4] (timer_t): Likewise.
1465 [XPG3 || XPG4] (clock_getres): Likewise.
1466 [XPG3 || XPG4] (clock_gettime): Likewise.
1467 [XPG3 || XPG4] (clock_settime): Likewise.
1468 [XPG3 || XPG4] (nanosleep): Likewise.
1469 [XPG3 || XPG4] (timer_create): Likewise.
1470 [XPG3 || XPG4] (timer_delete): Likewise.
1471 [XPG3 || XPG4] (timer_gettime): Likewise.
1472 [XPG3 || XPG4] (timer_getoverrun): Likewise.
1473 [XPG3 || XPG4] (timer_settime): Likewise.
1474 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
1475 [XPG3 || XPG4] (getlogin_r): Likewise.
1476 [XPG3 || XPG4] (pread): Likewise.
1477 [XPG3 || XPG4] (pthread_atfork): Likewise.
1478 [XPG3 || XPG4] (pwrite): Likewise.
1479
ee663277
JM
1480 [BZ #14835]
1481 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
1482 <bits/siginfo.h>.
1483
942caa16
PT
14842012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1485
e19af380
PT
1486 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
1487 finalizing MALLSTREAM.
1488
942caa16
PT
1489 * sysdeps/mach/hurd/syncfs.c: New file.
1490
cfde9b46
SP
14912012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1492
1493 [BZ #14719]
1494 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
1495 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
1496 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
1497 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
1498 (_nss_dns_gethostbyname4_r): Likewise.
1499 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
1500 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
1501
f6da27e5
PH
15022012-11-19 Peng Haitao <penght@cn.fujitsu.com>
1503
1504 [BZ #13763]
1505 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
1506
6665d4a2
SM
15072012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
1508
1f51ee92
SM
1509 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
1510 * elf/cache.c (print_entry): Print ",AArch64" for
1511 FLAG_AARCH64_LIB64
1512
6665d4a2
SM
1513 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
1514 * elf/cache.c (print_entry): Print ",hard-float" for
1515 FLAG_ARM_LIBHF.
1516
05b227bd
DM
15172012-11-18 David S. Miller <davem@davemloft.net>
1518
1519 With help from Joseph Myers.
1520 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
1521 cutoff to 2**-13.
1522 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
1523 cutoff to 2**-25.
1524 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
1525 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
1526 small.
1527 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1528 * math/libm-test.inc (y0_test): New tests.
1529 (y1_test): New tests.
1530 * sysdeps/i386/fpu/libm-test-ulps: Update.
1531 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1533
786b0b67
AS
15342012-11-18 Andreas Schwab <schwab@linux-m68k.org>
1535
1536 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
1537 64-bit targets.
1538 * configure: Regenerated.
1539
8e18b86d
DM
15402012-11-17 David S. Miller <davem@davemloft.net>
1541
1542 [BZ #14811]
1543 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
1544 nonzero exponents with absolute value below 0x1p-128 to +/-
1545 0x1p-128.
1546
531f1ae0
JM
15472012-11-17 Joseph Myers <joseph@codesourcery.com>
1548
12df29e2
JM
1549 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
1550
150dc1a0
JM
1551 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
1552
531f1ae0
JM
1553 * posix/getconf-speclist.c: New file.
1554 * posix/posix-envs.def: Likewise.
1555 * posix/confstr.c (START_ENV_GROUP): New macro.
1556 (END_ENV_GROUP): Likewise.
1557 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1558 (KNOWN_PRESENT_ENV_STRING): Likewise.
1559 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1560 (UNKNOWN_ENVIRONMENT): Likewise.
1561 (confstr): Include posix-envs.def instead of handling
1562 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
1563 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
1564 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
1565 (END_ENV_GROUP): Likewise.
1566 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1567 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1568 (UNKNOWN_ENVIRONMENT): Likewise.
1569 (__sysconf): Include posix-envs.def instead of handling associated
1570 cases directly here.
1571 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
1572 preprocessing getconf-speclist.c rather than running getconf or
1573 generating empty file.
1574
a93f9cbc
PT
15752012-11-16 Pino Toscano <toscano.pino@tiscali.it>
1576
1577 * scripts/check-local-headers.sh: Ignore 'mach' headers.
1578
d64d9f87
AL
15792012-11-16 Andrej Lajovic <natrij@gmail.com>
1580
1581 [BZ #14672]
1582 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
1583
447885eb
DM
15842012-11-16 David S. Miller <davem@davemloft.net>
1585
1586 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
1587 smaller than LDBL_EPSILON/2.0L, just return xm1.
1588
bcbf9830
L
15892012-11-16 H.J. Lu <hongjiu.lu@intel.com>
1590
1591 * elf/tst-array1.c (init): Set constructor priority to 1000.
1592 (fini): Set destructor priority to 1000.
1593 * elf/tst-array2dep.c: Likewise.
1594
2b766585
SP
15952012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1596
1597 [BZ #11741]
1598 * libio/fileops.c (_IO_new_file_write): Correctly return error.
1599 (_IO_new_file_xsputn): Also return EOF if none of the input
1600 data was written when overflow failed.
1601 * libio/iopadn.c (_IO_padn): Likewise.
1602 * libio/iowpadn.c (_IO_wpadn): Likewise.
1603 * stdio-common/tst-put-error.c: Add copyright notice.
1604 (do_test): Add case for printing padded string.
1605 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
1606 _IO_padn returned error.
1607 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
1608 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
1609 return EOF.
1610
b1848fde
SP
16112012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1612
1613 * libio/libioP.h: Add comment note that the references to C++
1614 bits are now obsolete.
1615
2fd89785
MS
16162012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1617
1618 * math/libm-test.inc (check_complex): Use asprintf.
1619
e3ea5409
JM
16202012-11-14 Joseph Myers <joseph@codesourcery.com>
1621
1622 * debug/pcprofiledump.c (print_version): Update copyright year.
1623 * malloc/memusagestat.c (print_version): Likewise.
1624
2e64d265
L
16252012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1626
1627 [BZ #14831]
1628 * elf/Makefile (tests): Add tst-audit8.
1629 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
1630 ($(objpfx)tst-audit8.out): New target.
1631 (tst-audit8-ENV): New variable.
1632 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
1633 audit if l_reloc_result is NULL.
1634 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
1635 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
1636 * elf/tst-audit8.c: New file.
1637
c485e4d2
MS
16382012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1639
1640 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
1641 * misc/Makefile (CFLAGS-select.c): Define.
1642 * posix/Makefile (CFLAGS-pause.c): Define.
1643
3a0d900a
DM
16442012-11-13 David S. Miller <davem@davemloft.net>
1645
1646 * crypt/Makefile: Move test targets after toplevel Rules
1647 inclusion. Grab any necessary sysdep routines when linking.
1648 * crypt/md5.c (md5_process_block): Remove define, we will always
1649 name it __md5_process_block.
1650 (md5_finish_ctx): Update md5_process_block call.
1651 (md5_stream): Likewise.
1652 (md5_process_bytes): Likewise.
1653 (md5_process_block): Rename to __md5_process_block and move to ...
1654 * crypt/md5-block.c: ... here.
1655 * crypt/sha256.c (sha256_process_block): Move to ...
1656 * crypt/sha256-block.c: ... here.
1657 * crypt/sha512.c (sha512_process_block): Move to ...
1658 * crypt/sha512-block.c: ... here.
1659 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1660 path.
1661 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1662 * sysdeps/sparc/sparc64/multiarch/Makefile
1663 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1664 crypt subdir.
1665 (localedef-aux): Add md5 crypto assembler when in locale subdir.
1666 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1667 multiarch changes.
1668 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1669 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1670 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1671 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1672 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
1673 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
1674 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
1675 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
1676 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
1677 file.
1678 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
1679 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
1680 file.
1681 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
1682
8ca89318
JM
16832012-11-13 Joseph Myers <joseph@codesourcery.com>
1684
e27d476a
JM
1685 * timezone/tzselect.ksh: Update from tzcode git revision
1686 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
1687 * timezone/zdump.c: Likewise.
1688 * timezone/zic.c: Likewise.
1689 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
1690 in TZVERSION setting, not $(PKGVERSION).
1691 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
1692 REPORT_BUGS_TO settings.
1693
8ca89318
JM
1694 [BZ #14838]
1695 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
1696 macro.
1697
47594329
MS
16982012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1699
1700 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1701 detection to immediately after _FP_ROUND().
1702 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1703 bits are 0.
1704
640ac3f1
DM
17052012-11-11 David S. Miller <davem@davemloft.net>
1706
1707 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1708 inttypes.h
1709 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1710 __close rather than their public counterparts.
1711
3d2577bb
JM
17122012-11-10 Joseph Myers <joseph@codesourcery.com>
1713
1714 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1715 file.
1716 [UNIX98] (sem_timedwait): Do not expect.
1717 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1718 [XPG4 || UNIX98] (sockatmark): Do not expect.
1719 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1720 (clock_getcpuclockid): Do not expect.
1721 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1722 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1723 Do not expect.
1724 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1725 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1726 [UNIX98] (vwscanf): Likewise.
1727 [UNIX98] (vswscanf): Likewise.
1728
fb1ae1ee
JM
17292012-11-09 Joseph Myers <joseph@codesourcery.com>
1730
9ec6f8bd
JM
1731 * timezone/version.h: Remove file.
1732 * timezone/README: Do not refer to version.h.
1733 * timezone/Makefile ($(objpfx)zic.o): New dependency on
1734 $(objpfx)version.h.
1735 ($(objpfx)zdump.o): Likewise.
c3f81911 1736 ($(objpfx)version.h): New target.
9ec6f8bd 1737
0aa8f8a1
JM
1738 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1739 2012i.
1740 * timezone/README: Don't mention modification to tzselect.ksh.
1741 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1742 work on unmodified tzselect.ksh. Substitute version numbers in
1743 tzselect.ksh.
1744
4e87147f
JM
1745 * Makefile (format-me): Remove.
1746 (INSTALL): Adjust indentation. Use commands directly instead of
1747 using $(format-me).
1748
8b748aed
JM
1749 * aclocal.m4 (ACX_PKGVERSION): New macro.
1750 (ACX_BUGURL): Likewise.
1751 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1752 (PKGVERSION): New AC_DEFINE_UNQUOTED.
1753 (REPORT_BUGS_TO): Likewise.
1754 * configure: Regenerated.
1755 * config.h.in (PKGVERSION): New macro.
1756 (REPORT_BUGS_TO): Likewise.
1757 * config.make.in (PKGVERSION): New variable.
1758 (PKGVERSION_TEXI): Likewise.
1759 (REPORT_BUGS_TO): Likewise.
1760 (REPORT_BUGS_TEXI): Likewise.
1761 * Makefile (format-me): Use -I$(common-objpfx)manual.
1762 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1763 ($(common-objpfx)manual/%): New target.
1764 (manual/%): Remove target.
1765 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1766 (print_version): Use PKGVERSION.
1767 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1768 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1769 and REPORT_BUGS_TO.
1770 ($(objpfx)xtrace): Likewise.
1771 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1772 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1773 (print_version): Use PKGVERSION.
1774 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1775 (do_version): Use PKGVERSION.
1776 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1777 REPORT_BUGS_TO.
1778 (common-ldd-rewrite): Likewise.
1779 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1780 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1781 (print_version): Use PKGVERSION.
1782 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1783 * elf/pldd.c (argp_program_bug_address): Remove variable.
1784 (more_help): New function.
1785 (argp): Use more_help.
1786 (print_version): Use PKGVERSION.
1787 * elf/sln.c (main): Use PKGVERSION.
1788 (usage): Use REPORT_BUGS_TO.
1789 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1790 (top level): Use PKGVERSION.
1791 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1792 (print_version): Use PKGVERSION.
1793 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1794 (print_version): Use PKGVERSION.
1795 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1796 (print_version): Use PKGVERSION.
1797 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1798 (print_version): Use PKGVERSION.
1799 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1800 (print_version): Use PKGVERSION.
1801 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1802 (print_version): Use PKGVERSION.
1803 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1804 and BUGURL.
1805 ($(objpfx)memusage): Likewise.
1806 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1807 (do_version): Use PKGVERSION.
1808 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1809 (print_version): Use PKGVERSION.
1810 * malloc/mtrace.pl ($PACKAGE): Remove variable.
1811 ($PKGVERSION): New variable.
1812 ($REPORT_BUGS_TO): Likewise.
1813 (usage): Use $REPORT_BUGS_TO.
1814 (top level): Use $PKGVERSION.
1815 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1816 ($(objpfx)pkgvers.texi): New rule.
1817 ($(objpfx)stamp-pkgvers): Likewise.
1818 * manual/install.texi: Include pkgvers.texi.
1819 (--with-pkgversion): Document new configure option.
1820 (--with-bugurl): Likewise.
1821 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1822 than necessarily for this particular distribution. Use
1823 REPORT_BUGS_TO for where to report bugs.
1824 * INSTALL: Regenerated.
1825 * manual/libc.texinfo: Include pkgvers.texi.
1826 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1827 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1828 (print_version): Use PKGVERSION.
1829 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1830 (print_version): Use PKGVERSION.
1831 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1832 (print_version): Use PKGVERSION.
1833 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1834 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1835 macro.
1836 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1837 (print_version): Use PKGVERSION.
1838 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1839 (print_version): Use PKGVERSION.
1840 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1841 and PKGVERSION.
1842
92e4b6a9
JM
1843 * timezone/checktab.awk: Update from tzcode 2012i.
1844 * timezone/ialloc.c: Likewise.
1845 * timezone/private.h: Likewise.
1846 * timezone/scheck.c: Likewise.
1847 * timezone/tzfile.h: Likewise.
1848 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1849 (TZVERSION): Hardcode tzcode version number.
1850 * timezone/zdump.c: Update from tzcode 2012i.
1851 * timezone/zic.c: Likewise.
1852 * timezone/version.h: New file.
1853 * timezone/README: Describe version.h. Update upstream location.
1854
9bde902c
JM
1855 [BZ #14824]
1856 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1857 (mktemp): Enable declaration.
1858 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1859 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1860 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1861 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1862 Likewise.
1863 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1864 Likewise.
1865 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1866 Likewise.
1867 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1868 Likewise.
1869 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1870 Likewise.
1871 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1872 Likewise.
1873
fb1ae1ee
JM
1874 [BZ #14821]
1875 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1876 offset in buffer as u_int32_t not u_long. Consistently use memcpy
1877 for copies of such integer values.
1878 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1879 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1880
2c1adbcb
AJ
18812012-11-09 Andreas Jaeger <aj@suse.de>
1882
1883 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1884 definitions and declarations that are provided by
1885 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1886
d0f8457e
AK
18872012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1888
3a235abb 1889 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
1890 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1891 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1892 definition.
1893
57241e26
MS
18942012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1895
1896 * elf/elf.h: Update comment before AArch64 relocations.
1897
60e8270d
DM
18982012-11-07 David S. Miller <davem@davemloft.net>
1899
1900 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1901 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1902 (__start_context): Declare.
1903 (__makecontext_ret): Delete.
1904 (__makecontext): Hook up __start_context instead of
1905 __makecontext_ret.
1906 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1907 (sysdep_routines): Add __start_context when in stdlib.
1908
0fbb0fbc
JM
19092012-11-07 Joseph Myers <joseph@codesourcery.com>
1910
1911 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1912 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1913 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
1914 hardcoded "nm".
1915 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
1916 (READELF): New variable. Use it instead of hardcoded "readelf".
1917
eb48db7e
L
19182012-11-07 H.J. Lu <hongjiu.lu@intel.com>
1919
1920 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1921 * sysdeps/x86/Makefile: Here.
1922 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1923 * sysdeps/x86/tst-xmmymm.sh: This.
1924
05bcf62a
JM
19252012-11-07 Joseph Myers <joseph@codesourcery.com>
1926
c4b6cf53
JM
1927 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1928 expectations.
1929 [UNIX98] (pthread_barrier_t): Do not expect.
1930 [UNIX98] (pthread_barrierattr_t): Likewise.
1931 [UNIX98] (pthread_spinlock_t): Likewise.
1932 [UNIX98] (pthread_barrier_destroy): Likewise.
1933 [UNIX98] (pthread_barrier_init): Likewise.
1934 [UNIX98] (pthread_barrier_wait): Likewise.
1935 [UNIX98] (pthread_barrierattr_destroy): Likewise.
1936 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1937 [UNIX98] (pthread_barrierattr_init): Likewise.
1938 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1939 [UNIX98] (pthread_getcpuclockid): Likewise.
1940 [UNIX98] (pthread_mutex_timedlock): Likewise.
1941 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1942 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1943 [UNIX98] (pthread_sigmask): Likewise.
1944 [UNIX98] (pthread_spin_destroy): Likewise.
1945 [UNIX98] (pthread_spin_init): Likewise.
1946 [UNIX98] (pthread_spin_lock): Likewise.
1947 [UNIX98] (pthread_spin_trylock): Likewise.
1948 [UNIX98] (pthread_spin_unlock): Likewise.
1949 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1950 Do not expect.
1951 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1952 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1953 [XPG3 || XPG4] (pthread_cond_t): Likewise.
1954 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1955 [XPG3 || XPG4] (pthread_key_t): Likewise.
1956 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1957 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1958 [XPG3 || XPG4] (pthread_once_t): Likewise.
1959 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1960 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1961 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1962 [XPG3 || XPG4] (pthread_t): Likewise.
1963
cbe6e120
JM
1964 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1965 not expect.
1966 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1967
1b126443
JM
1968 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1969 Change function return type to int.
1970
b961a573
JM
1971 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1972 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1973 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1974 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1975 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1976 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1977 [!POSIX] (posix_madvise): Likewise.
1978 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1979 && !UNIX98].
1980 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1981 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1982 (mode_t): Likewise.
1983 (posix_mem_offset): Likewise.
1984 (posix_typed_mem_get_info): Likewise.
1985 (posix_typed_mem_open): Likewise.
1986
9e188909
JM
1987 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1988 Change condition to [XOPEN2K8].
1989
05bcf62a
JM
1990 * conform/conformtest.pl: Preprocess allow-header data with -x c
1991 instead of from stdin.
1992 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1993 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1994 [C99-based standards] (cerfc): Likewise.
1995 [C99-based standards] (cexp2): Likewise.
1996 [C99-based standards] (cexpm1): Likewise.
1997 [C99-based standards] (clog10): Likewise.
1998 [C99-based standards] (clog1p): Likewise.
1999 [C99-based standards] (clog2): Likewise.
2000 [C99-based standards] (clgamma): Likewise.
2001 [C99-based standards] (ctgamma): Likewise.
2002 [C99-based standards] (cerff): Likewise.
2003 [C99-based standards] (cerfcf): Likewise.
2004 [C99-based standards] (cexp2f): Likewise.
2005 [C99-based standards] (cexpm1f): Likewise.
2006 [C99-based standards] (clog10f): Likewise.
2007 [C99-based standards] (clog1pf): Likewise.
2008 [C99-based standards] (clog2f): Likewise.
2009 [C99-based standards] (clgammaf): Likewise.
2010 [C99-based standards] (ctgammaf): Likewise.
2011 [C99-based standards] (cerfl): Likewise.
2012 [C99-based standards] (cerfcl): Likewise.
2013 [C99-based standards] (cexp2l): Likewise.
2014 [C99-based standards] (cexpm1l): Likewise.
2015 [C99-based standards] (clog10l): Likewise.
2016 [C99-based standards] (clog1pl): Likewise.
2017 [C99-based standards] (clog2l): Likewise.
2018 [C99-based standards] (clgammal): Likewise.
2019 [C99-based standards] (ctgammal): Likewise.
2020 * conform/data/inttypes.h-data [C99-based standards]: Include
2021 stdint.h-data. Remove all expectations for stdint.h contents.
2022 [C99-based standards] (PRI*): Do not allow.
2023 [C99-based standards] (SCN*): Likewise.
2024 [C99-based standards] (*_t): Likewise.
2025 [C99-based-standards] (PRId8): Expect macro.
2026 [C99-based-standards] (PRIi8): Likewise.
2027 [C99-based-standards] (PRIo8): Likewise.
2028 [C99-based-standards] (PRIu8): Likewise.
2029 [C99-based-standards] (PRIx8): Likewise.
2030 [C99-based-standards] (PRIX8): Likewise.
2031 [C99-based-standards] (SCNd8): Likewise.
2032 [C99-based-standards] (SCNi8): Likewise.
2033 [C99-based-standards] (SCNo8): Likewise.
2034 [C99-based-standards] (SCNu8): Likewise.
2035 [C99-based-standards] (SCNx8): Likewise.
2036 [C99-based-standards] (PRIdLEAST8): Likewise.
2037 [C99-based-standards] (PRIiLEAST8): Likewise.
2038 [C99-based-standards] (PRIoLEAST8): Likewise.
2039 [C99-based-standards] (PRIuLEAST8): Likewise.
2040 [C99-based-standards] (PRIxLEAST8): Likewise.
2041 [C99-based-standards] (PRIXLEAST8): Likewise.
2042 [C99-based-standards] (SCNdLEAST8): Likewise.
2043 [C99-based-standards] (SCNiLEAST8): Likewise.
2044 [C99-based-standards] (SCNoLEAST8): Likewise.
2045 [C99-based-standards] (SCNuLEAST8): Likewise.
2046 [C99-based-standards] (SCNxLEAST8): Likewise.
2047 [C99-based-standards] (PRIdFAST8): Likewise.
2048 [C99-based-standards] (PRIiFAST8): Likewise.
2049 [C99-based-standards] (PRIoFAST8): Likewise.
2050 [C99-based-standards] (PRIuFAST8): Likewise.
2051 [C99-based-standards] (PRIxFAST8): Likewise.
2052 [C99-based-standards] (PRIXFAST8): Likewise.
2053 [C99-based-standards] (SCNdFAST8): Likewise.
2054 [C99-based-standards] (SCNiFAST8): Likewise.
2055 [C99-based-standards] (SCNoFAST8): Likewise.
2056 [C99-based-standards] (SCNuFAST8): Likewise.
2057 [C99-based-standards] (SCNxFAST8): Likewise.
2058 [C99-based-standards] (PRId16): Likewise.
2059 [C99-based-standards] (PRIi16): Likewise.
2060 [C99-based-standards] (PRIo16): Likewise.
2061 [C99-based-standards] (PRIu16): Likewise.
2062 [C99-based-standards] (PRIx16): Likewise.
2063 [C99-based-standards] (PRIX16): Likewise.
2064 [C99-based-standards] (SCNd16): Likewise.
2065 [C99-based-standards] (SCNi16): Likewise.
2066 [C99-based-standards] (SCNo16): Likewise.
2067 [C99-based-standards] (SCNu16): Likewise.
2068 [C99-based-standards] (SCNx16): Likewise.
2069 [C99-based-standards] (PRIdLEAST16): Likewise.
2070 [C99-based-standards] (PRIiLEAST16): Likewise.
2071 [C99-based-standards] (PRIoLEAST16): Likewise.
2072 [C99-based-standards] (PRIuLEAST16): Likewise.
2073 [C99-based-standards] (PRIxLEAST16): Likewise.
2074 [C99-based-standards] (PRIXLEAST16): Likewise.
2075 [C99-based-standards] (SCNdLEAST16): Likewise.
2076 [C99-based-standards] (SCNiLEAST16): Likewise.
2077 [C99-based-standards] (SCNoLEAST16): Likewise.
2078 [C99-based-standards] (SCNuLEAST16): Likewise.
2079 [C99-based-standards] (SCNxLEAST16): Likewise.
2080 [C99-based-standards] (PRIdFAST16): Likewise.
2081 [C99-based-standards] (PRIiFAST16): Likewise.
2082 [C99-based-standards] (PRIoFAST16): Likewise.
2083 [C99-based-standards] (PRIuFAST16): Likewise.
2084 [C99-based-standards] (PRIxFAST16): Likewise.
2085 [C99-based-standards] (PRIXFAST16): Likewise.
2086 [C99-based-standards] (SCNdFAST16): Likewise.
2087 [C99-based-standards] (SCNiFAST16): Likewise.
2088 [C99-based-standards] (SCNoFAST16): Likewise.
2089 [C99-based-standards] (SCNuFAST16): Likewise.
2090 [C99-based-standards] (SCNxFAST16): Likewise.
2091 [C99-based-standards] (PRId32): Likewise.
2092 [C99-based-standards] (PRIi32): Likewise.
2093 [C99-based-standards] (PRIo32): Likewise.
2094 [C99-based-standards] (PRIu32): Likewise.
2095 [C99-based-standards] (PRIx32): Likewise.
2096 [C99-based-standards] (PRIX32): Likewise.
2097 [C99-based-standards] (SCNd32): Likewise.
2098 [C99-based-standards] (SCNi32): Likewise.
2099 [C99-based-standards] (SCNo32): Likewise.
2100 [C99-based-standards] (SCNu32): Likewise.
2101 [C99-based-standards] (SCNx32): Likewise.
2102 [C99-based-standards] (PRIdLEAST32): Likewise.
2103 [C99-based-standards] (PRIiLEAST32): Likewise.
2104 [C99-based-standards] (PRIoLEAST32): Likewise.
2105 [C99-based-standards] (PRIuLEAST32): Likewise.
2106 [C99-based-standards] (PRIxLEAST32): Likewise.
2107 [C99-based-standards] (PRIXLEAST32): Likewise.
2108 [C99-based-standards] (SCNdLEAST32): Likewise.
2109 [C99-based-standards] (SCNiLEAST32): Likewise.
2110 [C99-based-standards] (SCNoLEAST32): Likewise.
2111 [C99-based-standards] (SCNuLEAST32): Likewise.
2112 [C99-based-standards] (SCNxLEAST32): Likewise.
2113 [C99-based-standards] (PRIdFAST32): Likewise.
2114 [C99-based-standards] (PRIiFAST32): Likewise.
2115 [C99-based-standards] (PRIoFAST32): Likewise.
2116 [C99-based-standards] (PRIuFAST32): Likewise.
2117 [C99-based-standards] (PRIxFAST32): Likewise.
2118 [C99-based-standards] (PRIXFAST32): Likewise.
2119 [C99-based-standards] (SCNdFAST32): Likewise.
2120 [C99-based-standards] (SCNiFAST32): Likewise.
2121 [C99-based-standards] (SCNoFAST32): Likewise.
2122 [C99-based-standards] (SCNuFAST32): Likewise.
2123 [C99-based-standards] (SCNxFAST32): Likewise.
2124 [C99-based-standards] (PRId64): Likewise.
2125 [C99-based-standards] (PRIi64): Likewise.
2126 [C99-based-standards] (PRIo64): Likewise.
2127 [C99-based-standards] (PRIu64): Likewise.
2128 [C99-based-standards] (PRIx64): Likewise.
2129 [C99-based-standards] (PRIX64): Likewise.
2130 [C99-based-standards] (SCNd64): Likewise.
2131 [C99-based-standards] (SCNi64): Likewise.
2132 [C99-based-standards] (SCNo64): Likewise.
2133 [C99-based-standards] (SCNu64): Likewise.
2134 [C99-based-standards] (SCNx64): Likewise.
2135 [C99-based-standards] (PRIdLEAST64): Likewise.
2136 [C99-based-standards] (PRIiLEAST64): Likewise.
2137 [C99-based-standards] (PRIoLEAST64): Likewise.
2138 [C99-based-standards] (PRIuLEAST64): Likewise.
2139 [C99-based-standards] (PRIxLEAST64): Likewise.
2140 [C99-based-standards] (PRIXLEAST64): Likewise.
2141 [C99-based-standards] (SCNdLEAST64): Likewise.
2142 [C99-based-standards] (SCNiLEAST64): Likewise.
2143 [C99-based-standards] (SCNoLEAST64): Likewise.
2144 [C99-based-standards] (SCNuLEAST64): Likewise.
2145 [C99-based-standards] (SCNxLEAST64): Likewise.
2146 [C99-based-standards] (PRIdFAST64): Likewise.
2147 [C99-based-standards] (PRIiFAST64): Likewise.
2148 [C99-based-standards] (PRIoFAST64): Likewise.
2149 [C99-based-standards] (PRIuFAST64): Likewise.
2150 [C99-based-standards] (PRIxFAST64): Likewise.
2151 [C99-based-standards] (PRIXFAST64): Likewise.
2152 [C99-based-standards] (SCNdFAST64): Likewise.
2153 [C99-based-standards] (SCNiFAST64): Likewise.
2154 [C99-based-standards] (SCNoFAST64): Likewise.
2155 [C99-based-standards] (SCNuFAST64): Likewise.
2156 [C99-based-standards] (SCNxFAST64): Likewise.
2157 [C99-based-standards] (PRIdMAX): Likewise.
2158 [C99-based-standards] (PRIiMAX): Likewise.
2159 [C99-based-standards] (PRIoMAX): Likewise.
2160 [C99-based-standards] (PRIuMAX): Likewise.
2161 [C99-based-standards] (PRIxMAX): Likewise.
2162 [C99-based-standards] (PRIXMAX): Likewise.
2163 [C99-based-standards] (SCNdMAX): Likewise.
2164 [C99-based-standards] (SCNiMAX): Likewise.
2165 [C99-based-standards] (SCNoMAX): Likewise.
2166 [C99-based-standards] (SCNuMAX): Likewise.
2167 [C99-based-standards] (SCNxMAX): Likewise.
2168 [C99-based-standards] (PRIdPTR): Likewise.
2169 [C99-based-standards] (PRIiPTR): Likewise.
2170 [C99-based-standards] (PRIoPTR): Likewise.
2171 [C99-based-standards] (PRIuPTR): Likewise.
2172 [C99-based-standards] (PRIxPTR): Likewise.
2173 [C99-based-standards] (PRIXPTR): Likewise.
2174 [C99-based-standards] (SCNdPTR): Likewise.
2175 [C99-based-standards] (SCNiPTR): Likewise.
2176 [C99-based-standards] (SCNoPTR): Likewise.
2177 [C99-based-standards] (SCNuPTR): Likewise.
2178 [C99-based-standards] (SCNxPTR): Likewise.
2179 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
2180 allow.
2181 * conform/data/stdint.h-data: Update comments to clarify
2182 requirements.
2183 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
2184 type.
2185 [C99-based standards] (INT8_MAX): Likewise.
2186 [C99-based standards] (INT16_MIN): Likewise.
2187 [C99-based standards] (INT16_MAX): Likewise.
2188 [C99-based standards] (INT32_MIN): Likewise.
2189 [C99-based standards] (INT32_MAX): Likewise.
2190 [C99-based standards] (INT64_MIN): Likewise.
2191 [C99-based standards] (INT64_MAX): Likewise.
2192 [C99-based standards] (UINT8_MAX): Likewise.
2193 [C99-based standards] (UINT16_MAX): Likewise.
2194 [C99-based standards] (UINT32_MAX): Likewise.
2195 [C99-based standards] (UINT64_MAX): Likewise.
2196 [C99-based standards] (INT_LEAST8_MIN): Likewise.
2197 [C99-based standards] (INT_LEAST8_MAX): Likewise.
2198 [C99-based standards] (INT_LEAST16_MIN): Likewise.
2199 [C99-based standards] (INT_LEAST16_MAX): Likewise.
2200 [C99-based standards] (INT_LEAST32_MIN): Likewise.
2201 [C99-based standards] (INT_LEAST32_MAX): Likewise.
2202 [C99-based standards] (INT_LEAST64_MIN): Likewise.
2203 [C99-based standards] (INT_LEAST64_MAX): Likewise.
2204 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
2205 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
2206 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
2207 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
2208 [C99-based standards] (INT_FAST8_MIN): Likewise.
2209 [C99-based standards] (INT_FAST8_MAX): Likewise.
2210 [C99-based standards] (INT_FAST16_MIN): Likewise.
2211 [C99-based standards] (INT_FAST16_MAX): Likewise.
2212 [C99-based standards] (INT_FAST32_MIN): Likewise.
2213 [C99-based standards] (INT_FAST32_MAX): Likewise.
2214 [C99-based standards] (INT_FAST64_MIN): Likewise.
2215 [C99-based standards] (INT_FAST64_MAX): Likewise.
2216 [C99-based standards] (UINT_FAST8_MAX): Likewise.
2217 [C99-based standards] (UINT_FAST16_MAX): Likewise.
2218 [C99-based standards] (UINT_FAST32_MAX): Likewise.
2219 [C99-based standards] (UINT_FAST64_MAX): Likewise.
2220 [C99-based standards] (INTPTR_MIN): Likewise.
2221 [C99-based standards] (INTPTR_MAX): Likewise.
2222 [C99-based standards] (UINTPTR_MAX): Likewise.
2223 [C99-based standards] (INTMAX_MIN): Likewise.
2224 [C99-based standards] (INTMAX_MAX): Likewise.
2225 [C99-based standards] (UINTMAX_MAX): Likewise.
2226 [C99-based standards] (PTRDIFF_MIN): Likewise.
2227 [C99-based standards] (PTRDIFF_MAX): Likewise.
2228 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
2229 [C99-based standards] (SIZE_MAX): Likewise.
2230 [C99-based standards] (WCHAR_MAX): Likewise.
2231 [C99-based standards] (WINT_MAX): Likewise.
2232 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
2233 constraint on value.
2234 [C99-based standards] (WCHAR_MIN): Likewise.
2235 [C99-based standards] (WINT_MIN): Likewise.
2236 [C99-based standards] (*_t): Allow.
2237 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
2238 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
2239 Include math.h-data and complex.h-data. Remove all expectations
2240 of math.h and complex.h contents.
2241 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
2242 at end of line.
2243 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
2244 (struct tm): Expect tag.
2245 [C99-based-standards] (wcstof): Expect function.
2246 [C99-based-standards] (wcstold): Likewise.
2247 [C99-based-standards] (wcstoll): Likewise.
2248 [C99-based-standards] (wcstoull): Likewise.
2249 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
2250 macro-int-constant. Specify type.
2251 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
2252 constraint on value.
2253 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2254 Specify type.
2255 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
2256 Specify value.
2257 [ISO C standards]: Do not allow headers.
2258 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
2259 wcs[abcdefghijklmnopqrstuvwxyz]*.
2260 [ISO C standards] (*_t): Do not allow.
2261 * conform/data/wctype.h-data [C99-based standards] (iswblank):
2262 Expect function.
2263 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
2264 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2265 Specify type.
2266 [ISO C standards]: Do not allow headers.
2267 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
2268 is[abcdefghijklmnopqrstuvwxyz]*.
2269 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
2270 to[abcdefghijklmnopqrstuvwxyz]*.
2271 [ISO C standards] (*_t): Do not allow.
2272 * conform/data/stdalign.h-data: New file.
2273 * conform/data/stdbool.h-data: Likewise.
2274 * conform/data/stdnoreturn.h-data: Likewise.
2275
7514feb8
RM
22762012-11-07 Roland McGrath <roland@hack.frob.com>
2277
2278 [BZ #14815]
2279 * manual/filesys.texi (Directory Entries): Typo fix.
2280 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
2281
19b2ecfc
MS
22822012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2283
2284 * elf/elf.h (EM_AARCH64): New macro.
2285 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
2286 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
2287 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
2288 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
2289 (R_AARCH64_TLSDESC): Likewise.
2290 (NT_ARM_TLS): Likewise.
2291 (NT_ARM_HW_BREAK): Likewise.
2292 (NT_ARM_HW_WATCH): Likewise.
2293
60e235ee
JM
22942012-11-07 Joseph Myers <joseph@codesourcery.com>
2295
2296 [BZ #14811]
2297 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
2298 (__ieee754_powl): Saturate nonzero exponents with absolute value
2299 below 0x1p-79 to +/- 0x1p-79.
2300 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
2301 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
2302 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
2303 nonzero exponents with absolute value below 0x1p-32 to +/-
2304 0x1p-32.
2305 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
2306 (__ieee754_powl): Saturate nonzero exponents with absolute value
2307 below 0x1p-79 to +/- 0x1p-79.
2308 * math/libm-test.inc (pow_test): Add more tests.
2309
0ab234b7
AK
23102012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2311
2312 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
2313 _dl_s390_cap_flags with kernel. Increase string length.
2314 (_dl_s390_platforms): Add z196 and zEC12.
2315
45832f74
JM
23162012-11-07 Joseph Myers <joseph@codesourcery.com>
2317
2318 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
2319 Change XOPEN21K to XOPEN2K.
2320
19218757
MK
23212012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
2322
2323 * string/memmove.c: Use memcpy when possible.
2324
c5f45721
AJ
23252012-11-06 Andreas Jaeger <aj@suse.de>
2326
2327 * po/eo.po: Update from translation team.
2328
82477c28
JM
23292012-11-06 Joseph Myers <joseph@codesourcery.com>
2330
2331 [BZ #14793]
2332 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
2333 exponent and small x and y exponents, scale x or y up. Increase
2334 by 2 the exponent used in scaling up.
2335 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2336 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2337 * math/libm-test.inc (fma_test): Add more tests.
2338 (fma_test_towardzero): Likewise.
2339 (fma_test_downward): Likewise.
2340 (fma_test_upward): Likewise.
2341
99252c8c
JM
23422012-11-05 Joseph Myers <joseph@codesourcery.com>
2343
acfa885f
JM
2344 [BZ #14805]
2345 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
2346 fenv_t *.
2347
99252c8c
JM
2348 [BZ #14801]
2349 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
2350 namespace for names of struct fields.
2351 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
2352 fenv_t fields.
2353 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2354 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
2355
d6d98dea
ST
23562012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2357
2358 [BZ #3665]
2359 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
2360
e10bb107
TS
23612012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2362
2363 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
2364 PTR_DEMANGLE.
2365
2366 [BZ #5246]
2367 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
2368 PTR_DEMANGLE.
2369
a0c2940d
JM
23702012-11-04 Joseph Myers <joseph@codesourcery.com>
2371
2372 [BZ #14797]
2373 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
2374 definitely overflow as x * y not x * y + z.
2375 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2376 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2377 * math/libm-test.inc (fma_test): Add more tests.
2378 (fma_test_towardzero): Likewise.
2379 (fma_test_downward): Likewise.
2380 (fma_test_upward): Likewise.
2381
b830319d
TS
23822012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2383
2384 [BZ #157]
2385
2386 * include/stub-tag.h: Remove file.
2387 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
2388 '#include' of it.
2389 * manual/maint.texi (Porting): Don't reference it.
2390 * Makerules ($(objpfx)stubs): Likewise.
2391 * dirent/closedir.c: Don't include <stub-tag.h>.
2392 * dirent/dirfd.c: Likewise.
2393 * dirent/fdopendir.c: Likewise.
2394 * dirent/getdents.c: Likewise.
2395 * dirent/getdents64.c: Likewise.
2396 * dirent/opendir.c: Likewise.
2397 * dirent/readdir.c: Likewise.
2398 * dirent/readdir64.c: Likewise.
2399 * dirent/readdir64_r.c: Likewise.
2400 * dirent/readdir_r.c: Likewise.
2401 * dirent/rewinddir.c: Likewise.
2402 * dirent/seekdir.c: Likewise.
2403 * dirent/telldir.c: Likewise.
2404 * gmon/profil.c: Likewise.
2405 * grp/setgroups.c: Likewise.
2406 * inet/if_index.c: Likewise.
2407 * io/access.c: Likewise.
2408 * io/chdir.c: Likewise.
2409 * io/chmod.c: Likewise.
2410 * io/chown.c: Likewise.
2411 * io/close.c: Likewise.
2412 * io/dup.c: Likewise.
2413 * io/dup2.c: Likewise.
2414 * io/dup3.c: Likewise.
2415 * io/euidaccess.c: Likewise.
2416 * io/faccessat.c: Likewise.
2417 * io/fchdir.c: Likewise.
2418 * io/fchmod.c: Likewise.
2419 * io/fchmodat.c: Likewise.
2420 * io/fchown.c: Likewise.
2421 * io/fchownat.c: Likewise.
2422 * io/fcntl.c: Likewise.
2423 * io/flock.c: Likewise.
2424 * io/fstatfs.c: Likewise.
2425 * io/fstatfs64.c: Likewise.
2426 * io/fstatvfs.c: Likewise.
2427 * io/fstatvfs64.c: Likewise.
2428 * io/futimens.c: Likewise.
2429 * io/fxstat.c: Likewise.
2430 * io/fxstat64.c: Likewise.
2431 * io/fxstatat.c: Likewise.
2432 * io/fxstatat64.c: Likewise.
2433 * io/getcwd.c: Likewise.
2434 * io/isatty.c: Likewise.
2435 * io/lchmod.c: Likewise.
2436 * io/lchown.c: Likewise.
2437 * io/link.c: Likewise.
2438 * io/linkat.c: Likewise.
2439 * io/lseek.c: Likewise.
2440 * io/lseek64.c: Likewise.
2441 * io/lxstat64.c: Likewise.
2442 * io/mkdir.c: Likewise.
2443 * io/mkdirat.c: Likewise.
2444 * io/mkfifo.c: Likewise.
2445 * io/mkfifoat.c: Likewise.
2446 * io/open.c: Likewise.
2447 * io/open64.c: Likewise.
2448 * io/openat.c: Likewise.
2449 * io/openat64.c: Likewise.
2450 * io/pipe.c: Likewise.
2451 * io/pipe2.c: Likewise.
2452 * io/poll.c: Likewise.
2453 * io/posix_fadvise.c: Likewise.
2454 * io/posix_fadvise64.c: Likewise.
2455 * io/posix_fallocate.c: Likewise.
2456 * io/posix_fallocate64.c: Likewise.
2457 * io/read.c: Likewise.
2458 * io/readlink.c: Likewise.
2459 * io/readlinkat.c: Likewise.
2460 * io/rmdir.c: Likewise.
2461 * io/sendfile.c: Likewise.
2462 * io/sendfile64.c: Likewise.
2463 * io/statfs.c: Likewise.
2464 * io/statfs64.c: Likewise.
2465 * io/statvfs.c: Likewise.
2466 * io/statvfs64.c: Likewise.
2467 * io/symlink.c: Likewise.
2468 * io/symlinkat.c: Likewise.
2469 * io/ttyname.c: Likewise.
2470 * io/ttyname_r.c: Likewise.
2471 * io/umask.c: Likewise.
2472 * io/unlink.c: Likewise.
2473 * io/unlinkat.c: Likewise.
2474 * io/utime.c: Likewise.
2475 * io/utimensat.c: Likewise.
2476 * io/write.c: Likewise.
2477 * io/xmknod.c: Likewise.
2478 * io/xmknodat.c: Likewise.
2479 * io/xstat.c: Likewise.
2480 * io/xstat64.c: Likewise.
2481 * login/getpt.c: Likewise.
2482 * login/grantpt.c: Likewise.
2483 * login/unlockpt.c: Likewise.
2484 * math/e_acoshl.c: Likewise.
2485 * math/e_acosl.c: Likewise.
2486 * math/e_asinl.c: Likewise.
2487 * math/e_atan2l.c: Likewise.
2488 * math/e_atanhl.c: Likewise.
2489 * math/e_coshl.c: Likewise.
2490 * math/e_expl.c: Likewise.
2491 * math/e_fmodl.c: Likewise.
2492 * math/e_gammal_r.c: Likewise.
2493 * math/e_hypotl.c: Likewise.
2494 * math/e_j0l.c: Likewise.
2495 * math/e_j1l.c: Likewise.
2496 * math/e_jnl.c: Likewise.
2497 * math/e_lgammal_r.c: Likewise.
2498 * math/e_log10l.c: Likewise.
2499 * math/e_log2l.c: Likewise.
2500 * math/e_logl.c: Likewise.
2501 * math/e_powl.c: Likewise.
2502 * math/e_rem_pio2l.c: Likewise.
2503 * math/e_sinhl.c: Likewise.
2504 * math/e_sqrtl.c: Likewise.
2505 * math/fclrexcpt.c: Likewise.
2506 * math/fedisblxcpt.c: Likewise.
2507 * math/feenablxcpt.c: Likewise.
2508 * math/fegetenv.c: Likewise.
2509 * math/fegetexcept.c: Likewise.
2510 * math/fegetround.c: Likewise.
2511 * math/feholdexcpt.c: Likewise.
2512 * math/fesetenv.c: Likewise.
2513 * math/fesetround.c: Likewise.
2514 * math/feupdateenv.c: Likewise.
2515 * math/fgetexcptflg.c: Likewise.
2516 * math/fraiseexcpt.c: Likewise.
2517 * math/fsetexcptflg.c: Likewise.
2518 * math/ftestexcept.c: Likewise.
2519 * math/k_cosl.c: Likewise.
2520 * math/k_rem_pio2l.c: Likewise.
2521 * math/k_sinl.c: Likewise.
2522 * math/k_tanl.c: Likewise.
2523 * math/s_asinhl.c: Likewise.
2524 * math/s_atanl.c: Likewise.
2525 * math/s_cbrtl.c: Likewise.
2526 * math/s_erfl.c: Likewise.
2527 * math/s_expm1l.c: Likewise.
2528 * math/s_log1pl.c: Likewise.
2529 * math/s_tanhl.c: Likewise.
2530 * misc/acct.c: Likewise.
2531 * misc/brk.c: Likewise.
2532 * misc/chflags.c: Likewise.
2533 * misc/chroot.c: Likewise.
2534 * misc/fchflags.c: Likewise.
2535 * misc/fgetxattr.c: Likewise.
2536 * misc/flistxattr.c: Likewise.
2537 * misc/fremovexattr.c: Likewise.
2538 * misc/fsetxattr.c: Likewise.
2539 * misc/fsync.c: Likewise.
2540 * misc/ftruncate.c: Likewise.
2541 * misc/futimes.c: Likewise.
2542 * misc/futimesat.c: Likewise.
2543 * misc/getdomain.c: Likewise.
2544 * misc/getdtsz.c: Likewise.
2545 * misc/gethostid.c: Likewise.
2546 * misc/gethostname.c: Likewise.
2547 * misc/getloadavg.c: Likewise.
2548 * misc/getpagesize.c: Likewise.
2549 * misc/getsysstats.c: Likewise.
2550 * misc/getxattr.c: Likewise.
2551 * misc/gtty.c: Likewise.
2552 * misc/ioctl.c: Likewise.
2553 * misc/lgetxattr.c: Likewise.
2554 * misc/listxattr.c: Likewise.
2555 * misc/llistxattr.c: Likewise.
2556 * misc/lremovexattr.c: Likewise.
2557 * misc/lsetxattr.c: Likewise.
2558 * misc/lutimes.c: Likewise.
2559 * misc/madvise.c: Likewise.
2560 * misc/mincore.c: Likewise.
2561 * misc/mlock.c: Likewise.
2562 * misc/mlockall.c: Likewise.
2563 * misc/mmap.c: Likewise.
2564 * misc/mprotect.c: Likewise.
2565 * misc/msync.c: Likewise.
2566 * misc/munlock.c: Likewise.
2567 * misc/munlockall.c: Likewise.
2568 * misc/munmap.c: Likewise.
2569 * misc/preadv.c: Likewise.
2570 * misc/preadv64.c: Likewise.
2571 * misc/ptrace.c: Likewise.
2572 * misc/pwritev.c: Likewise.
2573 * misc/pwritev64.c: Likewise.
2574 * misc/readv.c: Likewise.
2575 * misc/reboot.c: Likewise.
2576 * misc/remap_file_pages.c: Likewise.
2577 * misc/removexattr.c: Likewise.
2578 * misc/revoke.c: Likewise.
2579 * misc/select.c: Likewise.
2580 * misc/setdomain.c: Likewise.
2581 * misc/setegid.c: Likewise.
2582 * misc/seteuid.c: Likewise.
2583 * misc/sethostid.c: Likewise.
2584 * misc/sethostname.c: Likewise.
2585 * misc/setregid.c: Likewise.
2586 * misc/setreuid.c: Likewise.
2587 * misc/setxattr.c: Likewise.
2588 * misc/sstk.c: Likewise.
2589 * misc/stty.c: Likewise.
2590 * misc/swapoff.c: Likewise.
2591 * misc/swapon.c: Likewise.
2592 * misc/sync.c: Likewise.
2593 * misc/syncfs.c: Likewise.
2594 * misc/syscall.c: Likewise.
2595 * misc/truncate.c: Likewise.
2596 * misc/ualarm.c: Likewise.
2597 * misc/usleep.c: Likewise.
2598 * misc/ustat.c: Likewise.
2599 * misc/utimes.c: Likewise.
2600 * misc/vhangup.c: Likewise.
2601 * misc/writev.c: Likewise.
2602 * posix/_exit.c: Likewise.
2603 * posix/alarm.c: Likewise.
2604 * posix/execve.c: Likewise.
2605 * posix/fexecve.c: Likewise.
2606 * posix/fork.c: Likewise.
2607 * posix/fpathconf.c: Likewise.
2608 * posix/getaddrinfo.c: Likewise.
2609 * posix/getegid.c: Likewise.
2610 * posix/geteuid.c: Likewise.
2611 * posix/getgid.c: Likewise.
2612 * posix/getgroups.c: Likewise.
2613 * posix/getlogin.c: Likewise.
2614 * posix/getlogin_r.c: Likewise.
2615 * posix/getpgid.c: Likewise.
2616 * posix/getpid.c: Likewise.
2617 * posix/getppid.c: Likewise.
2618 * posix/getresgid.c: Likewise.
2619 * posix/getresuid.c: Likewise.
2620 * posix/getsid.c: Likewise.
2621 * posix/getuid.c: Likewise.
2622 * posix/glob64.c: Likewise.
2623 * posix/nanosleep.c: Likewise.
2624 * posix/pathconf.c: Likewise.
2625 * posix/pause.c: Likewise.
2626 * posix/posix_madvise.c: Likewise.
2627 * posix/pread.c: Likewise.
2628 * posix/pread64.c: Likewise.
2629 * posix/pwrite.c: Likewise.
2630 * posix/pwrite64.c: Likewise.
2631 * posix/sched_getaffinity.c: Likewise.
2632 * posix/sched_getp.c: Likewise.
2633 * posix/sched_gets.c: Likewise.
2634 * posix/sched_primax.c: Likewise.
2635 * posix/sched_primin.c: Likewise.
2636 * posix/sched_rr_gi.c: Likewise.
2637 * posix/sched_setaffinity.c: Likewise.
2638 * posix/sched_setp.c: Likewise.
2639 * posix/sched_sets.c: Likewise.
2640 * posix/sched_yield.c: Likewise.
2641 * posix/setgid.c: Likewise.
2642 * posix/setlogin.c: Likewise.
2643 * posix/setpgid.c: Likewise.
2644 * posix/setresgid.c: Likewise.
2645 * posix/setresuid.c: Likewise.
2646 * posix/setsid.c: Likewise.
2647 * posix/setuid.c: Likewise.
2648 * posix/sleep.c: Likewise.
2649 * posix/spawni.c: Likewise.
2650 * posix/sysconf.c: Likewise.
2651 * posix/times.c: Likewise.
2652 * posix/wait.c: Likewise.
2653 * posix/wait3.c: Likewise.
2654 * posix/wait4.c: Likewise.
2655 * posix/waitpid.c: Likewise.
2656 * resolv/gai_sigqueue.c: Likewise.
2657 * resource/getpriority.c: Likewise.
2658 * resource/getrlimit.c: Likewise.
2659 * resource/getrusage.c: Likewise.
2660 * resource/nice.c: Likewise.
2661 * resource/setpriority.c: Likewise.
2662 * resource/setrlimit.c: Likewise.
2663 * resource/ulimit.c: Likewise.
2664 * rt/aio_cancel.c: Likewise.
2665 * rt/aio_fsync.c: Likewise.
2666 * rt/aio_read.c: Likewise.
2667 * rt/aio_sigqueue.c: Likewise.
2668 * rt/aio_suspend.c: Likewise.
2669 * rt/aio_write.c: Likewise.
2670 * rt/clock_getres.c: Likewise.
2671 * rt/clock_gettime.c: Likewise.
2672 * rt/clock_nanosleep.c: Likewise.
2673 * rt/clock_settime.c: Likewise.
2674 * rt/lio_listio.c: Likewise.
2675 * rt/mq_close.c: Likewise.
2676 * rt/mq_getattr.c: Likewise.
2677 * rt/mq_notify.c: Likewise.
2678 * rt/mq_open.c: Likewise.
2679 * rt/mq_receive.c: Likewise.
2680 * rt/mq_send.c: Likewise.
2681 * rt/mq_setattr.c: Likewise.
2682 * rt/mq_timedreceive.c: Likewise.
2683 * rt/mq_timedsend.c: Likewise.
2684 * rt/mq_unlink.c: Likewise.
2685 * rt/shm_open.c: Likewise.
2686 * rt/shm_unlink.c: Likewise.
2687 * rt/timer_create.c: Likewise.
2688 * rt/timer_delete.c: Likewise.
2689 * rt/timer_getoverr.c: Likewise.
2690 * rt/timer_gettime.c: Likewise.
2691 * rt/timer_settime.c: Likewise.
2692 * setjmp/__longjmp.c: Likewise.
2693 * setjmp/setjmp.c: Likewise.
2694 * signal/kill.c: Likewise.
2695 * signal/killpg.c: Likewise.
2696 * signal/raise.c: Likewise.
2697 * signal/sigaction.c: Likewise.
2698 * signal/sigaltstack.c: Likewise.
2699 * signal/sigblock.c: Likewise.
2700 * signal/sigignore.c: Likewise.
2701 * signal/sigintr.c: Likewise.
2702 * signal/signal.c: Likewise.
2703 * signal/sigpause.c: Likewise.
2704 * signal/sigpending.c: Likewise.
2705 * signal/sigqueue.c: Likewise.
2706 * signal/sigreturn.c: Likewise.
2707 * signal/sigset.c: Likewise.
2708 * signal/sigsetmask.c: Likewise.
2709 * signal/sigstack.c: Likewise.
2710 * signal/sigsuspend.c: Likewise.
2711 * signal/sigtimedwait.c: Likewise.
2712 * signal/sigvec.c: Likewise.
2713 * signal/sigwait.c: Likewise.
2714 * signal/sigwaitinfo.c: Likewise.
2715 * signal/sysv_signal.c: Likewise.
2716 * socket/accept.c: Likewise.
2717 * socket/accept4.c: Likewise.
2718 * socket/bind.c: Likewise.
2719 * socket/connect.c: Likewise.
2720 * socket/getpeername.c: Likewise.
2721 * socket/getsockname.c: Likewise.
2722 * socket/getsockopt.c: Likewise.
2723 * socket/isfdtype.c: Likewise.
2724 * socket/listen.c: Likewise.
2725 * socket/recv.c: Likewise.
2726 * socket/recvfrom.c: Likewise.
2727 * socket/recvmsg.c: Likewise.
2728 * socket/send.c: Likewise.
2729 * socket/sendmsg.c: Likewise.
2730 * socket/sendto.c: Likewise.
2731 * socket/setsockopt.c: Likewise.
2732 * socket/shutdown.c: Likewise.
2733 * socket/sockatmark.c: Likewise.
2734 * socket/socket.c: Likewise.
2735 * socket/socketpair.c: Likewise.
2736 * stdio-common/ctermid.c: Likewise.
2737 * stdio-common/cuserid.c: Likewise.
2738 * stdio-common/remove.c: Likewise.
2739 * stdio-common/rename.c: Likewise.
2740 * stdio-common/renameat.c: Likewise.
2741 * stdio-common/tempname.c: Likewise.
2742 * stdlib/getcontext.c: Likewise.
2743 * stdlib/makecontext.c: Likewise.
2744 * stdlib/setcontext.c: Likewise.
2745 * stdlib/swapcontext.c: Likewise.
2746 * stdlib/system.c: Likewise.
2747 * streams/fattach.c: Likewise.
2748 * streams/fdetach.c: Likewise.
2749 * streams/getmsg.c: Likewise.
2750 * streams/getpmsg.c: Likewise.
2751 * streams/putmsg.c: Likewise.
2752 * streams/putpmsg.c: Likewise.
2753 * sysdeps/unix/bsd/getpt.c: Likewise.
2754 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2755 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2756 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2758 Likewise.
2759 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2760 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2761 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2762 * sysvipc/msgctl.c: Likewise.
2763 * sysvipc/msgget.c: Likewise.
2764 * sysvipc/msgrcv.c: Likewise.
2765 * sysvipc/msgsnd.c: Likewise.
2766 * sysvipc/semctl.c: Likewise.
2767 * sysvipc/semget.c: Likewise.
2768 * sysvipc/semop.c: Likewise.
2769 * sysvipc/semtimedop.c: Likewise.
2770 * sysvipc/shmat.c: Likewise.
2771 * sysvipc/shmctl.c: Likewise.
2772 * sysvipc/shmdt.c: Likewise.
2773 * sysvipc/shmget.c: Likewise.
2774 * termios/tcdrain.c: Likewise.
2775 * termios/tcflow.c: Likewise.
2776 * termios/tcflush.c: Likewise.
2777 * termios/tcgetattr.c: Likewise.
2778 * termios/tcgetpgrp.c: Likewise.
2779 * termios/tcsendbrk.c: Likewise.
2780 * termios/tcsetattr.c: Likewise.
2781 * termios/tcsetpgrp.c: Likewise.
2782 * time/adjtime.c: Likewise.
2783 * time/clock.c: Likewise.
2784 * time/getitimer.c: Likewise.
2785 * time/gettimeofday.c: Likewise.
2786 * time/setitimer.c: Likewise.
2787 * time/settimeofday.c: Likewise.
2788 * time/stime.c: Likewise.
2789 * time/time.c: Likewise.
2790
27912012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 2792
a20492cf
PT
2793 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2794 /usr/old/bin.
2795
72e182e3
PT
2796 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2797 instead of spaces.
2798 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2799
fbeafede
JM
28002012-11-03 Joseph Myers <joseph@codesourcery.com>
2801
5b5b04d6
JM
2802 [BZ #14796]
2803 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2804 FE_TONEAREST before applying Dekker multiplication and Knuth
2805 addition. Clear inexact exceptions and check for exact zero
2806 results afterwards.
2807 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2808 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2809 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2810 * math/libm-test.inc (fma_test): Add more tests.
2811 (fma_test_towardzero): Likewise.
2812 (fma_test_downward): Likewise.
2813 (fma_test_upward): Likewise.
2814 * sysdeps/generic/math_private.h (default_libc_fesetround): New
2815 function.
2816 (libc_fesetround): New macro.
2817 (libc_fesetroundf): Likewise.
2818 (libc_fesetroundl): Likewise.
2819 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2820 function.
2821 (libc_fesetround_387): Likewise.
2822 (libc_fesetroundf): New macro.
2823 (libc_fesetround): Likewise.
2824 (libc_fesetroundl): Likewise.
2825 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2826 function.
2827 (libc_fesetroundf): New macro.
2828 (libc_fesetround): Likewise.
2829 (libc_fesetroundl): Likewise.
2830 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2831 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2832 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2833 libm_hidden_ver.
2834 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2835 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2836 libm_hidden_def.
2837 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2838 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2839 libm_hidden_ver.
2840 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2841 libm_hidden_def.
2842
fbeafede
JM
2843 [BZ #3439]
2844 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2845 integer constant usable in #if and use that to give value to enum
2846 constant.
2847 (FE_DIVBYZERO): Likewise.
2848 (FE_UNDERFLOW): Likewise.
2849 (FE_OVERFLOW): Likewise.
2850 (FE_INVALID): Likewise.
2851 (FE_INVALID_SNAN): Likewise.
2852 (FE_INVALID_ISI): Likewise.
2853 (FE_INVALID_IDI): Likewise.
2854 (FE_INVALID_ZDZ): Likewise.
2855 (FE_INVALID_IMZ): Likewise.
2856 (FE_INVALID_COMPARE): Likewise.
2857 (FE_INVALID_SOFTWARE): Likewise.
2858 (FE_INVALID_SQRT): Likewise.
2859 (FE_INVALID_INTEGER_CONVERSION): Likewise.
2860 (FE_TONEAREST): Likewise.
2861 (FE_TOWARDZERO): Likewise.
2862 (FE_UPWARD): Likewise.
2863 (FE_DOWNWARD): Likewise.
2864 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2865 (FE_DIVBYZERO): Likewise.
2866 (FE_OVERFLOW): Likewise.
2867 (FE_UNDERFLOW): Likewise.
2868 (FE_INEXACT): Likewise.
2869 (FE_TONEAREST): Likewise.
2870 (FE_DOWNWARD): Likewise.
2871 (FE_UPWARD): Likewise.
2872 (FE_TOWARDZERO): Likewise.
2873 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2874 (FE_UNDERFLOW): Likewise.
2875 (FE_OVERFLOW): Likewise.
2876 (FE_DIVBYZERO): Likewise.
2877 (FE_INVALID): Likewise.
2878 (FE_TONEAREST): Likewise.
2879 (FE_TOWARDZERO): Likewise.
2880 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2881 (FE_OVERFLOW): Likewise.
2882 (FE_UNDERFLOW): Likewise.
2883 (FE_DIVBYZERO): Likewise.
2884 (FE_INEXACT): Likewise.
2885 (FE_TONEAREST): Likewise.
2886 (FE_TOWARDZERO): Likewise.
2887 (FE_UPWARD): Likewise.
2888 (FE_DOWNWARD): Likewise.
2889 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2890 (FE_DIVBYZERO): Likewise.
2891 (FE_OVERFLOW): Likewise.
2892 (FE_UNDERFLOW): Likewise.
2893 (FE_INEXACT): Likewise.
2894 (FE_TONEAREST): Likewise.
2895 (FE_DOWNWARD): Likewise.
2896 (FE_UPWARD): Likewise.
2897 (FE_TOWARDZERO): Likewise.
2898
105ca950
CM
28992012-11-02 Chris Metcalf <cmetcalf@tilera.com>
2900
2901 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2902
a542b389
AS
29032012-11-03 Andreas Schwab <schwab@linux-m68k.org>
2904
2905 * scripts/cross-test-ssh.sh (command): Use newlines to separate
2906 commands. Quote $PWD.
2907 (blacklist_exports): Don't use remove_newlines. Replace "declare
2908 -x" by "export".
2909 (remove_newlines): Remove.
2910
f62c8abc
L
29112012-11-02 H.J. Lu <hongjiu.lu@intel.com>
2912
2913 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2914 * stdlib/stdlib.h (atof): Moved to ...
2915 * include/bits/stdlib-float.h: Here. New file.
2916 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2917 * stdlib/bits/stdlib-float.h: New file.
2918 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2919 -mno-sse -mno-mmx.
2920 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2921 <xmmintrin.h>.
2922
0155d5b2
JM
29232012-11-02 Joseph Myers <joseph@codesourcery.com>
2924
a68d0680
JM
2925 * conform/conformtest.pl (@headers): Add fenv.h.
2926 * conform/data/fenv.h-data: New file.
2927 * include/fenv.h [_ISOMAC]: Disable all contents of file except
2928 include of <math/fenv.h>.
2929
caf7f573
JM
2930 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2931 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2932 && !UNIX98]. Enables tests for XOPEN2K8.
2933 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2934 POSIX2008]: Likewise.
2935
6c073ad6
JM
2936 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2937 (struct rusage): Do not expect type or its members.
2938
0155d5b2
JM
2939 [BZ #3439]
2940 * math/math.h (FP_NAN): Define macro to integer constant usable in
2941 #if and use that to give value to enum constant.
2942 (FP_INFINITE): Likewise.
2943 (FP_ZERO): Likewise.
2944 (FP_SUBNORMAL): Likewise.
2945 (FP_NORMAL): Likewise.
2946
b5dcacb4
AS
29472012-11-02 Andreas Schwab <schwab@linux-m68k.org>
2948
2949 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2950 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2951 arguments.
2952
f7934be8
RM
29532012-11-02 Roland McGrath <roland@hack.frob.com>
2954
2955 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2956 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2957 autoconf-time if not.
2958 * configure.in: Remove AC_PREREQ.
2959
d7d08bde
TMQMF
29602012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2961
2962 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2963 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2964 of the internal implementation.
2965
dcdae19a
JM
29662012-11-02 Joseph Myers <joseph@codesourcery.com>
2967
2968 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2969 except include of <misc/sys/syslog.h>.
2970
d6cffd3e
AS
29712012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2972
2973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2974 function returns with a NULL context exit with zero.
2975
b3563932
TMQMF
29762012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2977
2978 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2979
b288a93d
L
29802012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2981
2982 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2983 (run_program_cmd): This.
2984 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2985 (tst_langinfo): New variable. Use it.
2986
a2421a68
SAS
29872012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2988
2989 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2990 floating point opcodes.
2991
6f796e1b
TS
29922012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2993
7402596b
TS
2994 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2995 variable.
2996
d0d4f868
TS
2997 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2998
6f796e1b
TS
2999 * sysdeps/mach/hurd/powerpc: Remove directory.
3000 * sysdeps/mach/powerpc: Likewise.
3001
4da224a2
AS
30022012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3003
3004 * scripts/check-local-headers.sh: Ignore c++ headers.
3005
341dd673
TS
30062012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3007
3008 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
3009 __libc_cleanup_region_start argument.
3010
473611b2
JM
30112012-11-01 Joseph Myers <joseph@codesourcery.com>
3012
3013 [BZ #14784]
3014 [BZ #14785]
3015 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
3016 x * y using scaling, not as x * y + z.
3017 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3018 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3019 * math/libm-test.inc (fma_test): Add more tests.
3020 (fma_test_towardzero): Likewise.
3021 (fma_test_downward): Likewise.
3022 (fma_test_upward): Likewise.
3023
4078da3d
TS
30242012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3025
3026 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
3027
903252aa
JM
30282012-10-31 Joseph Myers <joseph@codesourcery.com>
3029
3030 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
3031 New variable.
3032
cbc818d0
TS
30332012-10-31 Thomas Schwinge <thomas@codesourcery.com>
3034
3035 * rt/tst-shm.c (worker): Correct checking for mmap failure.
3036
5a03cb1e
AS
30372012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3038
3039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3040 Fix sort order.
3041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3042 Likewise.
3043
90aff2ff
TMQMF
30442012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3045
3046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3047 Fix the order of the list for glibc 2.17.
3048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3049 Likewise.
3050
1818fcb7
AS
30512012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3052
3053 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3054
ef82f4da
JM
30552012-10-31 Joseph Myers <joseph@codesourcery.com>
3056
16a0e2ec
JM
3057 [BZ #14610]
3058 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
3059 for low part of x being zero before using __atanl (y).
3060 * math/libm-test.inc (atan2_test): Add another test.
3061
0eb69512
JM
3062 * manual/install.texi (Configuring and compiling): Document
3063 general use of test-wrapper and test-wrapper-env.
3064 * INSTALL: Regenerated.
3065
ef82f4da
JM
3066 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
3067 (__fma): Do not extract and scale down low bits on after-rounding
3068 systems when result rounded to normal precision would have normal
3069 exponent.
3070 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
3071 (__fmal): Do not extract and scale down low bits on after-rounding
3072 systems when result rounded to normal precision would have normal
3073 exponent.
3074 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
3075 (__fmal): Do not extract and scale down low bits on after-rounding
3076 systems when result rounded to normal precision would have normal
3077 exponent.
3078 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
3079 macro.
3080 (fma_test): Add more tests.
3081 (fma_test_towardzero): Likewise.
3082 (fma_test_downward): Likewise.
3083 (fma_test_upward): Likewise.
3084
954ef0d9
L
30852012-10-30 H.J. Lu <hongjiu.lu@intel.com>
3086
3087 * sysdeps/i386/tininess.h: Renamed to ...
3088 * sysdeps/x86/tininess.h: This.
3089 * sysdeps/x86_64/tininess.h: Removed.
3090
df61ffb2
JM
30912012-10-30 Joseph Myers <joseph@codesourcery.com>
3092
3093 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
3094 input. Use $(build-program-cmd).
3095 ($(objpfx)tst-array1-static.out): Likewise.
3096 ($(objpfx)tst-array2.out): Likewise.
3097 ($(objpfx)tst-array3.out): Likewise.
3098 ($(objpfx)tst-array4.out): Likewise.
3099 ($(objpfx)tst-array5.out): Likewise.
3100 ($(objpfx)tst-array5-static.out): Likewise.
3101
01767843
CM
31022012-10-30 Chris Metcalf <cmetcalf@tilera.com>
3103
47cc1490
CM
3104 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
3105 if defined.
3106
01767843
CM
3107 * nss/nsswitch.h (nss_interface_function): Provide new
3108 macro for use with NSS functions.
3109 * grp/initgroups.c: Use new macro.
3110 * nss/getXXbyYY.c: Likewise.
3111 * nss/getXXbyYY_r.c: Likewise.
3112 * nss/getXXent.c: Likewise.
3113 * nss/getXXent_r.c: Likewise.
3114 * sysdeps/posix/getaddrinfo.c: Likewise.
3115
8321aa97
AJ
31162012-10-30 Andreas Jaeger <aj@suse.de>
3117
3118 * po/ru.po: Update Russion translation from translation project.
3119
2a27fd6d
JM
31202012-10-30 Joseph Myers <joseph@codesourcery.com>
3121
8627a232
JM
3122 [BZ #14152]
3123 [BZ #14783]
3124 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
3125 result and shift together with sticky bit instead of replicating
3126 round-to-nearest rounding.
3127 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3128 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3129 * math/libm-test.inc (fma_test): Add more tests. Do not permit
3130 missing underflow exceptions.
3131 (fma_test_towardzero): Add more tests.
3132 (fma_test_downward): Likewise.
3133 (fma_test_upward): Likewise.
3134
2a27fd6d
JM
3135 [BZ #14047]
3136 * sysdeps/generic/tininess.h: New file.
3137 * sysdeps/i386/tininess.h: Likewise.
3138 * sysdeps/sh/tininess.h: Likewise.
3139 * sysdeps/x86_64/tininess.h: Likewise.
3140 * stdlib/tst-strtod-underflow.c: Likewise.
3141 * stdlib/tst-tininess.c: Likewise.
3142 * stdlib/strtod_l.c: Include <tininess.h>.
3143 (round_and_return): Do not set errno for exact underflow cases.
3144 Force an underflow exception when setting errno for underflow.
3145 Determine underflow based on rounding to normal precision if
3146 TININESS_AFTER_ROUNDING.
3147 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
3148 ERANGE for exact underflow cases.
3149 * stdlib/Makefile (tests): Add tst-tininess and
3150 tst-strtod-underflow.
3151 ($(objpfx)tst-tininess): Use $(link-libm).
3152 ($(objpfx)tst-strtod-underflow): Likewise.
3153
e7170363
AJ
31542012-10-30 Andreas Jaeger <aj@suse.de>
3155
e5088dc6
AJ
3156 [BZ#14767]
3157 * elf/Makefile (tests): Remove conditional for have-initfini-array
3158 since this is now always required and the variable does not exist
3159 anymore.
3160 (tests-static): Likewise.
3161 (modules-names): Likewise.
3162
e7170363 3163 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
3164
3165 * elf/tst-array1.c (fini_array): Make writeable so that it can be
3166 merged with constructor/destructor.
3167 (init_array): Likewise.
3168 * elf/tst-array2dep.c (fini_array): Likewise.
3169 (init_array): Likewise.
3170
60457d8a
MF
31712012-10-29 Mike Frysinger <vapier@gentoo.org>
3172
3173 * manual/message.texi: Delete @cartouche tags.
3174
8bece752
PT
31752012-10-29 Pino Toscano <toscano.pino@tiscali.it>
3176
94ce799f
PT
3177 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
3178 EOPNOTSUPP.
3179 * sysdeps/mach/hurd/fsync.c: Likewise.
3180
8bece752
PT
3181 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
3182 [_POSIX_REALTIME_SIGNALS]: Change condition to
3183 [_POSIX_REALTIME_SIGNALS > 0].
3184
86ebe6b1
AJ
31852012-10-27 Andreas Jaeger <aj@suse.de>
3186
3187 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
3188 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
3189 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
3190 [__WORDSIZE != 64]: Likewise.
3191
54399c08
L
31922012-10-26 H.J. Lu <hongjiu.lu@intel.com>
3193
3194 * iconvdata/tst-table.sh: Remove ${SHELL}.
3195 * iconvdata/tst-tables.sh: Likewise.
3196
e2211bed
DM
31972012-10-25 David S. Miller <davem@davemloft.net>
3198
3199 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3200 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
3201 of strtoull.
3202
f303f97c
DM
3203 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
3204 ifunc-impl-list.c
3205 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3206 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
3207 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
3208 file.
3209
1e9d84cd
RM
32102012-10-25 Roland McGrath <roland@hack.frob.com>
3211
3212 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3213 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
3214 __getdirentries.
3215
df381762
JM
32162012-10-25 Joseph Myers <joseph@codesourcery.com>
3217 Jim Blandy <jimb@codesourcery.com>
3218
3219 * scripts/cross-test-ssh.sh: New file.
3220 * manual/install.texi (Configuring and compiling): Document use of
3221 cross-test-ssh.sh.
3222 * INSTALL: Regenerated.
3223
bff64913
PT
32242012-10-25 Pino Toscano <toscano.pino@tiscali.it>
3225
3226 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
3227 EOPNOTSUPP.
3228
25fe8932
JM
32292012-10-25 Joseph Myers <joseph@codesourcery.com>
3230
3231 * Makeconfig (run-program-prefix): Fix comment.
3232
cc1290d0
JM
32332012-10-24 Joseph Myers <joseph@codesourcery.com>
3234 Jim Blandy <jimb@codesourcery.com>
3235
3236 * Makeconfig (test-wrapper): New variable,
3237 (test-wrapper-env): Likewise.
3238 [$(cross-compiling) = yes && $(test-wrapper) != ""]
3239 (run-built-tests): Define to yes.
3240 (run-program-prefix): Use $(test-wrapper).
3241 (built-program-cmd): Likewise.
3242 * Rules (make-test-out): Use $(test-wrapper-env) and
3243 $(host-built-program-cmd).
3244 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
3245 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
3246 tst-pathopt.sh.
3247 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
3248 $(test-wrapper-env) to tst-rtld-load-self.sh.
3249 ($(objpfx)order2.out): Use $(test-wrapper).
3250 ($(objpfx)tst-initorder.out): Likewise.
3251 ($(objpfx)tst-initorder2.out): Likewise.
3252 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
3253 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
3254 (test_wrapper_env): New variable. Use it to run ld.so.
3255 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
3256 Use it to run ld.so.
3257 (test_wrapper_env): Likewise.
3258 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
3259 $(test-wrapper) to run-iconv-test.sh.
3260 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
3261 (ICONV): Use $test_wrapper.
3262 * posix/Makefile ($(objpfx)globtest.out): Pass
3263 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
3264 globtest.sh, not $(run-program-prefix).
3265 * posix/globtest.sh (run_via_rtld_prefix): New variable.
3266 (test_wrapper): Likewise.
3267 (test_wrapper_env): Likewise. Use it to run globtest with HOME
3268 set together with run_via_rtld_prefix.
3269 (run_program_prefix): Define in terms of test_wrapper and
3270 run_via_rtld_prefix.
3271
6e6249d0
RM
32722012-10-24 Roland McGrath <roland@hack.frob.com>
3273
3274 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
3275 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
3276 Targets removed.
3277
3278 [BZ #14743]
3279 * include/time.h: Remove librt_hidden_proto (clock_gettime).
3280 Declare __clock_getres, __clock_gettime, __clock_settime,
3281 __clock_nanosleep, and __clock_getcpuclockid.
3282 * rt/clock_gettime.c: Define __clock_gettime as an alias.
3283 Remove librt_hidden_def (clock_gettime).
3284 * sysdeps/unix/clock_gettime.c: Likewise.
3285 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
3286 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3287 * rt/clock_getres.c: Define __clock_getres as an alias.
3288 * sysdeps/posix/clock_getres.c: Likewise.
3289 * rt/clock_settime.c: Define __clock_settime as an alias.
3290 * sysdeps/unix/clock_settime.c: Likewise.
3291 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
3292 * sysdeps/unix/clock_nanosleep.c: Likewise.
3293 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3294 * rt/clock-compat.c: New file.
3295 * rt/Makefile (librt-routines): Add clock-compat and move
3296 $(clock-routines) to ...
3297 (routines): ... here, new variable.
3298 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
3299 Don't add get_clockfreq here.
3300 * rt/Versions (libc: GLIBC_2.17): New version set.
3301 Add clock_* symbols here.
3302 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
3303 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
3304 (GLIBC_2.17): Add clock_* symbols.
3305 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3306 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3307 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3309 Likewise.
3310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3311 Likewise.
3312 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3313 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3316 * NEWS: Mention the move.
3317
3318 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3319 Use __open, __read, __close rather than their public counterparts.
3320 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3321 (__get_clockfreq_via_cpuinfo): Likewise.
3322 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
3323 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
3324
3325 * config.h.in (HAVE_IFUNC): New #undef.
3326 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
3327 was successful.
3328 * configure: Regenerated.
3329
0cae3f4b
MF
33302012-10-24 Mike Frysinger <vapier@gentoo.org>
3331
3332 * configure.in: Move READELF check to start of file.
3333 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
3334 libc_cv_asm_gnu_indirect_function in the process.
3335 * configure: Regenerated.
3336
8175a253
MF
33372012-10-24 Mike Frysinger <vapier@gentoo.org>
3338
3339 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
3340 send the output to /dev/null.
3341 (libc_cv_cc_with_libunwind): Likewise.
3342 (libc_cv_as_noexecstack): Likewise.
3343 * configure: Regenerate.
3344
0708a7d1
JM
33452012-10-24 Joseph Myers <joseph@codesourcery.com>
3346
10b40d85
JM
3347 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
3348
0708a7d1
JM
3349 * posix/globtest.sh (TMPDIR): Do not set.
3350 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
3351 (testout): Likewise.
3352
9fddec1a
AJ
33532012-10-24 Andreas Jaeger <aj@suse.de>
3354
3a8db22f
AJ
3355 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
3356 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
3357 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
3358 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
3359 posix_fadvise64, posix_fallocate64.
3360
9fddec1a
AJ
3361 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
3362 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
3363 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
3364 Likewise.
3365 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
3366 Likewise.
3367 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
3368
3369 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
3370 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
3371 <bits/fcntl-linux.h>.
3372 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
3373
3374 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
3375 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
3376 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
3377 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
3378 [__WORDSIZE != 64]: Likewise.
3379
ebfd1bbd
JM
33802012-10-23 Joseph Myers <joseph@codesourcery.com>
3381
03ac099f
JM
3382 * Makeconfig (run-built-tests): New variable.
3383 * Rules [$(cross-compiling) = yes]: Change condition to
3384 [$(run-built-tests) = no].
3385 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
3386 to [$(run-built-tests) = yes].
3387 * elf/Makefile [$(cross-compiling) = no]: Likewise
3388 * grp/Makefile [$(cross-compiling) = no]: Likewise.
3389 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
3390 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
3391 * intl/Makefile [$(cross-compiling) = no]: Likewise.
3392 * io/Makefile [$(cross-compiling) = no]: Likewise.
3393 * libio/Makefile [$(cross-compiling) = no]: Likewise.
3394 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
3395 * misc/Makefile [$(cross-compiling) = no]: Likewise.
3396 * posix/Makefile [$(cross-compiling) = no]: Likewise.
3397 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
3398 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
3399 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
3400 * string/Makefile [$(cross-compiling) = no]: Likewise.
3401
ebfd1bbd
JM
3402 * posix/Makefile ($(objpfx)globtest.out): Pass
3403 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
3404 $(rtld-installed-name).
3405 * posix/globtest.sh (elf_objpfx): Remove variable.
3406 (rtld_installed_name): Likewise.
3407 (library_path): Likewise.
3408 (run_program_prefix): New variable. Use for running globtest
3409 binary.
3410
166bca24
JB
34112012-10-23 Jim Blandy <jimb@codesourcery.com>
3412 Joseph Myers <joseph@codesourcery.com>
3413
3414 * Makeconfig (host-built-program-cmd): New variable.
3415 * elf/Makefile (tst-stackguard1-ARGS): Use
3416 $(host-built-program-cmd).
3417 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
3418 (tst-spawn-ARGS): Likewise.
3419 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
3420
88866099
JM
34212012-10-23 Joseph Myers <joseph@codesourcery.com>
3422 Jim Blandy <jimb@codesourcery.com>
3423
3424 * Makeconfig (run-via-rtld-prefix): New variable.
3425 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
3426 (built-program-cmd): Likewise.
3427
b4b4c296
AJ
34282012-10-22 Andreas Jaeger <aj@suse.de>
3429
3430 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
3431 __O_RSYNC if it exists, otherwise to O_SYNC.
3432
6fb54a22
JB
34332012-10-22 Jim Blandy <jimb@codesourcery.com>
3434 Joseph Myers <joseph@codesourcery.com>
3435
3436 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
3437 /dev/null.
3438 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
3439 from /dev/null
3440 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
3441 /dev/null.
3442
481b90b9
AJ
34432012-10-22 Andreas Jaeger <aj@suse.de>
3444
2a0e2669
AJ
3445 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
3446 Define always.
3447 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
3448
76e38f9a
AJ
3449 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3450 bits/fcntl-linux.h.
3451
7cd37b43
AJ
3452 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
3453 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
3454
481b90b9
AJ
3455 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
3456 to __O_LARGEFILE.
3457 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
3458 to __O_LARGEFILE.
3459
aba75984
JB
34602012-10-21 Jim Blandy <jimb@codesourcery.com>
3461 Joseph Myers <joseph@codesourcery.com>
3462
3463 * config.make.in (NM): New variable.
3464
88d4247f
AJ
34652012-10-21 Andreas Jaeger <aj@suse.de>
3466
3467 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3468 definitions and declarations that are provided by
3469 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3470
f2eed205
L
34712012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3472
3473 [BZ #14683]
3474 * elf/Makefile (tests-static): Add tst-leaks1-static.
3475 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
3476 ($(objpfx)tst-leaks1-static): New rule.
3477 ($(objpfx)tst-leaks1-static-mem): Likewise.
3478 (tst-leaks1-static-ENV): New macro.
3479 * elf/dl-open.c (dl_open_worker): Check the main application
3480 only if SHARED is defined.
3481 * elf/tst-leaks1-static.c: New file.
3482
335e6931
AJ
34832012-10-20 Andreas Jaeger <aj@suse.de>
3484
3485 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
3486 generic values for Linux.
3487 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
3488 and declarations that are provided by <bits/fcntl-linux.h> and
3489 include <bits/fcntl-linux.h>.
3490 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3491 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3492
ac5c94d3
RM
34932012-10-20 Roland McGrath <roland@hack.frob.com>
3494
3495 * io/fcntl.h: Move include of <bits/types.h> to the top and
3496 include it unconditionally.
3497
de54b33a
L
34982012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3499
228cfb01
L
3500 * wcsmbs/Makefile (tests-ifunc): New variable.
3501 (tests): Add $(tests-ifunc).
3502 * wcsmbs/test-wcschr-ifunc.c: New file.
3503 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3504 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3505 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3506 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3507 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3508
69f07e5f
L
3509 * string/Makefile (tests-ifunc): New variable.
3510 (tests): Add $(tests-ifunc).
3511 * string/test-memccpy.c (TEST_NAME): New macro.
3512 * string/test-memchr.c (TEST_NAME): Likewise.
3513 * string/test-memcmp.c (TEST_NAME): Likewise.
3514 * string/test-memcpy.c (TEST_NAME): Likewise.
3515 * string/test-memmem.c (TEST_NAME): Likewise.
3516 * string/test-memmove.c (TEST_NAME): Likewise.
3517 * string/test-memset.c (TEST_NAME): Likewise.
3518 * string/test-rawmemchr.c (TEST_NAME): Likewise.
3519 * string/test-stpcpy.c (TEST_NAME): Likewise.
3520 * string/test-stpncpy.c (TEST_NAME): Likewise.
3521 * string/test-strcasecmp.c (TEST_NAME): Likewise.
3522 * string/test-strcasestr.c (TEST_NAME): Likewise.
3523 * string/test-strcat.c (TEST_NAME): Likewise.
3524 * string/test-strchr.c (TEST_NAME): Likewise.
3525 * string/test-strcmp.c(TEST_NAME): Likewise.
3526 * string/test-strcpy.c (TEST_NAME): Likewise.
3527 * string/test-strcspn.c (TEST_NAME): Likewise.
3528 * string/test-strlen.c (TEST_NAME): Likewise.
3529 * string/test-strncasecmp.c (TEST_NAME): Likewise.
3530 * string/test-strncmp.c (TEST_NAME): Likewise.
3531 * string/test-strncpy.c (TEST_NAME): Likewise.
3532 * string/test-strnlen.c (TEST_NAME): Likewise.
3533 * string/test-strpbrk.c (TEST_NAME): Likewise.
3534 * string/test-strrchr.c (TEST_NAME): Likewise.
3535 * string/test-strspn.c (TEST_NAME): Likewise.
3536 * string/test-strstr.c (TEST_NAME): Likewise.
3537 * string/test-bcopy-ifunc.c: New file.
3538 * string/test-bzero-ifunc.c: Likewise.
3539 * string/test-memccpy-ifunc.c: Likewise.
3540 * string/test-memchr-ifunc.c: Likewise.
3541 * string/test-memcmp-ifunc.c: Likewise.
3542 * string/test-memcpy-ifunc.c: Likewise.
3543 * string/test-memmem-ifunc.c: Likewise.
3544 * string/test-memmove-ifunc.c: Likewise.
3545 * string/test-mempcpy-ifunc.c: Likewise.
3546 * string/test-memset-ifunc.c: Likewise.
3547 * string/test-rawmemchr-ifunc.c: Likewise.
3548 * string/test-stpcpy-ifunc.c: Likewise.
3549 * string/test-stpncpy-ifunc.c: Likewise.
3550 * string/test-strcasecmp-ifunc.c: Likewise.
3551 * string/test-strcasestr-ifunc.c: Likewise.
3552 * string/test-strcat-ifunc.c: Likewise.
3553 * string/test-strchr-ifunc.c: Likewise.
3554 * string/test-strchrnul-ifunc.c: Likewise.
3555 * string/test-strcmp-ifunc.c: Likewise.
3556 * string/test-strcpy-ifunc.c: Likewise.
3557 * string/test-strcspn-ifunc.c: Likewise.
3558 * string/test-strlen-ifunc.c: Likewise.
3559 * string/test-strncasecmp-ifunc.c: Likewise.
3560 * string/test-strncat-ifunc.c: Likewise.
3561 * string/test-strncmp-ifunc.c: Likewise.
3562 * string/test-strncpy-ifunc.c: Likewise.
3563 * string/test-strnlen-ifunc.c: Likewise.
3564 * string/test-strpbrk-ifunc.c: Likewise.
3565 * string/test-strrchr-ifunc.c: Likewise.
3566 * string/test-strspn-ifunc.c: Likewise.
3567 * string/test-strstr-ifunc.c: Likewise.
3568
de54b33a
L
3569 * debug/Makefile (tests-ifunc): New variable.
3570 (tests): Add $(tests-ifunc).
3571 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
3572 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
3573 * debug/test-stpcpy_chk-ifunc.c: New file.
3574 * debug/test-strcpy_chk-ifunc.c: Likewise.
3575
88481c16
SP
35762012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3577
3578 [BZ #13601]
3579 * elf/dl-load.c (open_verify): Retry read if the entire ELF
3580 header is not read in.
3581
135948bd
JM
35822012-10-19 Joseph Myers <joseph@codesourcery.com>
3583
89f1c388
JM
3584 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
3585 script to $(SHELL) as $<. Pass $(common-objpfx) to script
3586 directly. Pass built executable to script as
3587 $(built-program-cmd).
3588 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
3589 $testprogram without using LD_LIBRARY_PATH and $ldso.
3590
e40a0d21
JM
3591 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
3592 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
3593 $(rtld-installed-name).
3594 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
3595 (rtld_installed_name): Likewise.
3596 (library_path): Likewise.
3597 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
3598 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
3599 $(run-program-prefix) to tst-tables.sh.
3600 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
3601 it to run tst-table-from and tst-table-to.
3602 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
3603 Pass it to tst-table.sh.
3604 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
3605 $(run-program-prefix) to tst-gettext.sh.
3606 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
3607 tst-translit.sh.
3608 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
3609 tst-gettext2.sh.
3610 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
3611 to run tst-gettext.
3612 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
3613 to run tst-gettext2.
3614 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
3615 to run tst-translit.
3616 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
3617 $(run-program-prefix) to tst-mtrace.sh.
3618 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
3619 to run tst-mtrace.
3620 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
3621 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
3622 $(rtld-installed-name).
3623 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
3624 (rtld_installed_name): Likewise.
3625 (run_program_prefix): New variable. Use it to run wordexp-test.
3626
728e272a
JM
3627 * Makeconfig (ARCH): Remove all definitions.
3628 (machine): Likewise.
3629 [ARCH]: Remove conditional code.
3630 [!objdir]: Give error.
3631 [!objdir] (objpfx): Remove.
3632 [!objdir] (common-objpfx): Likewise.
3633 [!objdir] (common-objdir): Likewise.
3634 * configure.in (config_makefile): Remove. Hardcode Makefile in
3635 AC_CONFIG_FILES call.
3636 * configure: Regenerated.
3637
d528cdcf
JM
3638 [BZ #13888]
3639 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
3640 or TMPDIR.
3641 (testout): Likewise.
3642
135948bd
JM
3643 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
3644 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
3645 $(rtld-installed-name).
3646 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
3647 (rtld_installed_name): Likwise.
3648 (runit): Remove function.
3649 (run_getconf): New variable, Use it for running getconf binary.
3650
38c78296
L
36512012-10-18 H.J. Lu <hongjiu.lu@intel.com>
3652
3653 [BZ #14716]
3654 * string/test-memmem.c (check_result): New function.
3655 (do_one_test): Use it.
3656 (check1): New function.
3657 (test_main): Use it.
3658
d077f65f
MT
36592012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
3660
3661 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3662
ced52c71
JM
36632012-10-18 Joseph Myers <joseph@codesourcery.com>
3664
3665 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3666 (_G_LSEEK64): Likewise.
3667 (_G_MMAP64): Likewise.
3668 (_G_FSTAT64): Likewise.
3669 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3670 (_G_LSEEK64): Likewise.
3671 (_G_MMAP64): Likewise.
3672 (_G_FSTAT64): Likewise.
3673 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
3674 unconditional. Call __mmap64 directly.
3675 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
3676 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
3677 __lseek64 directly.
3678 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
3679 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
3680 __mmap64 directly.
3681 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
3682 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
3683 __lseek64 directly.
3684 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
3685 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
3686 __lseek64 directly.
3687 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
3688 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
3689 __lseek64 directly.
3690 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
3691 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
3692 __fxstat64 directly.
3693 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
3694 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
3695 unconditional.
3696 (freopen64) [!_G_OPEN64]: Remove conditional code.
3697 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3698 unconditional.
3699 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3700 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3701 unconditional.
3702 (ftello64) [!_G_LSEEK64]: Remove conditional code.
3703 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3704 unconditional.
3705 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3706 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3707 unconditional.
3708 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3709 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3710 unconditional.
3711 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3712 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3713 unconditional.
3714 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3715 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3716 unconditional.
3717 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3718
b741de23
SP
37192012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3720
3721 [BZ #12140]
3722 * manual/memory.texi (Malloc Tunable Parameters): Add note
3723 about free list pointers overwriting some perturb bytes.
3724 Wording suggested by Roland McGrath.
3725
f9b9d9c9
JM
37262012-10-17 Joseph Myers <joseph@codesourcery.com>
3727
3728 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3729 (lgamma_test): Likewise.
3730 (tgamma_test): Likewise.
3731
172a631a
FW
37322012-10-16 Florian Weimer <fweimer@redhat.com>
3733
3734 [BZ #14700]
3735 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3736 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3737
e9f37252
MK
37382012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
3739
3740 * NEWS: Mention BZ #14716.
3741 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3742 when removing AVAILABLE1_USES_J macro.
3743
d394eb74
L
37442012-10-12 H.J. Lu <hongjiu.lu@intel.com>
3745
3746 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3747 (__bswap_64): __uint64_t for unsigned 64-bit int.
3748
ca38dc17
AS
37492012-10-12 Andreas Schwab <schwab@linux-m68k.org>
3750
3751 * include/string.h (memmem): Declare libc hidden alias.
3752 * string/memmem.c (memmem): Define libc hidden alias.
3753 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3754 __read, __close instead of open, read, close.
3755
9a387d1f
L
37562012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3757
ac49ecaf
L
3758 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3759 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3760 global and hidden.
3761 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3762 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3763 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3764 Likewise.
3765 (__rawmemchr_sse2): Likewise.
3766 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3767 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3768 (__strchr_sse2): Likewise.
3769 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3770 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3771 (__strcasecmp_sse2): Likewise.
3772 (__strncasecmp_sse2): Likewise.
3773 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3774 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3775 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3776 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3777 (__strrchr_sse2): Likewise.
3778 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3779 ifunc-impl-list.c.
3780 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3781 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3782 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3783 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3784 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3785 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3786 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3787 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3788 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3789 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3790 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3791 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3792 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3793 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3794 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3795 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3796 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3797 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3798 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3799 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3800 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3801 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3802 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3803 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3804 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3805 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3806 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3807 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3808 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3809 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3810
b090e8ea
L
3811 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3812 global and hidden.
3813 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3814 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3815 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3816 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3817 Likewise.
3818 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3819 Likewise.
3820 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3821 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3822 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3823 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3824 ifunc-impl-list.c.
3825 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3826 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3827 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3828 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3829 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3830 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3831 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3832 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3833 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3834 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3835 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3836 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3837 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3838 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3839 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3840 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3841 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3842 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3843 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3844 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3845 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3846 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3847 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3848 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3849 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3850 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3851 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3852 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3853 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3854 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3855 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3856 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3857 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3858 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3859 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3860 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3861 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3862 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3863 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3864 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3865 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3866
11dd4af6
L
3867 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3868 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3869 * include/ifunc-impl-list.h: New file.
3870 * misc/ifunc-impl-list.c: Likewise.
3871 * misc/Makefile (routines): Add ifunc-impl-list.
3872 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3873 * string/test-string.h: Include <ifunc-impl-list.h>.
3874 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3875 impl_array): New variables.
3876 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3877 are defined.
3878 (test_init): Call __libc_ifunc_impl_list to initialize
3879 func_list if TEST_IFUNC and TEST_NAME are defined.
3880
9a387d1f
L
3881 * string/Makefile (strop-tests): Add bcopy and bzero.
3882 * string/test-bcopy.c: New file.
3883 * string/test-bzero.c: Likewise.
3884 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3885 defined.
3886 * string/test-memset.c: Support bzero test if TEST_BZERO is
3887 defined.
3888 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3889 __libc_memmove.
3890 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3891 __libc_memset.
3892 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3893 of memset.
3894
472371b9
JM
38952012-10-10 Joseph Myers <joseph@codesourcery.com>
3896
1e4a9536
JM
3897 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3898 * configure: Regenerated.
3899
d173d12e
JM
3900 * Makeconfig (+link-static-before-libc): Don't include
3901 $(link-static-libc).
3902
472371b9
JM
3903 * libio/libio.h (_IO_pos_t): Remove.
3904
89a3ad0b
AO
39052012-10-10 Alexandre Oliva <aoliva@redhat.com>
3906
3907 * NEWS: Add note about FIPS mode. Wording suggested by Roland
3908 McGrath.
3909
e7451425
AO
39102012-10-10 Alexandre Oliva <aoliva@redhat.com>
3911
3912 * crypt/crypt-entry.c: Include fips-private.h.
3913 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3914 * crypt/md5c-test.c (main): Tolerate disabled MD5.
3915 * sysdeps/unix/sysv/linux/fips-private.h: New file.
3916 * sysdeps/generic/fips-private.h: New file, dummy fallback.
3917
4ba74a35
AO
39182012-10-10 Alexandre Oliva <aoliva@redhat.com>
3919
3920 * crypt/crypt-private.h: Include stdbool.h.
3921 (_ufc_setup_salt_r): Return bool.
3922 * crypt/crypt-entry.c: Include errno.h.
3923 (__crypt_r): Return NULL with EINVAL for bad salt.
3924 * crypt/crypt_util.c (bad_for_salt): New.
3925 (_ufc_setup_salt_r): Check that salt is long enough and within
3926 the specified alphabet.
3927 * crypt/badsalttest.c: New file.
3928 * crypt/Makefile (tests): Add it.
3929 ($(objpfx)badsalttest): New.
3930
f96f1242
MK
39312012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
3932
3933 * NEWS: Add entry for BZ #14602.
3934
0e8e0c1c
JM
39352012-10-09 Joseph Myers <joseph@codesourcery.com>
3936
3937 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3938 type-generic.
3939 * math/libm-test.inc: Update comment listing what functions and
3940 macros are tested.
3941 (isgreater_test): New function.
3942 (isgreaterequal_test): Likewise.
3943 (isless_test): Likewise.
3944 (islessequal_test): Likewise.
3945 (islessgreater_test): Likewise.
3946 (isunordered_test): Likewise.
3947 (main): Call the new functions.
3948
273edc5e
RM
39492012-10-09 Roland McGrath <roland@hack.frob.com>
3950
b8493de0
RM
3951 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3952 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3953 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3954 * sysdeps/i386/configure: Regenerated.
3955 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3956 * sysdeps/mach/configure: Regenerated.
3957 * sysdeps/mach/hurd/configure: Regenerated.
3958 * sysdeps/powerpc/configure: Regenerated.
3959 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3960 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3961 * sysdeps/s390/s390-32/configure: Regenerated.
3962 * sysdeps/s390/s390-64/configure: Regenerated.
3963 * sysdeps/sh/configure: Regenerated.
3964 * sysdeps/sparc/configure: Regenerated.
3965 * sysdeps/unix/sysv/linux/configure: Regenerated.
3966 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3967 * sysdeps/x86_64/configure: Regenerated.
3968
273edc5e
RM
3969 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3970 defined. Don't check if MAP is NULL.
3971
c8450f70
JM
39722012-10-09 Joseph Myers <joseph@codesourcery.com>
3973
3974 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3975 (_G_stat64): Likewise.
3976 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3977 (_G_stat64): Likewise.
3978 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3979 instead of struct _G_stat64.
3980 * libio/fileops.c (mmap_remap_check): Likewise.
3981 (decide_maybe_mmap): Likewise.
3982 (_IO_new_file_seekoff): Likewise.
3983 (_IO_file_stat): Likewise.
3984 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3985 _G_off64_t.
3986 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3987 instead of struct _G_stat64.
3988 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3989
57e605ba
MK
39902012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3991
3992 [BZ #14602]
3993 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3994 Replace with ...
3995 (CHECK_EOL): New macro.
3996 (two_way_short_needle): Check beginning of haystack for EOL. Use
3997 CHECK_EOL.
3998 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3999 Replace with CHECK_EOL.
4000 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4001 Replace with CHECK_EOL.
4002
ef1bb361
JM
40032012-10-08 Joseph Myers <joseph@codesourcery.com>
4004
4005 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
4006 type-generic.
4007 * math/libm-test.inc: Update comment listing what functions and
4008 macros are tested.
4009 (finite_test): New function.
4010 (isinf_test): Likewise.
4011 (isnan_test): Likewise.
4012 (fpclassify_test): Test subnormal input.
4013 (isfinite_test): Likewise.
4014 (isnormal_test): Likewise.
4015 (main): Call the new functions.
4016
55f11534
JN
40172012-10-08 Jonathan Nieder <jrnieder@gmail.com>
4018
4019 [BZ #14660]
4020 * Makerules (%.dynsym): Force C locale when running
4021 $(OBJDUMP) --dynamic-syms.
4022
1ab29350
AS
40232012-10-08 Andreas Schwab <schwab@linux-m68k.org>
4024
4025 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
4026 <stdint.h>.
4027
f1ecb7ef
DM
40282012-10-06 David S. Miller <davem@davemloft.net>
4029
4030 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
4031 upper 32-bits of the length value in %o2 since we use branch-on-register
4032 tests which consider the entire 64-bit register.
4033
5d41d91a
L
40342012-10-06 H.J. Lu <hongjiu.lu@intel.com>
4035
4036 * string/test-strstr.c (check2): Add a test for page boundary.
4037
3baddb72
DM
40382012-10-05 David S. Miller <davem@davemloft.net>
4039
4040 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
4041 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
4042 file.
4043 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4044 sysdep_routines.
4045 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4046 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
4047 and bzero when HWCAP_SPARC_CRYPTO is present.
4048
9cee5585
L
40492012-10-05 H.J. Lu <hongjiu.lu@intel.com>
4050
d7e0dab9
L
4051 [BZ #14602]
4052 * string/test-strstr.c (check2): New function.
4053 (test_main): Call check2.
4054
03759f47
L
4055 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
4056 and bug-strchr1.
4057 * string/bug-strcasestr1.c (do_test): Moved to ...
4058 * string/test-strcasestr.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-strchr1.c (do_test): Moved to ...
4064 * string/test-strchr.c (check1): Here. New function.
4065 (do_one_test): Break out result checking code into ...
4066 (check_result): This. New function.
4067 (do_one_test): Call check_result.
4068 (test_main): Call check1.
4069 * string/bug-strstr1.c (main): Moved to ...
4070 * string/test-strchr.c (check1): Here. New function.
4071 (do_one_test): Break out result checking code into ...
4072 (check_result): This. New function.
4073 (do_one_test): Call check_result.
4074 (test_main): Call check1.
4075 * string/bug-strcasestr1.c: Removed.
4076 * string/bug-strchr1.c: Likewise.
4077 * string/bug-strstr1.c: Likewise.
4078
53cea63e
L
4079 * elf/Makefile (dl-routines): Add hwcaps.
4080 * elf/dl-support.c (_dl_important_hwcaps): Removed.
4081 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
4082 (_dl_important_hwcaps): Moved to ...
4083 * elf/dl-hwcaps.c: Here. New file.
4084 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
4085
9cee5585 4086 [BZ #14557]
bb859b06
L
4087 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
4088 if IS_IN_rtld isn't defined.
4089
9cee5585
L
4090 * elf/dl-support.c (_dl_sysinfo_map): New.
4091 Include "get-dynamic-info.h" and "setup-vdso.h".
4092 (_dl_non_dynamic_init): Call setup_vdso.
4093 * elf/dynamic-link.h: Don't include <assert.h>.
4094 (elf_get_dynamic_info): Moved to ...
4095 * elf/get-dynamic-info.h: Here. New file.
4096 * elf/dynamic-link.h: Include "get-dynamic-info.h".
4097 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
4098 * elf/setup-vdso.h: Here. New file.
4099 * elf/rtld.c: Include "setup-vdso.h".
4100 (dl_main): Call setup_vdso.
4101
23c31b76
JM
41022012-10-05 Joseph Myers <joseph@codesourcery.com>
4103
28234b07
JM
4104 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
4105 creal in comment listing functions tested. List finite, isinf,
4106 isnan, isless, islessequal, isgreater, isgreaterequal,
4107 islessgreater, isunordered, lgamma_r and pow10 as functions and
4108 macros not tested. Mention which functions not tested are aliases
4109 for other functions. Fix typo. Note that signs of NaNs are not
4110 tested.
4111
23c31b76
JM
4112 * scripts/config.guess: Update from config.git.
4113 * scripts/config.sub: Likewise.
4114
9043e228
RM
41152012-10-04 Roland McGrath <roland@hack.frob.com>
4116
4117 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
4118 * misc/madvise.c (madvise): Renamed to __madvise.
4119 Make madvise a weak alias.
4120 * include/sys/mman.h: Declare __madvise.
4121 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
4122 * sysdeps/unix/syscalls.list
4123 (madvise): Make __madvise the strong name, and madvise a weak alias.
4124 * sysdeps/unix/sysv/linux/syscalls.list
4125 (madvise, mmap): Remove redundant entries.
4126 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
4127 * malloc/malloc.c (mtrim): Likewise.
4128 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
4129
f57f8055
RM
41302012-10-03 Roland McGrath <roland@hack.frob.com>
4131
4132 * sysdeps/mach/hurd/dl-cache.c: File removed.
4133 * config.h.in (USE_LDCONFIG): New #undef.
4134 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
4135 * configure: Regenerated.
4136 * elf/Makefile (dl-routines): Add dl-cache only under
4137 [$(use-ldconfig) = yes].
4138 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
4139 cache on [USE_LDCONFIG].
4140 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
4141 [USE_LDCONFIG].
4142 * elf/rtld.c (dl_main): Likewise.
4143
5bb0c10a
PT
41442012-10-03 Pino Toscano <toscano.pino@tiscali.it>
4145
4146 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
4147 _SC_LEVEL4_CACHE_LINESIZE.
4148
010188c6
RM
41492012-10-03 Roland McGrath <roland@hack.frob.com>
4150
4151 * sysdeps/unix/bsd/confstr.h: File removed.
4152
b6c5ec07
AO
41532012-10-02 Alexandre Oliva <aoliva@redhat.com>
4154
4155 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
4156 sys/sdt-config.h.
4157
408223d4
RM
41582012-10-02 Roland McGrath <roland@hack.frob.com>
4159
4160 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
4161 Make 'mapoff' field ElfW(Off) rather than off_t.
4162
bb9510dc
DL
41632012-10-02 Dmitry V. Levin <ldv@altlinux.org>
4164
fc997c6e
DL
4165 * nscd/Makefile: Remove nscd-cflags and all its users.
4166 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
4167 (CFLAGS-nonlib): Add compiler flags for nscd modules.
4168
bb9510dc
DL
4169 [BZ #10631]
4170 * malloc.c (malloc_printerr): Clarify error message.
4171
05699367
L
41722012-10-02 H.J. Lu <hongjiu.lu@intel.com>
4173
4174 [BZ #14648]
4175 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4176 Set bit_FMA_Usable if FMA is supported.
4177 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
4178 macro.
4179 (bit_FMA4_Usable): Updated.
4180 (index_FMA_Usable): New macro.
4181 (CPUID_FMA): Likewise
4182 (HAS_FMA): Defined with bit_FMA_Usable.
4183
51367701
RM
41842012-10-01 Roland McGrath <roland@hack.frob.com>
4185
4186 * bits/types.h (__swblk_t): Type removed.
4187 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
4188 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
4189 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4190 (__SWBLK_T_TYPE): Likewise.
4191 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4192 (__SWBLK_T_TYPE): Likewise.
4193 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4194 (__SWBLK_T_TYPE): Likewise.
4195 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4196 (__SWBLK_T_TYPE): Likewise.
4197
4d57bf63 41982012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 4199 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
4200
4201 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
4202 (xdr_mapname): Use YPMAXMAP as maxsize.
4203 (xdr_peername): Use YPMAXPEER as maxsize.
4204 (xdr_keydat): Use YPAXRECORD as maxsize.
4205 (xdr_valdat): Use YPMAXRECORD as maxsize.
4206
93c65d43
RM
42072012-10-01 Roland McGrath <roland@hack.frob.com>
4208
497a03d6
RM
4209 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
4210
93c65d43
RM
4211 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
4212 * csu/init-first.c: ... here.
4213 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
4214 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4215 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4216 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4217 * sysdeps/i386/init-first.c: File removed.
4218 * sysdeps/sh/init-first.c: File removed.
4219
bec749fd
JM
42202012-10-01 Joseph Myers <joseph@codesourcery.com>
4221
4222 [BZ #14645]
4223 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
4224 if x * y might underflow to zero and z is zero.
4225 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4226 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4227 * math/libm-test.inc (min_subnorm_value): New variable.
4228 (fma_test): Add more tests.
4229 (fma_test_towardzero): Likewise.
4230 (fma_test_downward): Likewise
4231 (fma_test_upward): Likewise.
4232 (initialize): Set min_subnorm_value.
4233
8ec5b013
JM
42342012-09-29 Joseph Myers <joseph@codesourcery.com>
4235
4236 [BZ #14638]
4237 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
4238 0 + 0.
4239 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
4240 mode for addition resulting in exact zero.
4241 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
4242 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
4243 exact 0 + 0.
4244 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4245 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4246 * math/libm-test.inc (fma_test): Add more tests.
4247 (fma_test_towardzero): New function.
4248 (fma_test_downward): Likewise.
4249 (fma_test_upward): Likewise.
4250 (main): Call the new functions.
4251
b1fa802e
DM
42522012-09-28 David S. Miller <davem@davemloft.net>
4253
4254 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
4255
d3b9fd9e
RM
42562012-09-28 Roland McGrath <roland@hack.frob.com>
4257
ea4d37b3
RM
4258 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
4259 instead of SIGALRM.
4260
ac51c949
RM
4261 * sysdeps/gnu/_G_config.h: Moved to ...
4262 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
4263 * sysdeps/mach/hurd/_G_config.h: Moved to ...
4264 * sysdeps/generic/_G_config.h: ... here.
4265
28c195f7
RM
4266 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
4267
848917f9
RM
4268 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
4269
6bacf05b
RM
4270 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
4271 Conditionalize target on [libnss_test1.so-version].
4272
91363dbb
RM
4273 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
4274
cc87f7d8
RM
4275 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
4276 (elfobjdir): Move out of conditionals.
4277
b1c608fe
RM
4278 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
4279 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
4280 (__nss_lookup_function): Conditionalize label remove_from_tree on
4281 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 4282
1d9a6d96
DM
42832012-09-28 David S. Miller <davem@davemloft.net>
4284
4285 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
4286 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
4287 file.
4288 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4289 sysdep_routines.
4290 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4291 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
4292 when HWCAP_SPARC_CRYPTO is present.
4293
72581615
PT
42942012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4295
4296 * io/tst-mknodat.c: Create a FIFO instead of a socket.
4297
715a900c
JL
42982012-09-28 Andreas Schwab <schwab@linux-m68k.org>
4299
4300 [BZ #6530]
4301 * stdio-common/vfprintf.c (process_string_arg): Revert
4302 2000-07-22 change.
4303
43042011-09-28 Jonathan Nieder <jrnieder@gmail.com>
4305
4306 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
4307 for testcase.
4308 * stdio-common/tst-sprintf.c: Include <locale.h>
4309 (main): Test sprintf's handling of incomplete multibyte
4310 characters.
4311
9bac1d86
L
43122012-09-28 H.J. Lu <hongjiu.lu@intel.com>
4313
4314 * elf/dl-runtime.c (VERSYMIDX): Removed.
4315 * elf/dl-version.c (VERSYMIDX): Likewise.
4316 * elf/do-rel.h (VERSYMIDX): Likewise.
4317 (VALIDX): Likewise.
4318 * elf/dynamic-link.h (VERSYMIDX): Likewise.
4319 * elf/rtld.c (VALIDX): Likewise.
4320 (ADDRIDX): Likewise.
9bac1d86
L
4321 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
4322 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
4323 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
4324 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
4325 (VALIDX): Likewise.
4326 (ADDRIDX): Likewise.
9bac1d86 4327
b31606c0
PT
43282012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4329
4330 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
4331
11541177
JL
43322012-09-28 Dmitry V. Levin <ldv@altlinux.org>
4333
4334 [BZ #11438]
4335 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
4336 to global scope.
4337 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
4338 addresses are in the same scope as 192.0.2/24.
4339 * posix/gai.conf: Document new scope table defaults.
4340
adb26fae
SP
43412012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4342
4343 [BZ #5298]
4344 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
4345 for ftell. Compute offsets from write pointers instead.
4346 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4347
4573c6b0
SP
43482012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4349
4350 [BZ #14543]
4351 * libio/Makefile (tests): New test case tst-fseek.
4352 * libio/tst-fseek.c: New test case to verify that fseek/ftell
4353 combination works in wide mode.
4354 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
4355 state when the external buffer state changes.
4356
aa9bbfe6
DM
43572012-09-27 David S. Miller <davem@davemloft.net>
4358
4359 [BZ #14376]
4360 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
4361 pass reloc->r_addend in as the 'high' argument to
4362 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
4363
784421e7
DM
4364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4365
c39bc8b8
PT
43662012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4367
4368 * rt/tst-aio2.c: Include <pthread.h>.
4369 * rt/tst-aio3.c: Likewise.
4370
1ccc2399
SE
43712012-09-27 Steve Ellcey <sellcey@mips.com>
4372
4373 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
4374
31ed4153
L
43752012-09-27 H.J. Lu <hongjiu.lu@intel.com>
4376
25f5f885
L
4377 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
4378 contents on [SHARED].
31ed4153 4379
b7bfe116
MP
43802012-09-26 Marek Polacek <polacek@redhat.com>
4381
4382 [BZ #14530]
4383 [BZ #13741]
4384 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
4385 for C++ and GCC <4.3 as well as for non GCC compilers.
4386
43c4edba
MT
43872012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4388
4389 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4390
6a1bf82f
RM
43912012-09-25 Roland McGrath <roland@hack.frob.com>
4392
4393 * Makefile.in (all, install): Declare with .PHONY.
4394 Reported by Michael Hope <michael.hope@linaro.org>.
4395
8ad11b9a
TMQMF
43962012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4397
4398 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
4399 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
4400 system header.
4401 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
4402 Likewise.
4403 (sydep_routines): Add the new and the internal functions.
4404 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
4405 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
4406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
4407 (GLIBC_2.17): Add the new function.
4408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4409 (GLIBC_2.17): Likewise.
4410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4411 (GLIBC_2.17): Likewise.
4412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
4413 (GLIBC_2.17): Likewise.
4414 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
4415
7e2fca8d
AM
44162012-09-25 Alan Modra <amodra@gmail.com>
4417
4418 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
4419 Add release barrier before setting once_control to say
4420 initialisation is done. Add hints on lwarx. Use macro in
4421 place of isync.
4422 (clear_once_control): Add release barrier.
4423
b87c4b24
JM
44242012-09-25 Joseph Myers <joseph@codesourcery.com>
4425
d032e0d2
JM
4426 [BZ #13629]
4427 * math/s_clog.c (__clog): Handle more values close to |z| = 1
4428 specially.
4429 * math/s_clog10.c (__clog10): Likewise.
4430 * math/s_clog10f.c (__clog10f): Likewise.
4431 * math/s_clog10l.c (__clog10l): Likewise.
4432 * math/s_clogf.c (__clogf): Likewise.
4433 * math/s_clogl.c (__clogl): Likewise.
4434 * math/Makefile (libm-calls): Add x2y2m1.
4435 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
4436 (__x2y2m1): Likewise.
4437 (__x2y2m1l): Likewise.
4438 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
4439 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
4440 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4441 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4442 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4443 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4444 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
4445 * sysdeps/i386/fpu/libm-test-ulps: Update.
4446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4447
b87c4b24
JM
4448 [BZ #14621]
4449 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
4450 int as type of variable DEPTH.
4451 (glob): Use size_t instead of int as type of variables NEWCOUNT
4452 and OLD_PATHC.
4453
6d3bf199
LD
44542012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4455
22bf5c17
LD
4456 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4457 Add s_sincosf-sse2.
4458 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
4459 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
4460 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
4461 macros for using routine as __sincosf_ia32.
4462 Use macro for function declaration and weak_alias.
4463 * sysdeps/i386/fpu/libm-test-ulps: Update.
4464
4465 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
4466 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4467
4468 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
4469 subnormal argument.
4470 * math/s_cexpf.c (__cexpf): Likewise.
4471 * math/s_csinf.c (__csinf): Likewise.
4472 * math/s_csinhf.c (__csinhf): Likewise.
4473 * math/s_ctanf.c (__ctanf): Likewise.
4474 * math/s_ctanhf.c (__ctanhf): Likewise.
4475 * math/s_ccosh.c (__ccoshf): Likewise.
4476 * math/s_cexp.c (__cexpl): Likewise.
4477 * math/s_csin.c (__csin): Likewise.
4478 * math/s_csinh.c (__csinh): Likewise.
4479 * math/s_ctan.c (__ctan): Likewise.
4480 * math/s_ctanh.c (ctanh): Likewise.
4481 * math/s_ccoshl.c (__ccoshl): Likewise.
4482 * math/s_cexpl.c (__cexpl): Likewise.
4483 * math/s_csinl.c (__csinl): Likewise.
4484 * math/s_csinhl.c (__csinhl): Likewise.
4485 * math/s_ctanl.c (__ctanl): Likewise.
4486 * math/s_ctanhl.c (__ctanhl): Likewise.
4487
203e5603
JM
44882012-09-25 Joseph Myers <joseph@codesourcery.com>
4489
4490 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4491 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
4492 (_IO_off_t): Define to __off_t, not _G_off_t.
4493 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
4494 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
4495 (_IO_wint_t): Define to wint_t, not _G_wint_t.
4496 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
4497 type of __dummy and __dummy2 fields.
4498 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
4499 (_G_ssize_t): Likewise.
4500 (_G_off_t): Likewise.
4501 (_G_pid_t): Likewise.
4502 (_G_uid_t): Likewise.
4503 (_G_wchar_t): Likewise.
4504 (_G_wint_t): Likewise.
4505 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
4506 (_G_ssize_t): Likewise.
4507 (_G_off_t): Likewise.
4508 (_G_pid_t): Likewise.
4509 (_G_uid_t): Likewise.
4510 (_G_wchar_t): Likewise.
4511 (_G_wint_t): Likewise.
4512 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
4513 (_G_ssize_t): Likewise.
4514 (_G_off_t): Likewise.
4515 (_G_pid_t): Likewise.
4516 (_G_uid_t): Likewise.
4517 (_G_wchar_t): Likewise.
4518 (_G_wint_t): Likewise.
4519
9fab36eb
SP
45202012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4521
4522 * malloc/arena.c: Include malloc-sysdep.h.
4523 (shrink_heap): Use check_may_shrink_heap to decide if madvise
4524 is sufficient to shrink the heap or an unmap is needed.
4525 * sysdeps/generic/malloc-sysdep.h: New file. Define
4526 new function check_may_shrink_heap.
4527 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
4528 new function check_may_shrink_heap.
4529
2b4f00d1
SP
45302012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4531
4532 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
4533 comments.
4534
9a9028b1
DL
45352012-09-24 Dmitry V. Levin <ldv@altlinux.org>
4536
57c69bef
DL
4537 * catgets/test-gencat.sh: Add "set -e".
4538 * elf/tst-pathopt.sh: Likewise.
4539 * grp/tst_fgetgrent.sh: Likewise.
4540 * iconvdata/run-iconv-test.sh: Likewise.
4541 * intl/tst-gettext.sh: Likewise.
4542 * intl/tst-gettext2.sh: Likewise.
4543 * intl/tst-gettext4.sh: Likewise.
4544 * intl/tst-gettext6.sh: Likewise.
4545 * intl/tst-translit.sh: Likewise.
4546 * io/ftwtest-sh: Likewise.
4547 * libio/test-freopen.sh: Likewise.
4548 * malloc/tst-mtrace.sh: Likewise.
4549 * posix/globtest.sh: Likewise.
4550 * posix/tst-getconf.sh: Likewise.
4551 * posix/wordexp-tst.sh: Likewise.
4552 * stdio-common/tst-printf.sh: Likewise.
4553 * stdio-common/tst-unbputc.sh: Likewise.
4554 * stdlib/tst-fmtmsg.sh: Likewise.
4555 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4556 * catgets/Makefile: Do not specify -e option when running
4557 testsuite shell scripts.
4558 * elf/Makefile: Likewise.
4559 * grp/Makefile: Likewise.
4560 * iconvdata/Makefile: Likewise.
4561 * intl/Makefile: Likewise.
4562 * io/Makefile: Likewise.
4563 * libio/Makefile: Likewise.
4564 * malloc/Makefile: Likewise.
4565 * posix/Makefile: Likewise.
4566 * stdio-common/Makefile: Likewise.
4567 * stdlib/Makefile: Likewise.
4568 * sysdeps/x86_64/Makefile: Likewise.
4569
9a9028b1
DL
4570 * io/ftwtest-sh: Add copyright header.
4571 * posix/globtest.sh: Likewise.
4572 * posix/tst-getconf.sh: Likewise.
4573 * posix/wordexp-tst.sh: Likewise.
4574 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4575
ced6f16e
L
45762012-09-24 H.J. Lu <hongjiu.lu@intel.com>
4577
94b32c39
L
4578 [BZ #13679]
4579 * Makeconfig (+link): Defined as $(+link-static) if
4580 $(build-shared) isn't yes.
4581 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
4582 isn't yes.
4583 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
4584
189e935b
L
4585 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
4586
ced6f16e
L
4587 [BZ #14562]
4588 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
4589 new chunk size with MALLOC_ALIGN_MASK.
4590
a9f8e53a
JM
45912012-09-24 Joseph Myers <joseph@codesourcery.com>
4592
4593 [BZ #5044]
4594 * stdio-common/printf_fphex.c: Include <stdbool.h> and
4595 <rounding-mode.h>.
4596 (__printf_fphex): Determine rounding using get_rounding_mode and
4597 round_away.
4598 * stdio-common/tst-printf-round.c (struct hex_test): New
4599 structure.
4600 (hex_tests): New variable.
4601 (test_hex_in_one_mode): New function.
4602 (do_test): Also run tests for hex float output.
4603
43153109
JM
46042012-09-21 Joseph Myers <joseph@codesourcery.com>
4605
4606 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4607 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4608 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
4609 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4610 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4611 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
4612 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4613 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4614
8a26625d
JM
46152012-09-20 Joseph Myers <joseph@codesourcery.com>
4616
4617 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
4618 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
4619 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
4620 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
4621
f3fd569c
DL
46222012-09-19 Dmitry V. Levin <ldv@altlinux.org>
4623
4624 [BZ #14579]
4625 * elf/rtld.c (dl_main): Limit the check for self loading to normal
4626 mode only.
4627 * elf/tst-rtld-load-self.sh: New test.
4628 * elf/Makefile: Run it.
4629
63bbedd4
JM
46302012-09-18 Joseph Myers <joseph@codesourcery.com>
4631
4632 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
4633 (tst-writev-ENV): Remove.
4634 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
4635
626f8b6a
CM
46362012-09-17 Chris Metcalf <cmetcalf@tilera.com>
4637
4638 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
4639
b7aaa4d6
JM
46402012-09-17 Joseph Myers <joseph@codesourcery.com>
4641
4642 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
4643 unconditional.
4644 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
4645 Likewise.
4646 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
4647 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
4648 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4649 Likewise.
4650
65513990
L
46512012-09-14 H.J. Lu <hongjiu.lu@intel.com>
4652
4653 [BZ #14587]
4654 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4655 * config.make.in (have-cpp-asm-debuginfo): Removed.
4656 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4657 * configure: Regenerated.
4658
784761be
JM
46592012-09-14 Joseph Myers <joseph@codesourcery.com>
4660
4661 [BZ #5044]
4662 * stdio-common/printf_fp.c: Include <stdbool.h> and
4663 <rounding-mode.h>.
4664 (___printf_fp): Determine rounding using get_rounding_mode and
4665 round_away.
4666 * stdio-common/tst-printf-round.c: New file.
4667 * stdio-common/Makefile (tests): Add tst-printf-round.
4668 (link-libm): New variable.
4669 ($(objpfx)tst-printf-round): Depend in $(link-libm).
4670
9503345f
L
46712012-09-13 H.J. Lu <hongjiu.lu@intel.com>
4672
4673 [BZ #14576]
4674 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
4675 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
4676 Likewise.
4677 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
4678 Likewise.
4679
ad35fc00
JM
46802012-09-13 Joseph Myers <joseph@codesourcery.com>
4681
4682 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
4683 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4684 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4685 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4686
6c9b0f68
JM
46872012-09-12 Joseph Myers <joseph@codesourcery.com>
4688
4689 [BZ #14518]
4690 * include/rounding-mode.h: New file.
4691 * sysdeps/generic/get-rounding-mode.h: Likewise.
4692 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
4693 * stdlib/strtod_l.c: Include <rounding-mode.h>.
4694 (MAX_VALUE): New macro.
4695 (MIN_VALUE): Likewise.
4696 (overflow_value): New function.
4697 (underflow_value): Likewise.
4698 (round_and_return): Use overflow_value and underflow_value to
4699 determine return values in overflow and underflow cases. Use
4700 round_away to determine rounding depending on rounding mode.
4701 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4702 determine return values in overflow and underflow cases.
4703 * stdlib/tst-strtod-round.c: Include <fenv.h>.
4704 (struct test_results): New structure.
4705 (struct test): Use struct test_results to store expected results
4706 for all rounding modes.
4707 (TEST): Include expected results for all rounding modes.
4708 (test_in_one_mode): New function.
4709 (do_test): Use test_in_one_mode to compute and check results.
4710 Check results for all rounding modes.
4711 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4712 $(link-libm).
4713
19fcedd5
AM
47142012-12-09 Allan McRae <allan@archlinux.org>
4715
1e9d84cd 4716 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 4717
8bbfd2f1
JM
47182012-09-11 Joseph Myers <joseph@codesourcery.com>
4719
4720 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4721 (_G_int32_t): Likewise.
4722 (_G_uint16_t): Likewise.
4723 (_G_uint32_t): Likewise.
4724 (_G_HAVE_BOOL): Likewise.
4725 (_G_HAVE_ATEXIT): Likewise.
4726 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4727 (_G_HAVE_IO_FILE_OPEN): Likewise.
4728 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4729 (_G_int32_t): Likewise.
4730 (_G_uint16_t): Likewise.
4731 (_G_uint32_t): Likewise.
4732 (_G_HAVE_BOOL): Likewise.
4733 (_G_HAVE_ATEXIT): Likewise.
4734 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4735 (_G_HAVE_IO_FILE_OPEN): Likewise.
4736 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4737 (_G_int32_t): Likewise.
4738 (_G_uint16_t): Likewise.
4739 (_G_uint32_t): Likewise.
4740 (_G_HAVE_BOOL): Likewise.
4741 (_G_HAVE_ATEXIT): Likewise.
4742 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4743 (_G_HAVE_IO_FILE_OPEN): Likewise.
4744
b1dc5912
L
47452012-09-11 H.J. Lu <hongjiu.lu@intel.com>
4746
4747 * csu/libc-tls.c: Update copyright years.
4748
0e886ef9
JM
47492012-09-10 Joseph Myers <joseph@codesourcery.com>
4750
28361c5e
JM
4751 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4752 [!_G_USING_THUNKS]: Remove conditional code.
4753 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4754 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4755
0e886ef9
JM
4756 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4757 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4758 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4759 (_G_VTABLE_LABEL_PREFIX): Likewise.
4760 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4761 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4762 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4763 (_G_VTABLE_LABEL_PREFIX): Likewise.
4764 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4765 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4766 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4767 (_G_VTABLE_LABEL_PREFIX): Likewise.
4768 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4769
bcba7aa2
L
47702012-09-10 H.J. Lu <hongjiu.lu@intel.com>
4771
4772 * libio/Makefile: Include ../Makeconfig before tests.
4773 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4774 only if $(build-shared) is yes.
4775
06585ee8
L
4776 * iconv/gconv_db.c: Update copyright years.
4777
80ccd52c
LD
47782012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4779
4780 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4781 unwind info if defined PIC. Fix special cases description.
4782 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4783
4784 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4785 DP_HI_MASK entry.
4786 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4787
691bc9c1
L
47882012-09-07 H.J. Lu <hongjiu.lu@intel.com>
4789
3d9b46b3
L
4790 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4791
de2139a9
L
4792 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4793 is NULL.
4794
5ca78dd0
L
4795 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4796 (LDLIBS-tst-chk4): This.
4797 (LDFLAGS-tst-chk5): Renamed to ...
4798 (LDLIBS-tst-chk5): This.
4799 (LDFLAGS-tst-chk6): Renamed to ...
4800 (LDLIBS-tst-chk6): This.
4801 (LDFLAGS-tst-lfschk4): Renamed to ...
4802 (LDLIBS-tst-lfschk4): This.
4803 (LDFLAGS-tst-lfschk5): Renamed to ...
4804 (LDLIBS-tst-lfschk5): This.
4805 (LDFLAGS-tst-lfschk6): Renamed to ...
4806 (LDLIBS-tst-lfschk6): This.
4807
691bc9c1
L
4808 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4809 on $(common-objpfx)soversions.mk.
4810
65cafb1c
JM
48112012-09-07 Joseph Myers <joseph@codesourcery.com>
4812
4813 [BZ #10014]
4814 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4815 example host name.
4816
c78ab094
SP
48172012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4818
4819 * malloc/arena.c (arena_get_retry): New function that gets
4820 another arena for the caller to try its request on.
4821 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4822 current arena cannot fulfill the request.
4823 (__libc_memalign): Likewise.
4824 (__libc_memalign): Likewise.
4825 (__libc_pvalloc): Likewise.
4826 (__libc_calloc): Likewise.
4827
01f49f59
JT
48282012-09-05 John Tobey <john.tobey@gmail.com>
4829
4830 [BZ #13542]
4831 * manual/arith.texi (Operations on Complex): Fix description
4832 of carg branch cut.
4833
4c23fed5
JM
48342012-09-06 Joseph Myers <joseph@codesourcery.com>
4835
1d3c8572
JM
4836 [BZ #10014]
4837 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4838 host name.
4839
4c23fed5
JM
4840 [BZ #10038]
4841 * manual/memory.texi (Memory): Make order of menu items match
4842 order of sections.
4843
04570aaa
L
48442012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4845
4846 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4847 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
4848 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4849
b80af2f4
L
48502012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4851
4852 * csu/libc-tls.c (static_dtv): Renamed to ...
4853 (_dl_static_dtv): This. Make it global.
4854 (_dl_initial_dtv): Removed.
4855 (__libc_setup_tls): Updated.
4856 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4857 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4858 DL_INITIAL_DTV.
4859
2abe9f15
PM
48602012-09-06 Petr Machata <pmachata@redhat.com>
4861
4862 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4863 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4864 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4865 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4866
0948c3af
L
48672012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4868
4869 [BZ #14545]
4870 * csu/libc-tls.c (_dl_initial_dtv): New variable.
4871 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4872 freeing dtv[-1].
4873
a5055ad1
L
48742012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4875
4876 [BZ #14544]
4877 * Makeconfig (link-static-before-libc): Replace $(+prector)
4878 with $(+prectorT).
4879 (link-static-after-libc): Replace $(+postctor) with
4880 $(+postctorT).
4881 (link-bounded): Replace $(+prector)/$(+postctor) with
4882 $(+prectorT)/$(+postctorT).
4883 (+prectorT): New macro.
4884 (+postctorT): Likewise.
4885
ed8c2ecd
JM
48862012-09-06 Joseph Myers <joseph@codesourcery.com>
4887
4888 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4889 (round_str): Handle values above the maximum for IBM long double
4890 as inexact.
4891 * stdlib/tst-strtod-round.c (tests): Regenerated.
4892
14c996c8
AK
48932012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4894
4895 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4896 assembler flag.
4897 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4898 zarch_nohighgprs around the zarch optimized routines.
4899 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4900 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4901 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4902 for zarch.
4903
430d6ce6
DM
49042012-09-05 David S. Miller <davem@davemloft.net>
4905
4906 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4907
ff04dda4
DM
4908 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4909 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4910 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4911 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4912 entries.
4913
24d4e01b
AO
49142012-09-05 Alexandre Oliva <aoliva@redhat.com>
4915
4916 * malloc/arena.c: Fold copyright years.
4917 * malloc/mcheck.c, malloc/memusage.c: Likewise.
4918
61d58174
AO
49192012-09-05 Alexandre Oliva <aoliva@redhat.com>
4920
4921 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4922
20196a5e
AO
49232012-09-05 Alexandre Oliva <aoliva@redhat.com>
4924
4925 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
4926
5c447383
AO
49272012-09-05 Alexandre Oliva <aoliva@redhat.com>
4928
4929 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4930 change internal state upon failure.
4931
fad64255
AO
49322012-09-05 Alexandre Oliva <aoliva@redhat.com>
4933
4934 * malloc/mcheck.c (mcheck_check_all): Fix typo.
4935 * malloc/memusage.c (mmap): Likewise.
4936 (mmap64, mremap): Likewise. Adjust name in comment.
4937
1ffb8c90
SP
49382012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4939
4940 * libio/fileops.c: Fix typos in comments.
4941 * libio/oldfileops.c: Likewise.
4942 * libio/wfileops.c: Likewise.
4943
6ef9cc37
SP
49442012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4945
4946 [BZ #1349]
4947 * malloc/Makefile (tests): Add tst-malloc-usable test case.
4948 (tst-malloc-usable-ENV): Set environment for test case.
4949 * malloc/hooks.c (malloc_check_get_size): New function to get
4950 requested size.
4951 * malloc/malloc.c (musable): Use malloc_check_get_size.
4952 * malloc/tst-malloc-usable.c: New test case.
4953
4d038ae3
AS
49542012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4955
4956 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4957
c4e85184
AM
49582012-09-05 Allan McRae <allan@archlinux.org>
4959
b9dafc56 4960 [BZ #13966]
c4e85184
AM
4961 * configure.in (CXX_SYSINCLUDES): Use compiler output to
4962 determine header location.
4963 * configure: Regenerated.
4964
e1343020
AS
49652012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4966
4967 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4968 float format.
4969 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
4970 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4971 format.
e1343020
AS
4972 (test): Regenerate.
4973
0a9f1987
DM
49742012-09-04 David S. Miller <davem@davemloft.net>
4975
4976 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4977 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4978 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4979
29237804
FW
49802012-09-04 Florian Weimer <fweimer@redhat.com>
4981
4982 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4983 failures.
4984
edb3cb88
FW
4985 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4986
60160d83
JM
49872012-09-04 Joseph Myers <joseph@codesourcery.com>
4988
4989 [BZ #9914]
4990 * libio/iogetdelim.c: Include <limits.h>.
4991 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4992 + len + 1 would overflow.
4993
bcd6c8dc
AJ
49942012-09-03 Andreas Jaeger <aj@suse.de>
4995
4996 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4997 * sysdeps/i386/fpu/libm-test-ulps: Update.
4998
4ffffbd2
LD
49992012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5000
5001 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5002 Add s_sinf-sse2, s_conf-sse2.
5003
5004 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
5005 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
5006 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
5007 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
5008
5009 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
5010 for using routine as __sinf_ia32.
5011 Use macro for function declaration and weak_alias.
5012 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
5013 for using routine as __cosf_ia32.
5014 Use macro for function declaration and weak_alias.
5015
5016 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
5017 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
5018
5019 * sysdeps/x86_64/fpu/s_sinf.S: New file.
5020 * sysdeps/x86_64/fpu/s_cosf.S: New file.
5021 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5022
5023 * math/libm-test.inc (cos_test): Add more test cases.
5024 (sin_test): Likewise.
5025 (sincos_test): Likewise.
5026
511fa286
AK
50272012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5028
5029 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5030 (IFUNC_RESOLVE): Make pointers to the specialized implementations
5031 hidden.
5032 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5033
5f30cfec
L
50342012-09-02 H.J. Lu <hongjiu.lu@intel.com>
5035
5036 [BZ #14538]
5037 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
5038 first element of the GOT.
5039 (elf_machine_load_address): Return the difference between
5040 the runtime address of _DYNAMIC and elf_machine_dynamic ().
5041
0786794f
AM
50422012-09-01 Allan McRae <allan@archlinux.org>
5043
5f30cfec
L
5044 [BZ #13412]
5045 * configure.in (AWK): Require gawk version 3.0 or later.
5046 * configure: Regenerated.
0786794f 5047
26889eac
JM
50482012-09-01 Joseph Myers <joseph@codesourcery.com>
5049
5050 * sysdeps/unix/sysv/linux/kernel-features.h
5051 (__ASSUME_POSIX_CPU_TIMERS): Remove.
5052 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5053 [__NR_clock_getres]: Make code unconditional.
5054 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
5055 (clock_getcpuclockid): Remove code left unreachable by removal of
5056 conditionals.
5057 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
5058 code unconditional.
5059 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5060 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5061 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
5062 Make code unconditional.
5063 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5064 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5065 * sysdeps/unix/sysv/linux/clock_settime.c
5066 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
5067 conditional code.
5068 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
5069 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5070
d22e28b0
L
50712012-08-29 H.J. Lu <hongjiu.lu@intel.com>
5072
5073 [BZ #14476]
5074 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
5075 scripts/test-installation.pl.
5076
5077 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
5078 and $ld_so_version if it is set.
5079
050af9c4
SP
50802012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5081
5082 [BZ #14516]
5083 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
5084 failure if reading from procfs failed.
5085 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
5086
ad845c0b
JM
50872012-08-27 Joseph Myers <joseph@codesourcery.com>
5088
5089 * sysdeps/unix/sysv/linux/kernel-features.h
5090 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
5091 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5092 Remove conditional code.
5093 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5094 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
5095 Remove conditional code.
5096 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5097 * sysdeps/unix/sysv/linux/i386/fxstat.c
5098 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5099 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5100 * sysdeps/unix/sysv/linux/i386/fxstatat.c
5101 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5102 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5103 * sysdeps/unix/sysv/linux/i386/lxstat.c
5104 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5105 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5106 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
5107 Remove conditional code.
5108 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5109 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5110 Remove conditional code.
5111 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5112 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
5113 <kernel-features.h>.
5114 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
5115 Remove.
5116 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
5117 Remove conditional code.
5118 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5119 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
5120 Remove conditional.
5121
5dbf56af
MF
51222012-08-27 Mike Frysinger <vapier@gentoo.org>
5123
5124 [BZ #5400]
5125 * NEWS: Add fixed bug number.
5126
d6e70f43
JM
51272012-08-27 Joseph Myers <joseph@codesourcery.com>
5128
7efb4737
JM
5129 [BZ #14519]
5130 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
5131 underflowing exponent in case of negative sign.
5132 * stdlib/tst-strtod-round-data: Add more tests.
5133 * stdlib/tst-strtod-round.c (tests): Regenerated.
5134
af92131a
JM
5135 [BZ #3479]
5136 * stdlib/strtod_l.c (NDIG): Remove.
5137 (HEXNDIG): Likewise.
5138 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
5139 smallest representable value.
5140 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
5141 lie within an exact representation of 1/2 ulp of the result.
5142 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
5143 unconditionally.
5144 (TENS_P9_IDX): Define unconditionally.
5145 (TENS_P9_SIZE): Likewise.
5146 (TENS_P10_IDX): Likewise.
5147 (TENS_P10_SIZE): Likewise.
5148 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
5149 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
5150 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
5151 entries for 10^2^13 and 10^2^14.
5152 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
5153 (TENS_P13_IDX): Define.
5154 (TENS_P13_SIZE): Likewise.
5155 (TENS_P14_IDX): Likewise.
5156 (TENS_P14_SIZE): Likewise.
5157 (_fpioconst_pow10): Change array size to
5158 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
5159 unconditional.
5160 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
5161 1024]: Add entries for 10^2^13 and 10^2^14.
5162 [LAST_POW10 > _LAST_POW10]: Remove #error.
5163 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
5164 (_fpioconst_pow10): Change array size to
5165 FPIOCONST_POW10_ARRAY_SIZE.
5166 * stdlib/gen-fpioconst.c: New file.
5167 * stdlib/gen-tst-strtod-round.c: Likewise.
5168 * stdlib/tst-strtod-round-data: Likewise.
5169 * stdlib/tst-strtod-round.c: Likewise.
5170 * stdlib/Makefile (tests): Add tst-strtod-round.
5171
d6e70f43
JM
5172 [BZ #14459]
5173 * stdlib/strtod_l.c: Include <stdint.h>.
5174 (NDEBUG): Do not define.
5175 (round_and_return): Change EXPONENT parameter to type intmax_t.
5176 Rearrange calculations to avoid internal overflow possibilities.
5177 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
5178 Rearrange calculations to avoid internal overflow possibilities.
5179 Assert that number fits inside MPNSIZE limbs.
5180 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
5181 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
5182 calculations and add assertions to avoid internal overflow
5183 possibilities. Add casts to avoid signed/unsigned operations.
5184 * stdlib/tst-strtod-overflow.c: New file.
5185 * stdlib/Makefile (tests): Add tst-strtod-overflow.
5186
1f529f7d
MP
51872012-08-25 Marek Polacek <polacek@redhat.com>
5188
5189 * time/time.h: Fix some typos in comments.
5190
59a629f1
RM
51912012-08-23 Roland McGrath <roland@hack.frob.com>
5192
5193 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
5194 * posix/tst-rfc3484-2.c: Likewise.
5195 * posix/tst-rfc3484-3.c: Likewise.
5196
d3bafbc9
SM
51972012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
5198
5199 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
5200 (EF_ARM_ABI_FLOAT_HARD): Likewise.
5201
4efcc022
JM
52022012-08-23 Joseph Myers <joseph@codesourcery.com>
5203
5204 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
5205 #include of fxstatat64.c.
5206
3cc3ef96
RM
52072012-08-22 Roland McGrath <roland@hack.frob.com>
5208
f04e2132
RM
5209 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
5210 * shadow/getspent_r.c: Likewise.
5211 * shadow/getspnam.c: Likewise.
5212 * shadow/getspnam_r.c: Likewise.
5213 * gshadow/getsgent.c: Likewise.
5214 * gshadow/getsgent_r.c: Likewise.
5215 * gshadow/getsgnam.c: Likewise.
5216 * gshadow/getsgnam_r.c: Likewise.
5217 * inet/getnetbyad.c: Likewise.
5218 * inet/getnetbyad_r.c: Likewise.
5219 * inet/getnetbynm.c: Likewise.
5220 * inet/getnetbynm_r.c: Likewise.
5221 * inet/getnetent.c: Likewise.
5222 * inet/getnetent_r.c: Likewise.
5223 * inet/getproto.c: Likewise.
5224 * inet/getproto_r.c: Likewise.
5225 * inet/getprtent.c: Likewise.
5226 * inet/getprtent_r.c: Likewise.
5227 * inet/getprtname.c: Likewise.
5228 * inet/getprtname_r.c: Likewise.
5229 * inet/getrpcbyname.c: Likewise.
5230 * inet/getrpcbyname_r.c: Likewise.
5231 * inet/getrpcbynumber.c: Likewise.
5232 * inet/getrpcbynumber_r.c: Likewise.
5233 * inet/getrpcent.c: Likewise.
5234 * inet/getrpcent_r.c: Likewise.
5235 * inet/getaliasent.c: Likewise.
5236 * inet/getaliasent_r.c: Likewise.
5237 * inet/getaliasname.c: Likewise.
5238 * inet/getaliasname_r.c: Likewise.
5239 * nscd/getgrgid_r.c: Likewise.
5240 * nscd/getgrnam_r.c: Likewise.
5241 * nscd/gethstbyad_r.c: Likewise.
5242 * nscd/gethstbynm3_r.c: Likewise.
5243 * nscd/getpwnam_r.c: Likewise.
5244 * nscd/getpwuid_r.c: Likewise.
5245 * nscd/getsrvbynm_r.c: Likewise.
5246 * nscd/getsrvbypt_r.c: Likewise.
5247 * nscd/gai.c: Likewise.
5248
c53d909c
RM
5249 * configure.in (build_nscd): New substituted variable, set
5250 by --disable-build-nscd and defaults to $use_nscd.
5251 * configure: Regenerated.
5252 * config.make.in (build-nscd): New substituted variable.
5253 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
5254 Change conditional to require [$(build-nscd) = yes] as well.
5255 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
5256
3cc3ef96
RM
5257 [BZ# 13696]
5258 * configure.in (use_nscd): New substituted variable, set by
5259 --disable-nscd. If enabled, define USE_NSCD.
5260 * configure: Regenerated.
5261 * config.h.in: Add USE_NSCD.
5262 * config.make.in (use-nscd): New substituted variable.
5263 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
5264 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
5265 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
5266 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
5267 (CFLAGS-getgrnam_r.c): Likewise.
5268 (CFLAGS-initgroups.c): Likewise.
5269 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
5270 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
5271 Variables removed.
5272 * inet/getnetgrent_r.c
5273 (nscd_setnetgrent): New function, broken out of ...
5274 (setnetgrent): ... here. Call it.
5275 (innetgr): Conditionalize nscd bits on [USE_NSCD].
5276 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
5277 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
5278 * nscd/Makefile (routines, aux): Move definitions after include of
5279 Makeconfig. Conditionalize on [$(use-nscd) != no].
5280 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
5281 Conditionalize on [USE_NSCD].
5282 (is_nscd, nscd_init_cb): Likewise.
5283 (nss_load_library): Conditionalize init callback on [USE_NSCD].
5284 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
5285 * nss/nss_db/db-init.c: Likewise.
5286 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
5287 [USE_NSCD].
5288 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
5289 (make_request): Use it.
5290 (cache_valid_p): New function.
5291 (__check_pf): Use it.
5292 * NEWS: Add item for --disable-nscd.
5293
07e51550
DL
52942012-08-22 Dmitry V. Levin <ldv@altlinux.org>
5295
5296 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
5297 to support sed >= 4.2.1-20-ga9bf076.
5298 * configure: Regenerated.
5299
35a5b08b
RM
53002012-08-22 Roland McGrath <roland@hack.frob.com>
5301
5302 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
5303 Conditionalize whole body on [IREL].
5304
8479f23a
JL
53052012-08-22 Jeff Law <law@redhat.com>
5306
5307 [BZ #14505]
5308 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
5309 if the family is PF_UNSPEC.
5310
48da0b21
MF
53112012-08-22 Mike Frysinger <vapier@gentoo.org>
5312
5313 * Makerules (lib-version): Rename from V.
5314 (install-lib-nosubdir): Change V to lib-version.
5315
15d0da8c
WS
53162012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
5317
5318 [BZ #14252]
5319 * powerpc32/power6/wcschr.c: New file.
5320 * powerpc32/power6/wcscpy.c: New file.
5321 * powerpc32/power6/wcsrchr.c: New file.
5322 * powerpc64/power6/wcschr.c: New file.
5323 * powerpc64/power6/wcscpy.c: New file.
5324 * powerpc64/power6/wcsrchr.c: New file.
5325
bcca0895
MK
53262012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5327
5328 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
5329 (two_way_short_needle): Use it.
5a4aaa33
RM
5330 * string/strstr.c (AVAILABLE1_USES_J): Define.
5331 * string/strcasestr.c: Likewise.
99677e57
MK
5332
5333 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
5334 array references.
5335 * string/strcasestr.c (TOLOWER): Make side-effect safe.
5336
400726de
MK
5337 [BZ #11607]
5338 * NEWS: Add an entry.
5339 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
5340 define their defaults.
5341 (two_way_short_needle): Detect end-of-string on-the-fly.
5342 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
5343 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
5344 * string/bug-strcasestr1.c: New test.
5345 * string/Makefile: Run it.
5346
20a71f2c
MK
53472012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5348
5349 [BZ #11607]
5350 * string/str-two-way.h (two_way_short_needle): Optimize matching of
5351 the first character.
5352
21ad0558
RM
53532012-08-21 Roland McGrath <roland@hack.frob.com>
5354
5355 * csu/elf-init.c (__libc_csu_irel): Function removed.
5356 * csu/libc-start.c (apply_irel): New function.
5357 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
5358
0e1d9911
JM
53592012-08-21 Joseph Myers <joseph@codesourcery.com>
5360
5361 * sysdeps/unix/sysv/linux/kernel-features.h
5362 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
5363 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5364 <kernel-features.h>.
5365 [__NR_fadvise64_64]: Make code unconditional.
5366 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
5367 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5368 !__NR_fadvise64_64)]: Likewise.
5369 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5370 !__NR_fadvise64_64))]: Likewise.
5371 [__NR_fadvise64]: Make code unconditional.
5372 [!__NR_fadvise64]: Remove conditional code.
5373 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
5374 <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 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
5380 not include <kernel-features.h>.
5381 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5382 unconditional.
5383 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5384 conditional code.
5385 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
5386 include <kernel-features.h>.
5387 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5388 unconditional.
5389 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5390 conditional code.
5391
14a50c9d
WS
53922012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5393
5394 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
5395 slight instruction rearrangements per scrollpipe analysis.
5396 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5397
c0f4faf0
RM
53982012-08-20 Roland McGrath <roland@hack.frob.com>
5399
696da859
RM
5400 * manual/syslog.texi (syslog; vsyslog, closelog):
5401 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
5402 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
5403
c0f4faf0
RM
5404 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
5405 DSOCAPS to match condition on defining it.
5406
348363b2
JM
54072012-08-20 Joseph Myers <joseph@codesourcery.com>
5408
a35cbf28
JM
5409 * sysdeps/unix/sysv/linux/kernel-features.h
5410 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
5411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
5412 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5413 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
5415 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5416 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
5418 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5419 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5420
445f7ecd
JM
5421 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
5422 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
5423
348363b2
JM
5424 * sysdeps/unix/sysv/linux/kernel-features.h
5425 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5426 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
5427 unconditional.
5428 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5429 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
5430 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5431 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5432 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
5433 Make code unconditional.
5434 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5435 (__mmap64) [!__NR_mmap2]: Likewise.
5436 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
5437 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5438 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5439 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
5440 [__NR_mmap2]: Make code unconditional.
5441 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5442 (__mmap64) [!__NR_mmap2]: Likewise.
5443
bc5bc0e5
AK
54442012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5445
5446 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
5447
88d506de
AJ
54482012-08-18 Andreas Jaeger <aj@suse.de>
5449
5450 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
5451
493387d2
MF
54522012-08-18 Mike Frysinger <vapier@gentoo.org>
5453
5454 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
5455 * include/unistd.h (__have_sock_cloexec): Likewise.
5456 (__have_pipe2): Likewise.
5457 (__have_dup3): Likewise.
5458
a277af22
MF
54592012-08-18 Mike Frysinger <vapier@gentoo.org>
5460
5461 [BZ #9685]
5462 * include/unistd.h (__have_pipe2): Change define into an extern int.
5463 (__have_dup3): Likewise.
5464 * socket/have_sock_cloexec.c: Include fcntl.h.
5465 (__have_pipe2): New variable.
5466 (__have_dup3): Likewise.
5467
fdab8fd3
MF
54682012-08-17 Mike Frysinger <vapier@gentoo.org>
5469
5470 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5471
31035e80
MP
54722012-08-17 Marek Polacek <polacek@redhat.com>
5473
5474 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
5475 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
5476
3bd9e993
RM
54772012-08-17 Roland McGrath <roland@hack.frob.com>
5478
c91c505f
RM
5479 * configure.in: Add AC_SUBST for sysheaders.
5480 * configure: Regenerated.
5481 * config.make.in (sysheaders): New substituted variable.
5482
7c6f9d53
RM
5483 * sysdeps/unix/mkfifo.c: Moved ...
5484 * sysdeps/posix/mkfifo.c: ... here.
5485 * sysdeps/unix/mkfifoat.c: Moved ...
5486 * sysdeps/posix/mkfifoat.c: ... here.
5487
5488 * sysdeps/unix/utime.c: Moved ...
5489 * sysdeps/posix/utime.c: ... here.
5490
5491 * sysdeps/unix/time.c: Moved ...
5492 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
5493 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
5494 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
5495
5496 * sysdeps/unix/nice.c: Moved ...
5497 * sysdeps/posix/nice.c: ... here.
5498
5499 * sysdeps/unix/alarm.c: Moved ...
5500 * sysdeps/posix/alarm.c: ... here.
5501
3bd9e993
RM
5502 * intl/Makefile ($(codeset_mo)): Depend on the input file.
5503
d1f09384
JL
55042012-08-17 Jeff Law <law@redhat.com>
5505
5506 * intl/Makefile (codeset_mo): New variable.
5507 ($(codeset_mo)): New target.
5508 (tst-codeset.out): Depend on that. Remove explicit rule.
5509 (tst-gettext3.out, tst-gettext5.out): Likewise.
5510 (LOCPATH-ENV, tst-codeset-ENV): New variables.
5511 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
5512 * intl/tst-codeset.sh: Remove.
5513 * intl/tst-gettext3.sh: Likewise.
5514 * intl/tst-gettext5.sh: Likewise.
5515
2ae1ae5c
RM
55162012-08-17 Roland McGrath <roland@hack.frob.com>
5517
c31fdb83
RM
5518 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
5519 * sysdeps/unix/syscalls.list: ... here.
5520
a0844057
RM
5521 * sysdeps/posix/getaddrinfo.c
5522 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
5523 (gaiconf_init, gaiconf_reload): Use them.
5524 [!_STATBUF_ST_NSEC]
5525 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
5526 Define using time_t rather than struct timespec.
5527
750c1f2a
RM
5528 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
5529 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
5530 Macros removed.
5531 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
5532 [!NO_THREADS].
5533 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
5534 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
5535 Likewise.
5536
2ae1ae5c
RM
5537 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
5538 __libc_cleanup_push argument.
5539
e66a42f5
RM
5540 * bits/param.h: New file.
5541 * misc/sys/param.h: New file.
5542 * include/sys/param.h: New file.
5543 * misc/Makefile (headers): Add bits/param.h.
5544 * sysdeps/generic/sys/param.h: File removed.
5545 * sysdeps/unix/sysv/linux/bits/param.h: New file.
5546 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
5547 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 5548 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 5549
b7c08a66
RM
5550 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
5551 last change.
5552
b2e1c562
RM
5553 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
5554 [_IO_MTSAFE_IO].
5555 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
5556 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
5557 New macros.
5558
c75ccd4c
RM
5559 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
5560 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
5561 rather than -D_IO_MTSAFE_IO conditionally.
5562 * stdio-common/Makefile (CPPFLAGS): Likewise.
5563 * wcsmbs/Makefile (CPPFLAGS): Likewise.
5564 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
5565 Use $(libio-mtsafe).
5566 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
5567 of -D_IO_MTSAFE_IO.
5568 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
5569 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
5570 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
5571 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
5572 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
5573 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
5574 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
5575 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
5576 (CFLAGS-fread_u_chk.c): Likewise.
5577 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
5578 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
5579 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
5580 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
5581 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
5582 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
5583 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
5584 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
5585 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
5586
5587 * libio/Makefile: Test [$(libc-reentrant) = yes]
5588 instead of [$(filter %REENTRANT, $(defines)) nonempty].
5589
5590 * Makeconfig
5591 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
5592 * sysdeps/pthread/configure: File removed.
5593 * sysdeps/pthread/Makeconfig: New file.
5594 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
5595 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
5596
d9195db8
GB
55972012-08-16 Gary Benson <gbenson@redhat.com>
5598
5599 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
5600 unmapping the first object in a namespace.
5601
86466cd9
RM
56022012-08-16 Roland McGrath <roland@hack.frob.com>
5603
5604 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
5605 (__internal_setnetgrent): ... this. Add internal_function to
5606 definition. Add libc_hidden_def.
5607 (setnetgrent): Update caller.
5608 (internal_endnetgrent): Renamed to ...
5609 (__internal_endnetgrent): ... this. Add internal_function to
5610 definition. Add libc_hidden_def.
5611 (endnetgrent): Update caller.
5612 (internal_getnetgrent_r): Renamed to ...
5613 (__internal_getnetgrent_r): ... this. Add internal_function to
5614 definition. Add libc_hidden_def.
5615 (__getnetgrent_r): Update caller.
5616 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
5617
c3c8283c
JM
56182012-08-16 Joseph Myers <joseph@codesourcery.com>
5619
5620 * stdlib/longlong.h: Update from GCC.
5621
db1ee0a8
RM
56222012-08-16 Roland McGrath <roland@hack.frob.com>
5623
5624 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
5625 on _QL, which is set by umul_ppmm but never used.
5626 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
5627 variables, which are set by GMP macros but never used.
5628 * stdio-common/_itowa.c (_itowa): Likewise.
5629 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
5630 * stdlib/mod_1.c (mpn_mod_1): Likewise.
5631
30f69637
CD
56322012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
5633
5634 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
5635 struct La_sh_regs is not constant.
5636 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
5637 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
5638 and struct La_sparc64_regs are not constant.
5639
93a78ac4
JM
56402012-08-16 Joseph Myers <joseph@codesourcery.com>
5641
5642 * sysdeps/unix/sysv/linux/kernel-features.h
5643 (__ASSUME_POSIX_TIMERS): Remove.
5644 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5645 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5646 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
5647 Make code unconditional.
5648 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5649 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
5650 Make code unconditional.
5651 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5652 * sysdeps/unix/sysv/linux/clock_nanosleep.c
5653 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5654 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5655 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5656 Make code unconditional.
5657 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5658 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5659 (__libc_missing_posix_timers): Remove.
5660
dd924cd7
RM
56612012-08-15 Roland McGrath <roland@hack.frob.com>
5662
4b4f2771
RM
5663 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5664 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5665
601c888b
RM
5666 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5667
176790a7
RM
5668 * elf/dl-sym.c: Include <stdlib.h>.
5669
329bc018
RM
5670 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5671 constants, which avoids warnings in 32-bit builds.
5672
e04e272d
RM
5673 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
5674 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
5675
952bf94a
RM
5676 * misc/lseek.c: File moved to ...
5677 * io/lseek.c: ... here.
5678
7c99b50a
RM
5679 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
5680
dd924cd7
RM
5681 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
5682 shifting LEN more than 31 bits at once.
5683
b3f479a8
LD
56842012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5685
5686 [BZ #14195]
8c4ae0d4
RM
5687 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5688 segmentation fault for a case of two empty input strings.
b3f479a8
LD
5689 * string/test-strncasecmp.c (check1): Renamed to...
5690 (bz12205): ...this.
5691 (bz14195): Add new testcase for two empty input strings and N > 0.
5692 (test_main): Call new testcase, adapt for renamed function.
5693
9c55864e
AJ
56942012-08-15 Andreas Jaeger <aj@suse.de>
5695
5696 [BZ #14090]
5697 * crypt/md5test2.c: New test, based on test supplied by Serge
5698 Belyshev <belyshev@depni.sinp.msu.ru>.
5699 * crypt/Makefile (xtests): Add md5test-giant..
5700 * crypt/Makefile ($(objpfx)md5test-giant): Add.
5701
02dcb6c5
PE
57022012-08-15 Paul Eggert <eggert@cs.ucla.edu>
5703
5704 [BZ #14090]
5705 * crypt/md5.c (md5_process_block): Don't assume the buffer
5706 length is less than 2**32.
5707 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5708 length is less than 2**64.
5709
a3f95dcc
RM
57102012-08-15 Roland McGrath <roland@hack.frob.com>
5711
be75d758
RM
5712 * string/str-two-way.h: Include <sys/param.h>.
5713 (MAX): Macro removed.
5714
7312ca90
RM
5715 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5716 Move #define and #undef of memmove to just before and after
5717 including <string.h>.
5718
9a0a5486
RM
5719 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5720 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5721 and after including <string.h>. Move declarations of
5722 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5723 to before #include "string/memmove.c".
5724
67cc348d
RM
5725 * include/dirent.h: Declare __getdirentries.
5726
a3f95dcc
RM
5727 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5728 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5729
ca98e171
MF
57302012-08-14 Mike Frysinger <vapier@gentoo.org>
5731
5732 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5733 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5734 * sysdeps/i386/configure: Regenerated.
5735 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5736 STABS_CURRENT_FILE, and STABS_FUN.
5737 (END): Remove call to STABS_FUN_END.
5738 (STABS_CURRENT_FILE1): Delete.
5739 (STABS_CURRENT_FILE): Likewise.
5740 (STABS_FUN): Likewise.
5741 (STABS_FUN_END): Likewise.
5742 (STABS_FUN2): Likewise.
5743 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5744 * sysdeps/x86_64/configure: Regenerated.
5745
5908bf46
RM
57462012-08-14 Roland McGrath <roland@hack.frob.com>
5747
5748 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 5749 * elf/dl-lookup.c: Likewise.
5908bf46 5750
f2c05b9e
JM
57512012-08-14 Joseph Myers <joseph@codesourcery.com>
5752
5753 * sysdeps/unix/sysv/linux/kernel-features.h
5754 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5755 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5756 unconditionally.
5757 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5758 unconditionally.
5759 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5760 condition on __ASSUME_CLONE_THREAD_FLAGS.
5761
e11f5155
AJ
57622012-08-14 Andreas Jaeger <aj@suse.de>
5763
5764 * sysdeps/i386/fpu/libm-test-ulps: Update.
5765
51a9ba86
MK
57662012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
5767
2fdd4f78
AJ
5768 * include/atomic.h (atomic_exchange_and_add): Split into ...
5769 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5770 New atomic macros.
51a9ba86 5771
ba6cba9e
MT
57722012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
5773
5774 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5775
42443a47
JL
57762012-08-13 Jeff Law <law@redhat.com>
5777
5778 * manual/stdio.texi (snprintf): Clarify handling of the trailing
5779 null byte in the output string.
5780
121dce05
JM
57812012-08-10 Joseph Myers <joseph@codesourcery.com>
5782
5783 * sysdeps/unix/sysv/linux/kernel-features.h
5784 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5785 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5786 (__ASSUME_ARG_MAX_STACK_BASED): Define.
5787 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5788 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5789 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
5790 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5791
bf51f568
JL
57922012-08-09 Jeff Law <law@redhat.com>
5793
5794 [BZ #13939]
5795 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5796 When avoid_arena is set, don't retry in the that arena. Pick the
5797 next one, whatever it might be.
5798 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5799 (arena_lock): Pass in new parameter to arena_get2.
5800 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5801 arena_get2.
5802 (__libc_malloc): Unify retrying after main arena failure with
5803 __libc_memalign version.
5804 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5805
f85fa270
L
58062012-08-09 H.J. Lu <hongjiu.lu@intel.com>
5807
5808 [BZ #14166]
5809 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5810 to __redirect_strstr.
5811 (__strstr_sse42): Use typeof __redirect_strstr.
5812 (__strstr_ia32): Likewise.
5813 (__libc_strstr): New prototype.
5814 (strstr): Renamed to ...
5815 (__libc_strstr): This.
5816 (strstr): New strong alias of __libc_strstr.
5817 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5818 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5819 __redirect_time.
5820 Include <time.h>.
5821 (__libc_time): New prototype.
5822 (time_ifunc): Replace time with __libc_time.
5823 (time): New strong alias and hidden definition of __libc_time.
5824 (__GI_time): Remove strong alias.
5825 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5826 Include <stddef.h>.
5827 (memmove): Redefined to __redirect_memmove.
5828 (__memmove_sse2): Use typeof __redirect_memmove.
5829 (__memmove_ssse3): Likewise.
5830 (__memmove_ssse3_back): Likewise.
5831 (__libc_memmove): New prototype.
5832 (memmove): Renamed to ...
5833 (__libc_memmove): This.
5834 (memmove): New strong alias of __libc_memmove.
5835
33b4a91e
MS
58362012-08-08 Mark Salter <msalter@redhat.com>
5837
5838 * elf/elf.h
5839 (R_MN10300_TLS_GD): Define.
5840 (R_MN10300_TLS_LD): Likewise.
5841 (R_MN10300_TLS_LDO): Likewise.
5842 (R_MN10300_TLS_GOTIE): Likewise.
5843 (R_MN10300_TLS_IE): Likewise.
5844 (R_MN10300_TLS_LE): Likewise.
5845 (R_MN10300_TLS_DTPMOD): Likewise.
5846 (R_MN10300_TLS_DTPOFF): Likewise.
5847 (R_MN10300_TLS_TPOFF): Likewise.
5848 (R_MN10300_SYM_DIFF): Likewise.
5849 (R_MN10300_ALIGN): Likewise.
5850 (R_MN10300_NUM): Update.
5851
b36137f1
JM
58522012-08-08 Joseph Myers <joseph@codesourcery.com>
5853
5854 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5855 Remove.
5856
cdd915fd
RM
58572012-08-08 Roland McGrath <roland@hack.frob.com>
5858
a2433aac
RM
5859 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5860
cdd915fd
RM
5861 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5862 sysdeps/unix -> sysdeps/posix move.
5863 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5864
bf9b740a
AM
58652012-08-07 Allan McRae <allan@archlinux.org>
5866
5867 [BZ #14303]
5868 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5869 (SUNOS_CPP): Likewise.
5870 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5871 not found.
5872 (open_input): Call CPP using execvp.
5873
93df14ee
JM
58742012-08-07 Joseph Myers <joseph@codesourcery.com>
5875
5876 * sysdeps/unix/sysv/linux/kernel-features.h
5877 (__ASSUME_PROT_GROWSUPDOWN): Remove.
5878 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5879 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5880 (__ASSUME_WAITID_SYSCALL): Likewise.
5881 * sysdeps/unix/sysv/linux/dl-execstack.c
5882 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5883 code unconditional.
5884 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5885 conditional code.
5886 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5887 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5888 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5889 code.
5890 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5891 unconditional.
5892 [__ASSUME_WAITID_SYSCALL]: Likewise.
5893 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5894
d34689de
RM
58952012-08-07 Roland McGrath <roland@hack.frob.com>
5896
a281decc
RM
5897 * sysdeps/unix/closedir.c: Renamed to ...
5898 * sysdeps/posix/closedir.c: ... here.
5899 * sysdeps/unix/dirfd.c: Renamed to ...
5900 * sysdeps/posix/dirfd.c: ... here.
5901 * sysdeps/unix/dirstream.h: Renamed to ...
5902 * sysdeps/posix/dirstream.h: ... here.
5903 * sysdeps/unix/fdopendir.c: Renamed to ...
5904 * sysdeps/posix/fdopendir.c: ... here.
5905 * sysdeps/unix/opendir.c: Renamed to ...
5906 * sysdeps/posix/opendir.c: ... here.
5907 * sysdeps/unix/readdir.c: Renamed to ...
5908 * sysdeps/posix/readdir.c: ... here.
5909 * sysdeps/unix/readdir_r.c: Renamed to ...
5910 * sysdeps/posix/readdir_r.c: ... here.
5911 * sysdeps/unix/rewinddir.c: Renamed to ...
5912 * sysdeps/posix/rewinddir.c: ... here.
5913 * sysdeps/unix/seekdir.c: Renamed to ...
5914 * sysdeps/posix/seekdir.c: ... here.
5915 * sysdeps/unix/telldir.c: Renamed to ...
5916 * sysdeps/posix/telldir.c: ... here.
5917 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5918 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5919 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5920 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5921
22895b47
RM
5922 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5923 * bits/fcntl.h: ... here.
5924
707a53b6
RM
5925 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5926 not 0.
5927 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5928 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5929 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5930 (struct flock): Move l_start, l_len to the beginning.
5931 Use __pid_t for l_pid.
5932 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5933 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5934 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5935 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5936 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5937 [__USE_LARGEFILE64] (struct flock64): New type.
5938 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5939
f0bd3e25
RM
5940 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5941 * bits/dirent.h: ... here.
5942
d34689de
RM
5943 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5944 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5945
6dad2c06
JM
59462012-08-07 Joseph Myers <joseph@codesourcery.com>
5947
5948 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5949 Change from 2.6.0 to 2.6.16.
5950 * sysdeps/unix/sysv/linux/configure: Regenerated.
5951 * sysdeps/unix/sysv/linux/kernel-features.h
5952 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5953 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5954 version.
5955 (__ASSUME_UTIMES): Likewise.
5956 (__ASSUME_CLONE_STOPPED): Remove.
5957 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5958 architectures, not kernel version.
5959 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5960 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5961 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5962 (__ASSUME_WAITID_SYSCALL): Likewise.
5963 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5964 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5965 * README: State 2.6.16 as minimum Linux kernel version. Do not
5966 refer to older versions.
5967
03af9520
RM
59682012-08-06 Roland McGrath <roland@hack.frob.com>
5969
8e49df1d
RM
5970 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5971 Define alphasort64 as an alias.
5972 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5973 Define versionsort64 as an alias.
5974 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5975 Define scandir64 as an alias.
5976 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5977 Define scandirat64 as an alias.
5978 * dirent/alphasort64.c (alphasort64):
5979 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5980 * dirent/versionsort64.c: Likewise.
5981 * dirent/scandir64.c: Likewise.
5982 * dirent/scandirat64.c: Likewise.
5983 * sysdeps/wordsize-64/alphasort.c: File removed.
5984 * sysdeps/wordsize-64/alphasort64.c: File removed.
5985 * sysdeps/wordsize-64/scandir.c: File removed.
5986 * sysdeps/wordsize-64/scandir64.c: File removed.
5987 * sysdeps/wordsize-64/scandirat.c: File removed.
5988 * sysdeps/wordsize-64/scandirat64.c: File removed.
5989 * sysdeps/wordsize-64/versionsort.c: File removed.
5990 * sysdeps/wordsize-64/versionsort64.c: File removed.
5991 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5992 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5993 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5994 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5995 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5996 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5997 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5998 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5999
6000 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
6001 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6002 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
6003 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6004 [defined __arch64__ || defined __sparcv9]
6005 (__INO_T_MATCHES_INO64_T): New macro.
6006 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6007 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
6008 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
6009 * sysdeps/unix/sysv/linux/bits/dirent.h
6010 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
6011 (_DIRENT_MATCHES_DIRENT64): New macro.
6012
03af9520
RM
6013 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
6014 Define lockf64 as an alias.
6015 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
6016 Define fseeko64 as an alias.
6017 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
6018 Define ftello64 as an alias.
6019 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
6020 Define _IO_fgetpos64 and fgetpos64 as aliases.
6021 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
6022 Define _IO_fsetpos64 and fsetpos64 as aliases.
6023 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
6024 Conditionalize body on this.
6025 * libio/fseeko64.c: Likewise.
6026 * libio/ftello64.c: Likewise.
6027 * libio/iofgetpos64.c: Likewise.
6028 * libio/iofsetpos64.c: Likewise.
6029 * sysdeps/wordsize-64/lockf.c: File removed.
6030 * sysdeps/wordsize-64/lockf64.c: File removed.
6031 * sysdeps/wordsize-64/fseeko.c: File removed.
6032 * sysdeps/wordsize-64/fseeko64.c: File removed.
6033 * sysdeps/wordsize-64/ftello.c: File removed.
6034 * sysdeps/wordsize-64/ftello64.c: File removed.
6035 * sysdeps/wordsize-64/iofgetpos.c: File removed.
6036 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
6037 * sysdeps/wordsize-64/iofsetpos.c: File removed.
6038 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
6039 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
6040 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
6041 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
6042 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
6043 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
6044 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
6045 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
6046 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
6047 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
6048 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
6049
6050 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6051 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6052 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
6053 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6054 [defined __arch64__ || defined __sparcv9]
6055 (__OFF_T_MATCHES_OFF64_T): New macro.
6056 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6057 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6058 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6059 (__OFF_T_MATCHES_OFF64_T): New macro.
6060
c5757acd
L
60612012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6062
6063 * stdlib/secure-getenv.c (__secure_getenv): Replace
6064 GLIBC_2_16 with GLIBC_2_17.
6065
3a31811e
L
60662012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6067
6068 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
6069 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6070
faa2bccb
DM
60712012-08-03 David S. Miller <davem@davemloft.net>
6072
6073 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6074
85fe1997
JM
60752012-08-03 Joseph Myers <joseph@codesourcery.com>
6076
6077 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
6078 Remove.
6079 (__ASSUME_CORRECT_SI_PID): Likewise.
6080 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
6081 (__ASSUME_TMPFS_NAME): Likewise.
6082 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
6083 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
6084 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
6085 (HAVE_AUX_SECURE): Make definition unconditional.
6086 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
6087 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
6088
4f75b7a0
RM
60892012-08-03 Roland McGrath <roland@hack.frob.com>
6090
6091 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
6092 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
6093 * sysdeps/mach/hurd/eloop-threshold.h: New file.
6094 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6095 __eloop_threshold instead of SYMLOOP_MAX.
6096
6097 * sysdeps/generic/eloop-threshold.h: New file.
6098 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
6099 of MAXSYMLINKS.
6100 * elf/chroot_canon.c (chroot_canon): Likewise.
6101
7aab07e4
JM
61022012-08-03 Joseph Myers <joseph@codesourcery.com>
6103
6104 [BZ #13717]
6105 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6106 Change to 2.6.0 everywhere.
6107 * sysdeps/unix/sysv/linux/configure: Regenerated.
6108 * sysdeps/unix/sysv/linux/kernel-features.h
6109 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
6110 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
6111 kernel versions.
6112 (__ASSUME_POSIX_TIMERS): Define unconditionally.
6113 (__ASSUME_FUTEX_REQUEUE): Remove.
6114 (__ASSUME_STATFS64): Define unconditionally.
6115 (__ASSUME_AT_SECURE): Likewise.
6116 (__ASSUME_CORRECT_SI_PID): Likewise.
6117 (__ASSUME_TGKILL): Define without depending on kernel version for
6118 i386.
6119 (__ASSUME_UTIMES): Likewise.
6120 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
6121 kernel version.
6122 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
6123 (__ASSUME_TMPFS_NAME): Likewise.
6124 * README: Update reference to Linux kernel versions.
6125
b67e9372
MP
61262012-08-02 Marek Polacek <polacek@redhat.com>
6127
1f529f7d 6128 [BZ# 14150]
b67e9372
MP
6129 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
6130 libc_cv_asm_type_prefix with %.
6131 * configure: Regenerated.
d2441631
RM
6132 * include/libc-symbols.h: Remove comment about
6133 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
6134 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
6135 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
6136 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
6137 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
6138 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6139 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
6140 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
6141 * elf/tst-unique2mod1.c: Likewise.
6142 * elf/tst-unique1mod2.c: Likewise.
6143 * elf/tst-unique1mod1.c: Likewise.
6144 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
6145 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
6146 Replace ASM_TYPE_DIRECTIVE with .type.
6147 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6148 * sysdeps/i386/sysdep.h: Likewise.
6149 * sysdeps/x86_64/sysdep.h: Likewise.
6150 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
6151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6152 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 6153 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
6154 * sysdeps/powerpc/powerpc32/sysdep.h:
6155 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
6156 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6157 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6158 * sysdeps/i386/fpu/e_powf.S: Likewise.
6159 * sysdeps/i386/fpu/e_expl.S: Likewise.
6160 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6161 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6162 * sysdeps/i386/fpu/e_pow.S: Likewise.
6163 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6164 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6165 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6166 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6167 * sysdeps/i386/fpu/e_log2.S: Likewise.
6168 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6169 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6170 * sysdeps/i386/fpu/e_powl.S: Likewise.
6171 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6172 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6173 * sysdeps/i386/fpu/e_logl.S: Likewise.
6174 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6175 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6176 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6177 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6178 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6179 * sysdeps/i386/fpu/e_log.S: Likewise.
6180 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6181 * sysdeps/i386/fpu/e_logf.S: Likewise.
6182 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6183 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6184 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6185 * sysdeps/i386/fpu/e_log10.S: Likewise.
6186 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6187 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6188 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6189 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6190 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6191 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
6192 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6193 * sysdeps/i386/i686/strtok.S: Likewise.
6194 * sysdeps/i386/i386-mcount.S: Likewise.
6195 * sysdeps/i386/strtok.S: Likewise.
6196 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
6197 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6198 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6199 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6200 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6201 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6202 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6203 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6204 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6205 * sysdeps/x86_64/_mcount.S: Likewise.
6206 * sysdeps/x86_64/strtok.S: Likewise.
6207 * sysdeps/sh/_mcount.S: Likewise.
6208
2747bf9a
RM
62092012-08-01 Roland McGrath <roland@hack.frob.com>
6210
6211 * libio/iofopen.c: Include <fcntl.h>.
6212 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
6213 (_IO_fopen64, fopen64): Define as aliases.
6214 * libio/iofopen64.c: Include <fcntl.h>.
6215 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
6216 Conditionalize body on this.
6217 * sysdeps/wordsize-64/iofopen.c: File removed.
6218 * sysdeps/wordsize-64/iofopen64.c: File removed.
6219
3fb791b8
MP
62202012-08-01 Marek Polacek <polacek@redhat.com>
6221
6222 * libc/Makeconfig: Use elf in place of binfmt-subdir.
6223 Use dlfcn directly instead of a variable.
6224 (binfmt-subdir): Do not define.
6225 (dlfcn): Likewise.
6226
a9f1039f
JM
62272012-08-01 Joseph Myers <joseph@codesourcery.com>
6228
23bddc06
JM
6229 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
6230 Remove all definitions.
6231 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
6232 <kernel-features.h>.
6233 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6234 (miss_F_GETOWN_EX): Remove all definitions.
6235 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
6236 macro definition.
6237 [!__ASSUME_FCNTL64]: Remove conditional code.
6238 [__ASSUME_FCNTL64]: Make code unconditional.
6239 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
6240 <kernel-features.h>.
6241 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6242 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
6243 (lockf64) [__NR_fcntl64]: Make code unconditional.
6244 (lockf64) [__ASSUME_FCNTL64]: Likewise.
6245
a9f1039f
JM
6246 * sysdeps/unix/sysv/linux/kernel-features.h
6247 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
6248 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
6249 Make code unconditional.
6250 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6251 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
6253 [__NR_vfork]: Make code unconditional.
6254 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6255 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
6257 [__NR_vfork]: Make code unconditional.
6258 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6259 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6260
09c0ee5f
RM
62612012-08-01 Roland McGrath <roland@hack.frob.com>
6262
48aec5b9
RM
6263 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
6264 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
6265
cd97c966
RM
6266 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6267 Define mkstemp64 as an alias.
3f55550c
RM
6268 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6269 Define mkstemps64 as an alias.
cd97c966
RM
6270 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6271 Define mkostemp64 as an alias.
b8625cfc
RM
6272 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6273 Define mkostemps64 as an alias.
cd97c966
RM
6274 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
6275 Conditionalize body on this.
6276 * misc/mkostemp64.c: Likewise.
b8625cfc 6277 * misc/mkostemps64.c: Likewise.
3f55550c 6278 * misc/mkstemps64.c: Likewise.
cd97c966
RM
6279 * sysdeps/wordsize-64/mkstemp64.c: File removed.
6280 * sysdeps/wordsize-64/mkostemp64.c: File removed.
6281 * sysdeps/wordsize-64/mkostemp.c: File removed.
6282 * sysdeps/wordsize-64/mkstemp.c: File removed.
6283 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
6284 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
6285 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
6286 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
6287
09c0ee5f
RM
6288 [BZ #14138]
6289 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
6290 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
6291 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
6292 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
6293
6294 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
6295 compat_symbol macros from <shlib-compat.h> rather than the underlying
6296 default_symbol_version and symbol_version macros, so that DEFAULT
6297 lines in shlib-versions are respected.
6298 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
6299
7e66ee51
FW
63002012-08-01 Florian Weimer <fweimer@redhat.com>
6301
6302 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
6303 Declare with warn_unused_result.
6304 (setgid, setregid, setegid, setresgid): Likewise.
6305 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
6306 Likewise.
6307 * WUR-REPORT: Remove set*id functions.
6308
d2a54255
PT
63092012-07-31 Pino Toscano <toscano.pino@tiscali.it>
6310
6311 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
6312
7ecdb005
RM
63132012-07-31 Roland McGrath <roland@hack.frob.com>
6314
789bd351
RM
6315 * include/sys/socket.h (__libc_accept, __libc_accept4):
6316 Add attribute_hidden.
6317 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
6318
40ce302d
RM
6319 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
6320 use of PTR_MANGLE.
6321 * inet/getnetgrent_r.c (setup): Likewise.
6322
7ecdb005
RM
6323 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
6324
e2eabb2c
DM
63252012-07-31 David S. Miller <davem@davemloft.net>
6326
6327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6328
d0419dbf
JM
63292012-07-31 Joseph Myers <joseph@codesourcery.com>
6330
6331 [BZ #13629]
6332 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
6333 value between 1.0 and 2.0 and smaller part has absolute value less
6334 than 1.0.
6335 * math/s_clog10.c (__clog10): Likewise.
6336 * math/s_clog10f.c (__clog10f): Likewise.
6337 * math/s_clog10l.c (__clog10l): Likewise.
6338 * math/s_clogf.c (__clogf): Likewise.
6339 * math/s_clogl.c (__clogl): Likewise.
6340 * math/libm-test.inc (clog_test): Add more tests.
6341 (clog10_test): Likewise.
6342 * sysdeps/i386/fpu/libm-test-ulps: Update.
6343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6344
2bc13872
FW
63452012-07-31 Florian Weimer <fweimer@redhat.com>
6346
6347 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
6348 Exit with zero in case no suitable GID is found, and write a
6349 message to standard error.
6350
bea9b193
RM
63512012-07-30 Roland McGrath <roland@hack.frob.com>
6352
6353 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
6354 rather than to 1.
6355 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
6356 (MAXPATHLEN): Removed.
6357 (NOGROUP, NODEV): New macros.
6358 (setbit, clrbit, isset, isclr): New macros.
6359 (howmany, roundup, powerof2): New macros.
6360 (DEV_BSIZE): New macro.
6361
6362 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
6363 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
6364
6365 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
6366 definition on [!__NO_LONG_DOUBLE_MATH].
6367
6368 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
6369 PTR_MANGLE and PTR_DEMANGLE.
6370
6371 * socket/accept4.c (accept4): Rename to __libc_accept4.
6372 Define accept4 as a weak alias.
6373
6374 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
6375 on [_DIRENT_HAVE_D_TYPE].
6376 * io/ftw.c (ftw_dir): Likewise.
6377
6378 * io/xmknod.c (__xmknod): Don't check PATH for being null.
6379
6380 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
6381
6382 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
6383 Use the BSD numbers rather than the arbitrary ones we had.
6384 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
6385 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
6386 (SIGXCPU, SIGXFSZ): New macros.
6387 (_NSIG): Now 32.
6388
6389 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
6390 initializer on [_LIBC_REENTRANT].
6391
6392 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
6393 definitions inside [_POSIX_MAPPED_FILES].
6394
6395 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
6396
6397 * dirent/opendir.c: Include <fcntl.h>.
6398
6399 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
6400 (__libc_getspecific): Likewise.
6401 (__libc_key_create): Likewise.
6402
6403 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
6404 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
6405 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
6406 (tmpfile64): Define as alias.
6407 * sysdeps/wordsize-64/tmpfile.c: File removed.
6408 * sysdeps/wordsize-64/tmpfile64.c: File removed.
6409 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
6410 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
6411
6412 * stdio-common/vfscanf.c: Include <stdbool.h>.
6413 * nss/makedb.c: Likewise.
6414 * stdio-common/_i18n_number.h: Likewise.
6415 * argp/argp-help.c: Likewise.
6416 * posix/wordexp.c: Likewise.
6417 * sysdeps/posix/spawni.c: Likewise.
6418 * nss/nss_files/files-initgroups.c: Likewise.
6419 * stdio-common/reg-modifier.c: Include <stdlib.h>.
6420 * nss/nss_files/files-initgroups.c: Likewise.
6421 * nss/nss_db/db-netgrp.c: Likewise.
6422 * nss/nss_db/db-initgroups.c: Likewise.
6423 * io/fchmodat.c: Include <sys/stat.h>.
6424
6425 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
6426 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
6427
6428 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
6429 [HAVE_MMAP].
6430
6431 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
6432 Add multiple inclusion protection.
6433
e5abc686
DM
64342012-07-27 David S. Miller <davem@davemloft.net>
6435
6436 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6437
815e6fa3
GB
64382012-07-27 Gary Benson <gbenson@redhat.com>
6439
6440 [BZ #14298]
6441 * elf/rtld.c: Include <stap-probe.h>.
6442 (dl_main): Added static probes "init_start" and "init_complete".
6443 * elf/dl-load.c: Include <stap-probe.h>.
6444 (lose): Take new parameter "nsid".
6445 Added static probe "map_failed".
6446 (_dl_map_object_from_fd): Pass namespace id to lose.
6447 Added static probe "map_start".
6448 (open_verify): Pass namespace id to lose.
6449 * elf/dl-open.c: Include <stap-probe.h>.
6450 (dl_open_worker) Added static probes "map_complete", "reloc_start"
6451 and "reloc_complete".
6452 * elf/dl-close.c: Include <stap-probe.h>.
6453 (_dl_close_worker): Added static probes "unmap_start" and
6454 "unmap_complete".
6455 * elf/rtld-debugger-interface.txt: New file documenting the above.
6456
9f98c16c
RM
64572012-07-26 Roland McGrath <roland@hack.frob.com>
6458
6459 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
6460 rather than a string variable.
6461 * sunrpc/rpc_main.c (h_output): Likewise.
6462 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
6463
f3c22df3
PT
64642012-07-26 Pino Toscano <toscano.pino@tiscali.it>
6465
6466 * inet/check_native.c: New file.
6467
3129cfc6
JM
64682012-07-26 Joseph Myers <joseph@codesourcery.com>
6469
da865e95
JM
6470 [BZ #13629]
6471 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6472 if larger part has absolute value 1.0.
6473 * math/s_clog10.c (__clog10): Likewise.
6474 * math/s_clog10f.c (__clog10f): Likewise.
6475 * math/s_clog10l.c (__clog10l): Likewise.
6476 * math/s_clogf.c (__clogf): Likewise.
6477 * math/s_clogl.c (__clogl): Likewise.
6478 * math/libm-test.inc (clog_test): Add more tests.
6479 (clog10_test): Likewise.
6480 * sysdeps/i386/fpu/libm-test-ulps: Update.
6481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6482
3129cfc6
JM
6483 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
6484 (pltexit): Likewise.
6485 (La_regs): Likewise.
6486 (La_retval): Likewise.
6487 (int_retval): Likewise.
6488 Update #error for removed macros to refer only to definitions in
6489 tst-audit.h.
6490 * elf/tst-auditmod3b.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-auditmod4b.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-auditmod5b.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-auditmod6b.c (pltenter): Remove all definitions of
6509 macro.
6510 (pltexit): Likewise.
6511 (La_regs): Likewise.
6512 (La_retval): Likewise.
6513 (int_retval): Likewise.
6514 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
6515 macro.
6516 (pltexit): Likewise.
6517 (La_regs): Likewise.
6518 (La_retval): Likewise.
6519 (int_retval): Likewise.
6520 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
6521 macro.
6522 (pltexit): Likewise.
6523 (La_regs): Likewise.
6524 (La_retval): Likewise.
6525 (int_retval): Likewise.
6526 * sysdeps/generic/tst-audit.h: Update comment to refer only to
6527 macro definitions in tst-audit.h.
6528 * sysdeps/i386/tst-audit.h: New file.
6529 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
6530 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
6531 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
6532 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
6533 * sysdeps/sh/tst-audit.h: Likewise.
6534 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
6535 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
6536 * sysdeps/x86_64/tst-audit.h: Likewise.
6537
bfc07087
AJ
65382012-07-26 Andreas Jaeger <aj@suse.de>
6539
b1b2aaf8
AJ
6540 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
6541 ptrace.
6542
6543 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
6544 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
6545 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
6546 PTRACE_O_MASK.
6547 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
6548 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
6549 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
6550
bfc07087
AJ
6551 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
6552 value.
6553
6554 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
6555 _sigsys.
6556 (si_call_addr, si_syscall, si_arch): Define new macro.
6557 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
6558 _sigsys.
6559 (si_call_addr, si_syscall, si_arch): Define new marcro.
6560 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
6561 _sigsys.
6562 (si_call_addr, si_syscall, si_arch): Define new macro.
6563 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
6564 _sigsys.
6565 (si_call_addr, si_syscall, si_arch): Define new macro.
6566
89b4b02f
JM
65672012-07-25 Joseph Myers <joseph@codesourcery.com>
6568
6569 [BZ #13717]
6570 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6571 Change to 2.4.21 where previously 2.4.1.
6572 * sysdeps/unix/sysv/linux/configure: Regenerated.
6573 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
6574 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
6575 Linux kernel version.
6576 (__ASSUME_STD_AUXV): Remove.
6577 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
6578 kernel version.
6579 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
6580 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
6581 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
6582 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
6583 (__ASSUME_NETLINK_SUPPORT): Likewise.
6584 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
6585 (__no_netlink_support): Remove conditional definition.
6586 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
6587 Remove.
6588 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6589 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
6590 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
6591 (if_nameindex_ioctl): Remove.
6592 (if_nameindex_netlink): Do not handle __no_netlink_support.
6593 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6594 code.
6595 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
6596 Remove conditional code.
6597 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6598 code.
6599 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
6600 unconditional.
6601 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6602 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
6603 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
6604 Remove.
6605 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6606 [!__ASSUME_STD_AUXV]: Remove conditional code.
6607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
6608 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
6609 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
6610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
6611 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
6612 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6613 code.
6614 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6616 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
6617 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6618 conditional code.
6619 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6621 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6622 code.
6623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6624 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6625 conditional code.
6626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
6627 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6628 code unconditional.
6629 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6630 conditional code.
6631 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6632 unconditional.
6633 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6634 conditional code.
6635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6636 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6637 unconditional.
6638 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6639 conditional code.
6640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6641 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6642 code unconditional.
6643 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6644 conditional code.
6645 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6646 unconditional.
6647 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6648 conditional code.
6649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6650 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6651 code unconditional.
6652 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6653 conditional code.
6654 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6655 unconditional.
6656 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6657 conditional code.
6658
842a39cd
AS
66592012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6660
6661 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6662 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6663 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6664 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6665 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6666 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6667 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6668 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6669 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6670 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6671 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6672 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6673 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
6674 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6675 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6676 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6677 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6678 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
6679 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
6680 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
6681 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6682 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6683 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6684
84b3fd84
FW
66852012-07-25 Florian Weimer <fweimer@redhat.com>
6686
6687 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
6688 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6689 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6690 Introduce __libc_secure_getenv.
0c7936d5
FW
6691 * stdlib/Versions (2.17): Add secure_getenv
6692 (GLIBC_PRIVATE): Add __libc_secure_getenv.
6693 * stdlib/secure-getenv.c: Rename __secure_getenv to
6694 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
6695 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
6696 * stdlib/tst-secure-getenv.c: New.
6697 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
6698 * manual/startup.texi (Environment Access): Document
6699 secure_getenv.
84b3fd84
FW
6700 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6701 __libc_secure_getenv.
6702 * inet/ruserpass.c (ruserpass): Likewise.
6703 * malloc/mtrace.c (mtrace): Likewise.
6704 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 6705 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
6706 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6707 * sysdeps/posix/tempname.c: Likewise. Evaluate
6708 HAVE_SECURE_GETENV.
6709 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 6710 __secure_getenv to __libc_secure_getenv.
84b3fd84 6711 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
6712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6713 Likewise.
6714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6715 Likewise.
6716 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6717 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6718 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6720 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6721 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 6723
56e49b71
JM
67242012-07-25 Joseph Myers <joseph@codesourcery.com>
6725
6726 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6727 (struct La_i86_retval): Likewise.
6728 (struct La_x86_64_regs): Likewise.
6729 (struct La_x86_64_retval): Likewise.
6730 (struct La_x32_regs): Likewise.
6731 (struct La_x32_retval): Likewise.
6732 (struct La_ppc32_regs): Likewise.
6733 (struct La_ppc32_retval): Likewise.
6734 (struct La_ppc64_regs): Likewise.
6735 (struct La_ppc64_retval): Likewise.
6736 (struct La_sh_regs): Likewise.
6737 (struct La_sh_retval): Likewise.
6738 (struct La_s390_32_regs): Likewise.
6739 (struct La_s390_32_retval): Likewise.
6740 (struct La_s390_64_regs): Likewise.
6741 (struct La_s390_64_retval): Likewise.
6742 (struct La_sparc32_regs): Likewise.
6743 (struct La_sparc32_retval): Likewise.
6744 (struct La_sparc64_regs): Likewise.
6745 (struct La_sparc64_retval): Likewise.
6746 (struct audit_ifaces): Remove architecture-specific pltenter and
6747 pltexit members.
6748 * sysdeps/i386/ldsodefs.h: New file.
6749 * sysdeps/powerpc/ldsodefs.h: Likewise.
6750 * sysdeps/s390/ldsodefs.h: Likewise.
6751 * sysdeps/sh/ldsodefs.h: Likewise.
6752 * sysdeps/sparc/ldsodefs.h: Likewise.
6753 * sysdeps/x86_64/ldsodefs.h: Likewise.
6754
354691b7
MP
67552012-07-25 Marek Polacek <polacek@redhat.com>
6756
6757 [BZ #6808]
6758 * math/libm-test.inc (yn_test): Add another test.
6759 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6760 to ERANGE when the result is +-Inf.
6761 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6762 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6763 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6764 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6765
bf9e2071
JM
67662012-07-24 Joseph Myers <joseph@codesourcery.com>
6767
6768 * conform/data/time.h-data (NULL): Use macro-constant. Require
6769 equal to 0.
6770 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
6771 clock_t.
6772 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
6773
57633811
TS
67742012-07-23 Thomas Schwinge <thomas@codesourcery.com>
6775
6776 * configure.in <sysdeps resolving>: Correct printing
6777 Implies_before.
6778 * configure: Regenerate.
6779
c23c33b0
TS
67802012-07-22 Thomas Schwinge <thomas@codesourcery.com>
6781
6782 * math/w_ilogb.c: Include <limits.h>.
6783 * math/w_ilogbl.c: Likewise.
6784
b5982523
JM
67852012-07-20 Joseph Myers <joseph@codesourcery.com>
6786
6787 * manual/lang.texi (__va_copy): Document primarily as ISO C99
6788 va_copy. Document allowing for unavailable va_copy only as
6789 pre-C99 compatibility.
6790 * manual/string.texi (Copying and Concatenation): Use va_copy
6791 instead of __va_copy in concat example.
6792
ac4ea442
PT
67932012-07-20 Pino Toscano <toscano.pino@tiscali.it>
6794
6795 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6796 (__sendto): Use create_address_port. Initialize APORT and deallocate
6797 it if not null.
6798
f98eafbd
PT
6799 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6800 with O_NOLINK passed to __file_name_lookup.
6801
898c7aab
PT
6802 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6803 with O_NOLINK passed to __file_name_lookup.
6804
0ced335a
PT
6805 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6806 negative N or less than NGIDS.
6807
b3404dbd
PT
6808 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6809 type to string_t. Set ERANGE as errno and return it if NAME is not big
6810 enough. Use memcpy instead of strncpy.
6811
0f48659e
JM
68122012-07-20 Joseph Myers <joseph@codesourcery.com>
6813
6814 * elf/Makefile (check-data): Remove.
6815 (localplt.data): New vpath directive.
6816 ($(objpfx)check-localplt.out): Use localplt.data from vpath
6817 instead of $(check-data).
6818 * scripts/data/localplt-generic.data: Move to ...
6819 * sysdeps/generic/localplt.data: ... here.
6820 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6821 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6822 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6824 ... here.
6825 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6827 ... here.
6828 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6829 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6830 ... here.
6831 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6833 ... here.
6834 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6835 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6836 ... here.
6837 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6839 ... here.
6840
d37cbdaa
AZ
68412012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6842
6843 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6844 PPC32 and PPC64 files.
6845 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6846 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6847
46f85fc2
AK
68482012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6849
6850 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6851 __makecontext_ret to ...
6852 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6853 ... here and call exit if uc_link is NULL. New file.
6854 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6855 __makecontext_ret.S.
6856 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6857 __makecontext_ret to ...
6858 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6859 ... here and call exit if uc_link is NULL. New file.
6860 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6861 __makecontext_ret.S.
6862
08f43f9b
AK
68632012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6864
6865 * elf/elf.h (R_390_IRELATIVE): New definition.
6866 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6867 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
6868 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6869 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6870 (elf_machine_lazy_rel): Likewise.
6871 * sysdeps/s390/dl-irel.h: New file.
6872 * sysdeps/s390/s390-64/memcpy.S: New asm code.
6873 * sysdeps/s390/s390-64/memset.S: New asm code.
6874 * sysdeps/s390/s390-64/memcmp.S: New asm code.
6875 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6876 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6877 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6878 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6879 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6880 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6881 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6882 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6883 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6884 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6885 * sysdeps/s390/s390-32/memcpy.S: New asm code.
6886 * sysdeps/s390/s390-32/memset.S: New asm code.
6887 * sysdeps/s390/s390-32/memcmp.S: New asm code.
6888
3b05db33
MP
68892012-07-17 Marek Polacek <polacek@redhat.com>
6890
6891 [BZ #14349]
6892 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6893 * sysdeps/s390/s390-64/configure.in: Likewise.
6894 * sysdeps/sparc/configure.in: Likewise.
6895 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6896 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6897 * sysdeps/i386/configure.in: Likewise.
6898 * sysdeps/x86_64/configure.in: Likewise.
6899 * sysdeps/sh/configure.in: Likewise.
6900 * sysdeps/s390/s390-32/configure: Regenerated.
6901 * sysdeps/s390/s390-64/configure: Likewise.
6902 * sysdeps/x86_64/configure: Likewise.
6903 * sysdeps/sh/configure: Likewise.
6904 * sysdeps/powerpc/powerpc64/configure: Likewise.
6905 * sysdeps/powerpc/powerpc32/configure: Likewise.
6906 * sysdeps/sparc/configure: Likwise.
6907 * sysdeps/i386/configure: Likewise.
6908
a66877c6
MP
6909 * elf/dl-open.c: Comment fixes.
6910
cfc82fd8
JM
69112012-07-17 Joseph Myers <joseph@codesourcery.com>
6912
bd29910a
JM
6913 * Makefile [CXX] (check-data): Remove.
6914 [CXX] (c++-types.data): New vpath directive.
6915 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6916 vpath. Do not allow for C++ type data being missing.
6917 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6918 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6919 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6920 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6921 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6922 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6923 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6925 ... here.
6926 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6928 ... here.
6929 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6931 ... here.
6932 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6934 ... here.
6935 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6937 ... here.
6938 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6939 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6940 ... here.
6941 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6943 ... here.
6944 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6945 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6946
cfc82fd8
JM
6947 * elf/tls-macros.h (TLS_LE): Move architecture-specific
6948 definitions to architecture-specific files.
6949 (TLS_IE): Likewise.
6950 (TLS_LD): Likewise.
6951 (TLS_GD): Likewise.
6952 * sysdeps/i386/tls-macros.h: New file.
6953 * sysdeps/powerpc/tls-macros.h: Likewise.
6954 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6955 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6956 * sysdeps/sh/tls-macros.h: Likewise.
6957 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6958 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6959 * sysdeps/x86_64/tls-macros.h: Likewise.
6960
f7db3170
TS
69612012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6962
07cbfc23
TS
6963 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6964 zero value for regular exit case.
6965
f7db3170
TS
6966 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6967 (__start_context): Preserve zero value for regular exit case.
6968
dc97c227
TS
69692012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6970 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6971
6972 * manual/setjmp.texi (setcontext): Clarify normal process
6973 termination when uc_link is the null pointer.
6974 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6975 exit call.
6976
d0cd7d02
AS
69772012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6978
6979 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6980 preprocessor. Test for each exception mask separately.
6981
dd318934
AJ
69822012-07-16 Andreas Jaeger <aj@suse.de>
6983
6984 * po/ru.po: Update from translation team.
6985
8048311a
JM
69862012-07-15 Joseph Myers <joseph@codesourcery.com>
6987
6988 * conform/data/string.h-data (NULL): Use macro-constant. Require
6989 equal to 0.
6990 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6991 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6992 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6993 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6994 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6995
b637d46e
AJ
69962012-07-13 Andreas Jaeger <aj@suse.de>
6997
6998 * po/fr.po: Update from translation team.
6999
541428fe
MP
70002012-07-12 Marek Polacek <polacek@redhat.com>
7001
7002 [BZ #14173]
7003 * math/libm-test.inc (yn_test): Add test for BZ #14173.
7004 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
7005 loop condition.
7006
ec332e94
JM
70072012-07-12 Joseph Myers <joseph@codesourcery.com>
7008
7009 [BZ #13717]
7010 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7011 Change to 2.4.1 where previously 2.4.0.
7012 * sysdeps/unix/sysv/linux/configure: Regenerated.
7013 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
7014 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
7015 version.
7016 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
7017 (__ASSUME_AT_CLKTCK): Remove.
7018 (__ASSUME_AT_PAGESIZE): Likewise.
7019 (__ASSUME_AT_XID): Likewise.
7020 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
7021 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
7022 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
7023 unconditionally.
7024 (HAVE_AUX_PAGESIZE): Likewise.
7025 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
7026 [__ASSUME_AT_CLKTCK]: Make code unconditional.
7027 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
7028
7b6e99be
JB
70292012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
7030
7031 [BZ #14307]
7032 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
7033 the temporary buffer used to invoke __gethostbyname2_r,
7034 __gethostbyaddr_r and gethostbyname4_r to make room for struct
7035 host_data / struct gaih_addrtuple.
7036 * resolv/nss_dns/dns-host.c (global scope): Move definition of
7037 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
7038 header file nss/nsswitch.h.
7039 * nss/nsswitch.h (global scope): Add definition of implementation
7040 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
7041 resolv/nss_dns/dns-host.c).
7042
608404eb
AJ
70432012-07-11 Andreas Jaeger <aj@suse.de>
7044
7045 * po/fr.po: Update from translation team.
7046
71220aca
AJ
7047 * po/sv.po: Update from translation team
7048 * po/fr.po: Another update from translation team.
7049
28cfe843
AZ
70502012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7051
7052 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
7053 for subnormals or multiply small sinh result by itself.
7054 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7056
6b90f981
DM
70572012-07-11 David S. Miller <davem@davemloft.net>
7058
7059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7060
c6825772
AS
70612012-07-10 Andreas Schwab <schwab@linux-m68k.org>
7062
7063 [BZ #14347]
7064 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
7065 (INTERNAL_MARK): Shift it here.
7066
7b8e0d49
MP
70672012-07-10 Marek Polacek <polacek@redhat.com>
7068
7069 [BZ #14151]
7070 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
7071 libc_cv_asm_global_directive with .globl.
7072 * configure: Regenerated.
7073 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
7074 with .globl.
7075 * sysdeps/i386/configure: Regenerated.
7076 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
7077 with .globl.
7078 * sysdeps/x86_64/configure: Regenerated.
7079 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
7080 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
7081 * elf/tst-unique2mod2.c: Likewise.
7082 * elf/tst-unique2mod1.c: Likewise.
7083 * elf/tst-unique1mod2.c: Likewise.
7084 * elf/tst-unique1mod1.c: Likewise.
7085 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7086 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7087 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7088 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7089 * sysdeps/mach/sysdep.h: Likewise.
7090 * sysdeps/i386/sysdep.h: Likewise.
7091 * sysdeps/i386/i386-mcount.S: Likewise.
7092 * sysdeps/x86_64/_mcount.S: Likewise.
7093 * sysdeps/x86_64/sysdep.h: Likewise.
7094 * sysdeps/sh/_mcount.S: Likewise.
7095 * sysdeps/sh/sysdep.h: Likewise.
7096 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
7097 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
7098 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
7099 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7100 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
7101 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
7102 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
7103 * locale/localeinfo.h: Likewise.
7104 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
7105 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
7106
6c55cda3
RM
71072012-07-09 Roland McGrath <roland@hack.frob.com>
7108
7109 [BZ #14336]
7110 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
7111 system".
7112 * manual/message.texi (The Uniforum approach): Likewise.
7113 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
7114 (glibc iconv Implementation): Likewise.
7115
638a572e
JM
71162012-07-09 Joseph Myers <joseph@codesourcery.com>
7117
7118 [BZ #14337]
7119 * math/s_clog.c (__clog): Avoid scaling a value down where that
7120 could result in underflow.
7121 * math/s_clog10.c (__clog10): Likewise.
7122 * math/s_clog10f.c (__clog10f): Likewise.
7123 * math/s_clog10l.c (__clog10l): Likewise.
7124 * math/s_clogf.c (__clogf): Likewise.
7125 * math/s_clogl.c (__clogl): Likewise.
7126 * math/libm-test.inc (clog_test): Add more tests.
7127 (clog10_test): Likewise.
7128 * sysdeps/i386/fpu/libm-test-ulps: Update.
7129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7130
261f4859
AS
71312012-07-06 Andreas Schwab <schwab@linux-m68k.org>
7132
0abaf3e4
AS
7133 [BZ #14283]
7134 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
7135 by 7 not 8 to examine high bit of fractional part.
7136
261f4859
AS
7137 [BZ #14042]
7138 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
7139 for call to __mcount_internal.
7140 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
7141 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
7142 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
7143
f17ac40d
JM
71442012-07-06 Joseph Myers <joseph@codesourcery.com>
7145
9ad63c23
JM
7146 [BZ #14154]
7147 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
7148 approximation for values within 0x1p-13f of an odd multiple of
7149 pi/4.
7150 * math/libm-test.inc (tan_test): Do not allow spurious underflow
7151 exception. Add more tests.
7152 * sysdeps/i386/fpu/libm-test-ulps: Update.
7153
f17ac40d
JM
7154 [BZ #6778]
7155 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
7156 inputs and return -1 for them. Do not check for +Inf in case not
7157 reachable for +Inf.
7158 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7159 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
7160 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7161 and return -1 for them. Do not check for +Inf in case not
7162 reachable for +Inf.
7163 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
7164 define.
7165 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7166 and return -1 for them. Do not check for +Inf in case not
7167 reachable for +Inf.
7168 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
7169 spurious underflow.
7170 * sysdeps/i386/fpu/libm-test-ulps: Update.
7171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7172
fb21f89b
MF
71732012-07-06 Mike Frysinger <vapier@gentoo.org>
7174
7175 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
7176
cdfe2c5e
JM
71772012-07-05 Joseph Myers <joseph@codesourcery.com>
7178
7179 [BZ #14157]
7180 [BZ #14331]
7181 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
7182 could result in spurious underflow. Scale down values above
7183 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
7184 * math/s_csqrtf.c (__csqrtf): Likewise.
7185 * math/s_csqrtl.c (__csqrtl): Likewise.
7186 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
7187 spurious underflow.
7188 * sysdeps/i386/fpu/libm-test-ulps: Update.
7189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7190
70d35b67
AS
71912012-07-04 Andreas Schwab <schwab@linux-m68k.org>
7192
704bc459
AS
7193 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
7194 xopen-msg.sed.
7195 * catgets/xopen-msg.awk: New file.
7196 * catgets/xopen-msg.sed: Removed.
7197
70d35b67
AS
7198 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
7199 po2text.sed.
7200 * intl/po2test.awk: New file.
7201 * intl/po2test.sed: Removed.
7202
ca61cf32
JM
72032012-07-04 Joseph Myers <joseph@codesourcery.com>
7204
7205 [BZ #14328]
7206 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
7207 or multiply small sinh result by itself.
7208 * math/s_ctanf.c (__ctanf): Likewise.
7209 * math/s_ctanh.c (__ctanh): Likewise.
7210 * math/s_ctanhf.c (__ctanhf): Likewise.
7211 * math/s_ctanhl.c (__ctanhl): Likewise.
7212 * math/s_ctanl.c (__ctanl): Likewise.
7213 * math/libm-test.inc (ctan_test_tonearest): New function.
7214 (ctan_test_towardzero): Likewise.
7215 (ctan_test_downward): Likewise.
7216 (ctan_test_upward): Likewise.
7217 (ctanh_test_tonearest): Likewise.
7218 (ctanh_test_towardzero): Likewise.
7219 (ctanh_test_downward): Likewise.
7220 (ctanh_test_upward): Likewise.
7221 (main): Call these new functions.
7222 * sysdeps/i386/fpu/libm-test-ulps: Update.
7223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7224
ca48a46a
MF
72252012-07-03 Mike Frysinger <vapier@gentoo.org>
7226
7227 * .gitignore: Delete /ports entry.
7228
9d63d37d
AJ
72292012-07-03 Andreas Jaeger <aj@suse.de>
7230
7231 * po/bg.po: Update from translation team.
7232 * po/cs.po: Likewise.
7233 * po/de.po: Likewise.
7234 * po/hr.po: Likewise.
7235 * po/nl.pl: Likewise.
7236 * po/pl.po: Likewise.
7237 * po/vi.po: Likewise.
7238
370ca3d2
JM
72392012-07-03 Joseph Myers <joseph@codesourcery.com>
7240
95f5a9a8
JM
7241 * Makeconfig [!+link] (+link-before-libc): New variable.
7242 [!+link] (+link-after-libc): Likewise.
7243 [!+link] (+link-tests): Likewise.
7244 [!+link] (+link): Define in terms of $(+link-before-libc) and
7245 $(+link-after-libc).
7246 [!+link-static] (+link-static-before-libc): New variable.
7247 [!+link-static] (+link-static-after-libc): Likewise.
7248 [!+link-static] (+link-static-tests): Likewise.
7249 [!+link-static] (+link-static): Define in terms of
7250 $(+link-static-before-libc) and $(+link-static-after-libc).
7251 [build-shared] (link-libc-before-gnulib): New variable.
7252 [build-shared] (link-libc-tests): Likewise.
7253 [build-shared] (link-libc): Define in terms of
7254 $(link-libc-before-gnulib).
7255 [!build-shared] (link-libc-tests): New variable.
7256 (link-libc-static-tests): New variable.
7257 [!gnulib] (gnulib-arch): New variable.
7258 [!gnulib] (gnulib-tests): Likewise.
7259 [!gnulib] (static-gnulib-arch): Likewise.
7260 [!gnulib] (static-gnulib-tests): Likewise.
7261 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
7262 Define with "=" instead of ":=".
7263 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
7264 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
7265 * Rules (binaries-all-notests): New variable.
7266 (binaries-all-tests): Likewise.
7267 (binaries-static-notests): Likewise.
7268 (binaries-static-tests): Likewise.
7269 (binaries-all): Define using $(binaries-all-notests) and
7270 $(binaries-all-tests).
7271 (binaries-static): Define using $(binaries-static-notests) and
7272 $(binaries-static-tests).
7273 (binaries-shared-tests): New variable.
7274 (binaries-shared-notests): Likewise.
7275 (binaries-shared): Remove variable.
7276 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
7277 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
7278 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
7279 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
7280 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
7281 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
7282 * elf/Makefile (sln-modules): New variable.
7283 (extra-objs): Add $(sln-modules:=.o).
7284 (ldconfig-modules): Add static-stubs.
7285 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
7286 * elf/static-stubs.c: New file.
7287
7a845b2c
JM
7288 [BZ #14283]
7289 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
7290 by 7 not 8 to examine high bit of fractional part. Use volatile
7291 variables when splitting into final array of floats if
7292 __FLT_EVAL_METHOD__ != 0.
7293 * math/libm-test.inc (cos_test): Add another test.
7294 (sin_test): Likewise.
7295 * sysdeps/i386/fpu/libm-test-ulps: Update.
7296
e2283f38
JM
7297 [BZ #14273]
7298 * math/libm-test.inc (cosh_test): Add more tests.
7299
370ca3d2
JM
7300 * version.h (RELEASE): Set to "development".
7301 (VERSION): Set to "2.16.90".
7302
ee9247c3
CD
73032012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
7304
7305 * NEWS: Update copyright. Remove last-updated date.
7306 Mention math library bug fixes and timezone data changes.
7307 * README: Mention GNU/Hurd, x32, and HPPA support status.
7308
4648c381
TS
73092012-06-28 Thomas Schwinge <thomas@codesourcery.com>
7310
7311 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
7312
aac78a43
AJ
73132012-06-27 Andreas Jaeger <aj@suse.de>
7314
7315 * manual/contrib.texi (Contributors): Add Samuel Thibault.
7316
ed3dbfad
AJ
73172012-06-25 Andreas Jaeger <aj@suse.de>
7318
7319 * sysdeps/s390/fpu/libm-test-ulps: Update.
7320
4d0ee855
AS
73212012-06-23 Andreas Schwab <schwab@linux-m68k.org>
7322 Thomas Schwinge <thomas@codesourcery.com>
7323
7324 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
7325 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
7326 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
7327 fanotify_mark.
7328
af1bce34
TS
73292012-06-23 Thomas Schwinge <thomas@codesourcery.com>
7330
a9fa33ba
TS
7331 * sysdeps/mach/start.c: Remove file.
7332 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
7333 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
7334 * sysdeps/sh/init-first.c: Likewise.
7335
58f902b8
TS
7336 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
7337 registers for frame unwinding purposes, add CFI directives.
7338 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7339 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
7340 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
7341 Likewise.
7342
1518f58b
TS
7343 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
7344 __fortify_fail returning.
7345 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7346
db9b5059
TS
7347 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
7348 sysdeps/sh/____longjmp_chk.S.
7349 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
7350 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
7351 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
7352 (gen-as-const-headers): Append sigaltstack-offsets.sym.
7353
967705fe
TS
7354 * sysdeps/sh/abort-instr.h: New file.
7355 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
7356 process in case exit returns.
7357
a9def8c4
TS
7358 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
7359 initialize the GOT register before use.
7360
2a649725
TS
7361 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
7362 calculation of ARGC > 4.
7363
af1bce34
TS
7364 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
7365 meaningful names to some local labels.
7366
d230f50a
KK
73672012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7368 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7369
7370 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
7371 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
7372 (__arch_compare_and_exchange_val_16_acq): Likewise.
7373 (__arch_compare_and_exchange_val_32_acq): Likewise.
7374 (atomic_exchange_and_add): Fix gUSA sequence.
7375 (atomic_add): Likewise.
7376 (atomic_add_negative): Likewise.
7377 (atomic_add_zero): Likewise.
7378 (atomic_bit_test_set): Likewise.
7379
0479b305
AS
73802012-06-22 Andreas Schwab <schwab@redhat.com>
7381
7382 [BZ #13579]
7383 * include/link.h (struct link_map): Add l_free_initfini.
7384 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
7385 l_initfini.
7386 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
7387 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
7388 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
7389 set.
7390
0e3933b9
CD
73912012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
7392
7393 * configure.in: Use AC_LANG_SOURCE.
7394 * configure: Regenerate.
7395
4248b1b1
RM
73962012-06-22 Roland McGrath <roland@hack.frob.com>
7397
7398 * configure.in (libc_cv_localstatedir): New substituted variable.
7399 * configure: Regenerated.
7400 * config.make.in (localstatedir): New variable, substituted from
7401 libc_cv_localstatedir.
7402 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
7403 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
7404 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
7405 * sysdeps/gnu/configure: Regenerated.
7406
006dd861
JL
74072012-06-21 Jeff Law <law@redhat.com>
7408
7409 [BZ #14277]
7410 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
7411 free. Simplify list management for _LIBC case.
7412
79662d42
JM
74132012-06-21 Joseph Myers <joseph@codesourcery.com>
7414
b7abb4bf
JM
7415 [BZ #14273]
7416 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7417 Clear sign bit of 64-bit integer value before comparing against
7418 overflow value.
7419
79662d42
JM
7420 * sysdeps/mach/configure: Regenerated.
7421
1f150908
L
74222012-06-21 H.J. Lu <hongjiu.lu@intel.com>
7423
7424 [BZ #14278]
7425 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
7426
28363bbf
JL
74272012-06-21 Jeff Law <law@redhat.com>
7428
7429 [BZ #13882]
7430 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
7431 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 7432 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
7433 * elf/dl-open.c (dl_open_worker): Likewise.
7434
09615db4
CD
74352012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
7436
7437 * scripts/list-sources.sh: Scan PORTS for translations.
7438 * po/libc.pot: Regenerated.
7439
2174c6dd
AJ
74402012-06-21 Andreas Jaeger <aj@suse.de>
7441
7442 [BZ #12194]
7443 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
7444 warning.
7445 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
7446 * bits/byteswap-16.h (__bswap_16): Likewise.
7447 * bits/byteswap.h (__bswap_constant_16): Likewise.
7448
3ee947b1
L
74492012-06-18 H.J. Lu <hongjiu.lu@intel.com>
7450
7451 [BZ #14117]
a2f34833
L
7452 * sysdeps/i386/fpu_control.h: Removed.
7453 * sysdeps/x86_64/fpu_control.h: Moved to ...
7454 * sysdeps/x86/fpu_control.h: Here.
7455
3ee947b1
L
7456 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
7457 (_FPU_SETCW): Likewise.
7458
ed1825f8
L
74592012-06-15 H.J. Lu <hongjiu.lu@intel.com>
7460
25f1282a
L
7461 [BZ #14117]
7462 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
7463 * sysdeps/x86/fpu/bits/mathinline.h: This.
7464 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7465
ed1825f8
L
7466 [BZ #14050]
7467 [BZ #14117]
7468 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7469 functions if __x86_64__ is defined.
7470
36d54b74
CLT
74712012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
7472
7473 * string/endian.h: Add !__ASSEMBLER__ condition for including
7474 conversion interfaces.
7475
10285c21
JM
74762012-06-15 Joseph Myers <joseph@codesourcery.com>
7477
7478 [BZ #14241]
7479 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
7480 of ABS(x) in calculating zero to negative powers other than odd
7481 integers.
7482 * math/libm-test.inc (pow_test): Add more tests.
7483
06c5abbd
AJ
74842012-06-15 Andreas Jaeger <aj@suse.de>
7485
7486 * manual/contrib.texi (Contributors): Update entry of Liubov
7487 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
7488 Machado Filho.
7489
a3aeac40
CH
74902012-06-15 Cyril Hrubis <metan@ucw.cz>
7491
7492 * string/string.h: Add __wur to GNU version of strerror_r.
7493
49bdf4c1
L
74942012-06-14 H.J. Lu <hongjiu.lu@intel.com>
7495
7496 [BZ #14229]
7497 * string/Makefile (tests): Add tst-strtok_r.
7498 * string/tst-strtok_r.c: New file.
7499 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7500 RAX_LP/RDX_LP on SAVE_PTR.
7501
834f9b8d
RM
75022012-06-14 Roland McGrath <roland@hack.frob.com>
7503
7504 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
7505
75fa1921
JM
75062012-06-14 Joseph Myers <joseph@codesourcery.com>
7507
7508 * libm_test.inc (csqrt_test): Allow more spurious underflow
7509 exceptions.
7510 (j0_test): Likewise.
7511 (j1_test): Likewise.
7512 (y0_test): Likewise.
7513 (y1_test): Likewise.
7514
771766df
CD
75152012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
7516
7517 * po/Makefile (libc.pot): Use UTF-8 charset.
7518
ceb9e56b
PP
75192012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7520
7521 [BZ #14210]
7522 Suppress sign-conversion warning from FD_SET.
7523 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
7524 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
7525 not unsigned long int.
7526 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
7527
ddb28975
L
75282012-06-12 H.J. Lu <hongjiu.lu@intel.com>
7529
7530 [BZ #14050]
7531 [BZ #14117]
7532 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
7533 __extern_always_inline instead of __extern_inline.
7534 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
7535 (__signbit): Likewise.
7536 (__signbitl): Support C++ namespace.
7537 (lrintf): New inline function.
7538 (lrint): Likewise.
7539 (llrintf): Likewise.
7540 (llrint): Likewise.
7541 (fmaxf): Likewise.
7542 (fmax): Likewise.
7543 (fminf): Likewise.
7544 (fmin): Likewise.
7545 (rint): Likewise.
7546 (rintf): Likewise.
7547 (ceil): Likewise.
7548 (ceilf): Likewise.
7549 (floor): Likewise.
7550 (floorf): Likewise.
7551 (nearbyint): Likewise.
7552 (nearbyintf): Likewise.
7553
d7b4fb26
TS
75542012-06-12 Thomas Schwinge <thomas@codesourcery.com>
7555
7556 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
7557 non-default versions.
7558
eb55f5c2
RM
75592012-06-11 Roland McGrath <roland@hack.frob.com>
7560
7561 [BZ #14218]
7562 * manual/argp.texi (Argp): Reword argp_parse description slightly.
7563
366af02c
TS
75642012-06-09 Thomas Schwinge <thomas@codesourcery.com>
7565
99ff6e5c
TS
7566 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
7567 (FE_UPWARD, FE_DOWNWARD): Don't define.
7568 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
7569 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7570
366af02c
TS
7571 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
7572 reading it.
7573 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7574 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7575
793ea851
KK
75762012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7577
7578 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7579 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
7580 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
7581 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
7582
a728a38f
L
75832012-06-06 H.J. Lu <hongjiu.lu@intel.com>
7584
7585 [BZ #14117]
c08010c7
L
7586 * sysdeps/i386/fpu/bits/fenv.h: Removed.
7587 * sysdeps/i386/fpu/Implies: New file.
7588 * sysdeps/x86_64/fpu/Implies: Likewise.
7589 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
7590 * sysdeps/x86/fpu/bits/fenv.h: This.
7591
a728a38f
L
7592 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
7593 __SSE_MATH__.
7594
6e230d11
SP
75952012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7596
7597 [BZ #14134]
7598 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
7599 character 0xffff that matches the last element of the
7600 conversion table.
7601
1b671feb
AZ
76022012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7603
7604 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
7605 fmodl commit.
7606
6043738b
AZ
76072012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7608
7609 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
7610 values higher than 25.6283.
7611
34ae0b32
AZ
76122012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7613
7614 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
7615 subnormal exponent extraction and add some __builtin_expect.
7616 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
7617 Fix for subnormal mantissa calculation.
7618
1214ec8f
MF
76192012-06-04 Mike Frysinger <vapier@gentoo.org>
7620
7621 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
7622 cpu2 is -1 and errno is not ENOSYS.
7623
f3d1f93c
L
76242012-06-04 H.J. Lu <hongjiu.lu@intel.com>
7625
7626 [BZ #14117]
0e4a3cd7
L
7627 * sysdeps/i386/i486/bits/string.h: Renamed to ...
7628 * sysdeps/x86/bits/string.h: This.
7629 * sysdeps/x86_64/bits/string.h: Removed.
7630
6704c645
L
7631 * sysdeps/i386/i486/bits/string.h: Define inline functions only
7632 if not compiling for x86-64, but compiling for >= i486.
7633
48495318
L
7634 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
7635 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
7636
14adcbfc
L
7637 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
7638 New macro from Linux kernel 3.4.0.
7639 (FP_XSTATE_MAGIC2): Likewise.
7640 (FP_XSTATE_MAGIC2_SIZE): Likewise.
7641 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
7642 (struct _fpx_sw_bytes): New struct.
7643 (struct _xsave_hdr): Likewise.
7644 (struct _ymmh_state): Likewise.
7645 (struct _xstate): Likewise.
7646
68e408ab
L
7647 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
7648 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
7649 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
7650 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
7651 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
7652 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7653
f3d1f93c
L
7654 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7655 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7656 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7657 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7658 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7659 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7660
d9dc34cd
TMQMF
76612012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7662
7663 [BZ #13743]
7664 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7665 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7666 (sysdep_headers): Include sys/platform/ppc.h.
7667 * sysdeps/powerpc/test-gettimebase.c: Test for
7668 __ppc_get_timebase() to catch future ISA opcode/insn changes.
7669 * manual/Makefile (appendices): Include platform.texi.
7670 * manual/contrib.texi (Contributors): Update @node pointers.
7671 * manual/maint.texi (Maintenance): Likewise.
7672 (Platform): New node.
7673 * manual/platform.texi: New file. Document the new features.
7674
4af3879c
SP
76752012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7676 Jakub Jelinek <jakub@redhat.com>
7677
7678 [BZ #14188]
7679 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
7680 where __builtin_expect is unavailable.
7681
2fd6ff13
DM
76822012-06-03 David S. Miller <davem@davemloft.net>
7683
7684 * stdlib/longlong.h: Updated from GCC.
7685
173f7220
AS
76862012-06-02 Andreas Schwab <schwab@linux-m68k.org>
7687
7688 [BZ #14042]
7689 * sysdeps/powerpc/powerpc32/mcount.c: New file.
7690 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
7691 __mcount_internal.
7692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7693 (GLIBC_2.16): Likewise.
7694
f34a1c6f
L
76952012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7696
7697 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7698
88a4576f
JM
76992012-06-01 Joseph Myers <joseph@codesourcery.com>
7700
ea32bcdd
JM
7701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7702 (default-abi): New variable.
7703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7704 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7705 variable.
7706 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7707 Likewise.
7708 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7709 Likewise.
7710 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7711 Likewise.
7712
88a4576f
JM
7713 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7714 definition. Document in comment.
7715
402fe938
DM
77162012-06-01 David S. Miller <davem@davemloft.net>
7717
7718 * stdlib/longlong.h: Updated from GCC.
7719
3553723f
L
77202012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7721
7722 [BZ #14117]
3bd872c4
L
7723 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7724 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7725 sys/debugreg.h sys/io.h here.
7726 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7727 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7728 sys/io.h.
7729 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7730 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7731 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7732 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7733 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7734 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7735
3553723f
L
7736 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7737 Define only if __x86_64__ is defined.
7738
4842e4fe
JM
77392012-06-01 Joseph Myers <joseph@codesourcery.com>
7740
c5bfe3d5
JM
7741 [BZ #14048]
7742 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7743 Use int64_t for variable i.
7744 * math/libm-test.inc (fmod_test): Add more tests.
7745
4842e4fe
JM
7746 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7747 z computation is not scheduled after fetestexcept.
7748 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7749 Use math_force_eval instead of asm to ensure calculation scheduled
7750 before exception test.
7751 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7752 Ensure a1 + u.d computation is not scheduled after fetestexcept.
7753
efb73488
AJ
77542012-06-01 Aurelien Jarno <aurelien@aurel32.net>
7755
7756 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7757 computation is not scheduled after fetestexcept.
7758
29bcce7c
L
77592012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7760
7761 [BZ #14117]
7762 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7763 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7764
73a68f94
AZ
77652012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7766
7767 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7768 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7769
67b6df78
L
77702012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7771
edf2933a 7772 [BZ #14117]
ebc64a18
L
7773 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7774 <bits/wordsize.h>.
7775 (__WCHAR_MIN): Support __WORDSIZE == 64.
7776 (__WCHAR_MAX): Likewise.
7777
edf2933a
L
7778 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7779 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7780
57c6cf40
L
7781 [BZ #14183]
7782 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7783 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7784
67b6df78 7785 [BZ #14117]
8eb6281e
L
7786 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7787 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7788
aac639f4
L
7789 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7790 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7791
67b6df78
L
7792 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7793 Defined to 1 if __x86_64__ isn't defined.
7794 (_STAT_VER_LINUX_OLD): New.
7795 (st_atime): Remove duplicate.
7796 (st_mtime): Likewise.
7797 (st_ctime): Likewise.
7798
1c2cfe81
DM
77992012-05-31 David S. Miller <davem@davemloft.net>
7800
7801 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7802 entries.
7803
5be8418c
AS
78042012-06-01 Andreas Schwab <schwab@linux-m68k.org>
7805
e7725326
AS
7806 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7807 gen-libm-test.pl.
7808
5be8418c
AS
7809 [BZ #14132]
7810 * elf/dl-reloc.c: Include <_itoa.h>.
7811 (_dl_reloc_bad_type): Remove use of INTUSE.
7812 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7813 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7814 * stdio-common/psiginfo.c (psiginfo): Likewise.
7815 * stdio-common/psignal.c (psignal): Likewise.
7816 * string/strsignal.c (strsignal): Likewise.
7817 * include/signal.h (_sys_siglist): Declare hidden proto.
7818 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
7819 INTVARDEF with libc_hidden_data_def.
7820 * stdio-common/itoa-udigits.c: Likewise.
7821 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7822 (_itoa_lower_digits_internal): Remove declaration.
7823 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7824 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7825 (_sys_sigabbrev_internal): Remove aliases.
7826 (_sys_siglist): Define hidden alias.
7827
507352f1
MT
78282012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
7829
7830 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7831 bits/sysctl.h.
7832
42bbb1c3
L
78332012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7834
7835 [BZ #14117]
6bd784b6
L
7836 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7837 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7838
8bca20f0
L
7839 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7840 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7841 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7842 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7843 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7844 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7845
f9e890a9
L
7846 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7847 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7848 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7849
471101a1
L
7850 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7851 with __addr.
7852 (insw): Likewise.
7853 (insl): Likewise.
7854 (outsb): Likewise.
7855 (outsw): Likewise.
7856 (outsl): Likewise.
7857
6451c862
L
7858 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7859 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7860 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7861
a254b8c9
L
7862 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7863 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7864 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7865 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7866 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7867 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7868
b8dfdd92
L
7869 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7870 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7871
578cd270
L
7872 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7873 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7874
de662f5f
L
7875 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7876 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7877 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7878
25653439
L
7879 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7880 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7881 to ...
7882 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7883
6bad24a0
L
7884 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7885 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7886 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7887
42bbb1c3
L
7888 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7889 for x86-64.
7890 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7891
2d10d547
JM
78922012-05-31 Joseph Myers <joseph@codesourcery.com>
7893
7894 * math/math.h (M_El): Use two more decimal places.
7895 (M_LOG2El): Likewise.
7896 (M_LOG10El): Likewise.
7897 (M_LN2l): Likewise.
7898 (M_LN10l): Likewise.
7899 (M_PIl): Likewise.
7900 (M_PI_2l): Likewise.
7901 (M_PI_4l): Likewise.
7902 (M_1_PIl): Likewise.
7903 (M_2_PIl): Likewise.
7904 (M_2_SQRTPIl): Likewise.
7905 (M_SQRT2l): Likewise.
7906 (M_SQRT1_2l): Likewise.
7907
f230c29b
DM
79082012-05-31 David S. Miller <davem@davemloft.net>
7909
7910 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7911 values between float registers.
7912 * sysdeps/sparc/sparc64/memset.S: Likewise.
7913 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7914
fed806c3
MF
79152012-05-31 Mike Frysinger <vapier@gentoo.org>
7916
7917 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7918 -D_FORTIFY_SOURCE=1.
7919 (CPPFLAGS-tst-longjmp_chk.c): Define.
7920 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7921 (CPPFLAGS-tst-longjmp_chk2.c): Define.
7922 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7923 CFLAGS-tst-wchar-h.c.
7924
30917259
MP
79252012-05-31 Marek Polacek <polacek@redhat.com>
7926
7927 [BZ #14132]
7928 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7929 __endmntent_internal): Remove declaration.
7930 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7931 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7932 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7933
1c58d5dc
DM
79342012-05-30 David S. Miller <davem@davemloft.net>
7935
7936 * sysdeps/sparc/sparc32/soft-fp/q_util.c
7937 (___Q_simulate_exceptions): Use real FP ops rather than writing
7938 into the %fsr.
7939 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7940 Likewise.
7941
7dc00e0d
L
79422012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7943
7944 [BZ #14117]
0bd53985
L
7945 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7946 * sysdeps/x86/bits/xtitypes.h: This.
7947
3a257e66
L
7948 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7949 * sysdeps/x86/bits/wordsize.h: This.
7950
62f62904
L
7951 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7952 * sysdeps/x86/bits/huge_vall.h: This.
7953
404fe9d9
L
7954 * sysdeps/i386/bits/select.h: Removed.
7955 * sysdeps/x86_64/bits/select.h: Renamed to ...
7956 * sysdeps/x86/bits/select.h: This.
7957
d48d0446
L
7958 * sysdeps/i386/bits/setjmp.h: Removed.
7959 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7960 * sysdeps/x86/bits/setjmp.h: This.
7961
7dc00e0d
L
7962 * sysdeps/i386/bits/mathdef.h: Removed.
7963 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7964 * sysdeps/x86/bits/mathdef.h: This.
7965
03277f8f
AS
79662012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7967
7968 [BZ #14132]
7969 * include/sys/socket.h (__connect_internal)
7970 (__libc_sa_len_internal): Remove declaration.
7971 (__connect, __libc_sa_len): Declare hidden_proto.
7972 (SA_LEN): Remove use of INTUSE.
7973 * socket/connect.c: Add libc_hidden_def.
7974 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7975 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7976 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7977 alias.
7978 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7979 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7980 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7981 of adding _internal alias.
7982
13764867
L
79832012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7984
7985 [BZ #14117]
6bd97696
L
7986 * sysdeps/i386/bits/link.h: Removed.
7987 * sysdeps/i386/bits/linkmap.h: Likewise.
7988 * sysdeps/x86_64/bits/link.h: Renamed to ...
7989 * sysdeps/x86/bits/link.h: This.
7990 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7991 * sysdeps/x86/bits/linkmap.h: This.
7992
f726f0bb
L
7993 * sysdeps/i386/bits/endian.h: Removed.
7994 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7995 * sysdeps/x86/bits/endian.h: This.
7996
13764867
L
7997 * sysdeps/i386/bits/byteswap.h: Removed.
7998 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7999 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
8000 * sysdeps/x86/bits/byteswap.h: This.
8001 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
8002 * sysdeps/x86/bits/byteswap-16.h: This.
8003 * sysdeps/i386/Implies: Add x86.
8004 * sysdeps/x86_64/Implies: Likewise.
8005
ae251b0b
DM
80062012-05-30 David S. Miller <davem@davemloft.net>
8007
8008 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
8009 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
8010 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8011 (FP_TRAPPING_EXCEPTIONS): Define.
8012 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8013 (FP_TRAPPING_EXCEPTIONS): Define.
8014 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
8015 subnormals only when inexact has been signalled or underflow
8016 exceptions are enabled.
8017 (_FP_PACK_CANONICAL): Likewise.
8018
d5c90867
L
80192012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8020
8021 [BZ #14183]
8022 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
8023 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
8024
63f1549e
RH
80252012-05-30 Richard Henderson <rth@twiddle.net>
8026
8d8f2279
RH
8027 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
8028 with #ifndef NOT_IN_libc.
8029
63f1549e
RH
8030 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
8031 marked to avoid plt entry.
8032
0ab0291b
L
80332012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8034
8035 [BZ #14112]
8036 * Makeconfig (default-abi): New macro.
8037 (abi-includes): Likewise.
8038 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
8039 $(abi-$(default-abi)-lib-soname) for soname if defined.
8040 ($(common-objpfx)gnu/lib-names.stmp): Generate from
8041 abi-variants.
8042 * Makefile (installed-stubs): Likewise.
8043 * include/stubs-biarch.h: Removed.
8044 * scripts/lib-names.awk: Only handle one library at a time.
8045 * scripts/soversions.awk: Remove WORDSIZE support.
8046 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
8047 entries.
8048 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
8049 Removed.
8050 (syscall-list-default-condition): Likewise.
8051 (syscall-list-default-condition): Likewise.
8052 (syscall-list-includes): Likewise.
8053 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
8054 syscall-list-* with abi-*. Handle undefined abi-variants.
8055 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
8056 * sysdeps/unix/sysv/linux/i386/Implies: New file.
8057 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
8058 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
8059 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
8060 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
8061 Removed.
8062 (syscall-list-32-options): Likewise.
8063 (syscall-list-32-condition): Likewise.
8064 (syscall-list-64-options): Likewise.
8065 (syscall-list-64-condition): Likewise.
8066 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
8067 macro.
8068 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
8069 Renamed to ...
8070 (abi-*): This.
8071 (abi-64-ld-soname): New macro.
8072 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
8073 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
8074 Renamed to ...
8075 (abi-*): This.
8076 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
8077 * sysdeps/x86_64/x32/shlib-versions: Likewise.
8078
4da0431d
JM
80792012-05-30 Joseph Myers <joseph@codesourcery.com>
8080
3a85279c
JM
8081 * sysdeps/unix/sysv/linux/kernel-features.h
8082 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
8083 * sysdeps/unix/sysv/linux/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/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 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
8096 include <kernel-features.h>.
8097 [!__NR_ftruncate64]: Remove conditional code.
8098 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8099 [__NR_ftruncate64]: Make code unconditional.
8100 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8102 include <kernel-features.h>.
8103 [!__NR_ftruncate64]: Remove conditional code.
8104 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8105 [__NR_ftruncate64]: Make code unconditional.
8106 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8107
4da0431d
JM
8108 * configure.in (libc_cv_fpie): Weaken to a compile test using
8109 LIBC_TRY_CC_OPTION.
8110 * configure: Regenerated.
8111
11ef492c
AK
81122012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8113
8114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
8115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
8116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
8117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8118 Refreshed.
8119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
8120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
8121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
8122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
8123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
8124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8125 Refreshed.
8126
d66ef399
DM
81272012-05-27 David S. Miller <davem@davemloft.net>
8128
8129 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
8130 (___Q_zero): New.
8131 (__Q_simulate_exceptions): Return void. Change to simulate
8132 exceptions by writing into the %fsr.
8133 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
8134 (__Qp_handle_exceptions): Likewise.
8135 (numbers): Delete.
8136 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
8137 __Qp_handle_exceptions.
8138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
8139 __Qp_handle_exceptions.
8140 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8141 as unused and give dummy FP_RND_NEAREST initializer.
8142 (FP_INHIBIT_RESULTS): Define.
8143 (___Q_simulate_exceptions): Update declaration.
8144 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
8145 formatting.
8146 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8147 as unused and give dummy FP_RND_NEAREST initializer.
8148 (__Qp_handle_exceptions): Update declaration.
8149 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
8150 formatting.
8151
04fb54b5
TS
81522012-05-27 Thomas Schwinge <thomas@codesourcery.com>
8153
8154 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
8155 the temporary FPU control word.
8156 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8157 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
8158 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8159 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8160 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8161 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8162 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8163 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8164 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8165 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8166 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8167
3f99608f
KK
81682012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8169
8170 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
8171 fields.
8172
65a4de4e
CLT
81732012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
8174
8175 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
8176 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
8177 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
8178 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
8179 Likewise.
8180 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
8181 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
8182 Likewise.
8183
15749d40
UD
81842012-05-27 Ulrich Drepper <drepper@gmail.com>
8185
8186 * po/h.po: Update from translation team.
8187
25dbcb27
AS
81882012-05-26 Andreas Schwab <schwab@linux-m68k.org>
8189
3d3f8e55
AS
8190 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
8191
25dbcb27
AS
8192 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
8193 handling of denormals.
8194 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8195 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8196 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8197 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8198 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8199 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
8200 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
8201 Likewise.
8202
7ad47a80 82032012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
8204
8205 [BZ #14152]
8206 * math/libm-test.inc (fma_test): Don't always expect underflow
8207 exception.
8208
9c6ea9fa
SP
82092012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8210
8211 [BZ #12416]
8212 * elf/tst-execstack.c: Include stackinfo.h.
8213 (do_test): Adjust test case to ensure that pthread_getattr_np
8214 behaviour remains the same after marking stack executable.
8215
a8239222
JM
82162012-05-25 Joseph Myers <joseph@codesourcery.com>
8217
8218 * sysdeps/unix/sysv/linux/kernel-features.h
8219 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
8220 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
8221 kernel-features.h.
8222 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8223 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8224 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
8225 kernel-features.h.
8226 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8227 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8228
918b5606
L
82292012-05-25 H.J. Lu <hongjiu.lu@intel.com>
8230
8231 * configure.in: Define the default includes to being none.
8232 * configure: Regenerated.
8233
3a097cc7
RM
82342012-05-25 Roland McGrath <roland@hack.frob.com>
8235
8422c9a5
RM
8236 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
8237 * sysdeps/x86_64/setjmp.S: Likewise.
8238 * sysdeps/i386/bsd-setjmp.S: Likewise.
8239 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8240 * sysdeps/i386/setjmp.S: Likewise.
8241 * sysdeps/i386/__longjmp.S: Likewise.
8242 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8243 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
8244
3a097cc7
RM
8245 * include/stap-probe.h: New file.
8246 * configure.in: Handle --enable-systemtap.
8247 * configure: Regenerated.
8248 * config.h.in (USE_STAP_PROBE): New #undef.
8249 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
8250 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
8251 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8252
21708942
JM
82532012-05-25 Joseph Myers <joseph@codesourcery.com>
8254
8255 [BZ #13717]
8256 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8257 to 2.4.0 where earlier.
8258 * sysdeps/unix/sysv/linux/configure: Regenerated.
8259 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8260 <kernel-features.h>.
8261 [__ASSUME_32BITUIDS]: Make code unconditional.
8262 [!__ASSUME_32BITUIDS]: Remove conditional code.
8263 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
8264 <kernel-features.h>.
8265 [__ASSUME_32BITUIDS]: Make code unconditional.
8266 [!__ASSUME_32BITUIDS]: Remove conditional code.
8267 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
8268 [__ASSUME_32BITUIDS]: Make code unconditional.
8269 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
8270 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.c: Do not include
8299 <kernel-features.h>.
8300 [__ASSUME_32BITUIDS]: Make code unconditional.
8301 [!__ASSUME_32BITUIDS]: Remove conditional code.
8302 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8303 <kernel-features.h>.
8304 [__ASSUME_32BITUIDS]: Make code unconditional.
8305 [!__ASSUME_32BITUIDS]: Remove conditional code.
8306 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
8307 <kernel-features.h>.
8308 [__ASSUME_32BITUIDS]: Make code unconditional.
8309 [!__ASSUME_32BITUIDS]: Remove conditional code.
8310 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
8311 <kernel-features.h>.
8312 [__NR_setresgid] (__setresgid): Do not declare.
8313 [__ASSUME_32BITUIDS]: Make code unconditional.
8314 [!__ASSUME_32BITUIDS]: Remove conditional code.
8315 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
8316 <kernel-features.h>.
8317 [__NR_setresuid] (__setresuid): Do not declare.
8318 [__ASSUME_32BITUIDS]: Make code unconditional.
8319 [!__ASSUME_32BITUIDS]: Remove conditional code.
8320 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/i386/setreuid.c: Do not include
8349 <kernel-features.h>.
8350 [__ASSUME_32BITUIDS]: Make code unconditional.
8351 [!__ASSUME_32BITUIDS]: Remove conditional code.
8352 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
8353 <kernel-features.h>.
8354 [__ASSUME_32BITUIDS]: Make code unconditional.
8355 [!__ASSUME_32BITUIDS]: Remove conditional code.
8356 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8357 <kernel-features.h>.
8358 [__ASSUME_32BITUIDS]: Make code unconditional.
8359 [!__ASSUME_32BITUIDS]: Remove conditional code.
8360 * sysdeps/unix/sysv/linux/kernel-features.h
8361 (__ASSUME_SETRESUID_SYSCALL): Remove.
8362 (__ASSUME_SETRESGID_SYSCALL): Likewise.
8363 (__ASSUME_32BITUIDS): Likewise.
8364 (__ASSUME_LDT_WORKS): Likewise.
8365 (__ASSUME_O_DIRECTORY): Likewise.
8366 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
8367 architecture but not kernel version.
8368 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8369 (__ASSUME_MMAP2_SYSCALL): Likewise.
8370 (__ASSUME_STAT64_SYSCALL): Likewise.
8371 (__ASSUME_IPC64): Likewise.
8372 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
8373 <kernel-features.h>.
8374 [__ASSUME_32BITUIDS]: Make code unconditional.
8375 [!__ASSUME_32BITUIDS]: Remove conditional code.
8376 * sysdeps/unix/sysv/linux/opendir.c: Do not include
8377 <kernel-features.h>.
8378 [__ASSUME_O_DIRECTORY]: Make code unconditional.
8379 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
8380 132096]: Remove conditional code.
8381 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
8382 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8383 <kernel-features.h>.
8384 [__ASSUME_32BITUIDS]: Make code unconditional.
8385 [!__ASSUME_32BITUIDS]: Remove conditional code.
8386 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8387 <kernel-features.h>.
8388 [__ASSUME_32BITUIDS]: Make code unconditional.
8389 [!__ASSUME_32BITUIDS]: Remove conditional code.
8390 * sysdeps/unix/sysv/linux/setegid.c: Do not include
8391 <kernel-features.h>.
8392 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
8393 unconditional.
8394 (__setresgid): Do not declare.
8395 [__ASSUME_32BITUIDS]: Make code unconditional.
8396 [!__ASSUME_32BITUIDS]: Remove conditional code.
8397 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
8398 <kernel-features.h>.
8399 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
8400 unconditional.
8401 (__setresuid): Do not declare.
8402 [__ASSUME_32BITUIDS]: Make code unconditional.
8403 [!__ASSUME_32BITUIDS]: Remove conditional code.
8404 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8405 <kernel-features.h>.
8406 [__ASSUME_32BITUIDS]: Make code unconditional.
8407 [!__ASSUME_32BITUIDS]: Remove conditional code.
8408 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
8409 <kernel-features.h>.
8410 [__ASSUME_32BITUIDS]: Make code unconditional.
8411 [!__ASSUME_32BITUIDS]: Remove conditional code.
8412
a386f1cc
RH
84132012-05-25 Richard Henderson <rth@twiddle.net>
8414
8415 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
8416 dl_hwcap to ifunc resolver.
8417 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
8418 elf_ifunc_invoke.
8419 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
8420 dl_hwcap to ifunc resolver.
8421 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
8422
b6550497
JM
84232012-05-24 Joseph Myers <joseph@codesourcery.com>
8424
8425 [BZ #14153]
8426 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
8427 for |x| <= 2**-26, not 2**-57.
8428 * math/libm-test.inc (acos_test): Do not allow spurious underflow
8429 exception.
8430
b0bc23a1
JL
84312012-05-24 Jeff Law <law@redhat.com>
8432
8433 * stdio-common/Makefile (tests): Add bug25.
8434 * stdio-common/bug25.c: New test.
8435
347c92e9
L
84362012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8437
8438 [BZ #13576]
8439 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
8440 multiple of MALLOC_ALIGNMENT in size.
8441 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
8442
6bcc8b3f
JM
84432012-05-24 Joseph Myers <joseph@codesourcery.com>
8444
8445 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
8446 Require >= 256.
8447 (FILENAME_MAX): Use macro-int-constant.
8448 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
8449 (_IOFBF): Use macro-int-constant.
8450 (_IOLBF): Likewise.
8451 (_IONBF): Likewise.
8452 (SEEK_CUR): Likewise.
8453 (SEEK_END): Likewise.
8454 (SEEK_SET): Likewise.
8455 (TMP_MAX): Likewise.
8456 (EOF): Use macro-int-constant. Require < 0.
8457 (NULL): Use macro-constant. Require == 0.
8458 (stdin): Require type to be FILE *.
8459 (stdout): Likewise.
8460 (stderr): Likewise.
8461 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
8462 macro-int-constant.
8463 (EXIT_SUCCESS): Likewise.
8464 (NULL): Use macro-constant. Require == 0.
8465 (RAND_MAX): Use macro-int-constant.
8466 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
8467 [C99-based standards] (strtof): Require function.
8468 [C99-based standards] (strtold): Likewise.
8469 [C99-based standards] (strtoll): Likewise.
8470 [C99-based standards] (strtoull): Likewise.
8471 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8472 [ISO || ISO99 || ISO11] (limits.h): Likewise.
8473 [ISO || ISO99 || ISO11] (math.h): Likewise.
8474 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
8475 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8476 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8477
d18ea0c5
AS
84782012-05-24 Andreas Schwab <schwab@linux-m68k.org>
8479
8480 [BZ #14132]
56d25bb8
AS
8481 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
8482 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
8483 * intl/dgettext.c (DCGETTEXT): Likewise.
8484 * intl/gettext.c (DCGETTEXT): Likewise.
8485 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
8486 * posix/regex_internal.h (gettext): Likewise.
8487 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
8488 Remove declaration.
8489 * include/argz.h (__argz_count_internal)
8490 (__argz_stringify_internal): Remove declaration.
8491 (__argz_count, __argz_stringify): Declare hidden proto.
8492 * intl/dcgettext.c: Remove use of INTDEF.
8493 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
8494 * string/argz-stringify.c: Likewise.
8495 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8496 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8497 Declare hidden proto.
d18ea0c5
AS
8498 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8499 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8500 Declare hidden proto.
8501 * include/stdio.h (__asprintf_internal): Don't declare.
8502 (__asprintf): Don't define as macro. Declare hidden proto.
8503 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
8504 (__fsetlocking): Declare hidden proto.
8505 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
8506 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
8507 hidden proto.
8508 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
8509 (_IO_setlinebuf): Remove use of INTUSE.
8510 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
8511 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
8512 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
8513 Remove declaration.
8514 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
8515 (_IO_do_flush): Remove use of INTUSE.
8516 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
8517 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
8518 (_IO_adjust_column, _IO_least_wmarker)
8519 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
8520 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
8521 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
8522 (_IO_default_doallocate, _IO_wdefault_doallocate)
8523 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
8524 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
8525 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
8526 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
8527 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
8528 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
8529 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
8530 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
8531 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
8532 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
8533 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
8534 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
8535 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
8536 proto.
8537 (_IO_flush_all_internal, _IO_adjust_column_internal)
8538 (_IO_default_uflow_internal, _IO_default_finish_internal)
8539 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
8540 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
8541 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
8542 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
8543 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
8544 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
8545 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
8546 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
8547 (_IO_file_close_internal, _IO_file_close_it_internal)
8548 (_IO_file_underflow_internal, _IO_file_overflow_internal)
8549 (_IO_file_init_internal, _IO_file_attach_internal)
8550 (_IO_file_fopen_internal, _IO_file_read_internal)
8551 (_IO_file_sync_internal, _IO_file_seek_internal)
8552 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
8553 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
8554 (_IO_str_underflow_internal, _IO_str_overflow_internal)
8555 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
8556 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
8557 (_IO_list_all_internal, _IO_link_in_internal)
8558 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
8559 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
8560 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
8561 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
8562 (_IO_do_write_internal, _IO_padn_internal)
8563 (_IO_getline_info_internal, _IO_getline_internal)
8564 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
8565 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
8566 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
8567 (_IO_vfscanf_internal, _IO_vfprintf_internal)
8568 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
8569 (_IO_init_internal, _IO_un_link_internal): Don't declare.
8570 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
8571 with libc_hidden_ver, remove use of INTUSE.
8572 * libio/genops.c: Likewise.
8573 * libio/freopen.c: Likewise.
8574 * libio/freopen64.c: Likewise.
8575 * libio/iofclose.c: Likewise.
8576 * libio/iofdopen.c: Likewise.
8577 * libio/iofflush.c: Likewise.
8578 * libio/iofflush_u.c: Likewise.
8579 * libio/iofgets.c: Likewise.
8580 * libio/iofgets_u.c: Likewise.
8581 * libio/iofopen.c: Likewise.
8582 * libio/iofopncook.c: Likewise.
8583 * libio/iofread.c: Likewise.
8584 * libio/iofread_u.c: Likewise.
8585 * libio/ioftell.c: Likewise.
8586 * libio/iofwrite.c: Likewise.
8587 * libio/iogetline.c: Likewise.
8588 * libio/iogets.c: Likewise.
8589 * libio/iogetwline.c: Likewise.
8590 * libio/iopadn.c: Likewise.
8591 * libio/iopopen.c: Likewise.
8592 * libio/ioseekoff.c: Likewise.
8593 * libio/ioseekpos.c: Likewise.
8594 * libio/iosetbuffer.c: Likewise.
8595 * libio/iosetvbuf.c: Likewise.
8596 * libio/ioungetc.c: Likewise.
8597 * libio/ioungetwc.c: Likewise.
8598 * libio/iovdprintf.c: Likewise.
8599 * libio/iovsprintf.c: Likewise.
8600 * libio/iovsscanf.c: Likewise.
8601 * libio/memstream.c: Likewise.
8602 * libio/obprintf.c: Likewise.
8603 * libio/oldfileops.c: Likewise.
8604 * libio/oldiofclose.c: Likewise.
8605 * libio/oldiofdopen.c: Likewise.
8606 * libio/oldiofopen.c: Likewise.
8607 * libio/oldiopopen.c: Likewise.
8608 * libio/oldstdfiles.c: Likewise.
8609 * libio/putc.c: Likewise.
8610 * libio/setbuf.c: Likewise.
8611 * libio/setlinebuf.c: Likewise.
8612 * libio/stdfiles.c: Likewise.
8613 * libio/strops.c: Likewise.
8614 * libio/vasprintf.c: Likewise.
8615 * libio/vscanf.c: Likewise.
8616 * libio/vsnprintf.c: Likewise.
8617 * libio/vswprintf.c: Likewise.
8618 * libio/wfiledoalloc.c: Likewise.
8619 * libio/wfileops.c: Likewise.
8620 * libio/wgenops.c: Likewise.
8621 * libio/wmemstream.c: Likewise.
8622 * libio/wstrops.c: Likewise.
8623 * libio/__fpurge.c: Likewise.
8624 * libio/__fsetlocking.c: Likewise.
8625 * assert/assert.c: Likewise.
8626 * debug/fgets_chk.c: Likewise.
8627 * debug/fgets_u_chk.c: Likewise.
8628 * debug/fread_chk.c: Likewise.
8629 * debug/fread_u_chk.c: Likewise.
8630 * debug/gets_chk.c: Likewise.
8631 * debug/obprintf_chk.c: Likewise.
8632 * debug/vasprintf_chk.c: Likewise.
8633 * debug/vdprintf_chk.c: Likewise.
8634 * debug/vsnprintf_chk.c: Likewise.
8635 * debug/vsprintf_chk.c: Likewise.
8636 * malloc/mtrace.c: Likewise.
8637 * misc/error.c: Likewise.
8638 * misc/syslog.c: Likewise.
8639 * stdio-common/asprintf.c: Likewise.
8640 * stdio-common/fxprintf.c: Likewise.
8641 * stdio-common/getw.c: Likewise.
8642 * stdio-common/isoc99_fscanf.c: Likewise.
8643 * stdio-common/isoc99_scanf.c: Likewise.
8644 * stdio-common/isoc99_vfscanf.c: Likewise.
8645 * stdio-common/isoc99_vscanf.c: Likewise.
8646 * stdio-common/isoc99_vsscanf.c: Likewise.
8647 * stdio-common/printf-prs.c: Likewise.
8648 * stdio-common/printf_fp.c: Likewise.
8649 * stdio-common/printf_fphex.c: Likewise.
8650 * stdio-common/printf_size.c: Likewise.
8651 * stdio-common/putw.c: Likewise.
8652 * stdio-common/scanf.c: Likewise.
8653 * stdio-common/sprintf.c: Likewise.
8654 * stdio-common/tmpfile.c: Likewise.
8655 * stdio-common/vfprintf.c: Likewise.
8656 * stdio-common/vfscanf.c: Likewise.
8657 * stdlib/strfmon_l.c: Likewise.
8658 * sunrpc/openchild.c: Likewise.
8659 * sunrpc/xdr_stdio.c: Likewise.
8660 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8661 * sysdeps/mach/hurd/tmpfile.c: Likewise.
8662
d6c33fda
RM
86632012-05-24 Roland McGrath <roland@hack.frob.com>
8664
c1487492
RM
8665 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8666
8667 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8668 in the third column, to generate for the shared library an IFUNC
8669 that uses _dl_vdso_vsym.
8670 * Makerules (COMPILE.c, compile-stdin.c): New variables.
8671 * Makeconfig (object-suffixes-noshared): New variable.
8672
8673 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
8674 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
8675 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
8676 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
8677
d6c33fda
RM
8678 [BZ #14132]
8679 * include/sys/time.h (__gettimeofday): Remove macro.
8680 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
8681 * time/gettimeofday.c (__gettimeofday): Remove #undef.
8682 Remove INTDEF.
8683 (__gettimeofday): Add libc_hidden_def.
8684 (gettimeofday): Add libc_hidden_weak.
8685 * sysdeps/mach/gettimeofday.c: Likewise.
8686 * sysdeps/posix/gettimeofday.c: Likewise.
8687 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8688 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8689 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
8690 (__gettimeofday_internal): Remove strong_alias.
8691 (__gettimeofday): Add libc_hidden_def.
8692 (gettimeofday): Add libc_hidden_weak.
8693 * sysdeps/unix/syscalls.list (gettimeofday):
8694 Remove __gettimeofday_internal alias.
8695
b5a2bbe6
L
86962012-05-24 Daniel Jacobowitz <drow@false.org>
8697 H.J. Lu <hongjiu.lu@intel.com>
8698
8699 [BZ #12495]
8700 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8701 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8702 (largebin_index_32_big): New.
8703 (largebin_index): Use it for 16-byte alignment.
8704 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
8705 correction with front_misalign.
8706
cfba4fda
L
87072012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8708
7f907421
L
8709 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8710 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8711 Likewise.
8712 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8713 Likewise.
8714 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8715 Likewise.
8716 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8717 Likewise.
8718 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8719 Likewise.
8720 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8721 Likewise.
8722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8723 Likewise.
8724 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8725 Likewise.
8726 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8727 Likewise.
8728 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8729 Likewise.
8730 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8731 Likewise.
8732 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8733 Likewise.
8734
cfba4fda
L
8735 * scripts/data/c++-types-x32-linux-gnu.data: New file.
8736 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8737
80bad0cc
JM
87382012-05-24 Joseph Myers <joseph@codesourcery.com>
8739
7a25eb06
JM
8740 [BZ #10846]
8741 [BZ #14036]
8742 * math/libm-test.inc (exp_test): Add test from bug 14036.
8743 (pow_test): Add test from bug 10846.
8744
795405f9
JM
8745 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8746 and other flags.
8747 (special_function): Do not include flags in test name.
8748 (parse_args): Likewise.
8749 * sysdeps/i386/fpu/libm-test-ulps: Update.
8750 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8751 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8752 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8754
80bad0cc
JM
8755 * math/gen-libm-test.pl (%beautify): Add entries for underflow
8756 exceptions.
8757 * math/libm-test.inc ("Philosophy"): Update comment about
8758 exception testing.
8759 (UNDERFLOW_EXCEPTION): New macro.
8760 (UNDERFLOW_EXCEPTION_OK): Likewise.
8761 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8762 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8763 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8764 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8765 (INVALID_EXCEPTION_OK): Update value.
8766 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8767 (OVERFLOW_EXCEPTION_OK): Likewise.
8768 (IGNORE_ZERO_INF_SIGN): Likewise.
8769 (test_exceptions): Handle underflow exceptions.
8770 (acos_test): Update for underflow exception expectations.
8771 (cexp_test): Likewise.
8772 (clog_test): Likewise.
8773 (clog10_test): Likewise.
8774 (csqrt_test): Likewise.
8775 (ctan_test): Likewise.
8776 (ctanh_test): Likewise.
8777 (exp_test): Likewise.
8778 (exp10_test): Likewise.
8779 (exp2_test): Likewise.
8780 (expm1_test): Likewise.
8781 (fma_test): Likewise.
8782 (j0_test): Likewise.
8783 (jn_test): Likewise.
8784 (nexttoward_test): Likewise.
8785 (pow_test): Likewise.
8786 (scalbn_test): Likewise.
8787 (scalbln_test): Likewise.
8788 (tan_test): Likewise.
8789 (y1_test): Likewise.
8790 * sysdeps/i386/fpu/libm-test-ulps: Update.
8791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8792
9e0e3d0b
DM
87932012-05-23 David S. Miller <davem@davemloft.net>
8794
8795 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8796 (__libc_sigaction): Remove unused local variables.
8797
ccd0a08f
L
87982012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8799
8800 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8801
62bdf9a6
PE
88022012-05-23 Paul Eggert <eggert@cs.ucla.edu>
8803
f8591f80
PE
8804 mktime: avoid signed integer overflow
8805 * time/mktime.c (__mktime_internal): Do not mishandle the case
8806 where diff == INT_MIN.
8807
94c7d826
PE
8808 mktime: simplify computation of average
8809 * time/mktime.c (ranged_convert): Use new time_t_avg function
8810 instead of rolling our own (probably-slower) code.
8811
ce73d683
PE
8812 mktime: do not assume signed right shift propagates sign bit
8813 * time/mktime.c (isdst_differ): New static function.
8814 (__mktime_internal): No need to normalize tm_isdst now.
8815 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8816 tm_isdst values.
8817
72a22e59
PE
8818 mktime: merge another wrapv change from gnulib
8819 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8820 from some compilers.
8821
68605433
PE
8822 mktime: remove incorrect attempt at unusual arithmetics
8823 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8824 The code didn't really work on such machines anyway.
8825 (TYPE_MINIMUM): Assume two's complement.
8826 (twos_complement_arithmetic): Verify that long_int and time_t
8827 are two's complement (or unsigned, in the latter case).
8828
03cf7fe3
PE
8829 mktime: check signed shifts on long_int and time_t, too
8830 * time/mktime.c (SHR): Check that shifts work as desired
8831 on the types long_int and time_t too, as SHR is used on
8832 such types.
8833
f04dfbc2
PE
8834 mktime: do not assume 'long' is wide enough
8835 * time/mktime.c (verify): Move decl up.
8836 (long_int): New type.
8837 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8838 to remove assumption in the code that 'long' is wide enough to
8839 store year values. This assumption is not true on x32 and on
8840 some non-glibc platforms.
8841
62bdf9a6
PE
8842 mktime: merge wrapv change from gnulib
8843 * time/mktime.c (WRAPV): New macro.
8844 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8845 (guess_time_tm, __mktime_internal): Do not assume that signed
8846 integer overflow wraps around; modern compilers generate code
8847 where this assumption is no longer valid.
8848
5e292e4f
L
88492012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8850
8851 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8852 Replace "jmp L(pseudo_end)" with "ret".
8853 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8854 Likewise.
8855
8caf8c87
AJ
88562012-05-23 Andreas Jaeger <aj@suse.de>
8857
8858 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8859 * sysdeps/unix/sysv/linux/poll.c: Remove file.
8860
1a09dc56
AJ
88612012-05-23 Andreas Jaeger <aj@suse.de>
8862 Maximilian Attems <max@stro.at>
8863
8864 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8865 New macros.
8866
1c87aba0
L
88672012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8868
8869 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8870 code so that pseudo_end is just ret and the stack pointer is
8871 correct also for static library in error case.
8872
40e45bd5
JM
88732012-05-23 Joseph Myers <joseph@codesourcery.com>
8874
c2670533
JM
8875 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8876 move to syscalls.list.
8877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8881
40e45bd5
JM
8882 * manual/install.texi (Running make install): Do not mention Linux
8883 kernel version for which pt_chown is not needed.
8884 (Linux): Do not mention problems with nscd with 2.0 kernels.
8885 * INSTALL: Regenerated.
8886
be08eda5
AJ
88872012-05-23 Andreas Jaeger <aj@suse.de>
8888
8889 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8890 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8891 macro.
8892 * sysdeps/unix/sysv/linux/s390/bits/mman.h
8893 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8894 * sysdeps/unix/sysv/linux/sh/bits/mman.h
8895 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8896 * sysdeps/unix/sysv/linux/i386/bits/mman.h
8897 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8898 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8899 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8900 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8901 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8902 * sysdeps/unix/sysv/linux/bits/in.h
8903 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8904
a6a056bb
RM
89052012-05-22 Roland McGrath <roland@hack.frob.com>
8906
8907 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8908 (PREPARE_VERSION): Just use assert instead, it will be elided
8909 under [NDEBUG] anyway.
8910
c9009328
L
89112012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8912
8913 * sysdeps/unix/sysv/linux/Makefile: Include
8914 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 8915 (sysdep_routines): Remove sysctl.
c9009328
L
8916 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8917 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8918 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8919 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8920 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8921
73338355
AJ
89222012-05-22 Andreas Jaeger <aj@suse.de>
8923
8924 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8925 that pseudo_end is just ret and the stack pointer is correct also
8926 for static library in error case.
8927
d44638b0
PP
89282012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8929
8930 [BZ #14122]
8931 * nss/nsswitch.c (defconfig_entries): New variable.
8932 (__nss_database_lookup): Don't leak defconfig entries.
8933 (nss_parse_service_list): Don't leak on error paths.
8934 (free_database_entries): New function.
8935 (free_defconfig): New function.
8936 (free_mem): Move common code to free_database_entries.
8937
31a39bd8
L
89382012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8939
da0331a8
L
8940 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8941 Add arch_prctl.
8942 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8943
31a39bd8
L
8944 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8945 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8946 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8947 New macro.
8948 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8949 (INTERNAL_SYSCALL_TYPES): Likewise.
8950 (LOAD_ARGS_TYPES_[1-6]): Likewise.
8951 (LOAD_REGS_TYPES_[1-6]): Likewise.
8952 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8953 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8954
45470df3
AZ
89552012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8956
8957 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8958 copysignl for GLIBC_2_0.
8959 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8960 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8961 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8962 logbl for GLIBC_2_0.
8963 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8964 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8965
98a61bcb
L
89662012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8967
a4f6e481
L
8968 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8969 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8970
f63d5db6
L
8971 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8972 Use "neg %eax".
8973
98a61bcb
L
8974 * time/mktime.c: Update copyright years.
8975
95770f14
PE
89762012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8977
6226efbd
PE
8978 mktime: merge comment-quoting-style change from gnulib
8979 * time/mktime.c: Quote 'like this' in comments.
8980 The GNU coding standards suggest that we no longer quote `like this',
8981 as "`" and "'" are typically rendered asymmetrically nowadays.
8982 The typical gnulib style is to quote 'like this' when quoting
8983 code, and "like this" when quoting English.
8984
b99e4f78
PE
8985 * time/mktime.c (compile-command): Add "-I.".
8986
643e01e6
PE
8987 mktime: merge mktime-internal.h change from gnulib
8988 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8989
2554247d
PE
8990 mktime: merge time_r change from gnulib
8991 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8992
826dd0ab
PE
8993 mktime: merge DEBUG change from gnulib
8994 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8995 case system <time.h> has a #define.
8996
bd83aabe
PE
8997 mktime: merge <sys/types.h> change from gnulib
8998 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8999 since <time.t> is now guaranteed to define time_t.
9000
95770f14
PE
9001 mktime: merge HAVE_CONFIG_H change from gnulib
9002 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
9003
5e1a27a9
L
90042012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9005
0e44a77e
L
9006 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9007 Use "neg %eax".
9008
5e1a27a9
L
9009 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
9010 __rlim_t cast.
9011 (struct rusage): Use anonymous union to pad each field to
9012 __syscall_slong_t.
9013
46259bec
DM
90142012-05-21 David S. Miller <davem@davemloft.net>
9015
9016 * Makefules (o-iterator): Remove .s cases.
9017 (compile-command.s): Delete.
9018 (COMPILE.s): Delete.
9019 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
9020
59f0c22e
JM
90212012-05-21 Joseph Myers <joseph@codesourcery.com>
9022
9023 * configure.in (libc_cv_predef_stack_protector): Only consider
9024 "foobar" and "__stack_chk_fail" lines in libc_undefs.
9025 * configure: Regenerated.
9026
20c07380
L
90272012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9028
bbb3154b
L
9029 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9030 New macro. Use R*LP on int and pointer.
9031 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
9032 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
9033 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
9034 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
9035
20c07380
L
9036 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
9037 [__WORDSIZE_TIME64_COMPAT32] instead of
9038 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
9039 (struct utmp): Likewise.
9040 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
9041 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
9042 Renamed to ...
9043 (__WORDSIZE_TIME64_COMPAT32): This.
9044 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
9045 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
9046 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
9047 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
9048 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
9049 (__WORDSIZE_TIME64_COMPAT32): New macro.
9050
d8d1017e
AJ
90512012-05-21 Andreas Jaeger <aj@suse.de>
9052
9053 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
9054 only if [SHARED]. Add prototype for __wcschr_ia32.
9055
6c7fb145
RM
90562012-05-21 Roland McGrath <roland@hack.frob.com>
9057
9058 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
9059 of %rbp unmolested in the jmp_buf while mangling the low bits.
9060 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
9061 unmolested high bits of %rbp while demangling the low bits.
9062 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9063
66274218
AJ
90642012-05-21 Andreas Jaeger <aj@suse.de>
9065
07c58f8f
AJ
9066 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
9067 * sunrpc/svc_simple.c: Use it for registerrpc.
9068 * sunrpc/xcrypt.c: Use it for passwd2des.
9069
66274218
AJ
9070 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
9071
61f65140
L
90722012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9073
9074 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
9075 Don't define if [__SYSCALL_WORDSIZE != 32].
9076 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
9077 New macro.
9078
5fefb436
AJ
90792012-05-21 Bruno Haible <bruno@clisp.org>
9080 Andreas Jaeger <aj@suse.de>
9081
9082 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
9083 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
9084 inptr and inend for must_buffer_ch.
9085 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
9086 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
9087 * stdio-common/Makefile (tests): Remove bug15.
9088 (bug15-ENV): Remove macro.
9089 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
9090 anymore.
9091
d8e272ab
AJ
90922012-05-19 Andreas Jaeger <aj@suse.de>
9093 Roland McGrath <roland@hack.frob.com>
9094
9095 * manual/contrib.texi: Completely rewritten. It contains now an
9096 alphabetical list of contributors and their contributions.
9097
4a56a162
RH
90982012-05-21 Richard Henderson <rth@twiddle.net>
9099
9100 * misc/getauxval.c (__getauxval): Use unsigned long int.
9101 * misc/sys/auxv.h: Include <sys/cdefs.h>.
9102 (getauxval): Use unsigned long int.
9103
d024d23c
L
91042012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9105
9106 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9107
cbc00a03
RM
91082012-05-21 Roland McGrath <roland@hack.frob.com>
9109
9110 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
9111 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
9112 __alignof__ (long double).
9113
478143fa
AZ
91142012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9115
9116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9117
c7683a6d
RH
91182012-05-20 Richard Henderson <rth@twiddle.net>
9119
9120 * misc/getauxval.c: New file.
9121 * misc/sys/auxv.h: New file.
9122 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
9123 (routines): Add getauxval.
9124 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
9125 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
9126 * elf/dl-sysdep.c (_dl_auxv): Remove.
9127 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
9128 * elf/dl-support.c (_dl_auxv): New variable.
9129 (_dl_aux_init): Initialize it.
9130 * manual/startup.texi (Auxiliary Vector): New node.
9131 * sysdeps/generic/bits/hwcap.h: New file.
9132 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
9133 * sysdeps/powerpc/sysdep.h: ... here. Include it.
9134 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
9135 * sysdeps/sparc/sysdep.h: ... here. Include it.
9136 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
9137 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
9138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9139 Update.
c7683a6d
RH
9140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
9141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
9142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
9143 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
9144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
9147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
9148
a6f1845d
AZ
91492012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9150
9151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9152
cbcbe830
DM
91532012-05-19 David S. Miller <davem@davemloft.net>
9154
9155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9156
e0b16cc2
JM
91572012-05-19 Joseph Myers <joseph@codesourcery.com>
9158
9159 [BZ #14123]
9160 * math/s_ccosh.c: Include <float.h>
9161 (__ccosh): Avoid internal overflow calculating sinh and cosh
9162 values before multiplying by sin and cos values.
9163 * math/s_ccoshf.c: Likewise.
9164 * math/s_ccoshl.c: Likewise.
9165 * math/s_csin.c: Likewise.
9166 * math/s_csinf.c: Likewise.
9167 * math/s_csinl.c: Likewise.
9168 * math/s_csinh.c: Likewise.
9169 * math/s_csinhf.c: Likewise.
9170 * math/s_csinhl.c: Likewise.
9171 * math/libm-test.inc (ccos_test): Add more tests.
9172 (ccosh_test): Likewise.
9173 (csin_test): Likewise.
9174 (csinh_test): Likewise.
9175 * sysdeps/i386/fpu/libm-test-ulps: Update.
9176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9177
6ad13e08
L
91782012-05-19 H.J. Lu <hongjiu.lu@intel.com>
9179
f66f0ce8
L
9180 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
9181 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9182
6ad13e08
L
9183 * sysdeps/x86_64/x32/_itoa.h: Add comment.
9184
b1d072a7
JM
91852012-05-19 Joseph Myers <joseph@codesourcery.com>
9186
9187 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
9188 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
9189 * sysdeps/powerpc/soft-fp/Versions: Likewise.
9190 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
9191 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
9192 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
9193 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
9194 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
9195 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
9196 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
9197 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
9198 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
9199 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
9200 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
9201 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
9202 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
9203 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
9204 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
9205 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
9206 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
9207 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
9208 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
9209 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
9210 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
9211 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
9212 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
9213 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
9214 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
9215 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
9216 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
9217 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
9218
9eae47cb
AJ
92192012-05-18 Andreas Jaeger <aj@suse.de>
9220
9221 * csu/.gitignore: Delete.
9222
bb07f69f
L
92232012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9224
9225 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
9226 (timex): Use __syscall_slong_t.
9227
e6bdb741
AJ
92282012-05-18 Andreas Jaeger <aj@suse.de>
9229 Carlos O'Donell <carlos_odonell@mentor.com>
9230
9231 * manual/install.texi (Configuring and compiling): Update
9232 description about files modified in the source directory.
d6c33fda 9233 * INSTALL: Regenerated.
e6bdb741 9234
1b74487e
L
92352012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9236
9237 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
9238 value. Use "or" to set return value to -1.
9239 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
9240 negate return value.
9241
a88b64b9
TMQMF
92422012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9243
9244 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
9245 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
9246 failure if the compiler has Graphite support disabled.
9247 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
9248 Likewise.
9249 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
9250 CFLAGS-memmove.c): Likewise.
9251 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
9252 Likewise.
9253
3707636e
L
92542012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9255
610b8622
L
9256 * sysdeps/x86_64/x32/_itoa.h: New file.
9257
7cd195df
L
9258 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
9259 getdents system call only if kernel and user dirents have the
9260 same d_ino and d_off.
9261
94b07d20
L
9262 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9263 LLONG_MAX != LONG_MAX.
9264 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9265 (_fitoa_word): Likewise.
9266
18298070
L
9267 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
9268 years.
9269 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
9270 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
9271 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
9272
553c7ea4
L
9273 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
9274 include <bits/wordsize.h>. Check __x86_64__ instead of
9275 __WORDSIZE.
9276 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
9277 if __x86_64__ is defined. Use anonymous union on fpstate.
9278
3707636e
L
9279 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
9280 anonymous union.
9281
b53ef01a
AS
92822012-05-18 Andreas Schwab <schwab@linux-m68k.org>
9283
37fb1dc0
AS
9284 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9285 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
9286 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
9287 Refer to _rtld_local_ro instead of _rtld_global_ro.
9288 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
9289 Likewise.
9290 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
9291 Likewise.
9292 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
9293 Likewise.
9294 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
9295 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
9296 of _rtld_global, and rtld_progname instead of _dl_argv[0].
9297
b53ef01a
AS
9298 * sysdeps/powerpc/powerpc32/dl-machine.c
9299 (__elf_machine_runtime_setup) [PROF]: Don't reference
9300 _dl_prof_resolve.
9301
7a185db2
AJ
93022012-05-18 Andreas Jaeger <aj@suse.de>
9303
9304 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
9305 function only available for GCCs before 3.4 since GCC 3.4
9306 introduced a builtin.
9307 (lrint): Likewise.
9308 (llrintf): Likewise.
9309 (llrint): Likewise.
9310 (fmaxf): Likewise.
9311 (fmax): Likewise.
9312 (fminf): Likewise.
9313 (fmin): Likewise.
9314 (rint): Likewise.
9315 (rintf): Likewise.
9316 (nearbyint): Likewise.
9317 (nearbyintf): Likewise.
9318 (ceil): Likewise.
9319 (ceilf): Likewise.
9320 (floor): Likewise.
9321 (floorf): Likewise.
9322
3e5aef87
L
93232012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9324
428bd707
L
9325 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
9326 on both fields and cast pointer to __syscall_ulong_t.
9327
3e5aef87
L
9328 * bits/types.h (__fsword_t): New type.
9329 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
9330 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
9331 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9332 (__FSWORD_T_TYPE): Likewise.
9333 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9334 (__FSWORD_T_TYPE): Likewise.
9335 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9336 (__FSWORD_T_TYPE): Likewise.
9337 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
9338 (__FSWORD_T_TYPE): Likewise.
9339 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
9340 __SWORD_TYPE with __fsword_t.
9341 (statfs64): Likewise.
9342
1ba7c3dc
DM
93432012-05-17 David S. Miller <davem@davemloft.net>
9344
9345 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
9346
59910343
AJ
93472012-05-17 Andreas Jaeger <aj@suse.de>
9348
9349 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
9350 warning.
9351
2e4c1e9e
L
93522012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9353
9354 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
9355
de7f5ce7
AJ
93562012-05-17 Andreas Jaeger <aj@suse.de>
9357
9358 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
9359 when it is used.
9360
286abc3d
CM
93612012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9362
9363 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
9364
477cc68e
L
93652012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9366
9367 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
9368 * sysdeps/x86_64/tst-mallocalign1.c: New file.
9369
1a0994f5
CD
93702012-05-17 Andreas Jaeger <aj@suse.de>
9371 Carlos O'Donell <carlos_odonell@mentor.com>
9372
9373 [BZ #14059]
9374 * sysdeps/x86_64/multiarch/init-arch.h
9375 (bit_YMM_Usable): Rename to...
9376 (bit_AVX_Usable): ... this.
9377 (bit_FMA4_Usable): New macro.
9378 (bit_XMM_state): New macro.
9379 (bit_YMM_state): New macro.
9380 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
9381 [__ASSEMBLER__] (index_AVX_Usable): ... this.
9382 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
9383 (CPUID_OSXSAVE): New macro.
9384 (CPUID_AVX): New macro.
9385 (CPUID_FMA4): New macro.
9386 (index_YMM_Usable): Rename to...
9387 (index_AVX_Usable): ... this.
9388 (HAS_AVX): Use HAS_ARCH_FEATURE.
9389 (HAS_FMA4): Likewise.
9390 (HAS_YMM_USABLE): Remove.
9391 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9392 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
9393 are present.
9394 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
9395 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
9396 * sysdeps/x86_64/multiarch/Makefile: Likewise.
9397 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
9398 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
9399
0af797de
CM
94002012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9401
9402 * math/libm-test.c: Support platforms without multiple rounding modes.
9403 * math/bug-nextafter.c: Support platforms without FP exceptions.
9404 * math/bug-nexttoward.c: Likewise.
9405 * math/test-fenv.c: Likewise.
9406 * math/test-misc.c: Likewise.
9407 * stdlib/bug-getcontext.c: Likewise.
9408
e39745ff
AJ
94092012-05-17 Andreas Jaeger <aj@suse.de>
9410
9411 * manual/examples/search.c (critter_cmp): Change signature to
9412 avoid warnings.
9413 * manual/string.texi (Collation Functions): Likewise.
9414
48970aba
L
94152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9416
9417 * bits/types.h: Fold copyright years.
9418 * bits/typesizes.h: Likewise.
9419 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
9420 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9421 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
9422 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
9423 * time/time.h: Likewise.
9424
bedee953
PP
94252012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9426
9427 [BZ #208]
9428 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
9429 in instead of returning them. Return void.
9430 (__libc_mallinfo): Accumulate over all arenas.
9431 (__malloc_stats): Adjust for change in int_mallinfo interface.
9432
61653dfb
RM
94332012-05-16 Roland McGrath <roland@hack.frob.com>
9434
30b99d79
RM
9435 [BZ #10375]
9436 * configure.in (NM): Add AC_CHECK_TOOL for it.
9437 (libc_extra_cflags): New substituted variable.
9438 Check for -fstack-protector being used implicitly.
9439 * configure: Regenerated.
9440 * config.make.in (config-extra-cflags): New variable,
9441 gets @libc_extra_cflags@.
9442 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
9443
61653dfb
RM
9444 [BZ #10375]
9445 * configure.in: Check for _FORTIFY_SOURCE being predefined.
9446 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
9447 * configure: Regenerated.
9448 * config.make.in (CPPUNDEFS): New substituted variable.
9449 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9450 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
9451 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
9452
661768bb
L
94532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9454
9455 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
9456 (mq_attr): Use __syscall_slong_t.
9457
d4261567
L
94582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9459
9460 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
9461 Check __x86_64__ instead of __WORDSIZE.
9462 (_STAT_VER_LINUX): Likewise.
9463 (stat): Check __x86_64__ instead of __WORDSIZE. Use
9464 __syscall_ulong_t and __syscall_slong_t.
9465 (stat64): Likewise.
9466
cf3ff365
L
94672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9468
9469 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9470
76cf3e4d
L
94712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9472
9473 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9474
a637753a
L
94752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9476
9477 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
9478 __syscall_ulong_t.
9479
d5e05119
L
9480 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
9481 include <bits/wordsize.h>. Check __x86_64__ instead of
9482 __WORDSIZE.
9483 (greg_t): Use "__extension__ long long int" if __x86_64__ is
9484 defined.
9485 (mcontext_t): Replace "unsigned long" with "unsigned long long".
9486
f62ee380
L
9487 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
9488 include <bits/wordsize.h>. Check __x86_64__ instead of
9489 __WORDSIZE.
9490 (user_regs_struct): Use "__extension__ unsigned long long"
9491 instead of "unsigned long" if __x86_64__ is defined.
9492 (user): Likewise. Pad after pointer field if __ILP32__ is
9493 defined.
9494
4e124ced
JM
94952012-05-16 Joseph Myers <joseph@codesourcery.com>
9496
6a3951a0
JM
9497 * configure.in (makeinfo): Require version 4.5 or later. Allow
9498 versions 5 to 9.
9499 * configure: Regenerated.
9500 * manual/install.texi (texinfo): Increase version requirement to
9501 4.5 or later.
9502 * INSTALL: Regenerated.
9503
4e124ced
JM
9504 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
9505
953ca31a
L
95062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9507
9508 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
9509
617aca05
L
9510 * sysdeps/x86_64/x32/ffs.c: New file.
9511
5762f7ae
L
9512 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
9513 __syscall_ulong_t.
9514 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
9515 defined. Use __syscall_ulong_t.
9516 (shminfo): Use __syscall_ulong_t.
9517 (shm_info): Likewise.
9518
a26b6856
L
9519 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
9520 __syscall_ulong_t.
9521
cb2b9ef7
L
9522 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
9523 <bits/wordsize.h>.
9524 (msgqnum_t): Use __syscall_ulong_t.
9525 (msglen_t): Likewise.
9526 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
9527 __syscall_ulong_t.
9528
34683bb0
L
9529 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
9530 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9531
84a68786
L
9532 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
9533
48baa5f1
L
9534 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
9535 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
9536
180be88b
L
9537 * sysvipc/sys/msg.h (msgbuf): Replace long int with
9538 __syscall_slong_t.
9539
5e90c8ad
L
9540 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
9541 include <bits/wordsize.h>. Check __x86_64__ instead of
9542 __WORDSIZE.
9543
23dfb58b
L
9544 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
9545 "unsigned long long int" if __x86_64__ is defined.
9546 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
9547
ce5d54b0
L
9548 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
9549 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9550 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
9551
13dc9eac
L
9552 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
9553 <stdint.h>.
9554 (GET_PC): Cast to uintptr_t first.
9555 (GET_FRAME): Likewise.
9556 (GET_STACK): Likewise.
9557
a7895d15
L
9558 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
9559 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
9560 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
9561 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
9562 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
9563 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
9564 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
9565 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
9566 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
9567 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
9568 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
9569 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
9570 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9571 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
9572 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
9573 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
9574 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
9575 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
9576 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
9577 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
9578 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
9579 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
9580 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
9581 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
9582 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
9583 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
9584 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
9585 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
9586 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
9587
656416c9
AS
95882012-05-16 Andreas Schwab <schwab@linux-m68k.org>
9589
5bd66283
AS
9590 * Makerules (+depfiles): Also collect depfiles from .oS in
9591 $(extra-objs).
9592 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
9593 .oS, $(libnldbl-routines)).
9594
656416c9
AS
9595 * Makerules (native-compile-mkdep-flags): Define.
9596 * sunrpc/Makefile (extra-objs): Add $(addprefix
9597 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
9598 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
9599 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
9600 calling $(make-target-directory).
9601
a46f2169
L
96022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9603
9604 * bits/types.h (__snseconds_t): Removed.
9605 * time/time.h (struct timespec): Replace __snseconds_t with
9606 __syscall_slong_t.
9607 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
9608 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9609 Likewise.
9610 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9611 (__SNSECONDS_T_TYPE): Likewise.
9612 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9613 (__SNSECONDS_T_TYPE): Likewise.
9614 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9615 (__SNSECONDS_T_TYPE): Likewise.
9616
6af6528b
L
96172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9618
9619 * sysdeps/mach/hurd/bits/typesizes.h
9620 (__SYSCALL_SLONG_TYPE): New macro.
9621 (__SYSCALL_ULONG_TYPE): Likewise.
9622
de986b56
L
96232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9624
9625 * bits/types.h (__syscall_slong_t): New type.
9626 (__syscall_ulong_t): Likewise.
9627
9628 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
9629 (__SYSCALL_ULONG_TYPE): Likewise.
9630 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9631 (__SYSCALL_SLONG_TYPE): Likewise.
9632 (__SYSCALL_ULONG_TYPE): Likewise.
9633 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9634 (__SYSCALL_SLONG_TYPE): Likewise.
9635 (__SYSCALL_ULONG_TYPE): Likewise.
9636 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9637 (__SYSCALL_SLONG_TYPE): Likewise.
9638 (__SYSCALL_ULONG_TYPE): Likewise.
9639
85736dc7
L
96402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9641
9642 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
9643 Add sigaltstack-offsets.sym.
9644 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9645 <sigaltstack-offsets.h>.
9646 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
9647 longjmp_msg pointer.
9648 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
9649 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
9650 signal stack.
9651 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
9652
cc03b296
JM
96532012-05-15 Joseph Myers <joseph@codesourcery.com>
9654
a9538892
JM
9655 * elf/stackguard-macros.h: Remove file.
9656 * sysdeps/generic/stackguard-macros.h: New file.
9657 * sysdeps/i386/stackguard-macros.h: Likewise.
9658 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9659 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9660 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9661 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9662 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9663 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9664 * sysdeps/x86_64/stackguard-macros.h: Likewise.
9665 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9666 <elf/stackguard-macros.h>.
9667
cc03b296
JM
9668 [BZ #14109]
9669 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9670 __aligned__ in attribute.
9671 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9672 (gregset_t): Likewise.
9673
93171016
L
96742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9675
9676 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
9677 * sysdeps/x86_64/64/Implies-after: Here. New file.
9678 * sysdeps/x86_64/x32/Implies-after: New file.
9679
d86813a0
L
96802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9681
9682 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
9683 and access return value for _dl_profile_fixup. Use R10_LP to
9684 load frame size.
9685
2953ec75
L
96862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9687
9688 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
9689
3b550e9e
L
96902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9691
9692 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
9693 * sysdeps/x86_64/x32/sysdep.h: New file.
9694
eda41706
L
96952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9696
9697 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9698 * sysdeps/x86_64/setjmp.S: Likewise.
9699
9ea01d93
AZ
97002012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9701
9702 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9703 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9704 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9705 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9706 remove unused global constant.
9707
02a91938
CM
97082012-05-15 Chris Metcalf <cmetcalf@tilera.com>
9709
9710 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9711 include of <not-cancel.h>.
9712
6540185f
RM
97132012-05-15 Roland McGrath <roland@hack.frob.com>
9714
9715 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9716
509072a0
AJ
97172012-05-15 Jeff Law <law@redhat.com>
9718 Andreas Jaeger <aj@suse.de>
9719
9720 [BZ #13594]
9721 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9722 out from...
9723 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9724 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9725 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9726 code changing __hst_map_handle.map.
9727
ba75122d
RM
97282012-05-15 Roland McGrath <roland@hack.frob.com>
9729
9730 * configure.in (sysnames): Look for Implies-before and Implies-after
9731 files.
9732 * configure: Regenerated.
9733
890d8bd8
L
97342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9735
9736 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9737 8-byte data alignment with LP_SIZE alignment.
9738
f6ee6623
L
97392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9740
9741 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9742 into R10_LP.
9743
ea2626f6
L
97442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9745
9746 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9747
085f715e
L
97482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9749
9750 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9751 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9752 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9753 Likewise.
9754 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9755
be8498fc
L
97562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9757
9758 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9759 (stackinfo_sub_sp): Likewise.
9760
70bc83b9
L
97612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9762
9763 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9764 RAX_LP.
9765
9bc0b730
L
97662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9767
9768 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9769 into R*_LP.
9770
6d2850e7
L
97712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9772
9773 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9774 sizes into R*_LP.
9775
3cb84561
L
97762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9777
9778 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9779
54e2ed81
L
97802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9781
9782 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9783 into R11_LP and load __x86_64_shared_cache_size_half into
9784 R8_LP.
9785
8a17f349
L
97862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9787
9788 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9789 R8_LP.
9790
777b1eea
AZ
97912012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9792
9793 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9794 logb for POWER7.
9795 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9796 logbf for POWER7.
9797 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9798 logbl for POWER7.
9799 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9800 powerpc32/power7/fpu/s_logb.c via #include.
9801 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9802 powerpc32/power7/fpu/s_logbf.c via #include.
9803 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9804 powerpc32/power7/fpu/s_logbl.c via #include.
9805
d20d4ac2
JM
98062012-05-15 Joseph Myers <joseph@codesourcery.com>
9807
9808 * README.libm: Remove file.
9809
6cdef1ab
L
98102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9811
9812 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9813 count for x32. Use R*_LP and omit operand-size suffix.
9814
0b254d8f
L
98152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9816
9817 * shlib-versions: Move x86_64-.*-linux.* entries to ...
9818 * sysdeps/x86_64/64/shlib-versions: Here. New file.
9819 * sysdeps/x86_64/x32/shlib-versions: New file.
9820
ceb809dc
RM
98212012-05-14 Roland McGrath <roland@hack.frob.com>
9822
9823 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9824 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9825 Use _dl_fatal_printf instead.
9826
37f1abd4
JM
98272012-05-14 Joseph Myers <joseph@codesourcery.com>
9828
9829 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9830 set if not set by the user. Do not allow for being unset.
9831 * sysdeps/unix/sysv/linux/configure: Regenerated.
9832
11de3a33
L
98332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9834
9835 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9836 the `q' suffix from lea and replace .quad with ASM_ADDR.
9837
e02f153a
L
98382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9839
9840 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9841 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
9842 instead of $17.
9843 (PTR_DEMANGLE): Likewise.
9844
520ae0fd
L
98452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9846
9847 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9848 (LP_OP): Likewise.
9849 (ASM_ADDR): Likewise.
9850 (RAX_LP): Likewise.
9851 (RBP_LP): Likewise.
9852 (RBX_LP): Likewise.
9853 (RCX_LP): Likewise.
9854 (RDI_LP): Likewise.
9855 (RSI_LP): Likewise.
9856 (RSP_LP): Likewise.
9857 (R8_LP): Likewise.
9858 (R9_LP): Likewise.
9859 (R10_LP): Likewise.
9860 (R10_LP): Likewise.
9861 (R11_LP): Likewise.
9862 (R12_LP): Likewise.
9863 (R13_LP): Likewise.
9864 (R14_LP): Likewise.
9865 (R15_LP): Likewise.
9866
b985be81
L
98672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9868
9869 * sysdeps/x86_64/x32/dl-machine.h: New file.
9870
6a4888ff
AJ
98712012-05-14 Andreas Jaeger <aj@suse.de>
9872
9873 * manual/Makefile (subdir): Remove export of subdir.
9874 (all): Remove target.
9875 (.PHONY): Remove all from list.
9876 (mkinstalldirs): Remove.
9877 (.PHONY): Remove installdirs from list.
9878 ($(inst_infodir)/libc.info): Use make-target-directory.
9879 (installdirs): Remove.
9880 (subdir_%): Remove.
9881 (glibc-targets): Remove.
9882 (lib): Remove.
9883 (stubs): Remove.
9884 ($(objpfx)stubs ../po/manual.pot): Remove.
9885 ($(objpfx)stamp%): Remove.
9886 (make-target-directory): Remove.
9887 (subdir_install): Remove.
9888 (routines): Remove.
9889 (aux): Remove.
9890 (sources): Remove.
9891 (objects): Remove.
9892 (headers): Remove.
9893
9894 [BZ #13750]
9895 * manual/.gitignore: Remove, it's not needed anymore.
9896 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9897 all files in it.
9898 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9899 directory.
9900 (texis): Renamed to $(objpfx)texis.
9901 (texis-path): New, contains path to generated files.
9902 (chapters.%): Use texis-path for complete path, add extra argument
9903 libc-texinfo.sh.
9904 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9905 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9906 (summary,texi, stamp-summary): Use complete path of
9907 files. Generate files in build dir.
9908 (dir-add.texi): Build in build dir.
9909 (libm-err.texi,stamp-libm-err): Likewise.
9910 (version.texi, stamp-version): Likewise.
9911 (.%c.texi): Likewise.
9912 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9913 (mostlyclean): Remove target.
9914 (realclean): Remove target.
9915 (generated): Add new variable with contents from mostlyclean and
9916 realclean, remove entries duplicated in common-mostlyclean, add
9917 stamp-libm-err and stamp-version.
9918 (generated-dirs): Add libc directory.
9919 ($(inst_infodir)/libc.info): Install files from build dir.
9920
9921 * manual/install.texi (Configuring and compiling): Adjust since
9922 the info files are not part of the tar ball anymore.
9923
7ac77294
AJ
99242012-05-14 Andreas Jaeger <aj@suse.de>
9925
9926 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9927 variable.
9928
ffb7875d
JM
99292012-05-14 Joseph Myers <joseph@codesourcery.com>
9930
9931 [BZ #13717]
9932 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9933 to 2.2.0 where earlier.
9934 * sysdeps/unix/sysv/linux/configure: Regenerated.
9935 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9936 Remove conditional code.
9937 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9938 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9939 Remove conditional code.
9940 [!__NR_lchown]: Likewise.
9941 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9942 [__NR_lchown]: Likewise.
9943 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9944 comment referencing __ASSUME_LCHOWN_SYSCALL.
9945 * sysdeps/unix/sysv/linux/i386/sigaction.c
9946 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9947 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9948 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9949 Remove conditional code.
9950 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9951 (__protocol_available): Remove #if 0 code.
9952 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9953 conditional code.
9954 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9955 * sysdeps/unix/sysv/linux/kernel-features.h
9956 (__ASSUME_GETCWD_SYSCALL): Don't define.
9957 (__ASSUME_REALTIME_SIGNALS): Likewise.
9958 (__ASSUME_PREAD_SYSCALL): Likewise.
9959 (__ASSUME_PWRITE_SYSCALL): Likewise.
9960 (__ASSUME_POLL_SYSCALL): Likewise.
9961 (__ASSUME_LCHOWN_SYSCALL): Likewise.
9962 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9963 non-SPARC.
9964 (__ASSUME_SIOCGIFNAME): Don't define.
9965 (__ASSUME_MSG_NOSIGNAL): Likewise.
9966 (__ASSUME_SENDFILE): Define unconditionally.
9967 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9968 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9969 conditional code.
9970 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9971 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9972 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9973 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9974 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9975 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9976 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9978 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9979 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9981 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9982 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9984 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9985 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9987 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9988 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9990 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9991 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9993 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9994 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9996 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9997 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9999 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10000 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10001 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
10002 Remove conditional code.
10003 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10004 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10005 Remove conditional code.
10006 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10007 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
10008 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
10009 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10010 Remove conditional code.
10011 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10012 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
10013 Remove conditional code.
10014 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10015 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
10016 Remove conditional code.
10017 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10018 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10019 Remove conditional code.
10020 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10021 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10022 Remove conditional code.
10023 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10024 * sysdeps/unix/sysv/linux/sh/pwrite64.c
10025 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10026 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10027 * sysdeps/unix/sysv/linux/sigaction.c
10028 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10029 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10030 * sysdeps/unix/sysv/linux/sigpending.c
10031 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10032 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10033 * sysdeps/unix/sysv/linux/sigprocmask.c
10034 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10035 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10036 * sysdeps/unix/sysv/linux/sigsuspend.c
10037 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10038 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10039 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10040 (__libc_missing_rt_sigs): Remove.
10041 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
10042 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
10043 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
10044 Remove conditional code.
10045 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
10046 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
10047 return 1.
10048 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
10049 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
10050 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
10051 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
10052
1bfb7291
AJ
100532012-05-14 Andreas Jaeger <aj@suse.de>
10054
caae5a81
AJ
10055 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
10056 it's not used in glibc.
10057 (__coshm1): Likewise.
10058 (__acosh1p): Likewise.
10059 (__sgn): Likewise.
10060
1bfb7291
AJ
10061 * manual/string.texi (Copying and Concatenation): Add missing
10062 variable in concat example.
10063 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10064
c044d724
L
100652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10066
144c5467 10067 [BZ #14103]
c044d724
L
10068 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
10069 __builtin_clzl with __builtin_clzll.
10070
2523c62b
L
100712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10072
10073 [BZ #14104]
10074 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
10075 libc_freeres_ptr.
10076
d7bb4c42
LD
100772012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10078
10079 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
10080 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
10081 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
10082 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
10083
9dc4e1fb
MF
100842012-05-14 Mike Frysinger <vapier@gentoo.org>
10085
10086 * NEWS: Update ia64 info.
10087
c7df0112
AS
100882012-05-12 Andreas Schwab <schwab@linux-m68k.org>
10089
10090 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
10091 used as bcopy.
10092
dc70356c
TS
100932012-05-12 Thomas Schwinge <thomas@codesourcery.com>
10094
10095 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
10096 * sysdeps/unix/syscalls.list (dup3): Likewise.
10097 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
10098 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
10099
9fb1a21f
L
101002012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10101
10102 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
10103 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
10104
4822a2a5
L
101052012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10106
10107 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
10108 thread pointer.
10109 (TLS_IE): Use mov/add instead of movq/addq to load thread
10110 pointer.
10111 (TLS_GD_PREFIX): New.
10112 (TLS_GD): Use it.
10113
842b81d6
DM
101142012-05-11 David S. Miller <davem@davemloft.net>
10115
10116 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
10117 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
10118 (_FPU_SETCW): Likewise.
10119
1cf463cd
L
101202012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10121
10122 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
10123 is 32-byte aligned.
10124
60cc4a18
AS
101252012-05-11 Andreas Schwab <schwab@linux-m68k.org>
10126
10127 [BZ #11837]
10128 * iconvdata/gb18030.c: Update tables.
10129 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
10130 characters specially.
10131 (BODY for TO_LOOP): Add encoding of missing ranges.
10132
febb44a4
TS
101332012-05-11 Thomas Schwinge <thomas@codesourcery.com>
10134
10135 [BZ #13673]
10136 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
10137 * sysdeps/mach/hurd/dup3.c: Likewise.
10138 * sysdeps/mach/hurd/readlinkat.c: Likewise.
10139 * sysdeps/powerpc/memmove.c:: Likewise.
10140
0a10fb9e
L
101412012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10142
10143 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
10144 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
10145
df8a552f
L
101462012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10147
10148 * elf/elf.h (R_X86_64_RELATIVE64): New.
10149 (R_X86_64_NUM): Updated.
10150 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10151 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
10152 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
10153 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
10154 tst-quad1pie tst-quad2pie
10155 (modules-names): Add tst-quadmod1 tst-quadmod2.
10156 ($(objpfx)tst-quad1): New dependency.
10157 ($(objpfx)tst-quad2): Likewise.
10158 ($(objpfx)tst-quad1pie): Likewise.
10159 ($(objpfx)tst-quad2pie): Likewise.
10160 * sysdeps/x86_64/tst-quad1.c: New file.
10161 * sysdeps/x86_64/tst-quad1pie.c: New file.
10162 * sysdeps/x86_64/tst-quad2.c: Likewise.
10163 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
10164 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
10165 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
10166 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
10167 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
10168
f34d6f84
ST
101692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10170
f42d41d1
ST
10171 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
10172 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
10173 * streams/stropts.h (t_scalar_t): Define type.
10174
3c3571fc
ST
10175 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
10176 (_PATH_PRESERVE): Set to "/var/lib".
10177 (_PATH_RWHODIR): Set to "/var/spool/rwho".
10178
61f06bd3
ST
10179 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
10180 instead of int.
10181
918d4d71
ST
10182 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
10183 if __dir_mkfile succeeded.
10184
f34d6f84
ST
10185 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
10186 checking for _hurd_dtablesize. Unlock it right after having
10187 finished _hurd_dtable allocation.
10188
10589b4a
TS
101892012-05-10 Thomas Schwinge <thomas@schwinge.name>
10190
674cdbc7
TS
10191 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
10192 * sysdeps/mach/hurd/configure: Regenerated.
10193 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
10194 special-casing to...
10195 * sysdeps/gnu/configure.in: ... this new file.
10196 * sysdeps/unix/sysv/linux/configure: Regenerated.
10197 * sysdeps/gnu/configure: New generated file.
10198
8e41b99f
TS
10199 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
10200 for Linux: use nsec instead of usec, as well as:
10201 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
10202 members of type struct timespec.
10203 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
10204 New macros.
10205 (struct stat64): Likewise.
10206 (_STATBUF_ST_NSEC): New macro.
10207 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
10208
10589b4a
TS
10209 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10210 __strtoul_internal rather than strtoul.
10211
63643c85
PT
102122012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10213
10214 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
10215 and reject them.
10216
3faebe6a
ST
102172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10218
10219 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
10220 which preserves existing values.
10221 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
10222
c6474b07
PT
102232012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10224
10225 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
10226 TIMEOUT values. Return EINVAL for NFDS values either negative or
10227 greater than FD_SETSIZE.
10228
1043890b
ST
102292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10230
10231 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
10232 allocated, call __vm_protect to finish enabling the existing space, and
10233 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
10234 allocate the remainder.
10235
37ed8b9b
PT
102362012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10237
10238 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
10239 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
10240
db653660
ST
102412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10242
37ed8b9b
PT
10243 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
10244 sysdeps/mach/hurd/readlink.c.
b29d4053 10245
db653660
ST
10246 * posix/tst-sysconf.c (posix_options): Only use
10247 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
10248 _POSIX_SYNCHRONIZED_IO when they are defined
10249 * sysdeps/mach/hurd/bits/posix_opt.h:
10250 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
10251 (_XOPEN_REALTIME): Undefine macro.
10252 (_XOPEN_REALTIME_THREADS): Undefine macro.
10253 (_XOPEN_SHM): Undefine macro.
10254 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
10255 macro to -1.
10256 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
10257 macro to -1.
10258 (_POSIX_ASYNC_IO): Undefine macro.
10259 (_POSIX_PRIORITIZED_IO): Undefine macro.
10260 (_POSIX_SPIN_LOCKS): Define macro to -1.
10261
ee16e894
ST
10262 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
10263 SA_NODEFER, SA_RESETHAND.
10264 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
10265 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
10266 F_DUPFD_CLOEXEC.
10267
6103ae3b
TS
102682012-05-10 Thomas Schwinge <thomas@schwinge.name>
10269
10270 * elf/Makefile (pldd-modules): Define unconditionally.
10271
80b4e5f3
TS
102722012-05-10 Thomas Schwinge <thomas@schwinge.name>
10273
10274 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
10275
edadcbd6
ST
102762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10277
10278 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
10279 Return ENOENT when name is empty.
10280 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
10281
80694780
TS
102822012-05-10 Thomas Schwinge <thomas@schwinge.name>
10283
1792c087
TS
10284 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
10285
80694780
TS
10286 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
10287
6b645f0d
ST
102882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10289
80694780
TS
10290 Fix mlock in all cases except non-readable pages.
10291 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
10292 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 10293
6b645f0d
ST
10294 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
10295 (__mkdir): When path is `/', just fail with EEXIST.
10296 * sysdeps/mach/hurd/mkdirat.c: Likewise.
10297
e468f8a3
TS
102982012-05-10 Thomas Schwinge <thomas@schwinge.name>
10299
10300 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
10301 <sys/uio.h> (for writev).
10302 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
10303 and <sys/param.h> (for MIN).
10304
a4186cff
PT
103052012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10306
10307 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
10308 REQUESTED_TIME. Properly set the remaining time and return EINTR
10309 if interrupted.
10310
510bbf14
TS
103112012-05-10 Thomas Schwinge <thomas@schwinge.name>
10312
10313 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
10314 Depend on against $(link-rpcuserlibs).
10315
5d5722e8
ST
103162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10317
a4186cff
PT
10318 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
10319 (__libc_stack_end): Do not use attribute_relro.
10320 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
10321 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 10322 to libthread-provided value.
a4186cff
PT
10323 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
10324 attribute_relro.
5d5722e8 10325
37233df9
TS
103262012-05-10 Thomas Schwinge <thomas@schwinge.name>
10327
be971a2b
TS
10328 [BZ #3748]
10329 * bits/libc-lock.h (__libc_once_get): New macro.
10330 * sysdeps/mach/bits/libc-lock.h: Likewise.
10331 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
10332 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
10333 instead of using implementation details.
10334
37233df9
TS
10335 * libio/fileops.c: Unconditionally include <kernel-features.h>.
10336 * libio/freopen.c: Likewise.
10337 * libio/freopen64.c: Likewise.
10338 * misc/syslog.c: Likewise.
10339 * nscd/connections.c: Likewise.
10340 * nscd/netgroupcache.c: Likewise.
10341 * sysdeps/posix/getcwd.c: Likewise.
10342
38de94a5
RM
103432012-05-10 Roland McGrath <roland@hack.frob.com>
10344
10345 * math/w_ilogbf.c: Add #include <limits.h>.
10346
67530489
ST
103472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10348
a4186cff 10349 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
10350 path instead of returning without unlocking.
10351
67530489
ST
10352 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
10353 immediate-write ioctls.
10354 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
10355
5aa3a74a
TS
103562012-05-10 Thomas Schwinge <thomas@schwinge.name>
10357
18bad2ae
TS
10358 * sysdeps/mach/hurd/i386/init-first.c (init): Use
10359 __builtin_frame_address instead of making assumptions about the
10360 location of the return address relative to DATA. Force early load of
10361 the return address.
10362 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
10363 __builtin_frame_address.
10364
5aa3a74a
TS
10365 dup3 for GNU Hurd.
10366 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
10367 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
10368 implement dup3 and do some further code clean-ups.
10369 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
10370 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
10371
ecd0de9a
ST
103722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10373
cd9fa985
ST
10374 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
10375
a4186cff
PT
10376 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
10377 HURD_CRITICAL_END around holding _hurd_dtable_lock.
10378 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
10379 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
10380 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
10381 d->port.lock.
802ca5a5 10382
a4186cff
PT
10383 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
10384 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
10385 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 10386
bcf55240
TS
103872012-05-10 Thomas Schwinge <thomas@schwinge.name>
10388
6960eb42
TS
10389 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
10390 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
10391 definitions.
10392
eb43375f
TS
10393 accept4 for GNU Hurd.
10394 * include/sys/socket.h (__libc_accept4): New prototype.
10395 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
10396 to implement __libc_accept4.
10397 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
10398 __libc_accept4.
10399 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
10400
bcf55240
TS
10401 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
10402 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
10403 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
10404 signal-defines.sym.
10405
6178c55b
ST
104062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10407
a4186cff 10408 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 10409
6f080c2f
TS
104102012-05-10 Thomas Schwinge <thomas@schwinge.name>
10411
10412 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
10413 assertion on O_CLOEXEC flag.
10414 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
10415 * hurd/intern-fd.c: Likewise.
10416 * hurd/port2fd.c: Likewise.
10417
bcfe3a54
ST
104182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10419
10420 [BZ #3906]
10421 * bits/in.h (IPV6_PKTINFO): Define new macro.
10422 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
10423
89c9aa49
AZ
104242012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10425
10426 [BZ #13954]
10427 [BZ #13955]
10428 [BZ #13956]
10429 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
10430 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10431 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
10432 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10433 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10434 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10435 * math/libm-test.inc (logb_test) : Additional logb tests.
10436
021db4be
AJ
104372012-05-09 Andreas Schwab <schwab@linux-m68k.org>
10438 Andreas Jaeger <aj@suse.de>
10439
10440 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
10441 * configure: Regenerated.
10442 * config.h.in (LINK_OBSOLETE_RPC): New macro.
10443 * config.make.in (link-obsolete-rpc): New substituted variable.
10444 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
10445 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10446 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10447 (shared-only-routines): Don't set it under [link-obsolete-rpc],
10448 so that libc.a contains the symbols.
10449 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10450 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
10451 * sunrpc/auth_none.c: Likewise.
10452 * sunrpc/auth_unix.c: Likewise.
10453 * sunrpc/authdes_prot.c: Likewise.
10454 * sunrpc/authuxprot.c: Likewise.
10455 * sunrpc/clnt_gen.c: Likewise.
10456 * sunrpc/clnt_perr.c: Likewise.
10457 * sunrpc/clnt_raw.c: Likewise.
10458 * sunrpc/clnt_simp.c: Likewise.
10459 * sunrpc/clnt_tcp.c: Likewise.
10460 * sunrpc/clnt_udp.c: Likewise.
10461 * sunrpc/clnt_unix.c: Likewise.
10462 * sunrpc/des_crypt.c: Likewise.
10463 * sunrpc/des_soft.c: Likewise.
10464 * sunrpc/get_myaddr.c: Likewise.
10465 * sunrpc/key_call.c: Likewise.
10466 * sunrpc/key_prot.c: Likewise.
10467 * sunrpc/netname.c: Likewise.
10468 * sunrpc/pm_getmaps.c: Likewise.
10469 * sunrpc/pm_getport.c: Likewise.
10470 * sunrpc/pmap_clnt.c: Likewise.
10471 * sunrpc/pmap_prot.c: Likewise.
10472 * sunrpc/pmap_prot2.c: Likewise.
10473 * sunrpc/pmap_rmt.c: Likewise.
10474 * sunrpc/publickey.c: Likewise.
10475 * sunrpc/rpc_cmsg.c: Likewise.
10476 * sunrpc/rpc_common.c: Likewise.
10477 * sunrpc/rpc_dtable.c: Likewise.
10478 * sunrpc/rpc_prot.c: Likewise.
10479 * sunrpc/rpc_thread.c: Likewise.
10480 * sunrpc/rtime.c: Likewise.
10481 * sunrpc/svc.c: Likewise.
10482 * sunrpc/svc_auth.c: Likewise.
10483 * sunrpc/svc_raw.c: Likewise.
10484 * sunrpc/svc_run.c: Likewise.
10485 * sunrpc/svc_tcp.c: Likewise.
10486 * sunrpc/svc_udp.c: Likewise.
10487 * sunrpc/svc_unix.c: Likewise.
10488 * sunrpc/svcauth_des.c: Likewise.
10489 * sunrpc/xcrypt.c: Likewise.
10490 * sunrpc/xdr.c: Likewise.
10491 * sunrpc/xdr_array.c: Likewise.
10492 * sunrpc/xdr_float.c: Likewise.
10493 * sunrpc/xdr_intXX_t.c: Likewise.
10494 * sunrpc/xdr_mem.c: Likewise.
10495 * sunrpc/xdr_rec.c: Likewise.
10496 * sunrpc/xdr_ref.c: Likewise.
10497 * sunrpc/xdr_sizeof.c: Likewise.
10498 * sunrpc/xdr_stdio.c: Likewise.
10499
b5c086a2
RM
105002012-05-10 Roland McGrath <roland@hack.frob.com>
10501
10502 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
10503 change. Update copyright years.
10504
6d74dd09
JM
105052012-05-10 Joseph Myers <joseph@codesourcery.com>
10506
10507 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
10508
28e72501
MK
105092012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
10510 Joseph Myers <joseph@codesourcery.com>
10511 Paul Pluzhnikov <ppluzhnikov@google.com>
10512
10513 [BZ #14012]
10514 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
10515 requiring rpcgen.
10516 [cross-compiling] (extra-libs): Likewise.
10517 [cross-compiling] (extra-libs-others): Likewise.
10518 [cross-compiling] (librpcsvc-routines): Likewise.
10519 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
10520 [cross-compiling] (omit-deps): Likewise.
10521 (sunrpc-CPPFLAGS): New variable.
10522 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
10523 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
10524 (cross-rpcgen-objs): New variable.
10525 (extra-objs): Append $(cross-rpcgen-objs).
10526 ($(cross-rpcgen-objs)): New rule.
10527 ($(objpfx)cross-rpcgen): Likewise.
10528 (rpcgen-cmd): Define to use $(built-program-file). Expand
10529 comment.
10530 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
10531 ($(objpfx)x%.stmp): Likewise.
10532 * sunrpc/proto.h [IS_IN_build] (_): Define.
10533 [IS_IN_build] (_libc_intl_domainname): Likewise.
10534
c8c59454
L
105352012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10536
10537 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
10538 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
10539 and R_X86_64_TPOFF64.
10540
6f27cd16
JM
105412012-05-10 Joseph Myers <joseph@codesourcery.com>
10542
10543 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
10544 sysdeps/unix/sysv/syscalls.list.
10545 (stime): Likewise.
10546 (utime): Likewise.
10547 * sysdeps/unix/sysv/syscalls.list: Remove file.
10548
02467e1c
PE
105492012-05-10 Paul Eggert <eggert@cs.ucla.edu>
10550
10551 [BZ #3440]
10552 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
10553 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
10554 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
10555 (__LC_IDENTIFICATION): Make these macros useful in #if
10556 expressions, as required by C99.
10557
da392631
AS
105582012-05-10 Andreas Schwab <schwab@linux-m68k.org>
10559
10560 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
10561 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
10562 after this.
10563
8115f29b
L
105642012-05-09 H.J. Lu <hongjiu.lu@intel.com>
10565
10566 * stdlib/longlong.h: Updated from GCC.
10567
bdd74070
AJ
105682012-05-09 Andreas Jaeger <aj@suse.de>
10569
edfe0dbe
AJ
10570 * nscd/nscd.c (run_modes): Make named enum, reorder so that
10571 default is first entry.
10572 (run_mode): Set type.
10573 (main): Remove informal message about syslog.
10574 (options): Fix typo.
10575
bcfe3a54
ST
10576 [BZ #14053]
10577 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 10578 to asm.
bcfe3a54
ST
10579 (lrint): Likewise.
10580 (llrintf): Likewise.
10581 (llrint): Likewise.
10582 (rint): Likewise.
10583 (rintf): Likewise.
10584 (nearbyint): Likewise.
10585 (nearbyintf): Likewise.
bdd74070 10586
91d8d69e
AJ
105872012-05-09 Andreas Jaeger <aj@suse.de>
10588 Pedro Alves <palves@redhat.com>
10589
10590 * nscd/nscd.c (run_mode): Use enum.
10591 (main): Cleanup coding style issue.
10592
bb90b80b
AJ
105932012-05-09 Alexandre Oliva <aoliva@redhat.com>
10594 Andreas Jaeger <aj@suse.de>
10595
bcfe3a54
ST
10596 * nscd/nscd.c (go_background): Replaced with...
10597 (run_mode): ... this.
bb90b80b 10598 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
10599 (options): Add -F --foreground.
10600 (main): Implement it.
10601 (parse_opt): Parse it.
bb90b80b 10602
1a4b75a1
AJ
106032012-05-09 Andreas Jaeger <aj@suse.de>
10604
10605 [BZ #14083]
10606 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
10607 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
10608 -Wconversion warning.
10609 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10610 Likewise.
10611
b1cc2472
JM
106122012-05-09 Joseph Myers <joseph@codesourcery.com>
10613
10614 * conform/data/locale.h-data (NULL): Use macro-constant. Require
10615 == 0.
10616 (LC_ALL): Use macro-int-constant.
10617 (LC_COLLATE): Likewise.
10618 (LC_CTYPE): Likewise.
10619 (LC_MESSAGES): Likewise.
10620 (LC_MONETARY): Likewise.
10621 (LC_NUMERIC): Likewise.
10622 (LC_TIME): Likewise.
10623 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
10624 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10625 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10626 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
10627 Specify type.
10628 [C99-based standards] (float_t): Expect type.
10629 [C99-based standards] (double_t): Expect type.
10630 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
10631 type.
10632 [C99-based standards] (HUGE_VALL): Likewise.
10633 [C99-based standards] (INFINITY): Likewise.
10634 [C99-based standards] (NAN): Likewise.
10635 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
10636 [C99-based standards] (FP_NAN): Likewise.
10637 [C99-based standards] (FP_NORMAL): Likewise.
10638 [C99-based standards] (FP_SUBNORMAL): Likewise.
10639 [C99-based standards] (FP_ZERO): Likewise.
10640 [C99-based standards] (FP_FAST_FMA): Use
10641 optional-macro-int-constant. Specify type. Require == 1.
10642 [C99-based standards] (FP_FAST_FMAF): Likewise.
10643 [C99-based standards] (FP_FAST_FMAL): Likewise.
10644 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
10645 [C99-based standards] (FP_ILOGBNAN): Likewise.
10646 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
10647 Specify type.
10648 [C99-based standards] (MATH_ERREXCEPT): Likewise.
10649 [C99-based standards] (math_errhandling): Specify type.
10650 [ISO99 || ISO11] (signgam): Do not allow.
10651 [non-C99-based standards] (copysignf): Do not allow.
10652 [non-C99-based standards] (exp2f): Likewise.
10653 [non-C99-based standards] (log2f): Likewise.
10654 [non-C99-based standards] (modff): Allow.
10655 [non-C99-based standards] (erff): Do not allow.
10656 [non-C99-based standards] (erfcf): Likewise.
10657 [non-C99-based standards] (gammaf): Likewise.
10658 [non-C99-based standards] (hypotf): Likewise.
10659 [non-C99-based standards] (j0f): Likewise.
10660 [non-C99-based standards] (j1f): Likewise.
10661 [non-C99-based standards] (jnf): Likewise.
10662 [non-C99-based standards] (lgammaf): Likewise.
10663 [non-C99-based standards] (tgammaf): Likewise.
10664 [non-C99-based standards] (y0f): Likewise.
10665 [non-C99-based standards] (y1f): Likewise.
10666 [non-C99-based standards] (ynf): Likewise.
10667 [non-C99-based standards] (isnanf): Likewise.
10668 [non-C99-based standards] (acoshf): Likewise.
10669 [non-C99-based standards] (asinhf): Likewise.
10670 [non-C99-based standards] (atanhf): Likewise.
10671 [non-C99-based standards] (cbrtf): Likewise.
10672 [non-C99-based standards] (expm1f): Likewise.
10673 [non-C99-based standards] (ilogbf): Likewise.
10674 [non-C99-based standards] (log1pf): Likewise.
10675 [non-C99-based standards] (logbf): Likewise.
10676 [non-C99-based standards] (nextafterf): Likewise.
10677 [non-C99-based standards] (remainderf): Likewise.
10678 [non-C99-based standards] (rintf): Likewise.
10679 [non-C99-based standards] (scalbf): Likewise.
10680 [non-C99-based standards] (copysignl): Likewise.
10681 [non-C99-based standards] (exp2l): Likewise.
10682 [non-C99-based standards] (log2l): Likewise.
10683 [non-C99-based standards] (modfl): Allow.
10684 [non-C99-based standards] (erfl): Do not allow.
10685 [non-C99-based standards] (erfcl): Likewise.
10686 [non-C99-based standards] (gammal): Likewise.
10687 [non-C99-based standards] (hypotl): Likewise.
10688 [non-C99-based standards] (j0l): Likewise.
10689 [non-C99-based standards] (j1l): Likewise.
10690 [non-C99-based standards] (jnl): Likewise.
10691 [non-C99-based standards] (lgammal): Likewise.
10692 [non-C99-based standards] (tgammal): Likewise.
10693 [non-C99-based standards] (y0l): Likewise.
10694 [non-C99-based standards] (y1l): Likewise.
10695 [non-C99-based standards] (ynl): Likewise.
10696 [non-C99-based standards] (isnanl): Likewise.
10697 [non-C99-based standards] (acoshl): Likewise.
10698 [non-C99-based standards] (asinhl): Likewise.
10699 [non-C99-based standards] (atanhl): Likewise.
10700 [non-C99-based standards] (cbrtl): Likewise.
10701 [non-C99-based standards] (expm1l): Likewise.
10702 [non-C99-based standards] (ilogbl): Likewise.
10703 [non-C99-based standards] (log1pl): Likewise.
10704 [non-C99-based standards] (logbl): Likewise.
10705 [non-C99-based standards] (nextafterl): Likewise.
10706 [non-C99-based standards] (remainderl): Likewise.
10707 [non-C99-based standards] (rintl): Likewise.
10708 [non-C99-based standards] (scalbl): Likewise.
10709 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10710 [non-C99-based standards] (FP_*): Do not allow.
10711 [C99-based standards] (FP_*): Change to
10712 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10713 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10714 allow.
10715 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10716 (SIG_ERR): Likewise.
10717 [X/Open-based standards] (SIG_HOLD): Likewise.
10718 (SIG_IGN): Likewise.
10719 (SIGABRT): Use macro-int-constant. Specify type. Require
10720 positive value.
10721 (SIGFPE): Likewise.
10722 (SIGILL): Likewise.
10723 (SIGINT): Likewise.
10724 (SIGSEGV): Likewise.
10725 (SIGTER): Likewise.
10726 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10727 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10728 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10729 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10730 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10731 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10732 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10733 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10734 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10735 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10736 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10737 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10738 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10739 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10740 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10741 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10742 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10743 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10744 [X/Open-based standards] (SIGTRAP): Likewise.
10745 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10746 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10747 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10748 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10749 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10750 allow.
10751
b9f1922d
IW
107522012-05-08 Ian Wienand <ianw@vmware.com>
10753
10754 [BZ #14080]
10755 * time/tzset.c (__tzset_parse_tz): Update default rules for
10756 daylight time changes in the Energy Policy Act of 2005.
10757
1db86e88
AJ
107582012-05-09 Andreas Jaeger <aj@suse.de>
10759
10760 [BZ #13983]
10761 * elf/ldconfig.c (parse_conf): Change string to make clear that
10762 ldconfig only issued a warning if ld.so.conf does not exist.
10763
dee4a4e3
DM
107642012-05-08 David S. Miller <davem@davemloft.net>
10765
ee0db190
DM
10766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10767 movxtod instead of popping the value on the stack.
10768
dee4a4e3
DM
10769 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10770
6a43ec98
CD
107712012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
10772
10773 * config.h.in: Add HAVE_ARM_PCS_VFP.
10774
05c2c961
RMG
107752012-05-08 Roland Mc Grath <roland@hack.frob.com>
10776
bcfe3a54
ST
10777 [BZ #13979]
10778 * include/features.h: Warn if user requests __FORTIFY_SOURCE
10779 checking but the checks are disabled for any reason.
05c2c961 10780
4b30f61a
L
107812012-05-08 H.J. Lu <hongjiu.lu@intel.com>
10782
10783 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10784 and ELF64_R_TYPE with ELFW(R_TYPE).
10785
eee2bc67
JM
107862012-05-08 Joseph Myers <joseph@codesourcery.com>
10787
7ea5391a
JM
10788 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10789 (ulimit): Likewise.
10790
eee2bc67
JM
10791 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10792 (settimeofday): Likewise.
10793
abb66a67
MF
107942012-05-08 Mike Frysinger <vapier@gentoo.org>
10795
10796 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
10797 a struct th_u2 inside the union, and move tu_block/tu_code into
10798 a new th_u3 union of tu_block/tu_code inside of that. Move
10799 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
10800 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
10801 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10802 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10803 (th_stuff): Change to th_u1.tu_stuff.
10804 (th_data): Define.
10805 (th_msg): Change to th_u1.th_u2.tu_data.
10806
7f18b530
DM
108072012-05-07 David S. Miller <davem@davemloft.net>
10808
05760585
DM
10809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10810
7f18b530
DM
10811 [BZ #14074]
10812 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10813 (SETUP_PIC_REG): Use it.
10814 (SETUP_PIC_REG_LEAF): Use it.
10815
495fd99f
JM
108162012-05-07 Joseph Myers <joseph@codesourcery.com>
10817
10818 [BZ #13885]
10819 [BZ #13923]
10820 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10821 USE_AS_EXPM1L.
10822 (EXPL_FINITE): Likewise.
10823 (FLDLOG): Likewise.
10824 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10825 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10826 e_expl.S.
10827 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10828 USE_AS_EXPM1L.
10829 (EXPL_FINITE): Likewise.
10830 (FLDLOG): Likewise.
10831 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10832 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10833 e_expl.S.
10834 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
10835 test of -max_value argument for long double.
10836 * sysdeps/i386/fpu/libm-test-ulps: Update.
10837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10838
6693d694
DM
108392012-05-06 David S. Miller <davem@davemloft.net>
10840
10841 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10842 quad soft-float symbols whose references which are compiler
10843 generated.
10844 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10845
6c23e11c
JM
108462012-05-06 Joseph Myers <joseph@codesourcery.com>
10847
d8b82cad
JM
10848 [BZ #13884]
10849 [BZ #13914]
10850 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10851 USE_AS_EXP10L.
10852 (EXPL_FINITE): Likewise.
10853 (FLDLOG): Likewise.
10854 (c0): Likewise.
10855 (c1): Likewise.
10856 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10857 Adjust comments for base varying.
10858 (__expl_finite): Change alias to EXPL_FINITE.
10859 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10860 e_expl.S.
10861 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10862 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10863 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10864 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10865 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10866 USE_AS_EXP10L.
10867 (EXPL_FINITE): Likewise.
10868 (FLDLOG): Likewise.
10869 (c0): Likewise.
10870 (c1): Likewise.
10871 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10872 Adjust comments for base varying.
10873 (__expl_finite): Change alias to EXPL_FINITE.
10874 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
10875 tests for bugs.
10876 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10877
6c23e11c
JM
10878 [BZ #14064]
10879 * math/libm-test.inc (check_float_internal): Correct ulp
10880 calculation for subnormal expected results.
10881
29ba805c
AJ
108822012-05-06 Andreas Jaeger <aj@suse.de>
10883
10884 * Makeconfig (+math-flags): New, set to -frounding-math.
10885 (+cflags): Add +math-flags so that all of glibc gets compiled with
10886 it.
10887
10888 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10889
7b17aeda
JM
108902012-05-05 Joseph Myers <joseph@codesourcery.com>
10891
5779f134
JM
10892 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10893 Disable one test.
10894
41498f4d
JM
10895 [BZ #13787]
10896 [BZ #13922]
10897 [BZ #14036]
10898 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10899 (__ieee754_expl): Allow for and saturate large arguments.
10900 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10901 (u_threshold): Likewise.
10902 (__exp): Call __ieee754_exp before checking for overflow and
10903 underflow.
10904 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10905 (u_threshold): Likewise.
10906 (__expf): Call __ieee754_expf before checking for overflow and
10907 underflow.
10908 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10909 (u_threshold): Likewise.
10910 (__expl): Call __ieee754_expl before checking for overflow and
10911 underflow.
10912 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10913 (__ieee754_expl): Allow for and saturate large arguments.
10914 * math/libm-test.inc (exp_test): Add another test. Do not allow
10915 missing overflow exception on overflow.
10916 (expm1_test): Do not allow missing overflow exception on overflow.
10917
6698b8bf
JM
10918 * sysdeps/i386/fpu/e_expl.c: Move to ...
10919 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
10920 rather than using inline asm.
10921 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10922 * sysdeps/x86_64/fpu/e_expl.S: Copy from
10923 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10924
7b17aeda
JM
10925 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10926 (nice): Likewise.
10927 (poll): Likewise.
10928 (signal): Likewise.
10929 (time): Likewise.
10930 (times): Likewise.
10931
f7c85819
JM
109322012-05-04 Joseph Myers <joseph@codesourcery.com>
10933
10934 * sysdeps/unix/syscalls.list (adjtime): Add entry from
10935 sysdeps/unix/common/syscalls.list.
10936 (fchmod): Likewise.
10937 (fchown): Likewise.
10938 (ftruncate): Likewise.
10939 (getrusage): Likewise.
10940 (gettimeofday): Likewise.
10941 (setpgid): Likewise.
10942 (setregid): Likewise.
10943 (setreuid): Likewise.
10944 (sigaction): Likewise.
10945 (truncate): Likewise.
10946 (vhangup): Likewise.
10947 * sysdeps/unix/common/syscalls.list: Remove file.
10948 * sysdeps/unix/bsd/Implies: Don't include unix/common.
10949 * sysdeps/unix/sysv/linux/Implies: Likewise.
10950
336270d0
L
109512012-05-04 H.J. Lu <hongjiu.lu@intel.com>
10952
10953 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10954 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10955 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10956 Moved to ...
10957 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10958 Here.
10959 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10960 to ...
10961 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10962 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10963 to ...
10964 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10965 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10966 to ...
10967 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10968 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10969 to ...
10970 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10971 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10972 to ...
10973 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10974 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10975 to ...
10976 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10977 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10978 to ...
10979 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10980 Here.
10981 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10982 to ...
10983 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10984 Here.
10985 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10986 to ...
10987 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10988 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10989 Moved to ...
10990 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10991 Here.
10992 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10993 to ...
10994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10995
d128e450
JM
109962012-05-04 Joseph Myers <joseph@codesourcery.com>
10997
fa8ee516
JM
10998 * sysdeps/unix/common/bits/dirent.h: Remove file.
10999 * sysdeps/unix/common/bits/fcntl.h: Likewise.
11000
d128e450
JM
11001 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
11002 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
11003 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
11004 * sysdeps/unix/bsd/isatty.c: Likewise.
11005 * sysdeps/unix/bsd/tcdrain.c: Likewise.
11006 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
11007 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
11008
ff8faaf0 110092012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 11010
62881be4 11011 [BZ #13563]
31dc8730
AZ
11012 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
11013 long double comparison inaccuracies.
11014 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11016
6fef930c
AS
110172012-05-04 Andreas Schwab <schwab@linux-m68k.org>
11018
11019 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
11020 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
11021
8f203e6c
JM
110222012-05-04 Joseph Myers <joseph@codesourcery.com>
11023
11024 [BZ #14049]
11025 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
11026 nonzero digits before rounding a hex value.
11027 * stdlib/tst-strtod.c (tests): Add another test.
11028
5197d9c2
AK
110292012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11030
11031 * sysdeps/s390/fpu/libm-test-ulps: Update.
11032
f0c1dedf
AJ
110332012-05-03 Andreas Jaeger <aj@suse.de>
11034
11035 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
11036 does not get optimized out.
11037 (malloc_opt_barrier): New.
11038
a65ef2ae 110392012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 11040 Roland McGrath <roland@hack.frob.com>
a65ef2ae 11041
2b942cb7 11042 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 11043 intermediate file deletion.
2b942cb7 11044 (generated): Add .symlist files.
a65ef2ae 11045
54b71e02
JM
110462012-05-03 Joseph Myers <joseph@codesourcery.com>
11047
11048 [BZ #13775]
11049 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
11050 Redirect under this condition.
11051 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11052 [__USE_GNU] (__dprintf_chk): Not under this condition.
11053 [__USE_GNU] (__vdprintf_chk): Likewise.
11054 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
11055 under this condition.
11056 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11057 [__USE_XOPEN2K8] (dprintf): Define under this condition.
11058 [__USE_XOPEN2K8] (vdprintf): Likewise.
11059 [__USE_GNU] (__dprintf_chk): Not under this condition.
11060 [__USE_GNU] (__vdprintf_chk): Likewise.
11061 [__USE_GNU] (dprintf): Likewise.
11062 [__USE_GNU] (vdprintf): Likewise.
11063
d3dfcc41
RM
110642012-05-03 Roland McGrath <roland@hack.frob.com>
11065
11066 * elf/Makefile (common-generated): Set this instead of generated for
11067 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
11068 $(all-built-dso)-derived lists.
11069
7ac30cc5
AJ
110702012-05-03 Andreas Jaeger <aj@suse.de>
11071
0c51e550
AJ
11072 * sysdeps/i386/fpu/libm-test-ulps: Update.
11073
7ac30cc5
AJ
11074 * FAQ: Removed.
11075 * FAQ.in: Likewise.
11076 * scripts/gen-FAQ.pl: Likewise.
11077 * manual/install.texi (Installation): Point to online location of
11078 FAQ.
11079 * Makefile (files-for-dist): Remove FAQ.
11080 (FAQ): Remove.
11081
d4c2917f
AM
110822012-05-02 Allan McRae <allan@archlinux.org>
11083
11084 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
11085 (LDFLAGS-reldepmod5.so): Likewise.
11086 (LDFLAGS-reldep6mod1.so): Likewise.
11087 (LDFLAGS-reldep6mod4.so): Likewise.
11088 (LDFLAGS-reldep8mod3.so): Likewise.
11089 (LDFLAGS-unload4mod1.so): Likewise.
11090 (LDFLAGS-unload4mod2.so): Likewise.
11091 (LDFLAGS-tst-initorder): Likewise.
11092 (LDFLAGS-tst-initordera2.so): Likewise.
11093 (LDFLAGS-tst-initordera3.so): Likewise.
11094 (LDFLAGS-tst-initordera4.so): Likewise.
11095 (LDFLAGS-tst-initorderb2.so): Likewise.
11096 (LDFLAGS-noload): Likewise.
11097 (LDFLAGS-next): Likewise.
11098 (LDFLAGS-order2mod1.so): Likewise.
11099 (LDFLAGS-order2mod2.so): Likewise.
11100 (LDFLAGS-tst-initorder2): Likewise.
11101 (LDFLAGS-tst-initorder2a.so): Likewise.
11102 (LDFLAGS-tst-initorder2b.so): Likewise.
11103 (LDFLAGS-tst-initorder2c.so): Likewise.
11104 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
11105
d77f993f
DM
111062012-05-02 David S. Miller <davem@davemloft.net>
11107
11108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11109
171a70b4
PP
111102012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
11111
11112 [BZ #14055]
11113 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
11114
0be196ad
AJ
111152012-05-02 Andreas Jaeger <aj@suse.de>
11116
11117 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
11118 since we manipulate rounding mode.
11119 (CPPFLAGS-test-idouble.c): Likewise.
11120 (CPPFLAGS-test-ifloat.c): Likewise.
11121 (CFLAGS-test-ldouble.c): Likewise.
11122 (CFLAGS-test-double.c): Likewise.
11123 (CFLAGS-test-float.c): Likewise.
11124 (CFLAGS-test-misc.c): Likewise.
11125 (CFLAGS-test-test-fenv.c): Likewise.
11126
4f9d04aa
AZ
111272012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11128
2b942cb7
RM
11129 [BZ #2550]
11130 [BZ #2570]
11131 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
11132 comparisons to determine direction to adjust input.
4f9d04aa 11133
82a79e7d
RM
111342012-05-01 Roland McGrath <roland@hack.frob.com>
11135
f5a01ca9
RM
11136 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
11137 output to the target.
11138
90fe4186
RM
11139 * scripts/localplt.awk: New file.
11140 * elf/Makefile ($(objpfx)check-localplt): Target removed.
11141 (check-localplt-CFLAGS): Variable removed.
11142 ($(all-built-dso:=.jmprel)): New static pattern rule.
11143 (generated): Add those targets.
11144 (localplt-built-dso): New variable.
11145 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
11146
11147 * elf/check-localplt.c: File removed.
11148
82397ed6
RM
11149 * scripts/check-execstack.awk: New file.
11150 * elf/Makefile ($(objpfx)check-execstack): Target removed.
11151 (check-execstack-CFLAGS): Variable removed.
11152 ($(objpfx)check-execstack.h): Target removed.
11153 ($(objpfx)execstack-default): New target.
11154 (generated): Add that instead of check-execstack.h.
11155 ($(all-built-dso:=.phdr)): New static pattern rule.
11156 (generated): Add those targets.
11157 * elf/check-execstack.c: File removed.
11158
82a79e7d
RM
11159 * scripts/check-textrel.awk: New file.
11160 * elf/Makefile ($(objpfx)check-textrel): Target removed.
11161 (check-textrel-CFLAGS): Variable removed.
11162 (all-built-dso): Use := to define.o
11163 ($(all-built-dso:=.dyn)): New static pattern rule.
11164 (generated): Add those targets.
11165 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
11166 * config.make.in (READELF): New substituted variable.
11167 * elf/check-textrel.c: File removed.
11168
62fde54f 111692012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 11170
615605c9
JM
11171 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11172 allow.
11173 * conform/data/ctype.h-data [C99-based standards] (isblank):
11174 Expect function.
11175 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
11176 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
11177 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11178 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
11179 Specify type. Require positive value.
11180 (EILSEQ): Likewise.
11181 (ERANGE): Likewise.
11182 [ISO || POSIX] (EILSEQ): Do not expect.
11183 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
11184 Specify type. Require positive value.
11185 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
11186 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
11187 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
11188 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
11189 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
11190 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
11191 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
11192 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
11193 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
11194 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
11195 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
11196 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
11197 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
11198 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
11199 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
11200 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
11201 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
11202 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
11203 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
11204 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
11205 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
11206 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
11207 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
11208 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
11209 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
11210 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
11211 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
11212 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
11213 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
11214 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
11215 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
11216 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
11217 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
11218 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
11219 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
11220 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
11221 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
11222 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
11223 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
11224 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
11225 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
11226 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
11227 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
11228 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
11229 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
11230 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
11231 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
11232 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
11233 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
11234 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
11235 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
11236 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
11237 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
11238 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
11239 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
11240 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
11241 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
11242 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
11243 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
11244 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
11245 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
11246 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
11247 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
11248 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
11249 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
11250 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
11251 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
11252 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
11253 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
11254 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
11255 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
11256 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
11257 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
11258 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
11259 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
11260 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
11261 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
11262 Require >= 2.
11263 (FLT_ROUNDS): Expect as macro, not constant.
11264 (FLT_MANT_DIG): Use macro-int-constant.
11265 (DBL_MANT_DIG): Likewise.
11266 (LDBL_MANT_DIG): Likewise.
11267 (FLT_DIG): Likewise.
11268 (DBL_DIG): Likewise.
11269 (LDBL_DIG): Likewise.
11270 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
11271 (DBL_MIN_EXP): Likewise.
11272 (LDBL_MIN_EXP): Likewise.
11273 (FLT_MAX_EXP): Use macro-int-constant.
11274 (DBL_MAX_EXP): Likewise.
11275 (LDBL_MAX_EXP): Likewise.
11276 (FLT_MAX_10_EXP): Likewise.
11277 (DBL_MAX_10_EXP): Likewise.
11278 (LDBL_MAX_10_EXP): Likewise.
11279 (FLT_MAX): Use macro-constant.
11280 (DBL_MAX): Likewise.
11281 (LDBL_MAX): Likewise.
11282 (FLT_EPSILON): Use macro-constant. Give upper bound.
11283 (DBL_EPSILON): Likewise.
11284 (LDBL_EPSILON): Likewise.
11285 (FLT_MIN): Likewise.
11286 (DBL_MIN): Likewise.
11287 (LDBL_MIN): Likewise.
11288 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
11289 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
11290 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
11291 [ISO11] (FLT_HAS_SUBNORM): Likewise.
11292 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
11293 [ISO11] (DBL_DECIMAL_DIG): Likewise.
11294 [ISO11] (FLT_DECIMAL_DIG): Likewise.
11295 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
11296 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
11297 [ISO11] (FLT_TRUE_MIN): Likewise.
11298 [ISO11] (LDBL_TRUE_MIN): Likewise.
11299 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11300 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
11301 (SCHAR_MIN): Use macro-int-constant. Specify type.
11302 (SCHAR_MAX): Likewise.
11303 (UCHAR_MAX): Likewise.
11304 (CHAR_MIN): Likewise.
11305 (CHAR_MAX): Likewise.
11306 (MB_LEN_MAX): Use macro-int-constant.
11307 (SHRT_MIN): Use macro-int-constant. Specify type.
11308 (SHRT_MAX): Likewise.
11309 (USHRT_MAX): Likewise.
11310 (INT_MAX): Likewise.
11311 (INT_MIN): Use macro-int-constant. Specify type. Make upper
11312 bound negative.
11313 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
11314 bound with "U".
11315 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11316 bound with "L".
11317 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
11318 bound negative. Suffix upper bound with "L".
11319 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11320 bound with "UL".
11321 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
11322 Specify type.
11323 [C99-based standards] (LLONG_MAX): Likewise.
11324 [C99-based standards] (ULLONG_MAX): Likewise.
11325 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
11326 == 0.
11327 [ISO11] (max_align_t): Require type.
11328 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11329
c9140a62
JM
11330 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
11331 from $CFLAGS, without defining away __attribute__ calls.
11332 (checknamespace): Use $CFLAGS_namespace.
11333
9af0bf29
JM
11334 * conform/conformtest.pl (@keywords): Only include C99 keywords
11335 for standards based on C99 or C11.
11336
343222a2
JM
11337 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
11338 Disable tests.
11339 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
11340 UNIX98]: Likewise.
11341
661f8cf0
JM
11342 * conform/conformtest.pl: Handle "macro-int-constant" and test for
11343 usability of symbols in #if.
11344
ee74b9cb
JM
11345 * conform/conformtest.pl: If macro or constant types start
11346 "promoted:", expect the symbol to be of the following type
11347 promoted by the integer promotions.
62fde54f 11348
aafc49b3
JM
11349 * conform/conformtest.pl: Parse all "constant" and "macro" lines
11350 in one place. Also handle "macro-constant".
11351
fefdf574
JM
11352 * conform/conformtest.pl: Only accept expected macro values with
11353 "==". Parse all "macro" lines in one place.
11354 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
11355
f2d922fe
JM
11356 * conform/conformtest.pl: Handle braced types on "constant" lines
11357 instead of handling "typed-constant".
11358 * conform/data/signal.h-data: Use "constant" instead of
11359 "typed-constant".
11360
d22956c9
JM
11361 * conform/conformtest.pl: Handle "optional-" at start of lines in
11362 one place rather than duplicating several cases. Handle each
11363 format of "macro" line with initial "optional-".
11364
028e2e38
JM
11365 * conform/conformtest.pl: Only accept expected constant or
11366 optional-constant values with "==". Parse all "constant" lines in
11367 one place. Parse all "optional-constant" lines in one place.
11368 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
11369 * conform/data/fmtmsg.h-data: Likewise.
11370 * conform/data/netinet/in.h-data: Likewise.
11371 * conform/data/tar.h-data: Likewise.
11372 * conform/data/limits.h-data: Use "==" form on "constant" and
11373 "optional-constant" lines.
11374
1b8f2850
JM
11375 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
11376 Use -std=c99 for XOPEN2K.
11377 (@knownproblems): Remove.
11378 (newtoken): Don't check %isknown.
11379
a05a144b
JM
11380 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
11381 Do not expect macro.
11382 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
11383 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
11384 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
11385 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
11386 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
11387 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
11388 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
11389 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
11390 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
11391 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
11392 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
11393 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
11394 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
11395 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
11396 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
11397 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
11398 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
11399 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
11400 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
11401 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
11402 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
11403 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
11404 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
11405 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
11406 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
11407 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
11408 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
11409 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
11410 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
11411 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
11412 [XPG3] (acosh): Likewise.
11413 [XPG3] (asinh): Likewise.
11414 [XPG3] (atanh): Likewise.
11415 [XPG3] (cbrt): Likewise.
11416 [XPG3] (expm1): Likewise.
11417 [XPG3] (ilogb): Likewise.
11418 [XPG3] (log1p): Likewise.
11419 [XPG3] (logb): Likewise.
11420 [XPG3] (nextafter): Likewise.
11421 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
11422 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
11423 [XPG3] (remainder): Likewise.
11424 [XPG3] (rint): Likewise.
11425 [XPG3 || XPG4 || UNIX98] (round): Likewise.
11426 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
11427 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
11428 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
11429 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
11430 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
11431 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
11432 [UNIX98 || XOPEN2K] (scalb): Expect.
11433 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
11434 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
11435 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
11436 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
11437 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
11438 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
11439 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
11440 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
11441 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
11442 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
11443 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
11444 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
11445 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
11446 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
11447 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
11448 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
11449 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
11450 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
11451 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
11452 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
11453 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
11454 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
11455 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
11456 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
11457 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
11458 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
11459 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
11460 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
11461 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
11462 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
11463 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
11464 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
11465 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
11466 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
11467 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11468 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11469 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11470 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11471 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11472 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11473 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11474 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
11475 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
11476 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
11477 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
11478 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
11479 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
11480 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
11481 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
11482 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
11483 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
11484 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
11485 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
11486 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
11487 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
11488 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
11489 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
11490 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
11491 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
11492 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
11493 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
11494 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
11495 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
11496 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
11497 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
11498 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
11499 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
11500 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
11501 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
11502 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
11503 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
11504 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
11505 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
11506 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
11507 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
11508 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
11509 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
11510 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
11511 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
11512 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
11513 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
11514 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
11515 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
11516 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
11517 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
11518 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
11519 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
11520 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
11521 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
11522 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
11523 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
11524 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
11525 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
11526 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
11527 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
11528 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
11529 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
11530 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
11531 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
11532 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
11533 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
11534 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
11535 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
11536 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
11537 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
11538 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
11539 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
11540 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
11541 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
11542 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
11543 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
11544 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
11545 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
11546 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
11547 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
11548 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
11549 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
11550 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
11551 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
11552 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
11553 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
11554 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
11555 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
11556 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
11557 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
11558 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
11559 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
11560 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
11561 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
11562 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
11563 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
11564 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
11565 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
11566 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
11567 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
11568 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
11569 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
11570
73c5ebe3
JM
11571 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
11572 _XOPEN_SOURCE_EXTENDED for XPG4.
11573
39c33b6c
JM
11574 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
11575
62fde54f
JM
11576 * Makeconfig (localtime): Remove variable.
11577 (inst_localtime-file): Likewise.
11578
0741d64c
AS
115792012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11580
11581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11582 Update.
11583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11584 Update.
11585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11586 Update.
11587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11588 Update.
11589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11590 Update.
11591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
11592 Update.
11593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11594 Update.
11595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
11596 Update.
11597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11598 Update.
11599
7cb029ee
JM
116002012-05-01 Joseph Myers <joseph@codesourcery.com>
11601
11602 [BZ #2550]
11603 [BZ #2570]
11604 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
11605 comparisons to determine direction to adjust input.
11606 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11607 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
11608 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11609 Likewise.
11610 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11611 Likewise.
11612 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11613 Likewise.
11614 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11615 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11616 Likewise.
11617 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11618 Likewise.
11619 * math/libm-test.inc (nexttoward_test): Add more tests.
11620
412bd966
AS
116212012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11622
11623 [BZ #14040]
11624 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
11625 in version GLIBC_2.1, not GLIBC_2.0.
11626 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
11627 Likewise.
11628
9568c0c2
JM
116292012-04-30 Joseph Myers <joseph@codesourcery.com>
11630
adfbc8ac
JM
11631 [BZ #13942]
11632 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
11633 (1 - x) * (1 + x).
11634 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11635 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
11636 * math/libm-test.inc (acos_test): Add more tests.
11637 (asin_test): Likewise.
11638 * sysdeps/i386/fpu/libm-test-ulps: Update.
11639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11640
5ba3cc69
JM
11641 [BZ #14034]
11642 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
11643 of square root.
11644 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
11645 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11646 * math/libm-test.inc (acos_test_tonearest): New function.
11647 (acos_test_towardzero): Likewise.
11648 (acos_test_downward): Likewise.
11649 (acos_test_upward): Likewise.
11650 (asin_test_tonearest): Likewise.
11651 (asin_test_towardzero): Likewise.
11652 (asin_test_downward): Likewise.
11653 (asin_test_upward): Likewise.
11654 (main): Call the new functions.
11655 * sysdeps/i386/fpu/libm-test-ulps: Update.
11656 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11657
9568c0c2
JM
11658 [BZ #13884]
11659 [BZ #13924]
11660 * math/e_exp10.c: Include <float.h>.
11661 (__ieee754_exp10): Handle underflow here rather than multiplying
11662 large negative argument by M_LN10.
11663 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11664 of __ieee754_expf.
11665 * math/e_exp10l.c: Include <float.h>.
11666 (__ieee754_exp10l): Handle underflow here rather than multiplying
11667 large negative argument by M_LN10l.
11668 * math/libm-test.inc (exp10_test): Add another test. Do not allow
11669 spurious overflow exception on underflow.
11670
5ac3ea17
MP
116712012-04-29 Marek Polacek <polacek@redhat.com>
11672
11673 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
11674 (__fortify_function): New macro.
11675 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
11676 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
11677 __extern_always_inline.
11678 * libio/bits/stdio2.h: Likewise.
11679 * libio/bits/stdio.h: Likewise.
11680 * string/string.h: Likewise.
11681 * string/bits/string3.h: Likewise.
11682 * include/stdio.h: Likewise.
11683 * stdlib/bits/stdlib.h: Likewise.
11684 * stdlib/stdlib.h: Likewise.
11685 * rt/bits/mqueue2.h: Likewise.
11686 * rt/mqueue.h: Likewise.
11687 * posix/bits/unistd.h: Likewise.
11688 * posix/unistd.h: Likewise.
11689 * io/bits/poll2.h: Likewise.
11690 * io/bits/fcntl2.h: Likewise.
11691 * io/fcntl.h: Likewise.
11692 * io/sys/poll.h: Likewise.
11693 * misc/bits/syslog.h: Likewise.
11694 * misc/bits/syslog-ldbl.h: Likewise.
11695 * misc/sys/syslog.h: Likewise.
11696 * socket/bits/socket2.h: Likewise.
11697 * socket/sys/socket.h: Likewise.
11698 * debug/tst-chk1.c: Likewise.
11699 * wcsmbs/bits/wchar2.h: Likewise.
11700 * wcsmbs/bits/wchar-ldbl.h: Likewise.
11701 * wcsmbs/wchar.h: Likewise.
11702
ecf0ebfb
AJ
117032012-04-29 Andreas Jaeger <aj@suse.de>
11704
11705 * Makerules (tests): Remove enable-check-abi protection.
11706 (check-abi-warn): Remove.
11707 (check-abi-%): Remove check-abi-warn usage.
11708
11709 * configure.in: Remove check-abi configure option.
11710 * configure: Regenerated.
11711 * config.make.in (enable-check-abi): Remove.
11712
6d5c57fa
AS
117132012-04-28 Andreas Schwab <schwab@linux-m68k.org>
11714
24c5d07e 11715 [BZ #14033]
ded5180a
AS
11716 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11717 double functions to double *_finite functions.
11718
7e0d315d
AS
11719 [BZ #13941]
11720 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11721 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11722 LDBL_MIN_EXP.
11723 * stdio-common/Makefile (tests): Add tst-sprintf3.
11724 * stdio-common/tst-sprintf3.c: New file.
11725
6d5c57fa
AS
11726 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11727 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11728
0749ff8b
JM
117292012-04-28 Joseph Myers <joseph@codesourcery.com>
11730
11731 * conform/conformtest.pl: Remove duplicate typed-constant
11732 handling.
11733
8dbd5d7b
DM
117342012-04-28 David S. Miller <davem@davemloft.net>
11735
11736 * Makerules (%.abilist): Add vpath on sysdep_dirs.
11737 (check-abi-%): Remove AWK script prerequisite and explicit
11738 abilist directory.
11739 (check-abi): Rewrite to just diff the symlist with the abilist.
11740 (config-tls, config-abi-config): Delete, no longer used.
11741 (update-abi-%): Remove AWK script and explicit abilist directory.
11742 (update-abi): Rewrite to simply compare and conditionally copy the
11743 symlist and the sysdep abilist file. Remove update-abi-config
11744 checks.
11745 * abilist/ld.abilist: Remove.
11746 * abilist/libBrokenLocale.abilist: Remove.
11747 * abilist/libanl.abilist: Remove.
11748 * abilist/libcrypt.abilist: Remove.
11749 * abilist/libdl.abilist: Remove.
11750 * abilist/librt.abilist: Remove.
11751 * abilist/libthread_db.abilist: Remove.
11752 * abilist/libutil.abilist: Remove.
11753 * scripts/extract-abilist.awk: Remove.
11754 * scripts/merge-abilist.awk: Remove.
11755 * sysdeps/generic/libcidn.abilist: New file.
11756 * sysdeps/generic/libnss_compat.abilist: New file.
11757 * sysdeps/generic/libnss_db.abilist: New file.
11758 * sysdeps/generic/libnss_dns.abilist: New file.
11759 * sysdeps/generic/libnss_files.abilist: New file.
11760 * sysdeps/generic/libnss_hesiod.abilist: New file.
11761 * sysdeps/generic/libnss_nis.abilist: New file.
11762 * sysdeps/generic/libnss_nisplus.abilist: New file.
11763 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11764 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11765 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11766 file.
11767 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11768 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11769 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11770 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11771 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11772 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11773 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11774 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11775 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11776 file.
11777 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11778 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11779 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11780 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11781 file.
11782 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11783 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11784 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11785 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11786 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11787 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11788 file.
11789 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11790 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11791 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11792 file.
11793 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11794 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11795 New file.
11796 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11797 New file.
11798 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11799 New file.
11800 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11801 New file.
11802 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11803 New file.
11804 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11805 New file.
11806 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11807 New file.
11808 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11809 New file.
11810 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11811 New file.
11812 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11813 New file.
11814 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11815 New file.
11816 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11817 New file.
11818 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11819 New file.
11820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11821 file.
11822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11823 New file.
11824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11825 New file.
11826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11827 file.
11828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11829 New file.
11830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11831 New file.
11832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11833 file.
11834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11835 New file.
11836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11837 New file.
11838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11839 New file.
11840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11841 New file.
11842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11843 New file.
11844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11845 New file.
11846 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11848 file.
11849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11850 New file.
11851 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11852 file.
11853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11854 file.
11855 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11856 file.
11857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11858 file.
11859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11860 file.
11861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11862 New file.
11863 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11864 file.
11865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11866 file.
11867 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11868 New file.
11869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11870 file.
11871 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11873 file.
11874 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11875 New file.
11876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11877 file.
11878 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11879 file.
11880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11881 file.
11882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11883 file.
11884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11885 file.
11886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11887 New file.
11888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11889 file.
11890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11891 file.
11892 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11893 New file.
11894 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11895 file.
11896 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11897 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11898 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11899 file.
11900 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11901 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11902 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11903 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11904 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11905 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11906 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11907 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11908 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11909 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11910 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11912 file.
11913 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11914 New file.
11915 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11916 file.
11917 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11918 file.
11919 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11920 file.
11921 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11922 file.
11923 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11924 file.
11925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11926 New file.
11927 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11928 New file.
11929 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11930 file.
11931 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11932 New file.
11933 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11934 file.
11935 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11936 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11937 file.
11938 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11939 New file.
11940 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11941 file.
11942 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11943 file.
11944 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11945 file.
11946 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11947 file.
11948 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11949 file.
11950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11951 New file.
11952 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11953 New file.
11954 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11955 file.
11956 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11957 New file.
11958 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11959 file.
11960
41d73a1b
JM
119612012-04-28 Joseph Myers <joseph@codesourcery.com>
11962
11963 * conform/conformtest.pl: Fix typo in handling typed-constant from
11964 allow-header.
11965
28aeeda4
JM
119662012-04-27 Joseph Myers <joseph@codesourcery.com>
11967
adae8f5e
JM
11968 * README: Cut down references to pre-2.6 Linux kernels and
11969 Linuxthreads. Update lists of configurations in libc and ports
11970 and sort alphabetically. Say "or newer" with Linux kernel version
11971 requirements.
11972
28aeeda4
JM
11973 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11974
a462cb63
RA
119752012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11976
11977 [BZ #887]
11978 * math/libm-test.inc (logb_test_downward): New test to expose
11979 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11980 rounding mode.
11981
6ad3493e
JM
119822012-04-27 Joseph Myers <joseph@codesourcery.com>
11983
11984 [BZ #14027]
11985 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11986 to be done.
11987 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11988 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11989
2ce4f015
JM
119902012-04-26 Joseph Myers <joseph@codesourcery.com>
11991
5aeb141a
JM
11992 * sysdeps/unix/i386/brk.S: Remove file.
11993 * sysdeps/unix/i386/dl-brk.S: Likewise.
11994 * sysdeps/unix/i386/pipe.S: Likewise.
11995 * sysdeps/unix/i386/sigreturn.S: Likewise.
11996 * sysdeps/unix/i386/syscall.S: Likewise.
11997 * sysdeps/unix/i386/vfork.S: Likewise.
11998 * sysdeps/unix/i386/wait.S: Likewise.
11999
7143acae
JM
12000 * sysdeps/unix/common/tcsendbrk.c: Move to ...
12001 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
12002
2ce4f015
JM
12003 * configure.in (arm*-none*): Do not allow without
12004 --enable-hacker-mode.
12005 (netbsd*): Remove case setting base_os.
12006 (386bsd*): Likewise.
12007 (freebsd*): Likewise.
12008 (bsdi*): Likewise.
12009 (osf*): Likewise.
12010 (sunos*): Likewise.
12011 (ultrix*): Likewise.
12012 (newsos*): Likewise.
12013 (dynix*): Likewise.
12014 (*bsd*): Likewise.
12015 (sysv*): Likewise.
12016 (isc*): Likewise.
12017 (esix*): Likewise.
12018 (sco*): Likewise.
12019 (minix*): Likewise.
12020 (irix4*): Likewise.
12021 (irix6*): Likewise.
12022 (solaris[2-9]*): Likewise.
12023 (none): Likewise.
12024 * configure: Regenerated.
12025
0ac229c8
AZ
120262012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12027
12028 [BZ #11521]
12029 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
12030 overflow or cancellation in calculating denominator.
12031 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
12032 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
12033 down expression to avoid unexpected rounding in newer GCCs.
12034 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
12035
33f244f4
DM
120362012-04-26 David S. Miller <davem@davemloft.net>
12037
12038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
12039 long-double compat symbols.
12040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
12044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
12048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
12049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
12051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
12052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12053
cfa1f3e8
DM
120542012-04-25 David S. Miller <davem@davemloft.net>
12055
12056 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
12057 HWCAP_* values only after the memory barriers have been defined.
12058 (atomic_full_barrier): Define.
12059 (atomic_read_barrier): Define.
12060 (atomic_write_barrier): Define.
12061
6e236b92
SP
120622012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12063
12064 * shlib-versions: Add libgcc_s version information.
12065 * sysdeps/generic/libgcc_s.h: Remove.
12066 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
12067 libgcc_s.h.
12068 * sysdeps/gnu/unwind-resume.c: Likewise.
12069 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
12070
aab39a09
DM
120712012-04-25 David S. Miller <davem@davemloft.net>
12072
12073 * sysdeps/unix/sparc/brk.S: Delete.
12074 * sysdeps/unix/sparc/dl-brk.S: Delete.
12075 * sysdeps/unix/sparc/pipe.S: Delete.
12076 * sysdeps/unix/sparc/sysdep.S: Delete.
12077 * sysdeps/unix/sparc/sysdep.h: Delete.
12078 * sysdeps/unix/sparc/vfork.S: Delete.
12079 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
12080 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
12081 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
12082 ret_ERRVAL, r0, r1, MOVE): Define.
12083 (JUMPTARGET): Remove.
12084 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
12085 sysdeps/unix/sparc/sysdep.h
12086 (ENTRY, END): Remove.
12087 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12088
a3cc4f48
JM
120892012-04-25 Joseph Myers <joseph@codesourcery.com>
12090
2ed8cda2
JM
12091 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
12092 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
12093 -DIS_IN_build.
12094
35d76d59
JM
12095 * timezone/README: Update upstream location and email address for
12096 tzcode and tzdata.
12097 * timezone/zdump.c: Update from tzcode 2012b.
12098 * timezone/zic.c: Likewise.
12099
a3cc4f48
JM
12100 * configure.in (libc_cv_as_needed): Remove test.
12101 * configure: Regenerated.
12102 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
12103 conditional definition.
12104 [$(have-as-needed) != yes] (no-as-needed): Likewise.
12105 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
12106 * config.make.in (have-as-needed): Remove variable.
12107
ceab42c3
SP
121082012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12109 Paul Pluzhnikov <ppluzhnikov@google.com>
12110
12111 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
12112 strings correctly.
12113
3ce2865f
CLT
121142012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
12115
12116 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
12117 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
12118 * sysdeps/sh/strlen.S: Likewise.
12119
f37e0d68
JM
121202012-04-24 Joseph Myers <joseph@codesourcery.com>
12121
ae186e9a
JM
12122 * sysdeps/unix/fork.S: Remove file.
12123 * sysdeps/unix/i386/fork.S: Likewise.
12124 * sysdeps/unix/sparc/fork.S: Likewise.
12125
b96914af
JM
12126 * sysdeps/unix/system.c: Remove file.
12127 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
12128
f37e0d68
JM
12129 * sysdeps/unix/getegid.S: Remove file.
12130 * sysdeps/unix/geteuid.S: Likewise.
12131
87ef29ca
RM
121322012-04-24 Roland McGrath <roland@hack.frob.com>
12133
83bcd236
RM
12134 * scripts/check-localplt.awk: New file.
12135 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
12136 of diff.
12137 * scripts/data/localplt-generic.data: Add a comment.
12138
87ef29ca
RM
12139 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
12140 NODE when __dir_mkfile failed.
12141 * sysdeps/mach/hurd/symlinkat.c: Likewise.
12142 Reported by Ludovic Courtès <ludo@gnu.org>.
12143
e5a6e567
AJ
121442012-04-24 Andreas Jaeger <aj@suse.de>
12145
12146 * Makerules (common-clean): Also remove gen-as-const-headers
12147 files.
12148
c1820385
JM
121492012-04-24 Joseph Myers <joseph@codesourcery.com>
12150
12151 * Makerules (native-compile): Do not change working directory for
12152 build. Use $(OUTPUT_OPTION) in command.
12153 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
12154
94e02fc4
AZ
121552012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12156
12157 [BZ #13886]
12158 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
12159 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
12160 * math/libm-test.inc (floor_test): Add more tests.
12161 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
12162
3a533ca3
JM
121632012-04-24 Joseph Myers <joseph@codesourcery.com>
12164
940ab4b3
JM
12165 * sysdeps/unix/getdents.c: Remove file.
12166 * sysdeps/unix/sysv/getdents.c: Likewise.
12167 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
12168
90e037bd
JM
12169 * sysdeps/unix/syscalls.list (madvise): Add syscall from
12170 sysdeps/unix/mman/syscalls.list.
12171 (mmap): Likewise.
12172 (mprotect): Likewise.
12173 (msync): Likewise.
12174 (munmap): Likewise.
12175 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
12176 * sysdeps/unix/mman/syscalls.list: Remove.
12177 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
12178
3a533ca3
JM
12179 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
12180 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
12181 * configure: Regenerated.
12182 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
12183 $(libgcc_s_suffix).
12184 * config.make.in (libgcc_s_suffix): Remove variable.
12185
1ad743de
JM
121862012-04-23 Joseph Myers <joseph@codesourcery.com>
12187
4ad451e2
JM
12188 * sysdeps/unix/sysv/gethostname.c: Move to ...
12189 * sysdeps/posix/gethostname.c: ... here.
12190
5e37ce39
JM
12191 * sysdeps/unix/execve.S: Remove file.
12192
1ad743de
JM
12193 * sysdeps/unix/_exit.S: Remove file.
12194
4e681b5b
AJ
121952012-04-23 Andreas Jaeger <aj@suse.de>
12196
12197 [BZ #13739]
12198 * manual/Makefile: Remove make dist support, there's no
12199 need for a stand-alone documentation tar ball.
12200 (TEXI2DVI): Define always, it's not in Makeconfig.
12201 (dist): Removed.
12202 (tar-it): Removed.
12203 (edition): Removed.
12204 (glibc-doc-$(edition).tar): Removed
12205 (%.Z): Removed.
12206 (%.gz): Removed.
12207 (%.uu): Removed.
12208 (ETAGS): Remove, it's in Makeconfig.
12209 (move-if-change): Remove, it's in Makeconfig.
12210
38686a03 122112012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
12212
12213 [BZ #13970]
12214 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
12215 (strtod, strtof, strtold, strtol, strtoul, strtoq)
12216 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
12217 (strtod_l, strtof_l, strtold_l): Remove __wur.
12218 It is not necessarily an error to ignore strtol's return value.
12219 One can reliably look at the stored endptr to decide whether
12220 the number had valid syntax.
12221
7c0616fa
AJ
122222012-04-21 Andreas Jaeger <aj@suse.de>
12223
803cb6b7 12224 [BZ #13739]
7c0616fa
AJ
12225 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
12226
b0fe253f
JM
122272012-04-21 Joseph Myers <joseph@codesourcery.com>
12228
12229 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
12230 * sysdeps/unix/sysv/Versions: Remove file.
12231
8280f22d
MT
122322012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
12233
12234 [BZ #13927]
12235 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12236
75ce411f 122372012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
12238
12239 [BZ #7064]
12240 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
12241 version from __vm86.
12242
097d59fa
JM
122432012-04-20 Joseph Myers <joseph@codesourcery.com>
12244
a90f3bcb
JM
12245 * sysdeps/unix/common/lxstat.c: Remove file.
12246 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
12247
edc7ea78
JM
12248 * sysdeps/unix/sysv/Makefile: Remove file.
12249
cb78c221
JM
12250 * sysdeps/unix/sysv/direct.h: Remove file.
12251
efa6a45f
JM
12252 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
12253 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
12254 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
12255 * sysdeps/unix/sysv/bits/signum.h: Likewise.
12256 * sysdeps/unix/sysv/bits/stat.h: Likewise.
12257 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
12258 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
12259
9c9f2d0c
JM
12260 * sysdeps/unix/sysv/setrlimit.c: Remove file.
12261
4541c83b
JM
12262 * sysdeps/unix/xmknod.c: Remove file.
12263 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
12264
f5d153a0
JM
12265 * sysdeps/unix/sysv/settimeofday.c: Remove file.
12266
aa746595
JM
12267 * sysdeps/unix/sysv/i386/time.S: Remove file.
12268
cce5905e
JM
12269 * sysdeps/unix/fxstat.c: Remove file.
12270 * sysdeps/unix/xstat.c: Likewise.
12271 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
12272
37fa3841
JM
12273 * sysdeps/unix/sysv/sigaction.c: Remove file.
12274
ff1962a3
JM
12275 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
12276 (sysdep_headers): Remove variable.
12277 [termio.h not in sysdep_headers] (generated): Likewise.
12278 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
12279 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
12280 * sysdeps/unix/sysv/tcdrain.c: Likewise.
12281 * sysdeps/unix/sysv/tcflow.c: Likewise.
12282 * sysdeps/unix/sysv/tcflush.c: Likewise.
12283 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
12284 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
12285 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
12286 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
12287 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
12288
e7740d31
JM
12289 * sysdeps/unix/siglist.c: Remove file.
12290
ee06f18b
JM
12291 * sysdeps/unix/getppid.S: Remove file.
12292
097d59fa
JM
12293 * sysdeps/unix/mkdir.c: Remove file.
12294 * sysdeps/unix/rmdir.c: Likewise.
12295
ff3d51ec
AS
122962012-04-19 Andreas Schwab <schwab@linux-m68k.org>
12297
12298 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
12299 ERR_MAX value.
12300 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
12301 errlist-compat value.
12302
50f81fd7
DM
123032012-04-18 David S. Miller <davem@davemloft.net>
12304
12305 * sysdeps/generic/memcopy.h (reg_char): Delete.
12306 * debug/strcat_chk.c: Use char, not reg_char.
12307 * debug/strcpy_chk.c: Likewise.
12308 * debug/strncat_chk.c: Likewise.
12309 * debug/strncpy_chk.c: Likewise.
12310 * string/memchr.c: Likewise.
12311 * string/memrchr.c: Likewise.
12312 * string/rawmemchr.c: Likewise.
12313 * string/strcat.c: Likewise.
12314 * string/strchr.c: Likewise.
12315 * string/strchrnul.c: Likewise.
12316 * string/strcmp.c: Likewise.
12317 * string/strcpy.c: Likewise.
12318 * string/strncat.c: Likewise.
12319 * string/strncmp.c: Likewise.
12320 * string/strncpy.c: Likewise.
12321
8ff41c46
WS
123222012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12323
12324 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
12325 __builtin_memcopy is called when src and dest ranges are known to not
12326 overlap.
12327
6b652f46
WS
123282012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12329
12330 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
12331 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
12332 fwd_align_merge macro call.
12333 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
12334 bwd_align_merge macro call.
12335 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12336
b282631e
WS
123372012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12338
12339 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
12340 bwd_align_merge macros.
12341 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
12342 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
12343 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12344
95aa737c
DM
123452012-04-18 David S. Miller <davem@davemloft.net>
12346
12347 * sysdeps/sparc/sparc64/memcopy.h: Delete.
12348
7a99a614
AJ
123492012-04-18 Andreas Jaeger <aj@suse.de>
12350
12351 [BZ# 6794]
12352 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
12353 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
12354 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12355
12356 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
12357 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
12358 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12359
12360 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
12361 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
12362 Adjust for changed ldbl-128 files.
12363
12364 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
12365 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
12366 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12367
e5270c23
DM
123682012-04-17 David S. Miller <davem@davemloft.net>
12369
12370 * sysdeps/sparc/sparc32/memcopy.h: Delete.
12371
fb5e92c9
AS
123722012-04-17 Andreas Schwab <schwab@linux-m68k.org>
12373
12374 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
12375 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
12376 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
12377 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
12378 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12379 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
12380
76da7265
AZ
123812012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12382
12383 [BZ #6794]
12384 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
12385 * math/libm-test.inc: Add ilogb errno and exception tests.
12386 * math/w_ilogb.c: New file: ilogb wrapper.
12387 * math/w_ilogbf.c: New file: ilogbf wrapper.
12388 * math/w_ilogbl.c: New file: ilogbl wrapper.
12389 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
12390 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
12391 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
12392 exception being thrown with 0.0 as argument.
12393 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
12394 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
12395 exception being thrown with 0.0 as argument.
12396 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
12397 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12398 exception being thrown with 0.0 as argument.
12399 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
12400 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12401 exception being thrown with 0.0 as argument.
12402 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
12403 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 12404 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
12405 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
12406 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
12407 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
12408 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
12409 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
12410 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
12411
0396e69d
PB
124122012-04-17 Petr Baudis <pasky@ucw.cz>
12413
12414 * include/sys/uio.h: Change __vector to __iovec to avoid clash
12415 with altivec.
12416
750b5926
MP
124172012-04-16 Marek Polacek <polacek@redhat.com>
12418
12419 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
12420
751728a1
MP
124212012-04-16 Marek Polacek <polacek@redhat.com>
12422
12423 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
12424 operands of fdivp instruction.
12425
34a27407
L
124262012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12427
12428 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
12429 * elf/tst-auditmod3b.c: Likewise.
12430 * elf/tst-auditmod4b.c: Likewise.
12431 * elf/tst-auditmod5b.c: Likewise.
12432 * elf/tst-auditmod6b.c: Likewise.
12433 * elf/tst-auditmod6c.c: Likewise.
12434 * elf/tst-auditmod7b.c: Likewise.
12435 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
12436 * sysdeps/x86_64/preconfigure.in: Likewise.
12437 * sysdeps/x86_64/preconfigure: Regenerated.
12438
7e73e17d
L
124392012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12440
12441 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
12442 __ILP32__.
12443
c7a6ab72
AB
124442012-04-13 Antoine Balestrat <merkil33@gmail.com>
12445
12446 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12447 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
12448
a9e8e0e0
CL
124492012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
12450
12451 [BZ #13973]
12452 * locale/iso-639.def: Fix gl language name. Spotted by
12453 Yaron Shahrabani.
12454
ec98af7d
RM
124552012-04-12 Roland McGrath <roland@hack.frob.com>
12456
12457 [BZ #2074]
12458 * libio/libio.h (__io_write_fn): Update comment.
12459
247c3ede
PB
124602012-04-12 Petr Baudis <pasky@ucw.cz>
12461
12462 [BZ #2074]
12463 * stdio.texi (Hook Functions): The user provided writer function
12464 is not allowed to return -1.
12465
55939d6d
DM
124662012-04-11 David S. Miller <davem@davemloft.net>
12467
12468 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12469
90020f5a
MF
124702012-04-11 Mike Frysinger <vapier@gentoo.org>
12471
12472 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12473 Add a leading slash to rtkaio.
12474
288f9098
JM
124752012-04-11 Jim Meyering <meyering@redhat.com>
12476
90020f5a
MF
12477 [BZ #11959]
12478 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
12479 It is not necessarily an error to ignore fwrite's return
12480 value. One can reliably use ferror to test for errors after
12481 the fact.
288f9098 12482
4be2b570
L
124832012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12484
12485 * bits/types.h (__snseconds_t): New type.
12486 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
12487
12488 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
12489 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12490 (__SNSECONDS_T_TYPE): Likewise.
12491 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12492 (__SNSECONDS_T_TYPE): Likewise.
12493 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12494 (__SNSECONDS_T_TYPE): Likewise.
12495
288f9098 124962012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
12497
12498 [BZ #2636]
12499 * manual/time.texi (Processor Time): Return type of times is
12500 elapsed real time since an arbitrary point in the past.
12501 (CPU Time): Move CLK_TCK from here...
12502 (Processor Time): ...to here. Correct description.
12503 * manual/conf.texi (Constants for Sysconf): Correct description of
12504 _SC_CLK_TCK.
12505
d7dd4413
DM
125062012-04-10 David S. Miller <davem@davemloft.net>
12507
12508 [BZ #13967]
12509 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
12510 where the is a gap between DT_REL(A) and DT_JMPREL.
12511
b46068fc
L
125122012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12513
12514 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
12515 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12516 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12517
73d65cc3
SP
125182012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12519
12520 * elf/dl-support.c (_dl_inhibit_cache): New variable.
12521 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
12522 (dl_main): Handle --inhibit-cache.
12523 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
12524 _dl_inhibit_cache.
12525 * elf/dl-load.c (_dl_map_object): Use it.
12526 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
12527
bcc8d661
JM
125282012-04-09 Joseph Myers <joseph@codesourcery.com>
12529
8f9a2fae
JM
12530 [BZ #13872]
12531 * sysdeps/i386/fpu/e_powl.S (p78): New object.
12532 (__ieee754_powl): Saturate large exponents rather than testing for
12533 overflow of y*log2(x).
12534 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12535 * math/libm-test.inc (pow_test): Do not permit spurious overflow
12536 exceptions.
12537
bcc8d661
JM
12538 [BZ #11521]
12539 * math/s_ctan.c: Include <float.h>.
12540 (__ctan): Avoid internal overflow or cancellation in calculating
12541 denominator.
12542 * math/s_ctanf.c: Likewise.
12543 * math/s_ctanl.c: Likewise.
12544 * math/s_ctanh.c: Likewise.
12545 * math/s_ctanhf.c: Likewise.
12546 * math/s_ctanhl.c: Likewise.
12547 * math/libm-test.inc (ctan_test): Add more tests.
12548 (ctanh_test): Likewise.
12549 * sysdeps/i386/fpu/libm-test-ulps: Update.
12550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12551
823fbbb4
AJ
125522012-04-09 Andreas Jaeger <aj@suse.de>
12553
03879793
AJ
12554 [BZ #6894]
12555 * manual/filesys.texi (Directory Entries): Mention that d_namlen
12556 is an optional BSD extension.
12557
823fbbb4
AJ
12558 [BZ #10254]
12559 * manual/stdio.texi (Opening Streams): Document additional fopen
12560 parameters.
12561
8de131cb
RM
125622012-04-09 Roland McGrath <roland@hack.frob.com>
12563
12564 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
12565 %eax without telling the compiler.
12566
c0ed9d7d
CD
125672012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
12568
12569 [BZ # 13963]
12570 * manual/install.texi: Use sourceware.org.
12571
c483f6b4
JM
125722012-04-09 Joseph Myers <joseph@codesourcery.com>
12573
d7dd9453
JM
12574 [BZ #13873]
12575 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
12576 (__ieee754_pow): Generate overflow and underflow using huge*huge
12577 and tiny*tiny rather than just returning constant infinity or zero
12578 for large exponents.
12579 * math/libm-test.inc (pow_test): Require overflow exceptions for
12580 applicable cases of large exponents.
12581
c483f6b4
JM
12582 [BZ #706]
12583 * sysdeps/i386/fpu/e_pow.S (p10): New object.
12584 (__ieee754_pow): Use iterative multiplication algorithm only for
12585 integer exponents with absolute value below 1024. Check for odd
12586 integer exponents when using algorithm for real exponents.
12587 * math/libm-test.inc (pow_test): Add more tests.
12588 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12589
d2de7579
JM
125902012-04-08 Joseph Myers <joseph@codesourcery.com>
12591
12592 [BZ #13705]
12593 * math/libm-test.inc (exp_test): Do not allow overflow exception
12594 on underflow test.
12595
f77f1232
AJ
125962012-04-08 Aurelien Jarno <aurelien@aurel32.net>
12597
12598 [BZ #13705]
12599 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
12600 instead of __kernel_standard_f.
12601
3884932b
MF
126022012-04-08 Mike Frysinger <vapier@gentoo.org>
12603
12604 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
12605 * sysdeps/x86_64/memset_chk.S: Likewise.
12606
54472e9c
AJ
126072012-04-08 Andreas Jaeger <aj@suse.de>
12608
6ab0fbfc
AJ
12609 [BZ #10153]
12610 * manual/startup.texi (Environment Access): Describe return value
12611 for putenv and setenv.
12612
61efba8c
AJ
12613 [BZ #6895]
12614 * manual/filesys.texi (Directory Entries): Add description for
12615 DT_LNK.
12616
95c3f29a
AJ
12617 [BZ #6890]
12618 * manual/filesys.texi (Directory Entries): Clarify that it's file
12619 system not operating system in the description of DT_UNKNOWN.
12620
54472e9c
AJ
12621 [BZ #6578]
12622 * manual/syslog.texi (closelog): Fix reference, it's openlog.
12623
624254b1
SC
126242012-04-08 Stephen Compall <s11@member.fsf.org>
12625
12626 [BZ #6649]
12627 * manual/llio.texi (Opening and Closing Files): Add cross
12628 reference to explain mode argument.
12629
1e4920e0
MF
126302012-04-07 Mike Frysinger <vapier@gentoo.org>
12631
12632 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
12633 * sysdeps/x86_64/memset_chk.S: Likewise.
12634
5ed848f3
DM
126352012-04-07 David S. Miller <davem@davemloft.net>
12636
12637 * elf/elf.h (R_SPARC_WDISP10): Define.
12638 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
12639 R_SPARC_SIZE32.
12640 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
12641 R_SPARC_SIZE64 and R_SPARC_H34.
12642
96154cd8
CD
126432012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
12644
12645 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
12646 conditions and remove no longer applicable assertion.
12647
9904dc47
L
126482012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12649
12650 * bits/byteswap.h: Include <features.h>.
12651 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12652 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12653
f8887d0a
L
126542012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12655
12656 * bits/byteswap.h (__bswap_16): Removed.
12657 Include <bits/byteswap-16.h> to get __bswap_16.
12658 * sysdeps/i386/bits/byteswap.h: Likewise.
12659 * sysdeps/s390/bits/byteswap.h: Likewise.
12660 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12661 * bits/byteswap-16.h: New file.
12662 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12663 * sysdeps/s390/bits/byteswap-16.h: Likewise.
12664 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12665 * string/Makefile (headers): Add bits/byteswap-16.h.
12666
62470f60
PP
126672012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12668
12669 [BZ #13895]
12670 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12671 extra indirection.
12672 * nss/Makefile (tests-static, tests): Add tst-nss-static.
12673 * nss/tst-nss-static.c: New.
12674
4dad7bab
RM
126752012-04-06 Robert Millan <rmh@gnu.org>
12676
12677 [BZ #6486]
12678 * manual/llio.texi (File Position Primitive): lseek
12679 refers to WHENCE when it really means OFFSET.
12680
e9142a17
AJ
126812012-04-06 Andreas Jaeger <aj@suse.de>
12682
2c040eff
AJ
12683 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
12684 strncmp declarations.
12685
e9142a17
AJ
12686 * abilist/libc.abilist: Add __poll and __ppoll.
12687
ff9f1c5f
DM
126882012-04-05 David S. Miller <davem@davemloft.net>
12689
dcd2ae90
DM
12690 * scripts/check-local-headers.sh: Accept a host triplet in the
12691 path matched by the exclude regexp.
12692
993eb054
DM
12693 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
12694 definition.
12695 * sysdeps/powerpc/powerpc32/dl-machine.h
12696 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12697 * sysdeps/s390/s390-32/dl-machine.h
12698 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12699 * sysdeps/sparc/sparc32/dl-machine.h
12700 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12701 * sysdeps/sparc/sparc64/dl-machine.h
12702 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12703
ff9f1c5f
DM
12704 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12705 lazy binding.
48e2e132 12706 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
12707 undefined symbol errors.
12708
48e2e132 12709 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
12710 DT_NEEDED entries.
12711
e80d6f94
MM
127122012-04-05 Michael Matz <matz@suse.de>
12713
12714 [BZ #13592]
12715 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12716
349fa79f
AJ
127172012-04-05 Andreas Jaeger <aj@suse.de>
12718
12719 [BZ #13908]
12720 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12721 comment.
12722
f402708f
KK
127232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12724
12725 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12726 which ROUND is no valid rounding mode.
12727
2ecccfc9
KK
127282012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12729
12730 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12731 read again.
12732 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12733
8a53f50f
KK
127342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12735
12736 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12737 an exception using FPU order intentionally.
12738
127392012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12740
12741 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12742 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12743 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12744 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12745
d653abb7
SJ
127462012-04-05 Simon Josefsson <simon@josefsson.org>
12747
12748 [BZ #12340]
12749 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12750 EINVAL when BUFLEN is too smal.
12751
c3b1bf7d
TS
127522012-04-05 Thomas Schwinge <thomas@codesourcery.com>
12753
12754 [BZ #13553]
12755 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12756 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12757
b1aa60f3
AJ
127582012-04-03 Andreas Jaeger <aj@suse.de>
12759
c3b1bf7d 12760 [BZ #13938]
67f60a26
AJ
12761 * manual/setjmp.texi (System V contexts): Fix sentence.
12762
b1aa60f3
AJ
12763 [BZ #13926]
12764 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12765 New macro for this case.
12766 [!__GNUC__] (__bswap_64): New inline function for this case.
12767 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12768 * bits/byteswap.h: Likewise.
12769 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12770 ull, guard with __GLIBC_HAVE_LONG_LONG.
12771
12772 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12773 __GLIBC_HAVE_LONG_LONG.
12774
12775 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12776 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12777
39c59c35
TMQMF
127782012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12779
12780 [BZ #13691]
12781 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12782 inptr and inend, rather than using last_ch.
12783
135ffda8
DM
127842012-04-02 David S. Miller <davem@davemloft.net>
12785
12786 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12787 * stdio-common/printf-parse.h (read_int): Change return type to
12788 'int', return -1 on INT_MAX overflow.
12789 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12790 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
12791 overflows INT_MAX. Check for overflow of in-format-string precision
12792 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
12793 SIZE_MAX not INT_MAX for integer overflow test.
12794 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12795 skip the construct in the format string but do not record anything.
12796 * stdio-common/bug22.c: Adjust to test both width/prevision
12797 INT_MAX overflow as well as total length INT_MAX overflow. Check
12798 explicitly for proper errno values.
12799
228c019e
TS
128002012-04-02 Thomas Schwinge <thomas@codesourcery.com>
12801
302cadd3
TS
12802 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12803 CHAR_MAX.
12804 * string/test-strcmp.c [! WIDE]: Likewise.
12805 * time/tst-mktime2.c: Likewise for INT_MAX.
12806 * string/test-string.h: #include <sys/param.h> for MIN.
12807
228c019e
TS
12808 * csu/init-first.c (__libc_init_first): Call __ctype_init.
12809 * sysdeps/i386/init-first.c (init): Likewise.
12810 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12811 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12812 * sysdeps/sh/init-first.c (init): Likewise.
12813
cfa633f5
UD
128142012-04-01 Ulrich Drepper <drepper@gmail.com>
12815
12816 * po/ru.po: Update from translation team.
d1635ef8 12817 * po/vi.po: Likewise.
cfa633f5 12818
6cd0a5ea
SP
128192012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12820
12821 * resolv/nss_dns/dns-host.c: Merge copyright years.
12822
4b43400f
LD
128232012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12824
12825 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12826 Optimize memcpy with prefetch if
12827 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
12828 src, dst pointers have unequal 16 byte alignments.
12829
48c41d04
SP
128302012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12831
12832 [BZ #13928]
12833 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12834 from a CNAME entry and return the minimum ttl for the query.
12835 (gaih_getanswer_slice): Likewise.
12836
b8dc394d
JL
128372012-03-30 Jeff Law <law@redhat.com>
12838
12839 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12840 due to long keys.
12841 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12842 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12843
2f5a5ed0
JL
12844 * resolv/nss_dns/dns-host.c: Update copyright year.
12845
1d39e359
UD
128462012-03-30 Ulrich Drepper <drepper@gmail.com>
12847
c030f70c 12848 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 12849 requests to save a system call. Fix check that all bytes are sent.
c030f70c 12850
1d39e359
UD
12851 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12852 comments for sendmmsg.
12853
128542012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
12855
12856 [BZ #13691]
12857 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12858 with only 1 character between 0x0041 and 0x01b0.
12859 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12860 * wcsmbs/tst-mbsnrtowcs.c: New file.
12861
20fde227
DM
128622012-03-29 David S. Miller <davem@davemloft.net>
12863
12864 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12865 small copies by hand.
12866
984a4237
JL
128672012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12868
12869 [BZ #13761]
12870 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12871 _nss_compat_initgroups_dyn): Fall back to malloc/free
12872 for large group memberships.
12873
18c9d62b
DM
128742012-03-28 David S. Miller <davem@davemloft.net>
12875
88d85d4f
DM
12876 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12877 that branches into memcpy.
12878 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12879 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12880 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12881 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12882 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12883 bits.
12884 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12885 implementation too.
12886 * sysdeps/sparc/mempcpy.S: New file.
12887
e5aa83e1
DM
12888 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12889 the IFUNC routine in the libc case.
12890 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12891
88570753
DM
12892 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12893 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12894 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12895 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12896 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12897 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12898 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12899 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12900
249d7567
DM
12901 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12902 loop to 256 bytes instead of 64 bytes and fix test signedness.
12903
18c9d62b
DM
12904 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12905 * sysdeps/sparc/sparc32/Makefile: rather than here...
12906 * sysdeps/sparc/sparc64/Makefile: and here.
12907
05f3d1f6
UD
129082012-03-28 Ulrich Drepper <drepper@gmail.com>
12909
12910 * malloc/mallocbug.c: Avoid warnings about unused variables.
12911
86ae07a8
JL
129122012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12913
12914 [BZ #13760]
12915 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12916 in the right place. Discard and retry query if response is
12917 larger than input buffer size.
12918
41bf21a1
JM
129192012-03-28 Joseph Myers <joseph@codesourcery.com>
12920
d6270972
JM
12921 [BZ #369]
12922 [BZ #2678]
12923 [BZ #3866]
12924 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12925 x for large integer exponent.
12926 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12927 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
12928 sign of result as needed afterwards.
12929 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12930 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12931 result for underflowing pow the same as for overflow.
12932 (__kernel_standard_l): Handle powl overflow and underflow here
12933 rather than calling __kernel_standard.
12934 * math/libm-test.inc (pow_test): Add more tests.
12935
414fca03 12936 [BZ #3868]
41bf21a1
JM
12937 [BZ #13879]
12938 [BZ #13910]
12939 [BZ #13911]
12940 [BZ #13912]
12941 [BZ #13913]
12942 [BZ #13915]
12943 [BZ #13916]
12944 [BZ #13917]
12945 [BZ #13918]
12946 [BZ #13919]
12947 [BZ #13920]
12948 [BZ #13921]
12949 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12950 * sysdeps/ieee754/k_standard.c: Include <float.h>.
12951 (__kernel_standard_l): New function.
12952 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12953 __kernel_standard.
12954 * math/w_acosl.c (__acosl): Likewise.
12955 * math/w_asinl.c (__asinl): Likewise.
12956 * math/w_atan2l.c (__atan2l): Likewise.
12957 * math/w_atanhl.c (__atanhl): Likewise.
12958 * math/w_coshl.c (__coshl): Likewise.
12959 * math/w_exp10l.c (__exp10l): Likewise.
12960 * math/w_exp2l.c (__exp2l): Likewise.
12961 * math/w_fmodl.c (__fmodl): Likewise.
12962 * math/w_hypotl.c (__hypotl): Likewise.
12963 * math/w_j0l.c (__j0l, __y0l): Likewise.
12964 * math/w_j1l.c (__j1l, __y1l): Likewise.
12965 * math/w_jnl.c (__jnl, __ynl): Likewise.
12966 * math/w_lgammal.c (__lgammal): Likewise.
12967 * math/w_log10l.c (__log10l): Likewise.
12968 * math/w_log2l.c (__log2l): Likewise.
12969 * math/w_logl.c (__logl): Likewise.
12970 * math/w_powl.c (__powl): Likewise.
12971 * math/w_remainderl.c (__remainderl): Likewise.
12972 * math/w_scalbl.c (sysv_scalbl): Likewise.
12973 * math/w_sinhl.c (__sinhl): Likewise.
12974 * math/w_sqrtl.c (__sqrtl): Likewise.
12975 * math/w_tgammal.c (__tgammal): Likewise.
12976 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12977 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12978 * math/libm-test.inc (acos_test): Add more tests.
12979 (acosh_test): Likewise.
12980 (asin_test): Likewise.
12981 (atanh_test): Likewise.
12982 (exp_test): Likewise.
12983 (exp10_test): Likewise.
12984 (exp2_test): Likewise.
12985 (expm1_test): Likewise.
12986 (lgamma_test): Likewise.
12987 (log_test): Likewise.
12988 (log10_test): Likewise.
12989 (log1p_test): Likewise.
12990 (log2_test): Likewise.
12991 (pow_test): Do not allow some spurious overflow exceptions.
12992 (sqrt_test): Add more tests.
12993 (tgamma_test): Likewise.
12994 (y0_test): Likewise.
12995 (y1_test): Likewise.
12996 (yn_test): Likewise.
12997
dd62fda6
AB
129982012-03-27 Anton Blanchard <anton@samba.org>
12999
13000 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
13001 MAP_HUGETLB.
13002 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13003 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13004 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13005
1e3cdfda
AJ
130062012-03-27 David S. Miller <davem@davemloft.net>
13007
b855ab85
DM
13008 * conform/Makefile: Run run-conformtest.sh using $(BASH).
13009
1e3cdfda
AJ
13010 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
13011 have-as-vis3 check.
13012
130132012-03-27 Andreas Jaeger <aj@suse.de>
13014
13015 * sysdeps/x86_64/elf/configure.in: Moved to ...
13016 * sysdeps/x86_64/configure.in: ... here.
13017 * sysdeps/x86_64/elf/start.S: Moved to ...
13018 * sysdeps/x86_64/start.S: ... here.
13019 * sysdeps/x86_64/elf/configure: Delete.
13020
13021 * sysdeps/x86_64/configure.in: Merge contents from
13022 sysdeps/i386/configure.in (without i686 check).
13023
13024 * sysdeps/i386/elf/Versions: Merge into ...
13025 * sysdeps/i386/Versions: ... this.
13026 * sysdeps/i386/elf/Versions: Delete file.
13027 * sysdeps/i386/elf/start.S: Moved to ...
13028 * sysdeps/i386/start.S: ...here.
13029 * sysdeps/i386/elf/configure.in: Merge into...
13030 * sysdeps/i386/configure.in: ...here.
13031 * sysdeps/i386/elf/configure.in: Delete file.
13032 * sysdeps/i386/elf/configure: Delete file.
13033
13034 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
13035 * debug/backtracesyms.c: ... here.
13036 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
13037 * debug/backtracesymsfd.c: ... here.
13038 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
13039 * sysdeps/generic/ifunc-sel.h: ... here.
13040
13041 * sysdeps/unix/i386/start.c: Delete file.
13042 * sysdeps/unix/sparc/start.c: Delete file.
13043 * sysdeps/unix/start.c: Delete file.
13044
13045 * sysdeps/sh/elf/configure.in: Moved to ...
13046 * sysdeps/sh/configure.in: ... here.
13047 * sysdeps/sh/elf/start.S: Moved to ...
13048 * sysdeps/sh/start.S: ... here.
13049 * sysdeps/sh/elf/configure: Delete file.
13050
13051 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
13052 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
13053 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
13054 * sysdeps/powerpc/powerpc64/entry.h: ... here.
13055 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
13056 * sysdeps/powerpc/powerpc64/start.S: here.
13057 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
13058 * sysdeps/powerpc/powerpc64/Makefile: ... this.
13059 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
13060 * sysdeps/powerpc/powerpc64/configure.in: ... this.
13061 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
13062
13063 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
13064 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
13065 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
13066 * sysdeps/powerpc/powerpc32/start.S: ... here.
13067 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
13068 * sysdeps/powerpc/powerpc32/configure.in: ... this.
13069 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
13070
13071 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
13072 * sysdeps/powerpc/ifunc-sel.h: ... here.
13073 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
13074 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
13075
13076 * sysdeps/sparc/elf/configure.in: Moved to ...
13077 * sysdeps/sparc/configure.in: ... here.
13078 * sysdeps/sparc/elf/configure: Delete file.
13079 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
13080 * sysdeps/sparc/sparc32/start.S: ... here.
13081 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
13082 * sysdeps/sparc/sparc64/start.S: ... here.
13083 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
13084 * sysdeps/sparc/sparc32/Makefile: ... this.
13085 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
13086 * sysdeps/sparc/sparc64/Makefile: ... this.
13087
13088 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
13089 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
13090 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
13091 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
13092 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
13093 * sysdeps/s390/s390-32/setjmp.S: ... here.
13094 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
13095 * sysdeps/s390/s390-32/configure.in: ... here.
13096 * sysdeps/s390/s390-32/elf/configure: Delete file.
13097 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
13098 * sysdeps/s390/s390-32/start.S: ... here.
13099
13100 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
13101 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
13102 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
13103 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
13104 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
13105 * sysdeps/s390/s390-64/setjmp.S: ... here.
13106 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
13107 * sysdeps/s390/s390-64/configure.in: ... here
13108 * sysdeps/s390/s390-64/elf/configure: Delete file.
13109 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
13110 * sysdeps/s390/s390-64/start.S: ... here.
13111 * sysdeps/s390/s390-64/elf/configure: Delete.
13112
13113 * configure.in: Remove support for elf directories in sysdeps.
13114
13115 * configure: Regenerated.
13116 * sysdeps/i386/configure: Regenerated.
13117 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13118 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13119 * sysdeps/s390/s390-32/configure: Regenerated.
13120 * sysdeps/s390/s390-64/configure: Regenerated.
13121 * sysdeps/sh/configure: Regenerated.
13122 * sysdeps/sparc/configure: Regenerated.
13123 * sysdeps/x86_64/configure: Regenerated.
13124
a3f61311
AS
131252012-03-26 Andreas Schwab <schwab@linux-m68k.org>
13126
c876e002
AS
13127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13128
a3f61311
AS
13129 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
13130 denormal result into account.
13131
ac4c54f0
RM
131322012-03-25 Roland McGrath <roland@hack.frob.com>
13133
13134 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
13135 Reported by Allan McRae <allan@archlinux.org>.
13136
6a9b9c02
JL
131372012-03-23 Jeff Law <law@redhat.com>
13138
13139 * nss/getnssent.c (__nss_getent): Fix typo.
13140
4c42a0c1
DM
131412012-03-23 David S. Miller <davem@davemloft.net>
13142
13143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13144
1532c7ac
L
131452012-03-23 H.J. Lu <hongjiu.lu@intel.com>
13146
13147 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
13148 to pad to uint64_t for each field.
13149 (dl_tls_index): Replace unsigned long with uint64_t.
13150
3ff42526
PP
131512012-03-23 Daniel Jacobowitz <dmj@google.com>
13152 Paul Pluzhnikov <ppluzhnikov@google.com>
13153
13154 [BZ #6528]
13155 * grp/Makefile (otherlibs): Don't set it.
13156 * inet/Makefile (otherlibs): Likewise.
13157 * login/Makefile (otherlibs): Likewise.
13158 * nscd/Makefile (otherlibs): Likewise.
13159 * posix/Makefile (otherlibs): Likewise.
13160 * pwd/Makefile (otherlibs): Likewise.
13161 * rt/Makefile (otherlibs): Likewise.
13162 * sunrpc/Makefile (otherlibs): Likewise.
13163 * nss/Makefile (otherlibs): Likewise.
13164 Add libnss_files to routines and static-only-routines.
13165 ($(objpfx)getent): Remove rule.
13166 * resolv/Makefile: Add libnss_dns and libresolv to routines and
13167 static-only-routines.
13168
7c69cd14
JM
131692012-03-22 Joseph Myers <joseph@codesourcery.com>
13170
13171 [BZ #13892]
13172 * math/s_cexp.c: Include <float.h>.
13173 (__cexp): Handle exp result overflowing not necessarily
13174 overflowing both real and imaginary parts of result.
13175 * math/s_cexpf.c: Likewise.
13176 * math/s_cexpl.c: Likewise.
13177 * math/libm-test.inc (cexp_test): Add more tests.
13178 * sysdeps/i386/fpu/libm-test-ulps: Update.
13179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13180
81b035fe
L
131812012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13182
13183 * include/link.h (ELFW): New macro.
13184 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
13185 Replace ELF64_R_TYPE with ELFW(R_TYPE).
13186
1da7940c
L
131872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13188
13189 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
13190 with uint64_t.
13191
b749dbb9
L
131922012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13193
13194 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
13195 declaration.
13196 (struct La_x32_retval): Likewise.
13197
2ff87f3f
L
131982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13199
13200 * sysdeps/x86_64/preconfigure.in: New file.
13201 * sysdeps/x86_64/preconfigure: New generated file.
13202
c0df8e69
JM
132032012-03-22 Joseph Myers <joseph@codesourcery.com>
13204
48e44791
JM
13205 [BZ #13824]
13206 * math/e_exp2l.c: Include <float.h>.
13207 (__ieee754_exp2l): Handle overflow and underflow cases
13208 separately. Only pass fractional part of argument to
13209 __ieee754_expl.
13210 * math/libm-test.inc (exp2_test): Add more tests.
13211
c0df8e69
JM
13212 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
13213 negating x to take absolute value.
13214 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13215 Likewise.
13216 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13217 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13218 Likewise.
13219 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
13220 computing low part if x was negated.
13221 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13222
c8e43ba7
L
132232012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13224
13225 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
13226 la_x32_gnu_pltexit.
13227 (pltexit): Cast int_retval to ptrdiff_t.
13228 * elf/tst-auditmod3b.c: Likewise.
13229 * elf/tst-auditmod4b.c: Likewise.
13230 * elf/tst-auditmod5b.c: Likewise.
13231 * elf/tst-auditmod6b.c: Likewise.
13232 * elf/tst-auditmod6c.c: Likewise.
13233 * elf/tst-auditmod7b.c: Likewise.
13234
13235 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
13236 and x32_gnu_pltexit.
13237
13238 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
13239 __ELF_NATIVE_CLASS.
13240 (La_x32_regs): New macro.
13241 (La_x32_retval): Likewise.
13242 (la_x32_gnu_pltenter): New function prototype.
13243 (la_x32_gnu_pltexit): Likewise.
13244
7998fa78
AS
132452012-03-21 Andreas Schwab <schwab@linux-m68k.org>
13246
dcb33988
AS
13247 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
13248 exponent.
13249
233fc563
AS
13250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13251
7998fa78
AS
13252 * configure.in (libc_cv_cc_nofma): Check for option to disable
13253 generation of FMA instructions.
13254 * configure: Regenerate.
13255 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
13256 * sysdeps/ieee754/dbl-64/Makefile: New file.
13257 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13258 Remove brandred-fma4.
13259 (CFLAGS-brandred-fma4.c): Remove.
13260 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
13261 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
13262 define.
13263 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
13264 define.
13265
8e95c99a
L
132662012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13267
13268 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13269 LLONG_MAX != LONG_MAX.
13270 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13271 (_fitoa_word): Likewise.
13272 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
13273 LLONG_MAX != LONG_MAX.
13274 * stdio-common/_itowa.h: Include <_itoa.h>.
13275 (_itowa_word): Use _ITOA_WORD_TYPE on value.
13276 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
13277 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
13278 only if not defined.
13279 (_ITOA_WORD_TYPE): Likewise.
13280 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13281 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
13282
6f4db457
DM
132832012-03-21 David S. Miller <davem@davemloft.net>
13284
13285 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13286
7785fe5a
L
132872012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13288
13289 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
13290 of x86_64 when setting libc_cv_slibdir, libdir and
13291 libc_cv_localedir.
13292 * sysdeps/unix/sysv/linux/configure: Regenerated.
13293
4535cd55
JM
132942012-03-21 Joseph Myers <joseph@codesourcery.com>
13295
13296 * manual/lang.texi (Old Varargs): Remove section.
13297 (How Variadic): Update menu.
13298 (va_start): Do not mention varargs.h.
13299
17228132
TS
133002012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13301 Joseph Myers <joseph@codesourcery.com>
13302
13303 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
13304 link test.
13305 * configure: Regenerated.
13306
8149f976
TS
133072012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13308
05f3d1f6
UD
13309 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
13310 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
13311 conformtest.pl
8149f976 13312
1a4ac776
JM
133132012-03-21 Joseph Myers <joseph@codesourcery.com>
13314
be22ce65
JM
13315 * NOTES: Remove.
13316 * Makefile (files-for-dist): Remove NOTES.
13317 (NOTES): Remove rule.
13318 * README: Don't refer to NOTES.
13319 * manual/creature.texi: Don't include macros.texi.
13320 * manual/intro.texi (creature.texi): Remove comment referring to
13321 NOTES.
13322
40b601fb
JM
13323 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
13324 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
13325 * configure: Regenerated.
13326 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
13327 LIBC_TRY_CC_OPTION.
13328 (libc_cv_as_i686): Likewise.
13329 (libc_cv_cc_avx): Likewise.
13330 (libc_cv_cc_sse2avx): Likewise.
13331 (libc_cv_cc_fma4): Likewise.
13332 (libc_cv_cc_novzeroupper): Likewise.
13333 * sysdeps/i386/configure: Regenerated.
13334
1a4ac776
JM
13335 [BZ #13883]
13336 * sysdeps/i386/fpu/s_cexp.S: Remove.
13337 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13338 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13339 * math/libm-test.inc (cexp_test): Add more tests.
13340 * sysdeps/i386/fpu/libm-test-ulps: Update.
13341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13342
a458e7fe
AM
133432012-03-21 Allan McRae <allan@archlinux.org>
13344
13345 * timezone/Makefile: Do not install iso3166.tab and zone.tab
13346
0cb7efc5
JM
133472012-03-21 Joseph Myers <joseph@codesourcery.com>
13348
13349 [BZ #13871]
13350 * math/w_exp2.c: Do not include <float.h>.
13351 (o_threshold, u_threshold): Remove.
13352 (__exp2): Calculate result before checking finiteness and calling
13353 __kernel_standard.
13354 * math/w_exp2f.c: Likewise.
13355 * math/w_exp2l.c: Likewise.
13356 * math/libm-test.inc (exp2_test): Require overflow exception for
13357 1e6 input.
2460d3aa
JM
13358
13359 [BZ #3866]
13360 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
13361 range of signed 64-bit integers before using fistpll. Remove
13362 checks for whether integers fit in mantissa bits.
13363 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
13364 the range of signed 32-bit integers before using fistpl. Remove
13365 checks for whether integers fit in mantissa bits.
13366 * sysdeps/i386/fpu/e_powl.S (p64): New object.
13367 (__ieee754_powl): Test for y outside the range of signed 64-bit
13368 integers before using fistpll. Reduce 64-bit values to 63-bit
13369 ones as needed.
13370 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
13371 divide-by-zero is raised for zero to large negative powers.
13372 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
13373 (__ieee754_powl): Test for y outside the range of signed 64-bit
13374 integers before using fistpll. Reduce 64-bit values to 63-bit
13375 ones as needed.
13376 * math/libm-test.inc (pow_test): Add more tests.
13377
eb96ffb0
L
133782012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13379
13380 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
13381 <stdio-common/_itoa.h>.
13382 * debug/segfault.c: Likewise.
13383 * elf/dl-cache.c: Likewise.
13384 * elf/dl-minimal.c: Likewise.
13385 * elf/dl-misc.c: Likewise.
13386 * elf/dl-sysdep.c: Likewise.
13387 * elf/dl-version.c: Likewise.
13388 * elf/rtld.c: Likewise.
13389 * hurd/hurdsock.c: Likewise.
13390 * hurd/lookup-retry.c: Likewise.
13391 * malloc/malloc.c: Likewise.
13392 * malloc/mtrace.c: Likewise.
13393 * nscd/nscd_getgr_r.c: Likewise.
13394 * nscd/nscd_getpw_r.c: Likewise.
13395 * nscd/nscd_getserv_r.c: Likewise.
13396 * posix/getopt_init.c: Likewise.
13397 * posix/wordexp.c: Likewise.
13398 * stdio-common/_itoa.c: Likewise.
13399 * stdio-common/printf_fphex.c: Likewise.
13400 * stdio-common/vfprintf.c: Likewise.
13401 * string/_strerror.c: Likewise.
13402 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
13403 * sysdeps/i386/i686/hp-timing.h: Likewise.
13404 * sysdeps/mach/_strerror.c: Likewise.
13405 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
13406 * sysdeps/mach/hurd/sethostid.c: Likewise.
13407 * sysdeps/mach/hurd/xmknodat.c: Likewise.
13408 * sysdeps/mach/xpg-strerror.c: Likewise.
13409 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13410 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13411 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
13412 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
13413 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13414 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
13415 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13416 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13417 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
13418 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
13419 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
13420 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13421 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
13422 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13423 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13424 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
13425 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
13426 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
13427 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13428 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13429 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
13430
13431 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
13432
13433 * stdio-common/_itoa.h: Moved to ...
13434 * sysdeps/generic/_itoa.h: Here.
13435
13436 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
13437
13438 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
13439 instead of "_itoa.h" and "_itowa.h".
13440 * stdio-common/vfprintf.: Likewise.
13441
d1af992d
L
134422012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13443
13444 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
13445 <bits/wordsize.h>.
13446 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
13447 (__signbit): Likwise.
13448 (llrintf): Likwise.
13449 (llrint): Likwise.
13450
114883e0
L
134512012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13452
13453 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
13454 __WORDSIZE != 64.
13455
c135cc1b
JM
134562012-03-20 Joseph Myers <joseph@codesourcery.com>
13457
13458 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
13459 OVERFLOW_EXCEPTION_OK.
13460 * math/libm-test.inc ("Philosophy"): Update comment about
13461 exception testing.
13462 (OVERFLOW_EXCEPTION): Define.
13463 (OVERFLOW_EXCEPTION_OK): Likewise.
13464 (INVALID_EXCEPTION_OK): Renumber.
13465 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13466 (IGNORE_ZERO_INF_SIGN): Likewise.
13467 (test_exceptions): Handle FE_OVERFLOW.
13468 (exp10_test): Expect overflow exceptions.
13469 (exp2_test): Likewise.
13470 (expm1_test): Likewise.
13471 (nextafter_test): Likewise.
13472 (pow_test): Likewise.
13473 (scalbn_test): Likewise.
13474 (scalbln_test): Likewise.
13475
95443d88
L
134762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13477
13478 * sysdeps/x86_64/bits/atomic.h
13479 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
13480 64bit integer.
13481 (atomic_exchange_acq): Likewise.
13482 (__arch_exchange_and_add_body): Likewise.
13483 (__arch_add_body): Likewise.
13484 (atomic_add_negative): Likewise.
13485 (atomic_add_zero): Likewise.
13486
490df6c4
L
134872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13488
c2722551 13489 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
13490 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
13491
5e52b189
L
134922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13493
13494 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
13495 Check __x86_64__ instead of __WORDSIZE.
13496
a9879d4c
L
134972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13498
13499 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
13500
5df98260
DM
135012012-03-19 David S. Miller <davem@davemloft.net>
13502
e1497744
DM
13503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13504
5df98260
DM
13505 * sysdeps/sparc/fpu/fenv_private.h: New file.
13506 * sysdeps/sparc/fpu/math_private.h: Use it.
13507 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
13508 Remove.
13509 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
13510 (libc_feholdexcept_setroundl): Remove.
13511 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
13512 Remove.
13513 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
13514 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
13515
b4c35121
L
135162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13517
13518 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
13519 int64_t instead of long int.
13520 (INSERT_WORDS64): Likwise.
13521
56965fd7
L
135222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13523
13524 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
13525 _Unwind_GetCFA return to _Unwind_Ptr first.
13526
83d1aec8
JM
135272012-03-19 Joseph Myers <joseph@codesourcery.com>
13528
1897ad44
JM
13529 [BZ #13629]
13530 * math/s_clog.c: Include <float.h>.
13531 (__clog): Scale large or subnormal inputs.
13532 * math/s_clogf.c: Likewise.
13533 * math/s_clogl.c: Likewise.
13534 * math/s_clog10.c: Include <float.h>.
13535 (M_LOG10_2): Define.
13536 (__clog10): Scale large or subnormal inputs.
13537 * math/s_clog10f.c: Likewise.
13538 * math/s_clog10l.c: Likewise.
13539 * math/libm-test.inc (clog_test): Add more tests.
13540 (clog10_test): Likewise.
13541 * sysdeps/i386/fpu/libm-test-ulps: Update.
13542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13543
7726d6a9
JM
13544 [BZ #11451]
13545 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
13546 x and y.
13547 * math/libm-test.inc (atan2_test): Add another test.
13548
83d1aec8
JM
13549 * Makerules (common-objdir-compile): Remove.
13550 * sysdeps/unix/Makefile (config-generated): Do not add
13551 $(unix-generated) to variable.
13552 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
13553 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
13554 Remove rule.
13555 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
13556 Likewise.
13557 [generic bits/local_lim.h] (before-compile): Do not append to
13558 variable.
13559 [generic bits/local_lim.h] (common-generated): Likewise.
13560 [generic sys/param.h] (before-compile): Do not append to variable.
13561 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
13562 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
13563 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
13564 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
13565 include.
13566 [generic sys/param.h] (sys/param.h-includes): Remove variable.
13567 [generic sys/param.h] (sys/param.h-includes): Remove rule.
13568 [generic sys/param.h] ($(addprefix
13569 $(common-objpfx),$(sys/param.h-includes))): Likewise.
13570 [generic sys/param.h] (common-generated): Do not append to
13571 variable.
13572 [generic sys/param.h] (sysdep_headers): Likewise.
13573 [generic bits/errno.h] (before-compile): Do not append to
13574 variable.
13575 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
13576 rule.
13577 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
13578 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
13579 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
13580 [generic bits/errno.h] (common-generated): Do not append to
13581 variable.
13582 [generic bits/ioctls.h] (before-compile): Do not append to
13583 variable.
13584 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
13585 rule.
13586 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
13587 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
13588 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
13589 rule.
13590 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
13591 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
13592 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
13593 [generic bits/ioctls.h] (common-generated): Do not append to
13594 variable.
13595 [generic sys/syscall.h] (syscall.h): Remove variable.
13596 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
13597 rule.
13598 [generic sys/syscall.h] (before-compile): Do not append to
13599 variable.
13600 [generic sys/syscall.h] (common-generated): Likewise.
13601 * sysdeps/unix/errnos-tmpl.c: Remove file.
13602 * sysdeps/unix/errnos.awk: Likewise.
13603 * sysdeps/unix/ioctls-tmpl.c: Likewise.
13604 * sysdeps/unix/ioctls.awk: Likewise.
13605 * sysdeps/unix/mk-local_lim.c: Likewise.
13606 * sysdeps/unix/snarf-ioctls: Likewise.
13607
4851a949
RH
136082012-03-19 Richard Henderson <rth@twiddle.net>
13609
bd37f2ee
RH
13610 * sysdeps/i386/fpu/fenv_private.h: New file.
13611 * sysdeps/i386/fpu/math_private.h: Use it.
13612 (math_opt_barrier, math_force_eval): Remove.
13613 (libc_feholdexcept_setround_53bit): Remove.
13614 (libc_feupdateenv_53bit): Remove.
13615 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13616 (math_opt_barrier, math_force_eval): Remove.
13617 (libc_feholdexcept): Remove.
13618 (libc_feholdexcept_setround): Remove.
13619 (libc_fetestexcept, libc_fesetenv): Remove.
13620 (libc_feupdateenv_test): Remove.
13621 (libc_feupdateenv, libc_feholdsetround): Remove.
13622 (libc_feresetround): Remove.
13623
d0adc922
RH
13624 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
13625 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13626
0fe0f1f8
RH
13627 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
13628 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
13629 (libc_feupdateenv_testl): New.
13630 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
13631 (libc_feupdateenv_testf): New.
13632 (libc_feupdateenv): Use libc_feupdateenv_test.
13633 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
13634 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
13635
eb92c487
RH
13636 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
13637 (libc_feholdsetroundf, libc_feholdsetroundl): New.
13638 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
13639 (libc_feresetround_noex): New.
13640 (libc_feresetround_noexf): New.
13641 (libc_feresetround_noexl): New.
13642 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
13643 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
13644 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
13645 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
13646 SET_RESTORE_ROUND.
13647 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13648 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
13649 (__cos): Likewise.
13650 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
13651 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13652 SET_RESTORE_ROUND_NOEX.
13653 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13654 SET_RESTORE_ROUND_NOEXF.
13655 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13656 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13657 (libc_feholdsetroundf): New.
13658 (libc_feresetround, libc_feresetroundf): New.
13659
7d2e8012
RH
13660 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13661 (libc_feholdexcept_setround_53bit): Convert from macro to function.
13662 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
13663
b4dabbb4
RH
13664 * sysdeps/generic/math_private.h: Include <fenv.h>.
13665 (default_libc_feholdexcept): New.
13666 (default_libc_feholdexcept_setround): New.
13667 (default_libc_fesetenv, default_libc_feupdateenv): New.
13668 (libc_feholdexcept): Only define if undefined.
13669 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13670 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13671 (libc_feholdexcept_setroundl): Likewise.
13672 (libc_feholdexcept_setround_53bit): Likewise.
13673 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
13674 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
13675 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
13676 (libc_feupdateenv_53bit): Likewise.
13677 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
13678 (libc_feholdexcept): Convert from macro to inline function.
13679 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
13680 (libc_fesetenv, libc_feupdateenv): Likewise.
13681
4851a949
RH
13682 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
13683 not previously defined.
13684 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
13685 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
13686 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
13687 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
13688 * sysdeps/ieee754/flt-32/math_private.h: New file.
13689 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
13690 math_private.h below SET_FLOAT_WORD.
13691 (__isnan, __isinf_ns, __finite): Remove.
13692 (__isnanf, __isinf_nsf, __finitef): Remove.
13693
e79d442e
AS
136942012-03-18 Andreas Schwab <schwab@linux-m68k.org>
13695
13696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13697
90b80344
DM
136982012-03-17 David S. Miller <davem@davemloft.net>
13699
13700 [BZ #6471]
13701 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13702 for 2.16.
13703
edc21804
DM
137042012-03-16 David S. Miller <davem@davemloft.net>
13705
77e927af
DM
13706 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13707 warnings.
13708
374976dd
DM
13709 [BZ #6471]
13710 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13711 properly.
13712 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13713 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13714 sysdep_routines when subdir is sysvipc.
13715 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13716 __getshmlba helper.
13717
edc21804
DM
13718 * sysdeps/sparc/fpu/libm-test/ulps: Update.
13719
473c3ef3
L
137202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13721
13722 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13723 [__LP64__].
13724
eb0f39b6
L
137252012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13726
13727 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13728 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13729 (__lround): Renamed to ...
13730 (__llround): This. Replace long int with long long int.
13731 Define lround functions as aliases of llround functions.
13732 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13733
6b6cd74b
L
137342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13735
13736 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13737 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
13738 adresses to uintptr_t. Replace "long int" and "unsigned long
13739 int" with "greg_t" on va_arg.
13740
f1a77b01
L
137412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13742
13743 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13744 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13745
13746 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13747 Move e_machine check before EI_CLASS check. Handle x32
13748 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13749 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13750 SKIP_EM_IA_64 and include
13751 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13752
13753 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13754 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13755 (add_system_dir): New macro.
13756
13757 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13758 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13759
11b90b9f
JM
137602012-03-16 Joseph Myers <joseph@codesourcery.com>
13761
c36e1d23
JM
13762 [BZ #2551]
13763 [BZ #2552]
13764 [BZ #2553]
13765 [BZ #2554]
13766 [BZ #2562]
13767 [BZ #2563]
13768 [BZ #2565]
13769 [BZ #2566]
13770 [BZ #2576]
13771 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13772 (y0): Likewise.
13773 * math/w_j0f.c (j0f): Likewise.
13774 (y0f): Likewise.
13775 * math/w_j0l.c (__j0l): Likewise.
13776 (__y0l): Likewise.
13777 * math/w_j1.c (j1): Likewise.
13778 (y1): Likewise.
13779 * math/w_j1f.c (j1f): Likewise.
13780 (y1f): Likewise.
13781 * math/w_j1l.c (__j1l): Likewise.
13782 (__y1l): Likewise.
13783 * math/w_jn.c (jn): Likewise.
13784 (yn): Likewise.
13785 * math/w_jnf.c (jnf): Likewise.
13786 (ynf): Likewise.
13787 * math/w_jnl.c (__jnl): Likewise.
13788 (__ynl): Likewise.
13789 * math/libm-test.inc (j0_test): Add more tests.
13790 (j1_test): Likewise.
13791 (jn_test): Likewise. Add trailing semicolon to existing test.
13792 (y0_test): Likewise.
13793 (y1_test): Likewise.
13794 * sysdeps/i386/fpu/libm-test-ulps: Update.
13795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13796
11b90b9f
JM
13797 [BZ #13851]
13798 [BZ #13854]
13799 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13800 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13801 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13802 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13803 (__tanl): Set errno for infinite argument.
13804 * sysdeps/i386/fpu/mptan.c: Remove.
13805 * sysdeps/i386/fpu/s_tan.S: Likewise.
13806 * sysdeps/i386/fpu/s_tanl.S: Likewise.
13807 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13808 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13809 * math/libm-test.inc (tan_test): Add more tests and enable more
13810 tests for double and long double.
13811 * sysdeps/i386/fpu/libm-test-ulps: Update.
13812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13813
6a1bd2a1
JK
138142012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13815
13816 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13817 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13818
10a803e0
RM
138192012-03-16 Roland McGrath <roland@hack.frob.com>
13820
13821 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13822 * configure.in: Use it for both main tree and add-ons.
13823 * configure: Regenerated.
13824
f196c7f7
L
138252012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13826
13827 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13828
8848d99d
JM
138292012-03-16 Joseph Myers <joseph@codesourcery.com>
13830
96cbe7f4
JM
13831 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13832 in comment.
13833
8848d99d
JM
13834 [BZ #13851]
13835 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13836 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13837 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13838 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13839 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13840 infinite argument.
13841 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13842 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13843 != 0 for prec == 2.
13844 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13845 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13846 * sysdeps/i386/fpu/s_cosl.S: Likewise.
13847 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13848 * sysdeps/i386/fpu/s_sinl.S: Likewise.
13849 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13850 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13851 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13852 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13853 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13854 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13855 * math/libm-test.inc (cos_test): Add more tests and enable more
13856 tests for long double.
13857 (sin_test): Likewise.
13858 (sincos_test): Likewise.
13859 * sysdeps/i386/fpu/libm-test-ulps: Update.
13860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13861
dd7f4703
DM
138622012-03-16 David S. Miller <davem@davemloft.net>
13863
13864 * sysdeps/sparc/fpu/math_private.h: New file.
13865
006f1daa
DM
138662012-03-15 David S. Miller <davem@davemloft.net>
13867
c0c83bc8
DM
13868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13869 file.
e6a62e18 13870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
13871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13872 file.
e6a62e18
DM
13873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13874 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13875 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13876 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13877 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13878 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13879 sysdep routines.
13880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13881
88cb87d9
DM
13882 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13883 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13884
006f1daa 13885 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
13886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13887 sparc-ifunc.h
006f1daa 13888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
13889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13890 Likewise.
13891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13892 Likewise.
006f1daa
DM
13893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
13896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13897 Likewise.
006f1daa
DM
13898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
13902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13903 Likewise.
13904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13905 Likewise.
006f1daa
DM
13906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13910 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13911 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13912 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13913 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13914 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13915 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13916 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13917 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13918 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13919 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13920 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13921 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13922 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13923 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13924 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13925 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13926 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13927 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13928 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13929 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13930
11e0098e
AS
139312012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13932
13933 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13934 scaling.
13935 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13936
e85b09d0
AJ
139372012-03-15 Andreas Jaeger <aj@suse.de>
13938
13939 [BZ #13852]
13940 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13941 ieee754/flt-32 implementation for sin, cos and sincos.
13942 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13943 * sysdeps/i386/fpu/s_cosf.S: Likewise.
13944 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13945 * sysdeps/i386/fpu/s_sinf.S: Likewise.
13946 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13947 ieee754/flt-32 implementation for tan.
13948
13949 * math/libm-test.inc (cos_test): Enable some large input tests for
13950 float as well
13951 (sin_test): Likewise.
13952 (sincos_test): Likewise.
13953 (tan_test): Add tests for large input.
13954
13955 * sysdeps/i386/fpu/libm-test-ulps: Update.
13956
81c64153
AJ
139572012-03-15 Andreas Jaeger <aj@suse.de>
13958
13959 [BZ #13658]
13960 * math/libm-test.inc (cos_test): Add more test cases.
13961 (sin_test): Likewise.
13962 (sincos_test): Likewise.
13963
7bbfa5c6
AJ
139642012-03-15 Andreas Jaeger <aj@suse.de>
13965
13966 [BZ #13837]
13967 * math/libm-test.inc (cos_test): Add a test case for large input
13968 value.
13969 (sin_test): Likewise.
13970 (sincos_test): Likewise.
13971
139722012-03-15 Andreas Jaeger <aj@suse.de>,
13973 Joseph Myers <joseph@codesourcery.com>
13974
13975 [BZ #13658]
0671f479 13976 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
13977 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13978 * sysdeps/i386/fpu/branred.c: Likewise.
13979 * sysdeps/i386/fpu/dosincos.c: Likewise.
13980 * sysdeps/i386/fpu/mpa.c: Likewise.
13981 * sysdeps/i386/fpu/s_cos.S: Likewise.
13982 * sysdeps/i386/fpu/s_sin.S: Likewise.
13983 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13984 * sysdeps/i386/fpu/sincos32.c: Likewise.
13985
13986 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13987 Define.
13988 (libc_feupdateenv_53bit): Define.
13989 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13990 Define.
13991 (libc_feupdateenv_53bit): Define.
13992
13993 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13994 53 bit (without extend i386 double precision).
13995
13996 * math/libm-test.inc (sincos_test): Add tests for large input.
13997 (sin): Likewise.
13998 (cos): Likewise.
13999
14000 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14001
9cad04ea
AS
140022012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14003
14004 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14005
f7062b9a
DM
140062012-03-15 David S. Miller <davem@davemloft.net>
14007
14008 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
14009 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
14010 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
14011 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
14012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
14013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
14014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
14015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
14016 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
14017 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
14018 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
14019 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
14020 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
14021 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
14022 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
14023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
14024 file.
f7062b9a 14025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
14026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
14027 file.
f7062b9a 14028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
14029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
14030 file.
f7062b9a 14031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
14032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
14033 file.
f7062b9a
DM
14034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
14035 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
14036 fmin/fmax sysdep routines.
14037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14038
7bd951ff
DM
140392012-03-14 David S. Miller <davem@davemloft.net>
14040
559398ab
DM
14041 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
14042 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
14043 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
14044 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
14045 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
14046 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
14047 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
14048 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
14049 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
14050 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
14051 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
14052 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
14053 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
14054 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
14055 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
14056 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
14057 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
14058 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
14059 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
14060 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
14061 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
14062 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
14063 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
14064 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
14065 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
14066 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
14067 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
14068 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
14069 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
14070 routines.
14071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
14072 file.
559398ab 14073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
14074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
14075 file.
559398ab 14076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
14077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
14078 file.
559398ab 14079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
14080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
14081 file.
559398ab 14082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
14083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
14084 file.
559398ab 14085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
14086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
14087 file.
14088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
14089 file.
14090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
14091 file.
14092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
14093 file.
14094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
14095 New file.
14096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
14097 file.
14098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
14099 file.
559398ab 14100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
14101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
14102 file.
559398ab 14103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
14104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
14105 file.
559398ab 14106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
14107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
14108 file.
559398ab 14109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
14110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
14111 VIS3 routines.
559398ab
DM
14112
14113 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14114 New file.
14115
5a1c1e32
DM
14116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14117
eae47a36
DM
14118 * sysdeps/sparc/configure.in: New file.
14119 * sysdeps/sparc/configure: Generate.
14120 * configure.in (libc_cv_sparc_as_vis3): Substitute.
14121 * configure: Regenerate.
14122 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
14123 * config.make.in (have-as-vis3): New.
14124 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
14125 available use -Av9d instead of -Av9a.
14126 * sysdeps/sparc/sparc64/Makefile: Likewise.
14127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
14128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
14129 New file.
14130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
14131 file.
14132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
14133 New file.
14134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
14135 file.
eae47a36
DM
14136 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
14137 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
14138 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
14139 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
14140 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
14141
c0c83bc8
DM
14142 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
14143 fzeros/fnegs to load 0x80000000 into a float register instead of
14144 using the stack.
7bd951ff
DM
14145 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
14146
bd951ccb
JM
141472012-03-14 Joseph Myers <joseph@codesourcery.com>
14148
14149 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14150 bits/syscall.h.
14151 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
14152 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
14153 ($(inst_includedir)/bits/syscall.h): Remove rule.
14154 ($(objpfx)bits/syscall.d): Include instead of
14155 $(objpfx)syscall-list.d.
14156 (generated): Change syscall-list.h and syscall-list.d to
14157 bits/syscall.h and bits/syscall.d.
14158
bb4e6db2
RM
141592012-03-14 Roland McGrath <roland@hack.frob.com>
14160
14161 [BZ #13846]
14162 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
14163
aa4a2ae1
JM
141642012-03-14 Joseph Myers <joseph@codesourcery.com>
14165
e456826d
JM
14166 [BZ #13841]
14167 * math/s_csqrt.c: Include <float.h>.
14168 (__csqrt): Scale large or subnormal inputs.
14169 * math/s_csqrtf.c: Likewise.
14170 * math/s_csqrtl.c: Likewise.
14171 * math/libm-test.inc (csqrt_test): Add more tests.
14172 * sysdeps/i386/fpu/libm-test-ulps: Update.
14173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14174
aa4a2ae1
JM
14175 [BZ #13840]
14176 * math/libm-test.inc (hypot_test): Add more tests.
14177
7c10fd35
DM
141782012-03-13 David S. Miller <davem@davemloft.net>
14179
14180 [BZ #13840]
14181 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
14182 double-precision for the calculation instead of scaling.
14183
f453b98b
JM
141842012-03-13 Joseph Myers <joseph@codesourcery.com>
14185
14186 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
14187 manipulate bits before adding and subtracting TWO52[sx].
14188 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
14189 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
14190 Likewise.
14191 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
14192
09a3453f
DM
141932012-03-13 David S. Miller <davem@davemloft.net>
14194
8e59da90
DM
14195 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
14196 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
14197 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
14198 rtld-global-offsets.h
14199 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14200
2a8ab7f2
DM
14201 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
14202 large parameters.
14203
10f62770
DM
14204 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
14205
5f0bdb18
DM
14206 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
14207 'err' in the ifdef scope in which it is actually used.
14208
09a3453f
DM
14209 * nss/nss_db/db-init.c: Include string.h
14210
b4b2eb5e
DM
142112012-03-12 David S. Miller <davem@davemloft.net>
14212
98bb2f1c
DM
14213 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14214 masking out of the most significant byte of random value used.
14215 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14216 Fix coding style in previous change.
14217
b4b2eb5e
DM
14218 * sysdeps/unix/sysv/linux/kernel-features.h
14219 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
14220 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
14221 expression.
14222 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
14223 later.
14224
6e226b09
DM
142252012-03-11 David S. Miller <davem@davemloft.net>
14226
a1bcbd40
DM
14227 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14228 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
14229 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
14230 for 'resultvar' otherwise things get truncated on 64-bit.
14231
cb9d6174
DM
14232 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14233 Fix masking out of the most significant byte of random value used.
14234
6e226b09
DM
14235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14236
058c132d
AS
142372012-03-10 Andreas Schwab <schwab@linux-m68k.org>
14238
14239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14240
2d2cd515
DM
142412012-03-09 David S. Miller <davem@davemloft.net>
14242
14243 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
14244 variables with appropriate CPP guards.
14245 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
14246 frame pointer, not the stack pointer. Correct layout comments. Fix test
14247 on resulting framesize and the management of the outregs buffer for pltexit.
14248 Preserve floating point return values across _dl_call_pltexit call.
14249 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
14250 framesize and the management of the outregs buffer for pltexit.
14251 Preserve floating point return values across _dl_call_pltexit
14252 call.
14253 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
14254 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
14255 (print_exit): Fix format string for return register value.
14256
9a07f9d0
JM
142572012-03-10 Joseph Myers <joseph@codesourcery.com>
14258
14259 * sunrpc/Makefile (others): Add rpcgen.
14260 ($(objpfx)rpcgen): Remove special build rule and dependency on
14261 libc.
14262 * sunrpc/rpcgen.c: New file.
14263
547b5e30
PE
142642012-03-09 Paul Eggert <eggert@cs.ucla.edu>
14265
c524201a
PE
14266 [BZ #13673]
14267 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
14268 * stdio-common/bug-vfprintf-nargs.c: Likewise.
14269 * sysdeps/i386/crti.S: Likewise.
14270 * sysdeps/i386/crtn.S: Likewise.
14271 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
14272 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
14273 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
14274 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
14275 * sysdeps/sh/crti.S: Likewise.
14276 * sysdeps/sh/crtn.S: Likewise.
14277 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14278
7b6235f2
PE
14279 [BZ #13673]
14280 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
14281 with URL.
14282 * locale/programs/locfile-kw.gperf: Likewise.
14283 * locale/programs/charmap-kw.h: Regenerated.
14284 * locale/programs/locfile-kw.h: Likewise.
14285
547b5e30
PE
14286 [BZ #13673]
14287 * intl/plural.y: Replace FSF snail mail address with URL.
14288 * intl/plural.c: Regenerated.
14289
5f0a5dae
RH
142902012-03-09 Richard Henderson <rth@twiddle.net>
14291
14292 * include/math_private.h: Remove file.
14293 * math/math_private.h: Move file ...
14294 * sysdeps/generic/math_private.h: ... here.
14295
b8c03620
RH
14296 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
14297 * sysdeps/powerpc/fpu/math_private.h: Likewise.
14298 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14299
4e234f5d 14300 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
14301 and <math_private.h>.
14302 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14303 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14304 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14305 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14306 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14307 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
14308 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14309 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14310 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14311 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14312 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14313 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14314 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14315 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14316 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14317 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14318 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14319 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14320 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14321 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14322 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14323 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14324 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14325 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14326 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14327 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14328 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14329 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14330 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14331 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14332 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14333 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14334 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14335 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14336 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14337 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14338 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14339 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14340 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14341 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14342 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
14343 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14344 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14345 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14346 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14347 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14348 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14349 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14350 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14351 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14352 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14353 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
14354 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14355 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14356 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14357 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14358 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14359 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14360 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14361 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
14362 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14363 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14364 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14365 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14366 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
14367 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14368 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14369 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14370 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
14371 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
14372 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14373 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14374 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14375 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14376 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
14377 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14378 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
14379 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14380 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
14381 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
14382 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14383 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14384 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14385 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14386 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14387 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14388 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
14389 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14390 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14391 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14392 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14393 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14394 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14395 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14396 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14397 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14398 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14399 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14400 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14401 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14402 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14403 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14404 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14405 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14406 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14407 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14408 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14409 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14410 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14411 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14412 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14413 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14414 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14415 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14416 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
14417 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14418 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14419 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14420 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14421 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14422 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14423 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14424 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14425 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
14426 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14427 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14428 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14429 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
14430 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14431 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14432 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
14433 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14434 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14435 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14436 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
14437 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14438 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14439 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14440 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
14441 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14442 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14443 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14444 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14445 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
14446 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
14447 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14448 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14449 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14450 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14451 * sysdeps/ieee754/k_standard.c: Likewise.
14452 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14453 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14454 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14455 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14456 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14457 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14458 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14459 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14460 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14461 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14462 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14463 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14464 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14465 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14466 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14467 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14468 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14469 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14470 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14471 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14472 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14473 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14474 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14475 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14476 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14477 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14478 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14479 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14480 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14481 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14482 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14483 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14484 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14485 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14486 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14487 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14488 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14489 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
14490 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14491 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14492 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14493 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14494 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14495 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14496 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14497 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14498 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14499 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14500 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14501 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14502 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14503 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14504 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14505 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14506 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14507 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14508 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
14509 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14510 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14511 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14512 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14513 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14514 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14515 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14516 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14517 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14518 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14519 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14520 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14521 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14522 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14523 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14524 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14525 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14526 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14527 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14528 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
14529 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14530 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14531 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14532 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14533 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14534 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14535 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14536 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14537 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14538 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14539 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14540 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14541 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14542 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
14543 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14544 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14545 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14546 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14547 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14548 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
14549 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14550 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14551 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
14552 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14553 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14554 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14555 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14556 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
14557 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14558 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14559 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14560 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
14561 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14562 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14563 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14564 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14565 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14566 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14567 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14568 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14569 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14570 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14571 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14572 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14573 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14574 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14575 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14576 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14577 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
14578 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14579 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14580 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14581 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14582 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14583 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14584 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14585 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14586 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14587 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14588 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
14589 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14590 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14591 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
14592 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
14593 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14594 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
14595 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
14596 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14597 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14598 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14599 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14600 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14601 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
14602 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14603 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14604 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14605 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14606 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
14607 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
14608 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14609 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14610 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14611 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14612 * sysdeps/ieee754/s_lib_version.c: Likewise.
14613 * sysdeps/ieee754/s_matherr.c: Likewise.
14614 * sysdeps/ieee754/s_signgam.c: Likewise.
14615 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14616 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14617 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14618 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14619 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14620 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14621 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
14622 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
14623 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
14624 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
14625 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14626 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14627 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14628 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14629 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
14630 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14631 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14632 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14633 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14634 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14635 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 14636
1991fa03
JM
146372012-03-09 Joseph Myers <joseph@codesourcery.com>
14638
14639 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
14640 * sunrpc/rpc_main.c: Likewise.
14641 * sunrpc/rpc_svcout.c: Likewise.
14642
60d6f5a6
DM
146432012-03-09 David S. Miller <davem@davemloft.net>
14644
14645 * include/math_private.h: New file.
14646
4962050e
JM
146472012-03-09 Joseph Myers <joseph@codesourcery.com>
14648
02a6f887
JM
14649 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
14650 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
14651 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
14652 from <bits/socket_type.h>.
14653 (enum __socket_type): Don't define here.
14654 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14655 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14656 bits/socket_type.h.
14657
c6e013c1
JM
14658 [BZ #13566]
14659 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14660 checking __USE_GNU.
14661
4962050e
JM
14662 * Makerules ($(inst_includedir)/%.h): New rule.
14663 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14664 (install-others): Remove variable setting.
14665 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14666
38842f45
RH
146672012-03-08 Richard Henderson <rth@twiddle.net>
14668
67bb6da6
RH
14669 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14670 from macro to inline function; merge with the
14671 !__LIBC_INTERNAL_MATH_INLINES version.
14672 (__ieee754_sqrtf): Likewise.
14673
15194b4b
RH
14674 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
14675 to inline function.
14676 (__rintf, __floor, __floorf): Likewise.
14677
64e21ede
RH
14678 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
14679 macro to inline function.
14680 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
14681
38842f45
RH
14682 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
14683 not <math/math_private.h>.
14684
c64bf5fe
DM
146852012-03-08 David S. Miller <davem@davemloft.net>
14686
14687 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
14688 copyright year.
14689 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14690
82d86f28
TS
146912012-03-08 Thomas Schwinge <thomas@codesourcery.com>
14692
14693 * resolv/gai_misc.c (handle_requests): Fix struct timespec
14694 normalization.
14695 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
14696 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14697
aea5d727
UD
146982012-03-08 Ulrich Drepper <drepper@gmail.com>
14699
14700 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
14701 be defined individually, they must be defined as a block. Define
14702 S for printing a string instead of hidint the different by using a
14703 macro for adding the 'l'.
14704 * stdio-common/tst-fphex-wide.c: Adjust.
14705
70bca0a3
MP
147062012-03-07 Marek Polacek <polacek@redhat.com>
14707
14708 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14709
65b81130
MP
147102012-03-08 Marek Polacek <polacek@redhat.com>
14711
14712 [BZ #13806]
14713 * stdio-common/Makefile (tests): Add tst-fphex-wide.
14714 * stdio-common/tst-fphex.c: Define a few macros to make the
14715 test reusable. Use them.
14716 * stdio-common/tst-fphex-wide.c: New file.
14717
07037eeb
JM
147182012-03-08 Joseph Myers <joseph@codesourcery.com>
14719
a7a93d50
JM
14720 [BZ #6911]
14721 * manual/macros.texi (gnusystems): New macro.
14722 (nongnusystems): Likewise.
14723 (gnulinuxhurdsystems): Likewise.
14724 (gnuhurdsystems): Likewise..
14725 (gnulinuxsystems): Likewise.
14726 * manual/charset.texi: Use new macros or @theglibc{} to refer to
14727 variants of the GNU system, not "GNU system".
14728 * manual/conf.texi: Likewise.
14729 * manual/errno.texi: Likewise. Update example of errno macro
14730 expansion.
14731 * manual/filesys.texi: Likewise.
14732 (getumask): Document as specific to GNU/Hurd.
14733 * manual/install.texi: Likewise. Reword some references to
14734 GNU/Linux.
14735 * manual/intro.texi: Likewise.
14736 * manual/io.texi: Likewise.
14737 (File Name Portability): Detail which constraints are inapplicable
14738 to all GNU systems and which are only inapplicable to GNU/Hurd.
14739 * manual/job.texi: Likewise.
14740 * manual/llio.texi: Likewise.
14741 (O_NOCTTY): Document as present on GNU/Linux.
14742 * manual/maint.texi: Likewise.
14743 * manual/memory.texi: Likewise.
14744 * manual/pattern.texi: Likewise.
14745 * manual/pipe.texi: Likewise.
14746 * manual/process.texi: Likewise.
14747 * manual/resource.texi: Likewise.
14748 (RUSAGE_CHILDREN): Remove statement about specifying a particular
14749 child on GNU/Hurd.
14750 * manual/setjmp.texi: Likewise.
14751 * manual/signal.texi: Likewise.
14752 * manual/startup.texi: Likewise.
14753 * manual/stdio.texi: Likewise.
14754 * manual/terminal.texi: Likewise.
14755 (ONLCR): Document as POSIX.
14756 (OXTABS): Document availability on GNU/Linux as XTABS.
14757 (ONOEOT): Document availability separately from other bits.
14758 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14759 * manual/time.texi: Likewise.
14760 * manual/users.texi: Likewise.
14761 * INSTALL: Regenerated.
14762 * sysdeps/gnu/errlist.c: Regenerated.
14763
07037eeb
JM
14764 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14765 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14766 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
14767 puts.
14768 * configure: Regenerated.
14769
d1d3431a
JM
147702012-03-07 Joseph Myers <joseph@codesourcery.com>
14771
af6a1e37
JM
14772 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14773 default includes instead of AC_HEADER_CHECK.
14774 * sysdeps/i386/configure: Regenerated.
14775
d1d3431a
JM
14776 [BZ #10716]
14777 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14778 * math/s_cacoshf.c (__cacoshf): Likewise.
14779 * math/s_cacoshl.c (__cacoshl): Likewise.
14780 * math/s_casinh.c (__casinh): Set signs of result from argument.
14781 * math/s_casinhf.c (__casinhf): Likewise.
14782 * math/s_casinhl.c (__casinhl): Likewise.
14783 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14784 (casinh_test): Add more tests.
14785 * sysdeps/i386/fpu/libm-test-ulps: Update.
14786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14787
482ff4da
UD
147882012-03-07 Ulrich Drepper <drepper@gmail.com>
14789
872fda05
UD
14790 * po/zh_TW.po: Update from translation team.
14791
a4300c7a
UD
14792 * login/Makefile (distribute): Remove variable.
14793 * catgets/Makefile: Likewise.
14794 * mach/Makefile: Likewise.
14795 * malloc/Makefile: Likewise.
14796 * misc/Makefile: Likewise.
14797 * iconv/Makefile: Likewise.
14798 * nscd/Makefile: Likewise.
14799 * hurd/Makefile: Likewise.
14800 * manual/Makefile: Likewise.
14801 * locale/Makefile: Likewise.
14802 * intl/Makefile: Likewise.
14803 * conform/Makefile: Likewise.
14804 * nss/Makefile: Likewise.
14805 * time/Makefile: Likewise.
14806 * soft-fp/Makefile: Likewise.
14807 * dirent/Makefile: Likewise.
14808 * gmon/Makefile: Likewise.
14809 * po/Makefile: Likewise.
14810 * rt/Makefile: Likewise.
14811 * socket/Makefile: Likewise.
14812 * math/Makefile: Likewise.
14813 * signal/Makefile: Likewise.
14814 * debug/Makefile: Likewise.
14815 * elf/Makefile: Likewise.
14816 * timezone/Makefile: Likewise.
14817 * stdlib/Makefile: Likewise.
14818 * iconvdata/Makefile: Likewise.
14819 * sunrpc/Makefile: Likewise.
14820 * io/Makefile: Likewise.
14821 * argp/Makefile: Likewise.
14822 * inet/Makefile: Likewise.
14823 * hesiod/Makefile: Likewise.
14824 * grp/Makefile: Likewise.
14825 * csu/Makefile: Likewise.
14826 * wctype/Makefile: Likewise.
14827 * crypt/Makefile: Likewise.
14828 * libio/Makefile: Likewise.
14829 * string/Makefile: Likewise.
14830 * nis/Makefile: Likewise.
14831 * resolv/Makefile: Likewise.
14832 * stdio-common/Makefile: Likewise.
14833 * wcsmbs/Makefile: Likewise.
14834 * dlfcn/Makefile: Likewise.
14835 * posix/Makefile: Likewise.
14836
3b7c4e74 14837 [BZ #6959]
482ff4da
UD
14838 * timezone/Makefile: Don't install timezone files, just the programs
14839 and scripts.
14840
f72ed77d
UD
148412012-03-06 Ulrich Drepper <drepper@gmail.com>
14842
a000466f
UD
14843 * nss/databases.def: Add missing gshadow entry.
14844
f72ed77d
UD
14845 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
14846
a53b7a4e
MP
148472012-03-06 Marek Polacek <polacek@redhat.com>
14848
14849 [BZ #13726]
14850 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14851 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14852 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14853 * stdio-common/tst-long-dbl-fphex.c: New file.
14854
e9258400
DM
148552012-03-06 David S. Miller <davem@davemloft.net>
14856
14857 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14858 (set_obp_int): New function.
14859 (get_obp_int): New function.
14860 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
14861 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14862 Avoid unused variable warnings on 'val' and use builtin_expect.
14863 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14864 __builtin_expect.
e9258400
DM
14865 (INLINE_CLONE_SYSCALL): Likewise.
14866
3bd2c723
DM
148672012-03-05 David S. Miller <davem@davemloft.net>
14868
14869 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14870
bbb78d03
AS
148712012-03-05 Andreas Schwab <schwab@linux-m68k.org>
14872
884c5db4
AS
14873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14874
bbb78d03
AS
14875 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14876 only for |x| >= 40.
14877 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14878
1c9f702a 148792012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
14880
14881 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14882 Replace gettimeofday with __vdso_gettimeofday.
14883
7be16f82
RM
14884 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14885 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14886 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
14887
14888 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14889 time with __vdso_time.
14890
ed58a00f
JM
148912012-03-05 Joseph Myers <joseph@codesourcery.com>
14892
14893 * manual/lang.texi (size_t): Note types to which size_t may be
14894 equivalent with the GNU C Library, but do not describe when
14895 differences between them are significant.
14896
30ee4ced
AJ
148972012-03-05 Andreas Jaeger <aj@suse.de>
14898
14899 * sysdeps/i386/fpu/libm-test-ulps: Update.
14900
b7cd39e8
JM
149012012-03-05 Joseph Myers <joseph@codesourcery.com>
14902
14903 [BZ #3976]
14904 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14905 (__ieee754_pow): Save and restore rounding mode and use
14906 round-to-nearest for main computations.
14907 * math/libm-test.inc (pow_test_tonearest): New function.
14908 (pow_test_towardzero): Likewise.
14909 (pow_test_downward): Likewise.
14910 (pow_test_upward): Likewise.
14911 (main): Call the new functions.
14912 * sysdeps/i386/fpu/libm-test-ulps: Update.
14913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
14914
14915 [BZ #3976]
14916 * math/libm-test.inc (cosh_test_tonearest): New function.
14917 (cosh_test_towardzero): Likewise.
14918 (cosh_test_downward): Likewise.
14919 (cosh_test_upward): Likewise.
14920 (sinh_test_tonearest): Likewise.
14921 (sinh_test_towardzero): Likewise.
14922 (sinh_test_downward): Likewise.
14923 (sinh_test_upward): Likewise.
14924 (main): Call the new functions.
14925 * sysdeps/i386/fpu/libm-test-ulps: Update.
14926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14927
6c6a98c9
TV
149282012-03-05 Tom de Vries <tom@codesourcery.com>
14929
14930 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14931 default stack guard is set in last bytes.
14932 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14933
21bb2d2e 149342012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 14935
21bb2d2e 14936 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 14937
21bb2d2e
AJ
14938 [BZ #13656]
14939 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14940 possibly allocate from heap instead of stack.
14941 * stdio-common/bug-vfprintf-nargs.c: New file.
14942 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 14943
c6922934
AS
149442012-03-03 Andreas Schwab <schwab@linux-m68k.org>
14945
14946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14947
bc957d53
MP
149482012-03-03 Marek Polacek <polacek@redhat.com>
14949
14950 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14951 * math/math_private.h: Likewise.
14952 * stdlib/tst-strtod.c: Likewise.
14953 * sysdeps/i386/i486/bits/atomic.h: Likewise.
14954 * sysdeps/x86_64/bits/atomic.h: Likewise.
14955
6358490d
DM
149562012-03-02 David S. Miller <davem@davemloft.net>
14957
14958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14962 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14963 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14964 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14965 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14966
01ae168d
RM
149672012-03-02 Roland McGrath <roland@hack.frob.com>
14968
d9a17c07
RM
14969 [BZ #13792]
14970 * manual/examples/README: New file, says the example source files
14971 can be used under GPL>=2.
14972 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14973 line containing just "*/".
14974 * manual/examples/add.c: Add copyright header (GPL>=2).
14975 * manual/examples/argp-ex1.c: Likewise.
14976 * manual/examples/argp-ex2.c: Likewise.
14977 * manual/examples/argp-ex3.c: Likewise.
14978 * manual/examples/argp-ex4.c: Likewise.
14979 * manual/examples/atexit.c: Likewise.
14980 * manual/examples/db.c: Likewise.
14981 * manual/examples/dir.c: Likewise.
14982 * manual/examples/dir2.c: Likewise.
14983 * manual/examples/execinfo.c: Likewise.
14984 * manual/examples/filecli.c: Likewise.
14985 * manual/examples/filesrv.c: Likewise.
14986 * manual/examples/fmtmsgexpl.c: Likewise.
14987 * manual/examples/genpass.c: Likewise.
14988 * manual/examples/inetcli.c: Likewise.
14989 * manual/examples/inetsrv.c: Likewise.
14990 * manual/examples/isockad.c: Likewise.
14991 * manual/examples/longopt.c: Likewise.
14992 * manual/examples/memopen.c: Likewise.
14993 * manual/examples/memstrm.c: Likewise.
14994 * manual/examples/mkfsock.c: Likewise.
14995 * manual/examples/mkisock.c: Likewise.
14996 * manual/examples/mygetpass.c: Likewise.
14997 * manual/examples/pipe.c: Likewise.
14998 * manual/examples/popen.c: Likewise.
14999 * manual/examples/rprintf.c: Likewise.
15000 * manual/examples/search.c: Likewise.
15001 * manual/examples/select.c: Likewise.
15002 * manual/examples/setjmp.c: Likewise.
15003 * manual/examples/sigh1.c: Likewise.
15004 * manual/examples/sigusr.c: Likewise.
15005 * manual/examples/stpcpy.c: Likewise.
15006 * manual/examples/strdupa.c: Likewise.
15007 * manual/examples/strftim.c: Likewise.
15008 * manual/examples/strncat.c: Likewise.
15009 * manual/examples/subopt.c: Likewise.
15010 * manual/examples/swapcontext.c: Likewise.
15011 * manual/examples/termios.c: Likewise.
15012 * manual/examples/testopt.c: Likewise.
15013 * manual/examples/testpass.c: Likewise.
15014 * manual/examples/timeval_subtract.c: Likewise.
15015
01ae168d
RM
15016 [BZ #13792]
15017 * manual/time.texi (Elapsed Time): Move timeval_subtract example
15018 function to ...
15019 * manual/timeval_subtract.c.texi: ... here, new file.
15020
49efa33d
DM
150212012-03-02 David S. Miller <davem@davemloft.net>
15022
15023 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
15024
28afd92d
JM
150252012-03-02 Joseph Myers <joseph@codesourcery.com>
15026
804360ed
JM
15027 [BZ #3976]
15028 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
15029 (__sin): Save and restore rounding mode and use round-to-nearest
15030 for all computations.
15031 (__cos): Save and restore rounding mode and use round-to-nearest
15032 for all computations.
15033 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
15034 <fenv.h>.
15035 (tan): Save and restore rounding mode and use round-to-nearest for
15036 all computations.
15037 * math/libm-test.inc (cos_test_tonearest): New function.
15038 (cos_test_towardzero): Likewise.
15039 (cos_test_downward): Likewise.
15040 (cos_test_upward): Likewise.
15041 (sin_test_tonearest): Likewise.
15042 (sin_test_towardzero): Likewise.
15043 (sin_test_downward): Likewise.
15044 (sin_test_upward): Likewise.
15045 (tan_test_tonearest): Likewise.
15046 (tan_test_towardzero): Likewise.
15047 (tan_test_downward): Likewise.
15048 (tan_test_upward): Likewise.
15049 (main): Call the new functions.
15050 * sysdeps/i386/fpu/libm-test-ulps: Update.
15051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15052
a6d06d7b
JM
15053 [BZ #10135]
15054 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
15055 small n, then large n, before computing and testing k+n.
15056 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15057 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
15058 Likewise.
15059 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
15060 Likewise.
15061 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
15062 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
15063 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
15064 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
15065 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15066 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15067 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
15068 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
15069 * math/libm-test.inc (scalbn_test): Add more tests.
15070 (scalbln_test): Likewise.
15071
07e12bb3
JM
15072 * manual/filesys.texi (mode_t): Describe constraints on size and
15073 signedness, not exact equivalence to a particular type.
15074 (ino_t): Likewise.
15075 (ino64_t): Likewise.
15076 (dev_t): Likewise.
15077 (nlink_t): Likewise.
15078 (blkcnt_t): Likewise.
15079 (blkcnt64_t): Likewise.
15080 * manual/llio.texi (off_t): Likewise.
15081
28afd92d
JM
15082 [BZ #3976]
15083 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
15084 (__ieee754_exp): Save and restore rounding mode and use
15085 round-to-nearest for all computations.
15086 * math/libm-test.inc (exp_test_tonearest): New function.
15087 (exp_test_towardzero): Likewise.
15088 (exp_test_downward): Likewise.
15089 (exp_test_upward): Likewise.
15090 (main): Call the new functions.
15091 * sysdeps/i386/fpu/libm-test-ulps: Update.
15092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15093
b1eeb65d
CD
150942012-03-01 Chris Demetriou <cgd@google.com>
15095
15096 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
15097 have predictable order.
15098
53362a4b
DM
150992012-03-01 David S. Miller <davem@davemloft.net>
15100
3c969083
DM
15101 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
15102
759707de
DM
15103 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
15104 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
15105 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
15106 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
15107
dfdb8ff2
DM
15108 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
15109 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
15110 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
15111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
15112 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
15113 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
15114 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
15115 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
15116 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
15117
ead89f96
DM
15118 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15119
7f66bd07
DM
15120 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
15121 * sysdeps/sparc/fpu/libm-test-ulps: to here.
15122 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
15123
53362a4b
DM
15124 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
15125 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15126 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15127 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
15128 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
15129 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
15130 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
15131 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15132 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15133 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
15134 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
15135 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15136 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15137 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15138 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15139 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15140 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
15141 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
15142 * sysdeps/sparc/elf/configure: Regenerated.
15143
7b1902cb
JM
151442012-03-01 Joseph Myers <joseph@codesourcery.com>
15145
bec039bc
JM
15146 * configure.in (AS, LD): Require binutils 2.20 or later.
15147 * configure: Regenerated.
15148 * manual/install.texi (Tools for Compilation): Give binutils 2.20
15149 as required minimum version.
15150 * INSTALL: Regenerated.
15151
7b1902cb
JM
15152 [BZ #2541]
15153 [BZ #4108]
15154 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
15155 before squaring exponent.
15156 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
15157 bottom long double and 27 bits of top long double before squaring
15158 exponent.
15159 * math/libm-test.inc (erfc_test): Add more tests.
15160 * sysdeps/i386/fpu/libm-test-ulps: Update.
15161 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15163
f775c276
KT
151642012-03-01 Kai Tietz <ktietz@redhat.com>
15165
15166 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
15167 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
15168 containing bit-fields.
15169 * soft-fp/extended.h (_FP_UNION_E): Likewise.
15170 * soft-fp/single.h (_FP_UNION_S): Likewise.
15171 * soft-fp/double.h (_FP_UNION_D): Likewise.
15172
5b8a4d4a
JM
151732012-02-29 Joseph Myers <joseph@codesourcery.com>
15174
0bab47b6
JM
15175 [BZ #13786]
15176 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
15177 not include ../strcmp.S.
15178 [USE_AS_STRNCASECMP_L]: Likewise.
15179 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
15180 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
15181 * sysdeps/i386/i686/multiarch/strncase_l-c.c
15182 (__strncasecmp_l_ia32): Define as alias to
15183 __strncasecmp_l_nonascii.
15184
0fcad3e2
JM
15185 [BZ #5794]
15186 * math/libm-test.inc (expm1_test): Add test for bug 5794.
15187 * sysdeps/i386/fpu/libm-test-ulps: Update.
15188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15189
5b8a4d4a
JM
15190 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
15191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15192
8fdceb2e
JL
151932012-02-29 Jeff Law <law@redhat.com>
15194
15195 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
15196 out of bounds read.
15197
1f393a11
MP
151982012-02-29 Marek Polacek <polacek@redhat.com>
15199
15200 [BZ #13706]
15201 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
15202 * elf/Makefile: Add rules to run tst-unused-dep.out.
15203
8847f037
DM
152042012-02-28 David S. Miller <davem@davemloft.net>
15205
15206 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
15207 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
15208 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
15209 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
15210 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
15211 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
15212
169d7f11
JM
152132012-02-29 Joseph Myers <joseph@codesourcery.com>
15214
15215 * math/libm-test.inc (llround_test): Move one test from
15216 lround_test. Use TEST_f_L in moved test.
15217 (lround_test): Move misplaced test to llround_test. Add testcase
15218 from bug 2561.
15219
39adf059
UD
152202012-02-28 Ulrich Drepper <drepper@gmail.com>
15221
15222 * sysdeps/x86_64/fpu/e_expf.S: New file.
15223 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
15224
71b5d1c5
SB
152252012-02-28 Stanislav Brabec <sbrabec@suse.cz>
15226
15227 [BZ #13637]
15228 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
15229 of remain_len that may cause incomplete multi-byte character and
15230 false match.
15231 * posix/bug-regex33.c: New file.
15232 * posix/Makefile (tests): Add bug-regex33.
15233
1f77f049
JM
152342012-02-28 Joseph Myers <joseph@codesourcery.com>
15235
15236 * manual/macros.texi: New file.
15237 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
15238 * manual/libc.texinfo: Include macros.texi.
15239 * manual/creatute.texi: Likewise.
15240 * manual/install.texi: Likewise.
15241 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
15242 @glibcadj{} in references to the GNU C Library.
15243 * manual/charset.texi: Likewise.
15244 * manual/conf.texi: Likewise.
15245 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
15246 when not using those macros.
15247 * manual/creature.texi: Likewise.
15248 * manual/crypt.texi: Likewise.
15249 * manual/errno.texi: Likewise.
15250 * manual/filesys.texi: Likewise.
15251 * manual/header.texi: Likewise.
15252 * manual/install.texi: Likewise.
15253 * manual/intro.texi: Likewise.
15254 * manual/io.texi: Likewise.
15255 * manual/job.texi: Likewise.
15256 * manual/lang.texi: Likewise.
15257 * manual/libc.texiinfo: Likewise.
15258 * manual/llio.texi: Likewise.
15259 * manual/locale.texi: Likewise.
15260 * manual/maint.texi: Likewise.
15261 * manual/math.texi: Likewise.
15262 * manual/memory.texi: Likewise.
15263 * manual/message.texi: Likewise.
15264 * manual/nss.texi: Likewise.
15265 * manual/pattern.texi: Likewise.
15266 * manual/process.texi: Likewise.
15267 * manual/resource.texi: Likewise.
15268 * manual/search.texi: Likewise.
15269 * manual/setjmp.texi: Likewise.
15270 * manual/signal.texi: Likewise.
15271 * manual/socket.texi: Likewise.
15272 * manual/startup.texi: Likewise.
15273 * manual/stdio.texi: Likewise.
15274 * manual/string.texi: Likewise.
15275 * manual/sysinfo.texi: Likewise.
15276 * manual/syslog.texi: Likewise.
15277 * manual/terminal.texi: Likewise.
15278 * manual/time.texi: Likewise.
15279 * manual/users.texi: Likewise.
15280 * INSTALL: Regenerated.
15281 * NOTES: Regenerated.
d40c5d54 15282 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 15283
450bf206
AS
152842012-02-28 Andreas Schwab <schwab@linux-m68k.org>
15285
15286 * include/dirent.h: Include <dirstream.h> before
15287 <dirent/dirent.h>.
15288
741a235b
DM
152892012-02-28 David S. Miller <davem@davemloft.net>
15290
15291 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
15292 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
15293 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
15294 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
15295
d6b5aa58
DM
152962012-02-27 David S. Miller <davem@davemloft.net>
15297
1aff59a3
DM
15298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
15299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
15300 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
15301 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
15302
d6b5aa58
DM
15303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
15304 frame pointer instead of stack pointer relative arg slot.
15305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15306 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15307 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15308
433f48bf
CD
153092012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
15310
15311 [BZ #3992]
15312 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
15313
d674b76d
DM
153142012-02-27 David S. Miller <davem@davemloft.net>
15315
15316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
15317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
15320 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15321 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15322 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
15323 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
15324
0e7727f7
JM
153252012-02-27 Joseph Myers <joseph@codesourcery.com>
15326
15327 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
15328 later. Allow versions 5-9.
43be4ca2 15329 * configure: Regenerated.
0e7727f7
JM
15330 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
15331 required minimum version and 4.6 as recommended version. Do not
15332 mention bugs in GCC 2.7 and 2.8.
43be4ca2 15333 * INSTALL: Regenerated.
0e7727f7 15334
a78bc654
DM
153352012-02-27 David S. Miller <davem@davemloft.net>
15336
428d5830
DM
15337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
15338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
15339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
15340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
15341 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
15342 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
15343 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
15344 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
15345
a78bc654
DM
15346 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
15347 manipulate bits before adding and subtracting TWO112[sx].
15348 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15349
4579f81c
RM
153502012-02-27 Roland McGrath <roland@hack.frob.com>
15351
36c8acb4
RM
15352 [BZ #13775]
15353 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
15354 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
15355 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
15356 being in POSIX, because they are in 1003.1-2008.
15357
84ad622b
RM
15358 * rt/tst-aio.c: Include <fcntl.h>.
15359 * rt/tst-aio7.c: Likewise.
15360 * rt/tst-aio64.c: Likewise.
15361
4579f81c
RM
15362 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
15363
abd923db
JM
153642012-02-27 Joseph Myers <joseph@codesourcery.com>
15365
15366 * manual/install.texi (--with-headers): Describe headers as
15367 interface headers, not private headers.
15368 (Specific advice for GNU/Linux systems): Describe use of headers
15369 from "make headers_install", not private headers from older
15370 kernels.
43be4ca2 15371 * INSTALL: Regenerated.
abd923db
JM
15372 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
15373 Change to 2.6.19.
15374 * sysdeps/unix/sysv/linux/configure: Regenerated.
15375
6664049b
JM
15376 * manual/llio.texi (fclean): Remove documentation.
15377
bb8b6697
JM
15378 * manual/Makefile (libc-texi-generated): New variable. Include
15379 version.texi.
15380 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
15381 $(libc-texi-generated), not duplicated list of files.
15382 (version.texi, stamp-version): New rules.
15383 (realclean): Remove $(libc-texi-generated), not individual files
15384 from that list. Do not remove dir-add.texinfo.
15385 * manual/libc.texinfo: Comment out uses of edition numbers and
15386 references to printed manual. Remove last-updated dates.
15387 (EDITION): Comment out.
15388 (ISBN): Likewise.
15389 (VERSION, UPDATED): Remove.
15390 (version.texi): Include.
15391
12e5c3b9
AS
153922012-02-27 Andreas Schwab <schwab@linux-m68k.org>
15393
15394 * sysdeps/posix/spawni.c: Include <signal.h>.
15395 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
15396 * sysdeps/pthread/aio_fsync.c: Likewise.
15397
4efeffc1 153982012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 15399
ba63ba08
UD
15400 * conform/Makefile (tests): Run only when not cross-compiling and
15401 when fast-check is not defined.
15402
d94a4670
UD
15403 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
15404 * conform/data/limits.h-data: Fixes for POSIX2008.
15405 * conform/run-conformtest.sh: Run all tests.
15406 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
15407 headers.
15408 * include/bits/dlfcn.h: Likewise.
15409 * include/langinfo.h: Likewise.
15410 * include/monetary.h: Likewise.
15411 * include/sys/poll.h: Likewise.
15412
15413 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
15414 for __USE_GNU.
15415 * posix/spawn.h: Define __need_sigset_t.
15416 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
15417 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
15418 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
15419 to get sigevent_t only.
15420 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
15421 only for __USE_GNU.
15422 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15423 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15424 process_vm_writev only for __USE_GNU.
15425 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
15426
15427 * conform/Makefile: For now ignore errors from run-conformtest.
15428 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
15429 POSIX to avoid namespace pollution. Don't prepend headers.
15430 * conform/data/aio.h-data: Fixes for POSIX testing.
15431 * conform/data/fcntl.h-data: Likewise.
15432 * conform/data/glob.h-data: Likewise.
15433 * conform/data/grp.h-data: Likewise.
15434 * conform/data/pthread.h-data: Likewise.
15435 * conform/data/pwd.h-data: Likewise.
15436 * conform/data/signal.h-data: Likewise.
15437 * conform/data/spawn.h-data: Likewise.
15438 * conform/data/stdio.h-data: Likewise.
15439 * conform/data/stdlib.h-data: Likewise.
15440 * conform/data/stropts.h-data: Likewise.
15441 * conform/data/sys/mman.h-data: Likewise.
15442 * conform/data/sys/stat.h-data: Likewise.
15443 * conform/data/sys/types.h-data: Likewise.
15444 * conform/data/sys/wait.h-data: Likewise.
15445 * conform/data/time.h-data: Likewise.
15446 * conform/data/unistd.h-data: Likewise.
15447 * conform/data/utime.h-data: Likewise.
15448
15449 * io/sys/stat.h: fchmod was always in POSIX.
15450 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
15451 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
15452 * rt/aio.h: Define __need_timespec before including <time.h>.
15453 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
15454 struct. Add forward declaration of pthread_attr_t and use it in
15455 sigevent.
15456 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15457 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15458 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
15459 always remove CLK_TCK definition.
15460
c20105c3
AS
154612012-02-26 Andreas Schwab <schwab@linux-m68k.org>
15462
15463 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
15464
7a270350
UD
154652012-02-25 Ulrich Drepper <drepper@gmail.com>
15466
31341567
UD
15467 * conform/run-conformtest.sh: New file.
15468 * conform/Makefile: Run run-conformtest for tests.
15469 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
15470 support.
15471
15472 * conform/data/uchar.h-data: New file.
15473 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15474 * conform/data/arpa/inet.h-data: Likewise.
15475 * conform/data/assert.h-data: Likewise.
15476 * conform/data/complex.h-data: Likewise.
15477 * conform/data/cpio.h-data: Likewise.
15478 * conform/data/ctype.h-data: Likewise.
15479 * conform/data/dirent.h-data: Likewise.
15480 * conform/data/dlfcn.h-data: Likewise.
15481 * conform/data/errno.h-data: Likewise.
15482 * conform/data/fcntl.h-data: Likewise.
15483 * conform/data/float.h-data: Likewise.
15484 * conform/data/fmtmsg.h-data: Likewise.
15485 * conform/data/fnmatch.h-data: Likewise.
15486 * conform/data/ftw.h-data: Likewise.
15487 * conform/data/glob.h-data: Likewise.
15488 * conform/data/grp.h-data: Likewise.
15489 * conform/data/iconv.h-data: Likewise.
15490 * conform/data/inttypes.h-data: Likewise.
15491 * conform/data/langinfo.h-data: Likewise.
15492 * conform/data/libgen.h-data: Likewise.
15493 * conform/data/limits.h-data: Likewise.
15494 * conform/data/locale.h-data: Likewise.
15495 * conform/data/math.h-data: Likewise.
15496 * conform/data/monetary.h-data: Likewise.
15497 * conform/data/mqueue.h-data: Likewise.
15498 * conform/data/ndbm.h-data: Likewise.
15499 * conform/data/net/if.h-data: Likewise.
15500 * conform/data/netdb.h-data: Likewise.
15501 * conform/data/netinet/in.h-data: Likewise.
15502 * conform/data/nl_types.h-data: Likewise.
15503 * conform/data/poll.h-data: Likewise.
15504 * conform/data/pthread.h-data: Likewise.
15505 * conform/data/pwd.h-data: Likewise.
15506 * conform/data/regex.h-data: Likewise.
15507 * conform/data/sched.h-data: Likewise.
15508 * conform/data/search.h-data: Likewise.
15509 * conform/data/semaphore.h-data: Likewise.
15510 * conform/data/setjmp.h-data: Likewise.
15511 * conform/data/signal.h-data: Likewise.
15512 * conform/data/spawn.h-data: Likewise.
15513 * conform/data/stdarg.h-data: Likewise.
15514 * conform/data/stdio.h-data: Likewise.
15515 * conform/data/stdlib.h-data: Likewise.
15516 * conform/data/string.h-data: Likewise.
15517 * conform/data/strings.h-data: Likewise.
15518 * conform/data/stropts.h-data: Likewise.
15519 * conform/data/sys/ipc.h-data: Likewise.
15520 * conform/data/sys/mman.h-data: Likewise.
15521 * conform/data/sys/msg.h-data: Likewise.
15522 * conform/data/sys/resource.h-data: Likewise.
15523 * conform/data/sys/select.h-data: Likewise.
15524 * conform/data/sys/sem.h-data: Likewise.
15525 * conform/data/sys/shm.h-data: Likewise.
15526 * conform/data/sys/socket.h-data: Likewise.
15527 * conform/data/sys/stat.h-data: Likewise.
15528 * conform/data/sys/statvfs.h-data: Likewise.
15529 * conform/data/sys/time.h-data: Likewise.
15530 * conform/data/sys/timeb.h-data: Likewise.
15531 * conform/data/sys/times.h-data: Likewise.
15532 * conform/data/sys/types.h-data: Likewise.
15533 * conform/data/sys/uio.h-data: Likewise.
15534 * conform/data/sys/un.h-data: Likewise.
15535 * conform/data/sys/utsname.h-data: Likewise.
15536 * conform/data/sys/wait.h-data: Likewise.
15537 * conform/data/syslog.h-data: Likewise.
15538 * conform/data/tar.h-data: Likewise.
15539 * conform/data/termios.h-data: Likewise.
15540 * conform/data/utime.h-data: Likewise.
15541 * conform/data/utmpx.h-data: Likewise.
15542 * conform/data/varargs.h-data: Likewise.
15543 * conform/data/wchar.h-data: Likewise.
15544 * conform/data/wctype.h-data: Likewise.
15545 * conform/data/wordexp.h-data: Likewise.
15546
15547 * include/stropts.h: New file.
15548 * include/uchar.h: New file.
15549 * include/aio.h: Changes to allow conformtest.pl to use the headers.
15550 * include/assert.h: Likewise.
15551 * include/ctype.h: Likewise.
15552 * include/dirent.h: Likewise.
15553 * include/dlfcn.h: Likewise.
15554 * include/fcntl.h: Likewise.
15555 * include/fnmatch.h: Likewise.
15556 * include/glob.h: Likewise.
15557 * include/grp.h: Likewise.
15558 * include/libio.h: Likewise.
15559 * include/locale.h: Likewise.
15560 * include/math.h: Likewise.
15561 * include/net/if.h: Likewise.
15562 * include/netdb.h: Likewise.
15563 * include/netinet/in.h: Likewise.
15564 * include/pthread.h: Likewise.
15565 * include/pwd.h: Likewise.
15566 * include/regex.h: Likewise.
15567 * include/sched.h: Likewise.
15568 * include/search.h: Likewise.
15569 * include/setjmp.h: Likewise.
15570 * include/signal.h: Likewise.
15571 * include/stdio.h: Likewise.
15572 * include/stdlib.h: Likewise.
15573 * include/string.h: Likewise.
15574 * include/sys/cdefs.h: Likewise.
15575 * include/sys/mman.h: Likewise.
15576 * include/sys/msg.h: Likewise.
15577 * include/sys/resource.h: Likewise.
15578 * include/sys/select.h: Likewise.
15579 * include/sys/socket.h: Likewise.
15580 * include/sys/stat.h: Likewise.
15581 * include/sys/statvfs.h: Likewise.
15582 * include/sys/time.h: Likewise.
15583 * include/sys/times.h: Likewise.
15584 * include/sys/uio.h: Likewise.
15585 * include/sys/utsname.h: Likewise.
15586 * include/sys/wait.h: Likewise.
15587 * include/termios.h: Likewise.
15588 * include/time.h: Likewise.
15589 * include/ulimit.h: Likewise.
15590 * include/unistd.h: Likewise.
15591 * include/utime.h: Likewise.
15592 * include/wchar.h: Likewise.
15593 * include/wctype.h: Likewise.
15594 * include/wordexp.h: Likewise.
15595
15596 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
15597
7a270350
UD
15598 * time/time.h: TIME_UTC must be a macro.
15599 Make timespec_get available for ISO C11 only as well.
15600
7724defc
UD
156012012-02-24 Ulrich Drepper <drepper@gmail.com>
15602
15603 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
15604 Reported by Peng Haitao <penght@cn.fujitsu.com>.
15605
6b1d1d46
JM
156062012-02-24 Joseph Myers <joseph@codesourcery.com>
15607
15608 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 15609
0f8bbd69
JM
156102012-02-24 Joseph Myers <joseph@codesourcery.com>
15611
15612 * manual/texinfo.tex: Update to version 2012-01-19.16.
15613
66ab80bc
JM
156142012-02-24 Joseph Myers <joseph@codesourcery.com>
15615
15616 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
15617
74981cc5
RM
156182012-02-24 Roland McGrath <roland@hack.frob.com>
15619
ee968201
RM
15620 [BZ #13738]
15621 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
15622 * manual/fdl-1.3.texi: New file.
15623 * manual/fdl-1.1.texi: File removed.
15624
74981cc5
RM
15625 [BZ #13738]
15626 * manual/libc.texinfo (FDL_VERSION): New @set.
15627 Use it for mention of FDL in cover text.
15628 (Documentation License): Use it in @include file name.
15629
7bb764bc
JM
156302012-02-22 Joseph Myers <joseph@codesourcery.com>
15631 Roland McGrath <roland@hack.frob.com>
15632
15633 [BZ #5461]
15634 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
15635 not LONG_LONG_MAX and LONG_LONG_MIN.
15636 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
15637 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
15638 name.
15639 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
15640
6cbeae47
JM
156412012-02-22 Joseph Myers <joseph@codesourcery.com>
15642
15643 [BZ #2547]
15644 [BZ #11365]
15645 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
15646 manipulate bits before adding and subtracting TWO23[sx].
15647 * math/libm-test.inc (nearbyint_test): Add more tests.
15648
fe45ce09
JM
156492012-02-22 Joseph Myers <joseph@codesourcery.com>
15650
15651 [BZ #2548]
15652 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
15653 bits before adding and subtracting TWO23[sx].
15654 * math/libm-test.inc (rint_test): Add more tests.
15655 (rint_test_tonearest): Likewise.
15656 (rint_test_towardzero): Likewise.
15657 (rint_test_downward): Likewise.
15658 (rint_test_upward: Likewise.
15659
ff3b3d82
JM
156602012-02-22 Joseph Myers <joseph@codesourcery.com>
15661
15662 [BZ #10110]
15663 * include/stdc-predef.h: New file. Extracted from features.h.
15664 * include/features.h: Include stdc-predef.h.
15665 * Makefile (headers): Add stdc-predef.h.
15666 * CONFORMANCE (Compiler limitations): Update.
15667
ef0aab35
JM
156682012-02-22 Joseph Myers <joseph@codesourcery.com>
15669
15670 * manual/libc.texinfo (VERSION, UPDATED): Revert.
15671
58639409
DM
156722012-02-21 David S. Miller <davem@davemloft.net>
15673
15674 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
15675 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15676
c0e70b25
DM
156772012-02-20 David S. Miller <davem@davemloft.net>
15678
15679 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
15680 using a normal save/restore sequence, rather than allocating a
15681 dummy stack frame just to store a frame pointer and restore.
15682 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15683
fb06851d
JM
156842012-02-21 Joseph Myers <joseph@codesourcery.com>
15685
15686 * manual/install.texi: Fix stray word in line-wrapped comment.
15687
7a8b71c3
DM
156882012-02-20 David S. Miller <davem@davemloft.net>
15689
d510c123
DM
15690 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
15691 both binutils and gcc support GOTDATA.
15692
0722d7c2
DM
15693 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
15694 "rd %pc" in the PIC register setup sequences.
15695
3d2b3019
DM
15696 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15697 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15698 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15699 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15700 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15701 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15702 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15703 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15704 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15705 (SYSCALL_ERROR_HANDLER): Likewise.
15706 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15707 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15708 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15709 (SYSCALL_ERROR_HANDLER): Likewise.
15710
c80098a9
DM
15711 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15712 (HAVE_GCC_GOTDATA): New.
15713 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15714 relocation support in both binutils and gcc.
15715 * sysdeps/sparc/elf/configure: Regenerate.
15716
3a2545a0
DM
15717 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15718 * sysdeps/sparc/sparc32/elf/configure: Delete.
15719 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15720 * sysdeps/sparc/sparc64/elf/configure: Delete.
15721 * sysdeps/sparc/elf/configure.in: New file.
15722 * sysdeps/sparc/elf/configure: Generate.
15723
7a8b71c3
DM
15724 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15725 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15726 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15727 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15728 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15729
f1e86fca
JM
157302012-02-21 Joseph Myers <joseph@codesourcery.com>
15731
15732 * manual/install.texi: Do not mention specific glibc version
15733 numbers.
15734 * manual/libc.texinfo (VERSION, UPDATED): Update.
15735 (@copying): Use @copyright{} and range of years.
15736
0e7dfaef
JM
157372012-02-21 Joseph Myers <joseph@codesourcery.com>
15738
15739 [BZ #13695]
15740 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15741 [crti.S not in sysdirs] (generated): Do not append.
15742 [crti.S not in sysdirs] (omit-deps): Likewise.
15743 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15744 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15745 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15746 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15747 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15748 Likewise.
15749 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15750 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15751 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15752 * csu/defs.awk: Remove file.
15753 * sysdeps/generic/initfini.c: Likewise.
15754 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15755 variable.
15756 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15757 Likewise.
15758
599af3ca
JM
157592012-02-20 Joseph Myers <joseph@codesourcery.com>
15760
15761 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15762 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15763 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15764 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15765 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15766 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15767 <bits/epoll.h>.
15768 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15769 (__EPOLL_PACKED): Define to empty if not defined by
15770 <bits/epoll.h>.
15771 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15772 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15773 bits/epoll.h.
15774
0e499750
JM
157752012-02-20 Joseph Myers <joseph@codesourcery.com>
15776
15777 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15778 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15779 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15780 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15781 <bits/timerfd.h>.
15782 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15783 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15784 bits/timerfd.h.
15785
5ad91f6e
JM
157862012-02-20 Joseph Myers <joseph@codesourcery.com>
15787
15788 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15789 in C locale.
15790 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15791 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15792 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15794
06b99b02
AJ
157952012-02-20 Aurelien Jarno <aurelien@aurel32.net>
15796
15797 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15798 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15799
7638c0fd
AS
158002012-02-19 Andreas Schwab <schwab@linux-m68k.org>
15801
15802 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15803 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15804 defined.
15805 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15806 Likewise.
15807 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15808 entry for 2.16.
15809
92221550
AJ
158102012-02-19 Aurelien Jarno <aurelien@aurel32.net>
15811
15812 * math/w_acos.c: Use non-signaling floating-point comparisons.
15813 * math/w_acosf.c: Likewise.
15814 * math/w_acosh.c: Likewise.
15815 * math/w_acoshf.c: Likewise.
15816 * math/w_acoshl.c: Likewise.
15817 * math/w_acosl.c: Likewise.
15818 * math/w_asin.c: Likewise.
15819 * math/w_asinf.c: Likewise.
15820 * math/w_asinl.c: Likewise.
15821 * math/w_atanh.c: Likewise.
15822 * math/w_atanhf.c: Likewise.
15823 * math/w_atanhl.c: Likewise.
15824 * math/w_exp2.c: Likewise.
15825 * math/w_exp2f.c: Likewise.
15826 * math/w_exp2l.c: Likewise.
15827 * math/w_j0.c: Likewise.
15828 * math/w_j0f.c: Likewise.
15829 * math/w_j0l.c: Likewise.
15830 * math/w_j1.c: Likewise.
15831 * math/w_j1f.c: Likewise.
15832 * math/w_j1l.c: Likewise.
15833 * math/w_jn.c: Likewise.
15834 * math/w_jnf.c: Likewise.
15835 * math/w_log.c: Likewise.
15836 * math/w_log10.c: Likewise.
15837 * math/w_log10f.c: Likewise.
15838 * math/w_log10l.c: Likewise.
15839 * math/w_log2.c: Likewise.
15840 * math/w_log2f.c: Likewise.
15841 * math/w_log2l.c: Likewise.
15842 * math/w_logf.c: Likewise.
15843 * math/w_logl.c: Likewise.
15844 * math/w_sqrt.c: Likewise.
15845 * math/w_sqrtf.c: Likewise.
15846 * math/w_sqrtl.c: Likewise.
15847 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15848 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15849 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15850 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15851 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15852
ebaf36eb
JM
158532012-02-19 Joseph Myers <joseph@codesourcery.com>
15854
15855 [BZ #9739]
15856 * manual/string.texi (strnlen): Use correct parameter name in
15857 equivalent expression.
15858
71c254a6
JM
158592012-02-19 Joseph Myers <joseph@codesourcery.com>
15860
15861 [BZ #11174]
15862 * manual/users.texi (seteuid): Consistently use neweuid for
15863 argument name.
15864
16d2c631
JM
158652012-02-19 Joseph Myers <joseph@codesourcery.com>
15866
15867 [BZ #13704]
15868 * manual/nss.texi (Services in the NSS configuration): Correct
15869 list of services in example configuration file.
15870
cd837b09
NB
158712012-02-19 Nick Bowler <nbowler@draconx.ca>
15872
15873 [BZ #11322]
15874 * manual/arith.texi: Remove statements about negative zero
15875 behaving identically to zero.
15876
02c4bbad
JM
158772012-02-18 Joseph Myers <joseph@codesourcery.com>
15878
15879 [BZ #5993]
15880 * manual/install.texi: Do not document upgrading from libc5.
15881
366842e7
JM
158822012-02-18 Joseph Myers <joseph@codesourcery.com>
15883
15884 [BZ #4596]
15885 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15886
dd54084d
DM
158872012-02-18 David S. Miller <davem@davemloft.net>
15888
15889 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15890 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15891 %o7 across the call.
15892 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15893 instead.
15894 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15895 SETUP_PIC_REG_LEAF.
15896 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15897 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15898 * sysdeps/sparc/crtn.S: Likewise.
15899
2bcc53a3
UD
159002012-02-17 Ulrich Drepper <drepper@gmail.com>
15901
15902 * aout/Makefile: Remove.
15903
09c093b5
RK
159042012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
15905
15906 [BZ #13058]
15907 * manual/examples/argp-ex1.c (main): Format definition in GNU
15908 style.
15909 * manual/examples/argp-ex2.c (main): Likewise.
15910 * manual/examples/argp-ex3.c (main): Likewise.
15911 * manual/examples/argp-ex4.c (main): Likewise.
15912 * manual/examples/longopt.c (main): Use new-style prototype
15913 definition.
15914 * manual/examples/strncat.c (main): Specify return type and use
15915 (void) for arguments.
15916 * manual/examples/subopt.c (main): Use char **argv argument.
15917
2ee633a2
JM
159182012-02-17 Joseph Myers <joseph@codesourcery.com>
15919
15920 [BZ #5077]
15921 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15922 rounding modes.
15923
0520adde
FB
159242012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
15925
15926 [BZ #6907]
15927 * manual/string.texi (strchr): Change when strchrnul is
15928 recommended.
15929
3f4081cd
DGM
159302012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
15931
15932 [BZ #174]
15933 * manual/locale.texi (setlocale): Document LOCPATH.
15934
d1b10e78
JM
159352012-02-17 Joseph Myers <joseph@codesourcery.com>
15936
15937 [BZ #10210]
15938 * manual/process.texi (execle): Move @dots{} before last argument.
15939
79c6869c
PB
159402012-02-17 Paul Bolle <pebolle@tiscali.nl>
15941
15942 [BZ #12047]
15943 * manual/charset.texi (Generic Charset Conversion): Fix typo
15944 (LC_TYPE -> LC_CTYPE).
15945
cc6e48bc
NB
159462012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
15947
15948 [BZ #5805]
15949 * manual/arith.texi (scalbn): Use @var{} on parameter names.
15950 (scalbnf): Likewise.
15951 (scalbnl): Likewise.
15952 (scalbln): Likewise.
15953 (scalblnf): Likewise.
15954 (scalblnl): Likewise.
15955 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15956 (vwarnx): Likewise.
15957 (verr): Likewise.
15958 (verrx): Likewise.
15959 * manual/filesys.texi (telldir): Use braces around return type.
15960 * manual/llio.texi (mmap): Add space after comma.
15961 (mmap64): Likewise.
15962 * manual/math.texi (jn): Use @var{} on parameter names.
15963 (jnf): Likewise.
15964 (jnl): Likewise.
15965 (yn): Likewise.
15966 (ynf): Likewise.
15967 (ynl): Likewise.
15968 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15969 line.
15970 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15971 "...".
15972 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15973 (sched_get_priority_max): Likewise.
15974 * manual/signal.texi (sigvec): Add space after comma.
15975 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15976 names.
15977 (if_indextoname): Likewise.
15978 (if_freenameindex): Likewise.
15979 (sendto): Use ',' instead of '.' in prototype.
15980 * manual/startup.texi (syscall): Use @dots{} instead of literal
15981 "...".
15982 * manual/stdio.texi (__fpending): Separate initial words of
15983 paragraph from @deftypefun line.
15984 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15985 "...".
15986 (vsyslog): Use @var{} on parameter names.
15987 * manual/terminal.texi (stty): Use @var{} on parameter names.
15988 * manual/users.texi (getutmp): Use @var{} on parameter names.
15989 (getutmpx): Likewise.
15990
5b23062f
JM
159912012-02-17 Joseph Myers <joseph@codesourcery.com>
15992
15993 [BZ #6884]
15994 * manual/stdio.texi (fopen): Fix typos in description of
15995 ",ccs=STRING".
15996
8dee4833
AJ
159972012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15998
15999 [BZ #4026]
16000 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
16001 get clock_id definition.
16002
9078ce93
TS
160032012-02-17 Thomas Schwinge <thomas@schwinge.name>
16004
16005 [BZ #4822]
16006 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
16007 (madvise): Cast every argument to void on its own.
16008
3835c55f
JM
160092012-02-17 Joseph Myers <joseph@codesourcery.com>
16010
16011 [BZ #9902]
16012 * manual/startup.texi (Exit Status): Fix typo.
16013
35c47e37
JM
160142012-02-17 Joseph Myers <joseph@codesourcery.com>
16015
16016 [BZ #10140]
16017 * manual/examples/argp-ex1.c: Include <stdlib.h>.
16018 * manual/examples/argp-ex2.c: Likewise.
16019 * manual/examples/argp-ex3.c: Likewise.
16020
e3b69ca7
RH
160212012-02-16 Richard Henderson <rth@redhat.com>
16022
16023 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
16024 * sysdeps/s390/s390-32/initfini.c: Remove.
16025 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
16026 * sysdeps/s390/s390-64/initfini.c: Remove.
16027
df83af67
KK
160282012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16029
16030 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
16031 compiler output for sysdeps/generic/initfini.c.
16032 * sysdeps/sh/elf/initfini.c: Remove file.
16033
f63f3380
DM
160342012-02-16 David S. Miller <davem@davemloft.net>
16035
fb59b3a4
DM
16036 [BZ #11494]
16037 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
16038
f63f3380
DM
16039 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
16040 * sysdeps/sparc/crti.S: New file.
16041 * sysdeps/sparc/crtn.S: New file.
16042 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
16043 * sysdeps/sparc/sparc64/Makefile: Likewise.
16044
df6a4a4a
MF
160452012-02-15 Mike Frysinger <vapier@gentoo.org>
16046
6dd8f3dc 16047 [BZ #3335]
df6a4a4a
MF
16048 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
16049
1cac7236
RM
160502012-02-15 Roland McGrath <roland@hack.frob.com>
16051
d2c736f8
RM
16052 [BZ #4822]
16053 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
16054
1cac7236
RM
16055 * mach/devstream.c (cookie_io_functions_t): Macro removed.
16056 (write, read, close): Likewise.
16057 Patch by Aurelien Jarno <aurelien@aurel32.net>.
16058
8e475601
JM
160592012-02-15 Joseph Myers <joseph@codesourcery.com>
16060
16061 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
16062 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
16063 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
16064 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
16065 <bits/signalfd.h>.
16066 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
16067 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16068 bits/signalfd.h.
16069
ed656b40
MP
160702012-02-14 Marek Polacek <polacek@redhat.com>
16071
16072 * sysdeps/x86_64/crti.S: New file.
16073 * sysdeps/x86_64/crtn.S: New file.
16074 * sysdeps/x86_64/elf/initfini.c: Remove file.
16075
2a979d3a
JM
160762012-02-13 Joseph Myers <joseph@codesourcery.com>
16077
16078 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
16079 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
16080 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
16081 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
16082 <bits/inotify.h>.
16083 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
16084 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16085 bits/inotify.h.
16086
2a418ac3
JM
160872012-02-13 Joseph Myers <joseph@codesourcery.com>
16088
16089 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
16090 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
16091 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
16092 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
16093 <bits/eventfd.h>.
16094 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
16095 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16096 bits/eventfd.h.
16097
fb779be7
TS
160982012-02-10 Thomas Schwinge <thomas@codesourcery.com>
16099
e19e83c5
RM
16100 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
16101 __feraiseexcept instead of feraiseexcept.
7c35ffed 16102
fb779be7
TS
16103 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
16104 nanosleep invocations.
16105 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
16106 strings, and add error checking for a nanosleep invocations.
16107
59ba27a6
PE
161082012-02-09 Paul Eggert <eggert@cs.ucla.edu>
16109
16110 Replace FSF snail mail address with URLs, as per GNU coding standards.
16111 Most of the snail mail addresses were wrong anyway, and omitting
16112 them makes the source code easier to maintain. Almost all of the
16113 changes are to license notices and to locale LC_IDENTIFICATION
16114 addresses, except for this one:
16115 * manual/libc.texinfo: In "Published by", give the FSF's URL,
16116 not its snail mail address.
16117
57b957eb
RH
161182012-02-09 Richard Henderson <rth@twiddle.net>
16119
af850b1c
RH
16120 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
16121 of kernel-features.h.
16122
57b957eb
RH
16123 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
16124
6b73181a
MP
161252012-02-08 Marek Polacek <polacek@redhat.com>
16126
16127 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
16128 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
16129 * sysdeps/gnu/_G_config.h: Likewise.
16130 * sysdeps/generic/_G_config.h: Likewise.
16131
26ecc33a
AS
161322012-02-08 Andreas Schwab <schwab@linux-m68k.org>
16133
6c6dbc63
AS
16134 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
16135 tests.
16136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16137
e216c012
AS
16138 * sysdeps/powerpc/powerpc32/crti.S: New file.
16139 * sysdeps/powerpc/powerpc32/crtn.S: New file.
16140 * sysdeps/powerpc/powerpc64/crti.S: New file.
16141 * sysdeps/powerpc/powerpc64/crtn.S: New file.
16142
26ecc33a
AS
16143 * Makeconfig (have-initfini): Don't set.
16144 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
16145 * configure.in (nopic_initfini): Don't substitute.
16146 * config.h.in (HAVE_INITFINI): Don't #undef.
16147 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
16148 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
16149
3add8e13
JM
161502012-02-08 Joseph Myers <joseph@codesourcery.com>
16151
16152 Support crti.S and crtn.S provided directly by architectures.
16153 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
16154 [crti.S in sysdirs] (omit-deps): Likewise.
16155 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
16156 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
16157 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
16158 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
16159 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
16160 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
16161 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
16162 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
16163 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
16164 compiler output for sysdeps/generic/initfini.c.
16165 * sysdeps/i386/elf/Makefile: Remove file.
16166 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
16167
a22f12b4
MP
161682012-02-07 Marek Polacek <polacek@redhat.com>
16169
16170 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
16171 * sysdeps/gnu/_G_config.h: Likewise.
16172 * sysdeps/mach/hurd/_G_config.h: Likewise.
16173
148cf100
MP
161742012-02-07 Marek Polacek <polacek@redhat.com>
16175
16176 * math/Makefile (tests): Add tst-CMPLX2.
16177 * math/tst-CMPLX2.c: New file.
16178
cfdc0dd7
AS
161792012-02-07 Andreas Schwab <schwab@linux-m68k.org>
16180
84ba42c4
AS
16181 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16182
cfdc0dd7
AS
16183 * math/libm-test.inc (jn_test): Add missing L suffix.
16184
622c86f4
MP
161852012-02-06 Marek Polacek <polacek@redhat.com>
16186
16187 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
16188 * sysdeps/i386/fpu/e_powf.S: Likewise.
16189 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16190 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16191 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16192 * sysdeps/i386/fpu/e_pow.S: Likewise.
16193 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16194 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16195 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16196 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16197 * sysdeps/i386/fpu/e_log2.S: Likewise.
16198 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16199 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16200 * sysdeps/i386/fpu/e_powl.S: Likewise.
16201 * sysdeps/i386/fpu/s_log1p.S: Likewise.
16202 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16203 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16204 * sysdeps/i386/fpu/e_logl.S: Likewise.
16205 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16206 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
16207 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16208 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16209 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16210 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16211 * sysdeps/i386/fpu/e_log.S: Likewise.
16212 * sysdeps/i386/fpu/s_cexp.S: Likewise.
16213 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16214 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
16215 * sysdeps/i386/fpu/e_logf.S: Likewise.
16216 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16217 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16218 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
16219 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16220 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16221 * sysdeps/i386/fpu/e_log10.S: Likewise.
16222 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16223 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16224 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16225 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16226 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16227 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16228 * sysdeps/i386/asm-syntax.h: Likewise.
16229 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16230 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16231 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16232 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
16233 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
16234 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16235 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16236 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16237 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16238 * sysdeps/powerpc/sysdep.h: Likewise.
16239 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
16240 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16241
d4a54ac6
JM
162422012-02-06 Joseph Myers <joseph@codesourcery.com>
16243
16244 [BZ #411]
16245 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
16246
314054ea
JM
162472012-02-06 Joseph Myers <joseph@codesourcery.com>
16248
16249 * sysdeps/i386/sysdep.h: Include <features.h>.
16250 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
16251 version.
16252
d8e0ca50
JM
162532012-02-05 Joseph Myers <joseph@codesourcery.com>
16254
16255 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
16256 Define.
16257 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
16258 LOAD_PIC_REG_STR.
16259
b1da7dd9
JM
162602012-02-03 Joseph Myers <joseph@codesourcery.com>
16261
16262 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
16263 (SETUP_PIC_REG): Use GET_PC_THUNK.
16264 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
16265 macro.
16266
9a1d9254
JM
162672012-02-03 Joseph Myers <joseph@codesourcery.com>
16268
16269 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
16270 for non-PIC compilation.
16271 (SETUP_PIC_REG): Add .p2align directive.
16272 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
16273 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16274 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16275 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16276 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16277 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16278 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16279 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16280 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16281 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16282 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16283 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16284 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16285 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16286 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16287 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16288 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16289 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16290 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16291 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16292 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16293 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16294 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16295 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16296 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16297 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16298 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16299 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16300 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16301 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16302 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16303 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16304 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16305 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16306 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16307 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16308 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16309 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16310 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16311 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16312 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16313
65dc3b75
JM
163142012-02-03 Joseph Myers <joseph@codesourcery.com>
16315
16316 * math/tst-CMPLX.c: Include <stdio.h>.
16317
d55bf177
JM
163182012-01-31 Joseph Myers <joseph@codesourcery.com>
16319
16320 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
16321 float.
16322 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16323 * sysdeps/sparc/bits/mathdef.h: Likewise.
16324
69db4f8f
MP
163252012-01-31 Marek Polacek <polacek@redhat.com>
16326
16327 * libio/libio.h: Don't define _PARAMS.
16328 * locale/programs/config.h: Don't define PARAMS.
16329 * stdlib/strtol_l.c: Likewise.
16330 (__strtol_l): Remove PARAMS from the prototype.
16331
41b81892
UD
163322012-01-31 Ulrich Drepper <drepper@gmail.com>
16333
3b49edc0
UD
16334 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
16335 names. Just use the correct names. Remove unnecessary wrapper
16336 functions.
16337 * malloc/arena.c: Likewise.
16338 * malloc/hooks.c: Likewise.
16339
41b81892
UD
16340 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
16341 ARENA_TEST says not to. Simplify test for creation of a new arena.
16342 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
16343
27a25b6e
UD
163442012-01-30 Ulrich Drepper <drepper@gmail.com>
16345
16346 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
16347 into tail calls.
16348 (update_get_addr): New function.
16349 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
16350 GET_ADDR_MODULE parameter.
16351
c8a89e7d
JM
163522012-01-30 Joseph Myers <joseph@codesourcery.com>
16353
16354 * crypt/cert.c: Remove __STDC__ conditionals.
16355 * crypt/crypt-entry.c: Likewise.
16356 * crypt/crypt_util.c: Likewise.
16357 * libio/filedoalloc.c: Likewise.
16358 * libio/fileops.c: Likewise.
16359 * libio/genops.c: Likewise.
16360 * libio/iofclose.c: Likewise.
16361 * libio/iofdopen.c: Likewise.
16362 * libio/iofopen.c: Likewise.
16363 * libio/iofopen64.c: Likewise.
16364 * libio/iogetdelim.c: Likewise.
16365 * libio/iopopen.c: Likewise.
16366 * libio/obprintf.c: Likewise.
16367 * libio/oldfileops.c: Likewise.
16368 * libio/oldiofclose.c: Likewise.
16369 * libio/oldiofdopen.c: Likewise.
16370 * libio/oldiofopen.c: Likewise.
16371 * libio/oldiopopen.c: Likewise.
16372 * libio/wfiledoalloc.c: Likewise.
16373 * libio/wgenops.c: Likewise.
16374 * locale/programs/xmalloc.c: Likewise.
16375 * misc/syslog.c: Likewise.
16376 * stdio-common/xbug.c: Likewise.
16377 * string/memchr.c: Likewise.
16378 * string/memcmp.c: Likewise.
16379 * string/memrchr.c: Likewise.
16380 * string/rawmemchr.c: Likewise.
16381 * sysdeps/posix/getcwd.c: Likewise.
16382 * time/strftime_l.c: Likewise.
16383
3b100462
JM
163842012-01-30 Joseph Myers <joseph@codesourcery.com>
16385
16386 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
16387 * config.make.in (config-cflags-sse2avx): Define.
16388 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
16389 Fix typo.
16390
607998af
CM
163912012-01-29 Chris Metcalf <cmetcalf@tilera.com>
16392
16393 * scripts/config.guess: Update from upstream config git repository.
16394 * scripts/config.sub: Likewise.
16395
3601428f
CM
163962012-01-28 Chris Metcalf <cmetcalf@tilera.com>
16397
3ac8b282
CM
16398 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
16399 (EM_NUM): Update.
16400 (R_TILEPRO_*, R_TILEGX_*): New macros.
16401
e034841e
CM
16402 * scripts/firstversions.awk: Fix bug in version range handling.
16403
540d7568
CM
16404 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
16405
3601428f
CM
16406 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
16407
463de862
CM
16408 * include/sys/epoll.h: New file.
16409 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
16410 libc_hidden_def.
16411
73139a76
UD
164122012-01-28 Ulrich Drepper <drepper@gmail.com>
16413
96bc5b45
UD
16414 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
16415 Avoid unnecessary __WORDSIZE == 64 test.
16416 (fmaxf): Use VEX format if possible.
16417 (fmax): Likewise.
16418 (fminf): Likewise.
16419 (fmin): Likewise.
16420
56f6f6a2
UD
16421 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
16422 * math/math_private.h: Remove libc_fegetround* and
16423 libc_fesetround*.
16424 * sysdeps/i386/configure.in: Check for -msse2avx.
16425 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
16426 also if SSE2AVX is defined.
16427 Remove libc_fegetround* and libc_fesetround*.
16428 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
16429 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
16430 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
16431 of HAS_YMM_USABLE.
16432 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16433 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16434 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16435 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16436 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16437
73139a76
UD
16438 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
16439
d73f93a4
AZ
164402012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16441
16442 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
16443 size is not set.
16444 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16445
6ee65ed6
UD
164462012-01-27 Ulrich Drepper <drepper@gmail.com>
16447
16448 [BZ #13618]
16449 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
16450 relocation.
16451 * Makeconfig (libm): Define.
16452 * elf/Makefile: Add rules to build and run tst-relsort1.
16453 * elf/tst-relsort1.c: New file.
16454 * elf/tst-relsort1mod1.c: New file.
16455 * elf/tst-relsort1mod2.c: New file.
16456
8db21882
JM
164572012-01-27 Joseph Myers <joseph@codesourcery.com>
16458
16459 * math/s_ldexp.c: Remove __STDC__ conditionals.
16460 * math/s_ldexpf.c: Likewise.
16461 * math/s_ldexpl.c: Likewise.
16462 * math/s_nextafter.c: Likewise.
16463 * math/s_nexttowardf.c: Likewise.
16464 * math/s_significand.c: Likewise.
16465 * math/s_significandf.c: Likewise.
16466 * math/s_significandl.c: Likewise.
16467 * math/w_jnl.c: Likewise.
16468 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16469 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16470 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16471 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16472 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16473 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16474 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
16475 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16476 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16477 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16478 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16479 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16480 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16481 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16482 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16483 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16484 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16485 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16486 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16487 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16488 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16489 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16490 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16491 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16492 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16493 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16494 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16495 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16496 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16497 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16498 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16499 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16500 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16501 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16502 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16503 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16504 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16505 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16506 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16507 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16508 * sysdeps/ieee754/k_standard.c: Likewise.
16509 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16510 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16511 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16512 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16513 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16514 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16515 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16516 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16517 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16518 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16519 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16520 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16521 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16522 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16523 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16524 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16525 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16526 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16527 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16528 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16529 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16530 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16531 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16532 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16533 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16534 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16535 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16536 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16537 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16538 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16539 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16540 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
16541 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16542 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16543 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16544 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16545 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
16546 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16547 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16548 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
16549 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
16550 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16551 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16552 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
16553 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16554 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16555 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16556 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16557 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16558 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16559 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
16560 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16561 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16562 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16563 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16564 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16565 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
16566 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16567 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16568 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16569 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16570 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16571 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16572 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16573 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16574 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16575 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16576 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16577 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16578 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16579 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16580 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16581 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16582 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16583 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16584 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16585 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16586 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16587 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16588 * sysdeps/ieee754/s_matherr.c: Likewise.
16589 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16590 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16591 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16592 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16593
965a54a4
JM
165942012-01-26 Joseph Myers <joseph@codesourcery.com>
16595
16596 * crypt/md5.h: Remove __STDC__ conditionals.
16597 * libio/libioP.h: Likewise.
16598 * locale/programs/config.h: Likewise.
16599 * sysdeps/generic/sysdep.h: Likewise.
16600 * sysdeps/i386/asm-syntax.h: Likewise.
16601 * sysdeps/s390/asm-syntax.h: Likewise.
16602 * sysdeps/unix/sysdep.h: Likewise.
16603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16605
7071ad79
JM
166062012-01-26 Joseph Myers <joseph@codesourcery.com>
16607
16608 * libio/libio.h: Remove __STDC__ conditionals.
16609 * malloc/obstack.h: Likewise.
16610 * math/complex.h: Likewise.
16611 * math/math.h: Likewise.
16612 * sysdeps/generic/_G_config.h: Likewise.
16613 * sysdeps/gnu/_G_config.h: Likewise.
16614 * sysdeps/mach/hurd/_G_config.h: Likewise.
16615 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16616 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16617 * sysdeps/sparc/bits/mathdef.h: Likewise.
16618
afc5ed09
UD
166192012-01-26 Ulrich Drepper <drepper@gmail.com>
16620
16621 [BZ #13583]
16622 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 16623 Clean up HAS_* macros.
afc5ed09 16624 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
16625 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
16626 possible.
16627 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
16628 HAS_AVX.
16629 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16630 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16631 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16632 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16633 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 16634
bdb6de1d
JM
166352012-01-25 Joseph Myers <joseph@codesourcery.com>
16636
16637 * elf/tst-unique3.cc (gets): Remove declaration.
16638 * elf/tst-unique3lib.cc (gets): Likewise.
16639 * elf/tst-unique3lib2.cc (gets): Likewise.
16640 * elf/tst-unique4.cc (gets): Likewise.
16641
b15549e6
UD
166422012-01-24 Ulrich Drepper <drepper@gmail.com>
16643
16644 * include/stdio.h: Add C++ protection. Add gets declarations and
16645 definitions.
16646 * debug/tst-chk1.c: Don't declare gets here.
16647 * stdio-common/tst-gets.c: Likewise.
16648
a037381f
JM
166492012-01-24 Joseph Myers <joseph@codesourcery.com>
16650
16651 * posix/glob: Remove directory.
16652
f1d4aa75
JM
166532012-01-24 Joseph Myers <joseph@codesourcery.com>
16654
16655 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16656
81c0c964
PT
166572012-01-22 Pino Toscano <toscano.pino@tiscali.it>
16658
16659 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16660 of the non-standard EPFNOSUPPORT.
16661
0ea698ae
ST
166622011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
16663
16664 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16665 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16666 ANYWHERE set to 1 only on KERN_NO_SPACE error.
16667
d220b117
UD
166682012-01-21 Ulrich Drepper <drepper@gmail.com>
16669
16670 * wcsmbs/uchar.h: Test __STDC_VERSION__.
16671
3e1aa84e
UD
166722012-01-20 Ulrich Drepper <drepper@gmail.com>
16673
16674 * nscd/aicache.c (addhstaiX): Do not cache negative results of
16675 transient errors.
16676 * nscd/grpcache.c (cache_addgr): Likewise.
16677 * nscd/hstcache.c (cache_addhst): Likewise.
16678 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16679 * nscd/pwdcache.c (cache_addpw): Likewise.
16680 * nscd/servicescache.c (cache_addserv): Likewise.
16681
400aa020
UD
166822012-01-16 Ulrich Drepper <drepper@gmail.com>
16683
d77e7869
UD
16684 * malloc/malloc.c: Various cleanups.
16685 * malloc/hooks.c: Likewise.
16686
400aa020
UD
16687 * stdlib/Makefile (tests): Add bug-fmtmsg1.
16688 * stdlib/bug-fmtmsg1.c: New file.
16689
16690 * stdlib/fmtmsg.c (init): Add missing unlock.
16691 Patch by Peng Haitao <penght@cn.fujitsu.com>.
16692
e0a309cf
MP
166932012-01-12 Marek Polacek <polacek@redhat.com>
16694
16695 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
16696 and _GNU_SOURCE.
16697
929d11c7
WS
166982012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16699
16700 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16701 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16702 macro to ensure uniqueness of label name.
16703 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16704 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16705
41d0e869
UD
167062012-01-11 Ulrich Drepper <drepper@gmail.com>
16707
0cc5ed3b
UD
16708 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16709
41d0e869
UD
16710 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16711 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16712 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16713 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16714
a47a831a
UD
167152012-01-10 Ulrich Drepper <drepper@gmail.com>
16716
daa891c0
UD
16717 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16718
16719 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16720 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16721 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16722
e58ef0f2
UD
16723 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16724
a47a831a 16725 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
16726 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16727 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 16728 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
16729
16730 * math/bits/math-finite.h: Add ldexp support.
16731
a0bfc9c7
MP
167322012-01-10 Marek Polacek <polacek@redhat.com>
16733
16734 * locale/programs/localedef.h (show_archive_content): Add noreturn
16735 attribute.
16736
d6e97a1d
UD
167372012-01-09 Ulrich Drepper <drepper@gmail.com>
16738
16739 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16740
d5835c26
UD
167412012-01-08 Ulrich Drepper <drepper@gmail.com>
16742
e5f484c6
UD
16743 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16744
d5835c26
UD
16745 * io/Makefile (headers): Add bits/poll2.h.
16746
d1f741e9
WS
167472011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
16748
16749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16750 typo #include statement.
16751
ec09c1c4
UD
167522012-01-08 Ulrich Drepper <drepper@gmail.com>
16753
16754 * include/sys/cdefs.h: Define __attribute_alloc_size.
16755 * catgets/gencat.c: Add alloc_size attribute and apply consistently
16756 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16757 * elf/pldd.c: Likewise.
16758 * iconv/iconv_charmap.c: Likewise.
16759 * iconv/iconvconfig.c: Likewise.
16760 * iconv/strtab.c: Likewise.
16761 * locale/programs/locale.c: Likewise.
16762 * locale/programs/localedef.h: Likewise.
16763 * locale/programs/simple-hash.c: Likewise.
16764 * nscd/nscd.h: Likewise.
16765 * nss/makedb.c: Likewise.
16766 * sysdeps/generic/ldconfig.h: Likewise.
16767 * locale/programs/localedef.c: Remove xmalloc prototype.
16768 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16769
20b38e03
PP
167702012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16771
16772 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16773 appropriate.
16774
a0da5fe1
UD
167752012-01-08 Ulrich Drepper <drepper@gmail.com>
16776
1d5a644a 16777 * math/Makefile (tests): Add tst-CMPLX.
669704fd 16778 * math/tst-CMPLX.c: New file.
1d5a644a 16779
8784a6db
UD
16780 * math/complex.h (CMPLXL): Fix typo.
16781
d9a216c0
UD
16782 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16783 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16784 GLIBC_2.16.
16785 * debug/tst-chk1.c: Add poll and ppoll tests.
16786 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16787 * include/sys/poll.h: Add hidden proto for ppoll.
16788 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16789 * sysdeps/mach/hurd/ppoll.c: Likewise.
16790 * io/ppoll.c: Likewise.
16791 * debug/poll_chk.c: New file.
16792 * debug/ppoll_chk.c: New file.
16793 * include/bits/poll2.h: New file.
16794 * io/bits/poll2.h: New file.
16795
ac097f5c
UD
16796 [BZ #1350]
16797 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16798
2119dcfa
UD
16799 * configure.in: static is always set to yes. Remove.
16800 * config.make.in: Don't set build-static.
16801 * Makeconfig: Remove use of build-static.
16802 * dlfcn/Makefile: Likewise.
16803 * elf/Makefile: Likewise.
16804 * math/Makefile: Likewise.
16805 * misc/Makefile: Likewise.
16806 * nptl/Makefile: Likewise.
16807 * sysdeps/mach/hurd/Makefile: Likewise.
16808
121766a9
UD
16809 * configure.in: PWD_P is not used anymore.
16810 * config.make.in: Remove PWD_P entry.
16811
51a1d39c 16812 * configure.in: Remove last remnants of RANLIB.
8720d066 16813 No need to check for signed size_t anymore.
215f4bdc
UD
16814 Don't set libc_commonpagesize and libc_relro_required here for Alpha
16815 and IA-64.
3857022a 16816 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
16817 * aclocal.m4: Likewise.
16818
d3ed7225
UD
16819 * wcsmbs/mbrtoc16.c: Implement using towc function.
16820 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16821 * wcsmbs/wcsmbsload.c: Likewise.
16822 * iconv/gconv_simple.c: Likewise.
16823 * iconv/gconv_int.h: Likewise.
16824 * iconv/gconv_builtin.h: Likewise.
16825 * iconv/iconv_prog.c: Remove CHAR16 handling.
16826
16827 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16828
16829 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16830
a0da5fe1
UD
16831 * configure.in: Remove --with-elf and --enable-bounded options.
16832 Dont set base_machine for ia64. More non-ELF conditions removed.
16833 Remove testing and setting of leading underscore information.
16834 * config.make.in (build-bounded): Set to no.
16835 * config.h.in: Remove NO_UNDERSCORES entry.
16836 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
16837 them.
16838 * csu/start.c: Remove !NO_UNDERSCORE code.
16839 * locale/localeinfo.h: Likewise.
16840 * sysdeps/generic/machine-gmon.h: Likewise.
16841 * sysdeps/generic/sysdep.h: Likewise.
16842 * sysdeps/i386/sysdep.h: Likewise.
16843 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16844 * sysdeps/mach/sysdep.h: Likewise.
16845 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16846 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16847 * sysdeps/sh/sysdep.h: Likewise.
16848 * sysdeps/sparc/sparc32/alloca.S: Likewise.
16849 * sysdeps/unix/i386/sysdep.S: Likewise.
16850 * sysdeps/unix/sparc/start.c: Likewise.
16851 * sysdeps/unix/sparc/sysdep.S: Likewise.
16852 * sysdeps/unix/sparc/sysdep.h: Likewise.
16853 * sysdeps/unix/start.c: Likewise.
16854 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16855 * sysdeps/x86_64/sysdep.h: Likewise.
16856
df78418a
UD
168572012-01-07 Ulrich Drepper <drepper@gmail.com>
16858
a784e502
UD
16859 [BZ #13553]
16860 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16861 for non-gcc.
16862 * argp/argp-fmtstream.h: Use const instead __const.
16863 * argp/argp.h: Likewise.
16864 * assert/assert.h: Likewise.
16865 * bits/fenv.h: Likewise.
16866 * bits/sched.h: Likewise.
16867 * bits/sigset.h: Likewise.
16868 * bits/sigthread.h: Likewise.
16869 * catgets/nl_types.h: Likewise.
16870 * conform/data/pthread.h-data: Likewise.
16871 * crypt/crypt-private.h: Likewise.
16872 * crypt/crypt.h: Likewise.
16873 * crypt/crypt_util.c: Likewise.
16874 * ctype/ctype.h: Likewise.
16875 * debug/execinfo.h: Likewise.
16876 * debug/mbsnrtowcs_chk.c: Likewise.
16877 * debug/mbsrtowcs_chk.c: Likewise.
16878 * debug/wcsnrtombs_chk.c: Likewise.
16879 * debug/wcsrtombs_chk.c: Likewise.
16880 * debug/wcstombs_chk.c: Likewise.
16881 * dirent/dirent.h: Likewise.
16882 * dlfcn/dlfcn.h: Likewise.
16883 * elf/neededtest4.c: Likewise.
16884 * grp/grp.h: Likewise.
16885 * gshadow/gshadow.h: Likewise.
16886 * iconv/gconv.h: Likewise.
16887 * iconv/gconv_int.h: Likewise.
16888 * iconv/gconv_simple.c: Likewise.
16889 * iconv/iconv.h: Likewise.
16890 * iconv/loop.c: Likewise.
16891 * iconv/skeleton.c: Likewise.
16892 * include/aio.h: Likewise.
16893 * include/aliases.h: Likewise.
16894 * include/argz.h: Likewise.
16895 * include/arpa/inet.h: Likewise.
16896 * include/assert.h: Likewise.
16897 * include/dirent.h: Likewise.
16898 * include/dlfcn.h: Likewise.
16899 * include/execinfo.h: Likewise.
16900 * include/fcntl.h: Likewise.
16901 * include/fenv.h: Likewise.
16902 * include/glob.h: Likewise.
16903 * include/grp.h: Likewise.
16904 * include/libintl.h: Likewise.
16905 * include/mntent.h: Likewise.
16906 * include/netdb.h: Likewise.
16907 * include/pwd.h: Likewise.
16908 * include/rpc/netdb.h: Likewise.
16909 * include/sched.h: Likewise.
16910 * include/search.h: Likewise.
16911 * include/shadow.h: Likewise.
16912 * include/signal.h: Likewise.
16913 * include/stdio.h: Likewise.
16914 * include/stdlib.h: Likewise.
16915 * include/string.h: Likewise.
16916 * include/sys/socket.h: Likewise.
16917 * include/sys/stat.h: Likewise.
16918 * include/sys/statfs.h: Likewise.
16919 * include/sys/statvfs.h: Likewise.
16920 * include/sys/syslog.h: Likewise.
16921 * include/sys/time.h: Likewise.
16922 * include/sys/uio.h: Likewise.
16923 * include/time.h: Likewise.
16924 * include/unistd.h: Likewise.
16925 * include/utmp.h: Likewise.
16926 * include/wchar.h: Likewise.
16927 * include/wctype.h: Likewise.
16928 * inet/aliases.h: Likewise.
16929 * inet/arpa/inet.h: Likewise.
16930 * inet/netinet/ether.h: Likewise.
16931 * inet/netinet/in.h: Likewise.
16932 * intl/libintl.h: Likewise.
16933 * io/bits/fcntl2.h: Likewise.
16934 * io/fcntl.h: Likewise.
16935 * io/ftw.h: Likewise.
16936 * io/sys/poll.h: Likewise.
16937 * io/sys/stat.h: Likewise.
16938 * io/sys/statfs.h: Likewise.
16939 * io/sys/statvfs.h: Likewise.
16940 * io/utime.h: Likewise.
16941 * libio/bits/stdio.h: Likewise.
16942 * libio/bits/stdio2.h: Likewise.
16943 * libio/libio.h: Likewise.
16944 * libio/libioP.h: Likewise.
16945 * libio/stdio.h: Likewise.
16946 * locale/lc-ctype.c: Likewise.
16947 * locale/locale.h: Likewise.
16948 * login/utmp.h: Likewise.
16949 * malloc/arena.c: Likewise.
16950 * malloc/malloc.c: Likewise.
16951 * malloc/malloc.h: Likewise.
16952 * malloc/mcheck.c: Likewise.
16953 * malloc/mtrace.c: Likewise.
16954 * math/bits/mathcalls.h: Likewise.
16955 * math/fenv.h: Likewise.
16956 * math/math_private.h: Likewise.
16957 * misc/bits/error.h: Likewise.
16958 * misc/bits/syslog.h: Likewise.
16959 * misc/err.h: Likewise.
16960 * misc/error.h: Likewise.
16961 * misc/fstab.h: Likewise.
16962 * misc/mntent.h: Likewise.
16963 * misc/regexp.h: Likewise.
16964 * misc/search.h: Likewise.
16965 * misc/sgtty.h: Likewise.
16966 * misc/sys/mman.h: Likewise.
16967 * misc/sys/syslog.h: Likewise.
16968 * misc/sys/uio.h: Likewise.
16969 * misc/sys/xattr.h: Likewise.
16970 * misc/ttyent.h: Likewise.
16971 * nis/rpcsvc/ypclnt.h: Likewise.
16972 * nss/nss.h: Likewise.
16973 * posix/bits/unistd.h: Likewise.
16974 * posix/fnmatch.h: Likewise.
16975 * posix/glob.h: Likewise.
16976 * posix/sched.h: Likewise.
16977 * posix/spawn.h: Likewise.
16978 * posix/sys/wait.h: Likewise.
16979 * posix/unistd.h: Likewise.
16980 * posix/wordexp.h: Likewise.
16981 * pwd/pwd.h: Likewise.
16982 * resolv/netdb.h: Likewise.
16983 * resource/sys/resource.h: Likewise.
16984 * rt/aio.h: Likewise.
16985 * rt/bits/mqueue2.h: Likewise.
16986 * rt/mqueue.h: Likewise.
16987 * shadow/shadow.h: Likewise.
16988 * signal/signal.h: Likewise.
16989 * socket/send.c: Likewise.
16990 * socket/sendto.c: Likewise.
16991 * socket/sys/socket.h: Likewise.
16992 * stdio-common/printf.h: Likewise.
16993 * stdlib/bits/stdlib.h: Likewise.
16994 * stdlib/fmtmsg.h: Likewise.
16995 * stdlib/monetary.h: Likewise.
16996 * stdlib/stdlib.h: Likewise.
16997 * stdlib/ucontext.h: Likewise.
16998 * streams/stropts.h: Likewise.
16999 * string/argz.h: Likewise.
17000 * string/bits/string2.h: Likewise.
17001 * string/string.h: Likewise.
17002 * string/strings.h: Likewise.
17003 * sunrpc/rpc/auth.h: Likewise.
17004 * sunrpc/rpc/auth_des.h: Likewise.
17005 * sunrpc/rpc/clnt.h: Likewise.
17006 * sunrpc/rpc/netdb.h: Likewise.
17007 * sunrpc/rpc/pmap_clnt.h: Likewise.
17008 * sunrpc/rpc/xdr.h: Likewise.
17009 * sysdeps/generic/inttypes.h: Likewise.
17010 * sysdeps/generic/net/if.h: Likewise.
17011 * sysdeps/generic/sys/swap.h: Likewise.
17012 * sysdeps/gnu/net/if.h: Likewise.
17013 * sysdeps/gnu/utmpx.h: Likewise.
17014 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
17015 * sysdeps/i386/i486/bits/string.h: Likewise.
17016 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
17017 * sysdeps/s390/bits/string.h: Likewise.
17018 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
17019 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
17020 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
17021 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
17022 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17023 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
17024 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
17025 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
17026 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
17027 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
17028 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
17029 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17030 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
17031 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17032 * sysdeps/unix/sysv/linux/readv.c: Likewise.
17033 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
17034 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17035 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17036 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17037 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17038 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17039 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
17040 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
17041 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
17042 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
17043 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
17044 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
17045 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17046 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
17047 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
17048 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
17049 * sysvipc/sys/ipc.h: Likewise.
17050 * sysvipc/sys/msg.h: Likewise.
17051 * sysvipc/sys/sem.h: Likewise.
17052 * sysvipc/sys/shm.h: Likewise.
17053 * termios/termios.h: Likewise.
17054 * time/sys/time.h: Likewise.
17055 * time/time.h: Likewise.
17056 * wcsmbs/bits/wchar2.h: Likewise.
17057 * wcsmbs/uchar.h: Likewise.
17058 * wcsmbs/wchar.h: Likewise.
17059 * wctype/wctype.h: Likewise.
17060
0269750c
UD
17061 [BZ #13551]
17062 * Makeconfig: Remove all but ELF support including AIX support.
17063 * Makerules: Likewise.
17064 * config.h.in: Likewise.
17065 * config.make.in: Likewise.
17066 * configure: Likewise.
17067 * configure.in: Likewise.
17068 * csu/Makefile: Likewise.
17069 * csu/version.c: Likewise.
17070 * debug/Makefile: Likewise.
17071 * dlfcn/Makefile: Likewise.
17072 * elf/Makefile: Likewise.
17073 * extra-lib.mk: Likewise.
17074 * iconv/Makefile: Likewise.
17075 * include/libc-symbols.h: Likewise.
17076 * include/shlib-compat.h: Likewise.
17077 * resolv/Makefile: Likewise.
17078 * resolv/res_libc.c: Likewise.
17079 * rt/Makefile: Likewise.
17080 * sysdeps/i386/asm-syntax.h: Likewise.
17081 * sysdeps/i386/sysdep.h: Likewise.
17082 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17083 * sysdeps/mach/sysdep.h: Likewise.
17084 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
17085 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
17086 * sysdeps/s390/asm-syntax.h: Likewise.
17087 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17088 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17089 * sysdeps/sh/sysdep.h: Likewise.
17090 * sysdeps/unix/sparc/sysdep.h: Likewise.
17091 * sysdeps/wordsize-32/divdi3.c: Likewise.
17092 * sysdeps/x86_64/sysdep.h: Likewise.
17093
00bbd29b
UD
17094 * argp/Versions: Remove _argp_unlock_xxx.
17095
17096 [BZ #13559]
17097 * abilist/ld.abilist: Update. Adjust for removal of tls option.
17098 * abilist/libBrokenLocale.abilist: Likewise.
17099 * abilist/libanl.abilist: Likewise.
17100 * abilist/libc.abilist: Likewise.
17101 * abilist/libcrypt.abilist: Likewise.
17102 * abilist/libdl.abilist: Likewise.
17103 * abilist/libm.abilist: Likewise.
17104 * abilist/libnsl.abilist: Likewise.
17105 * abilist/libpthread.abilist: Likewise.
17106 * abilist/libresolv.abilist: Likewise.
17107 * abilist/librt.abilist: Likewise.
17108 * abilist/libthread_db.abilist: Likewise.
17109 * abilist/libutil.abilist: Likewise.
17110 * abilist/libnss_db.abilist: New file.
17111
17112 * scripts/abilist.awk: Add support for indirect functions.
17113
a2693a0e
UD
17114 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
17115
3f05895f
UD
17116 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
17117
ecb6fb48
UD
17118 * shlib-versions: Remove entries for ports architectures.
17119
664f8cb9
UD
17120 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
17121 files in ports.
17122 * elf/stackguard-macros.h: Remove support for IA-64.
17123 * elf/tst-auditmod1.c: Likewise.
17124 * sysdeps/generic/ldsodefs.h: Likewise.
17125
7ae81d88
UD
17126 * sysdeps/unix/sysv/linux/configure.in: Ports should define
17127 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
17128 configure files.
17129
bdeba135
UD
17130 [BZ #13552]
17131 * configure.in: Remove --enable-omitfp support.
17132 * FAQ.in: Adjust.
17133 * config.make.in: Likewise.
17134 * Makeconfig: Likewise.
17135 * manual/install.texi: Likewise.
17136
d75a0a62
UD
17137 In case anyone cares, the IA-64 architecture could move to ports.
17138 * sysdeps/ia64/*: Removed.
17139 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 17140 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 17141
dcc9756b
UD
17142 [BZ #13555]
17143 * configure.in: Remove entries for unsupported architectures.
17144
d3761ebc 17145 [BZ #13533]
9954432e
UD
17146 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
17147 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
17148 routines.
17149 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
17150 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
17151 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
17152 fall back to using wcrtomb.
17153 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
17154 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
17155 renaming.
17156 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
17157 * wcsmbs/tst-c16c32-1.c: New file.
17158
17159 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
17160 local variable.
17161
c3a87236
UD
17162 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
17163
28926a1b
UD
17164 * elf/tst-unique3.cc: Add explicit declaration of gets.
17165 * elf/tst-unique3lib.cc: Likewise.
17166 * elf/tst-unique3lib2.cc: Likewise.
17167 * elf/tst-unique4.cc: Likewise.
17168
df78418a
UD
17169 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
17170
8ecd6b2a
JM
171712012-01-06 Joseph Myers <joseph@codesourcery.com>
17172
17173 [BZ #13566]
17174 * assert/assert.h (static_assert): Don't define for C++.
17175 * libio/stdio.h (gets): Do declare for C++ <= C++11.
17176 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
17177
9f115170
UD
171782012-01-03 Ulrich Drepper <drepper@gmail.com>
17179
5e0d0300
UD
17180 * iconv/loop.c (single loop): Fix assertion in storing of
17181 remaining bytes.
17182
9f115170
UD
17183 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
17184
81fb02b0
UD
171852012-01-01 Ulrich Drepper <drepper@gmail.com>
17186
17187 * posix/getconf.c: Update copyright year.
17188 * nss/getent.c: Likewise.
a316c1f6 17189 * nss/makedb.c: Likewise.
81fb02b0
UD
17190 * iconv/iconvconfig.c: Likewise.
17191 * iconv/iconv_prog.c: Likewise.
17192 * elf/ldconfig.c: Likewise.
a316c1f6
UD
17193 * elf/pldd.c: Likewise.
17194 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
17195 * catgets/gencat.c: Likewise.
17196 * csu/version.c: Likewise.
17197 * elf/ldd.bash.in: Likewise.
17198 * elf/sprof.c (print_version): Likewise.
17199 * locale/programs/locale.c: Likewise.
17200 * locale/programs/localedef.c: Likewise.
a316c1f6 17201 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
17202 * nscd/nscd.c (print_version): Likewise.
17203 * debug/xtrace.sh: Likewise.
17204 * malloc/memusage.sh: Likewise.
17205 * malloc/mtrace.pl: Likewise.
17206 * debug/catchsegv.sh: Likewise.
17207
2ba92745
JJ
172082011-12-30 Jakub Jelinek <jakub@redhat.com>
17209
17210 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
17211 pure attribute.
17212
dadebdae
UD
172132011-12-24 Ulrich Drepper <drepper@gmail.com>
17214
d3761ebc 17215 [BZ #13533]
db6af3eb
UD
17216 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
17217 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
17218 transformations.
17219 * iconv/gconv_int.h: Likewise.
17220 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
17221 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
17222 from libc for GLIBC_2.16.
17223 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
17224 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
17225 * wcsmbs/uchar.h: Really define mbstate_t.
17226 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
17227 * wcsmbs/c16rtomb.c: New file.
17228 * wcsmbs/mbrtoc16.c: New file.
17229 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
17230 for C/POSIX locale.
17231 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
17232 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
17233
dadebdae
UD
17234 * wcsmbs/wchar.h: Add missing __restrict.
17235
67371b56
UD
172362011-12-23 Ulrich Drepper <drepper@gmail.com>
17237
74033a25
UD
17238 [BZ #13532]
17239 * time/Makefile (routines): Add timespec_get.
17240 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
17241 * time/time.h: Define TIME_UTC and declare timespec_get. Define
17242 timespec for ISO C11.
17243 * time/timespec_get.c: New file.
17244 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
17245 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
17246
380d7e87
UD
17247 [BZ #13531]
17248 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
17249 * stdlib/stdlib.h: Declare aligned_alloc.
17250 * Versions.def: Add GLIBC_2.16 for libc.
17251 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
17252
4e9e7a35
UD
17253 [BZ 13527]
17254 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
17255 ISO C11.
17256
380d7e87 17257 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
17258 code.
17259
03a71829
UD
17260 [BZ #13528]
17261 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
17262
839e283e
UD
17263 [BZ #13529]
17264 * assert/assert.h (static_assert): Define.
17265
ce5294e2 17266 * version.h: Update for 2.16 development version.
90fa7312 17267
8d44e150 17268 [BZ #13526]
d7809905
UD
17269 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
17270 _ISOC11_SOURCE.
17271
c0da14cd
UD
17272 * version.h (RELEASE): Bump for 2.15 release.
17273 * include/features.h (__GLIBC_MINOR__): Bump to 15.
17274
530a3249
MP
17275 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
17276 Patch by Marek Polacek <mpolacek@redhat.com>.
17277
67371b56
UD
17278 * bits/byteswap.h: Protect long long constants with __extension__.
17279 * sysdeps/i386/bits/byteswap.h: Likewise.
17280 * sysdeps/ia64/bits/byteswap.h: Likewise.
17281 * sysdeps/s390/bits/byteswap.h: Likewise.
17282 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17283
15db4de1
LD
172842011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17285
17286 [BZ #13540]
bbe315ea
LD
17287 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
17288 destination buffer.
15db4de1
LD
17289 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17290
2b2596b1
MP
172912011-12-23 Marek Polacek <polacek@redhat.com>
17292
17293 * elf/dl-addr.c (determine_info): Add inline keyword.
17294 * elf/tst-auditmod4b.c (check_avx): Likewise.
17295 * elf/tst-auditmod6b.c (check_avx): Likewise.
17296 * elf/tst-auditmod6c.c (check_avx): Likewise.
17297 * elf/tst-auditmod7b.c (check_avx): Likewise.
17298
70c6c246
UD
172992011-12-23 Ulrich Drepper <drepper@gmail.com>
17300
17301 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
17302 !__SSE_MATH__.
17303
c044cf14
LD
173042011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17305
15db4de1 17306 [BZ #13540]
c044cf14
LD
17307 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
17308 processing for last bytes.
17309
6b13d9d9
BH
173102011-08-06 Bruno Haible <bruno@clisp.org>
17311
d455f537
BH
17312 [BZ #13061]
17313 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
17314 U+0385, not to U+1FEE.
17315
6b13d9d9
BH
17316 [BZ #13062]
17317 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
17318 entry for U+00A5 U+0301.
17319
db910efd
UD
173202011-12-22 Ulrich Drepper <drepper@gmail.com>
17321
27deeafc
UD
17322 [BZ #13166]
17323 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
17324 buffer for the output is too small.
17325
aed9d171
UD
17326 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
17327 optimization.
17328
db910efd
UD
17329 [BZ #13185]
17330 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
17331 SSE flags if possible.
17332
2bd779ae
LD
173332011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17334
e7f9dac3 17335 [BZ #13540]
2bd779ae
LD
17336 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
17337 processing for last bytes.
17338
154bfc16
JM
173392011-12-22 Joseph Myers <joseph@codesourcery.com>
17340
17341 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
17342 (syscall-list-default-options, syscall-list-default-condition)
17343 (syscall-list-includes): Define.
17344 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
17345 list of ABIs and options and #if conditions for each ABI. Do not
17346 handle common syscalls between ABIs specially.
17347 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
17348 Remove.
17349 (syscall-list-variants, syscall-list-32bit-options)
17350 (syscall-list-32bit-condition, syscall-list-64bit-options)
17351 (syscall-list-64bit-condition): Define.
17352 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
17353 (syscall-list-variants, syscall-list-32bit-options)
17354 (syscall-list-32bit-condition, syscall-list-64bit-options)
17355 (syscall-list-64bit-condition): Define.
17356 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
17357 Remove.
17358 (syscall-list-variants, syscall-list-32bit-options)
17359 (syscall-list-32bit-condition, syscall-list-64bit-options)
17360 (syscall-list-64bit-condition): Define.
17361 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
17362 Remove.
17363 (syscall-list-variants, syscall-list-32bit-options)
17364 (syscall-list-32bit-condition, syscall-list-64bit-options)
17365 (syscall-list-64bit-condition): Define.
17366
21eaf3a5
UD
173672011-12-22 Ulrich Drepper <drepper@gmail.com>
17368
16c6f992
UD
17369 * locale/iso-639.def: Add brx entry.
17370
41043168
UD
17371 [BZ #13328]
17372 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
17373 Proposed by Mariusz_Cukr <marcukr@op.pl>.
17374
21eaf3a5
UD
17375 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
17376 __feraiseexcept_renamed.
17377
e3a851a2
UD
173782011-12-21 Ulrich Drepper <drepper@gmail.com>
17379
4920765e
UD
17380 [BZ #13538]
17381 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
17382 EPOLLET with unsigned values.
17383 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17384 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17385
e3a851a2
UD
17386 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
17387 to large cancellation.
17388 * math/s_cacoshf.c: Likewise.
17389 * math/s_cacoshl.c: Likewise.
17390
b27e24b8
RK
173912011-11-18 Richard B. Kreckel <kreckel@ginac.de>
17392
17393 [BZ #13305]
aebefeee 17394 [BZ #12786]
b27e24b8
RK
17395 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
17396 * math/s_cacoshf.c: Likewise.
17397 * math/s_cacoshl.c: Likewise.
17398
ee190f67
UD
173992011-12-21 Ulrich Drepper <drepper@gmail.com>
17400
17401 [BZ #13439]
17402 * iconv/gconv.h: Define __GCONV_SWAP.
17403 * iconvdata/unicode.c: The swap bit must be stored in __flags.
17404 * iconvdata/utf-16.c: Likewise.
17405 * iconvdata/utf-32.c: Likewise.
17406
707f25df
AS
174072011-12-21 Andreas Schwab <schwab@linux-m68k.org>
17408
17409 [BZ #13524]
17410 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
17411 numerator after shifting it by one limb.
17412
d2daaa1e
RÁE
174132011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
17414
17415 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
17416 under [__USE_EXTERN_INLINES].
17417
a4647e72
UD
174182011-12-17 Ulrich Drepper <drepper@gmail.com>
17419
17420 [BZ #13446]
17421 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
17422
f0b264f1
AZ
174232011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17424
17425 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
17426 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
17427 optimized code.
17428 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
17429 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
17430 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
17431 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
17432 for strncasecmp/strncasecmp_l compilation.
17433 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
17434 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
17435
8ef4f244
MP
174362011-12-08 Marek Polacek <mpolacek@redhat.com>
17437
17438 [BZ #13484]
17439 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
17440 of __asm__.
17441
97ac2654
UD
174422011-12-17 Ulrich Drepper <drepper@gmail.com>
17443
17444 [BZ #13506]
17445 * time/tzfile.c (__tzfile_read): Check values from file header.
17446
91d2a845
WS
174472011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17448
17449 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
17450 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
17451 * powerpc/powerpc32/dl-start.S: Likewise.
17452 * powerpc/powerpc32/elf/start.S: Likewise.
17453 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17454 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
17455 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17456 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
17457 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17458 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
17459 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
17460 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17461 * powerpc/powerpc32/fpu/s_round.S: Likewise.
17462 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17463 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17464 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17465 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17466 * powerpc/powerpc32/memset.S: Likewise.
17467 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17468 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17469 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17470 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17471 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17472 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17473 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17474 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17475 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
17476 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
17477 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
17478 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17479 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17480
a1267ba1
AZ
174812011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17482
17483 * math/libm-test.inc: Added more nearbyint tests.
17484 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
17485 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
17486 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
17487 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
17488
ad8ac1bd
RL
174892011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
17490
17491 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
17492 FD_CLOEXEC.
17493
1d3e4b61
UD
174942011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17495
17496 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
17497 Add wcscpy-ssse3 wcscpy-c.
17498 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
17499 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
17500 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
17501 * sysdeps/x86_64/wcschr.S: New file.
17502 * sysdeps/x86_64/wcsrchr.S: New file.
17503 * string/test-strcmp.c: Remove checking of wcscmp function for
17504 wrong alignments.
17505 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
17506 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
17507 wcsrchr-sse2 wcsrchr-c.
17508 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
17509 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
17510 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
17511 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
17512 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
17513 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
17514 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
17515 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
17516 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
17517 * wcsmbc/wcschr.c (WCSCHR): New macro.
17518
5b330a2d
UD
175192011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17520
17521 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
17522 * wcsmbs/test-wcsrchr.c: New file.
17523 * string/test-strrchr.c: Add wcsrchr support.
17524 (WIDE): New macro.
17525 * wcsmbs/test-wcscpy.c: New file.
17526 * string/test-strcpy.c: Add wcscpy support.
17527 (WIDE): New macro.
26428b7c 17528
f039c043
UD
175292011-12-10 Ulrich Drepper <drepper@gmail.com>
17530
17531 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
17532 the inner loop.
17533
850fb039
AS
175342011-12-06 Andreas Schwab <schwab@linux-m68k.org>
17535
17536 [BZ #13472]
17537 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
17538
4efbd5cb
UD
175392011-12-04 Ulrich Drepper <drepper@gmail.com>
17540
52ff5dd0 17541 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 17542 Minor optimizations.
52ff5dd0 17543
4efbd5cb
UD
17544 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
17545 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
17546 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17547
8a426e12
UD
175482011-12-03 Ulrich Drepper <drepper@gmail.com>
17549
aff2453d
UD
17550 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
17551 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
17552 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
17553 for gcc to avoid warnings.
17554 * inet/Makefile (tests): Add tst-checks.
17555 * inet/tst-checks.c: New file.
17556
17557 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
17558 warning.
17559
17560 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
17561 __wmemcmp_sse2.
17562
17563 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
17564 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
17565
8a426e12
UD
17566 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
17567
9bea3473
UD
175682011-12-02 Ulrich Drepper <drepper@gmail.com>
17569
3a965496
UD
17570 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
17571 problem.
17572
9bea3473
UD
17573 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
17574
f101631b
UD
175752011-11-29 Joseph Myers <joseph@codesourcery.com>
17576
17577 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
17578 conditional on GCC version.
17579 (__arch_compare_and_exchange_val_8_acq)
17580 (__arch_compare_and_exchange_val_16_acq)
17581 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
17582 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
17583 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
17584
a98275aa
UD
175852011-12-02 Joseph Myers <joseph@codesourcery.com>
17586
17587 * sysdeps/sh/backtrace.c: New file.
17588
d4cc29a2
AS
175892011-12-02 Andreas Schwab <schwab@redhat.com>
17590
17591 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
17592 parenthesis.
17593
6257af2d
AS
175942011-12-01 Andreas Schwab <schwab@redhat.com>
17595
17596 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
17597 falling back to utime.
17598
b5f44c1a
AS
175992011-11-30 Andreas Schwab <schwab@redhat.com>
17600
17601 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
17602 expectations for float.
17603
f3a6cc0a
AS
176042011-11-29 Andreas Schwab <schwab@redhat.com>
17605
17606 * locale/weight.h (findidx): Add parameter len.
17607 * locale/weightwc.h (findidx): Likewise.
17608 * posix/fnmatch_loop.c (FCT): Adjust caller.
17609 * posix/regcomp.c (build_equiv_class): Likewise.
17610 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
17611 * posix/regexec.c (check_node_accept_bytes): Likewise.
17612 * string/strcoll_l.c (STRCOLL): Likewise.
17613 * string/strxfrm_l.c (STRXFRM): Likewise.
17614
9d65ea3a
UD
176152011-11-17 Ulrich Drepper <drepper@gmail.com>
17616
17617 * Makefile.in: Remove CVSOPT handling.
17618 * configure.in: Remove use of AC_REVISION.
17619 * iconvdata/Makefile (distribute): No need to filter out CVS.
17620 * scripts/list-sources.sh: Remove CVS, subversion and monotone
17621 handling.
17622
5583a086
AS
176232011-11-16 Andreas Schwab <schwab@redhat.com>
17624
17625 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
17626 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
17627 [USE_AS_STRNCASECMP_L]: Likewise.
17628 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
17629 NO_TLS_DIRECT_SEG_REFS.
17630 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
17631 Fix argument offsets for non-PIC.
17632 [USE_AS_STRNCASECMP_L]: Likewise.
17633 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
17634 NO_TLS_DIRECT_SEG_REFS.
17635
d62a8200
UD
176362011-11-15 Ulrich Drepper <drepper@gmail.com>
17637
9d65ea3a 17638 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
17639 O_CLOEXEC.
17640 * locale/loadlocale.c (_nl_load_locale): Likewise.
17641
09f93bd3
AS
176422011-11-15 Andreas Schwab <schwab@redhat.com>
17643
446514f9
AS
17644 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
17645 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
17646 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
17647 (SYSCALL_GETTIME): Set errno on error.
17648
09f93bd3
AS
17649 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
17650 count references to noai6ai_cached.
17651
312be3f9
UD
176522011-11-15 Ulrich Drepper <drepper@gmail.com>
17653
17654 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17655
17656 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17657 FD_CLOEXEC for /proc/self/maps.
17658
17659 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17660 FD_CLOEXEC for /proc/meminfo.
17661
17662 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17663 gai.conf.
17664
17665 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
17666 FD_CLOEXEC for given file.
17667
17668 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17669
17670 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17671 FD_CLOEXEC for /etc/hosts.
17672 (_gethtent): Likewise.
17673
17674 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
17675
17676 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
17677 cancellation and set FD_CLOEXEC for /etc/netgroup.
17678
17679 * nss/nss_files/files-key.c (search): Don't allow cancellation when
17680 reading /etc/publickey.
17681
17682 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
17683 allow cancellation when reading /etc/group.
17684
17685 * nss/nss_files/files-alias.c (internal_setent): Don't allow
17686 cancellation.
17687 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
17688
17689 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
17690 when using data file.
17691
17692 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
17693
17694 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
17695 (write_nis_obj): Use "c" and "e" in fopen.
17696
17697 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17698
17699 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17700
17701 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17702
17703 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17704
17705 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17706 locale.alias.
17707
17708 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17709
17710 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17711
17712 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17713
17714 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17715 file parsing and set FD_CLOEXEC.
17716
82af0fa8
UD
177172011-11-14 Ulrich Drepper <drepper@gmail.com>
17718
17719 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17720
a5fb313c
AS
177212011-11-14 Andreas Schwab <schwab@redhat.com>
17722
17723 * malloc/arena.c (arena_get2): Don't call reused_arena when
17724 _int_new_arena failed.
17725
6abf3465
UD
177262011-11-14 Ulrich Drepper <drepper@gmail.com>
17727
17728 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17729 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17730 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17731 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17732 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17733 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17734 to compile strcasecmp and strncasecmp.
17735 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17736 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17737
17738 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17739
76e3966e
UD
177402011-11-13 Ulrich Drepper <drepper@gmail.com>
17741
17742 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17743 locale-defines.sym to gen-as-const-headers.
17744 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17745 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17746 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17747 to compile strcasecmp and strncasecmp.
17748 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17749 strcasecmp_l and strncasecmp_l.
17750 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17751 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17752 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17753 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17754 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17755 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17756 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17757 * sysdeps/i386/i686/multiarch/strncase.S: New file.
17758 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17759 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17760 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17761
ab26144e
UD
177622011-11-12 Ulrich Drepper <drepper@gmail.com>
17763
7edb22ef
UD
17764 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17765 result of SYSDEP_GETTIME_CPU to retval.
17766 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17767 parameter list to macro. Remove trailing semicolon. Adjust users.
17768
9694fc44
UD
17769 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17770 variable.
17771
8ad89ef8
UD
17772 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17773 mantissa words.
17774 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17775
0c822ef9
UD
17776 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17777 from unused variable.
17778
874e0564
UD
17779 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17780 DWARF definitions.
17781 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17782 for assembling.
17783
3a2edc79
UD
17784 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17785 over namespaces.
17786
f3c2577f
UD
17787 * sunrpc/rpc_prot.c (rejected): Fix case value.
17788
294ce126
UD
17789 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17790 unsigned long long int to avoid warnings in shift.
17791
5e2b63c6
UD
17792 * posix/regex_internal.c (re_string_reconstruct): Actually use result
17793 of use of trans.
17794 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17795 variable tmp.
17796
e7f4b08e
UD
17797 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17798 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17799 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17800
ab26144e
UD
17801 * nis/nis_table.c (nis_list): Use variable of correct type for
17802 result of __follow_path call.
17803
8a6d5255
AZ
178042011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17805
17806 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17807 of math functions ceil, trunc, floor, round, and sqrt, when
17808 avaliable on the platform.
17809 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17810 name clash.
17811 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17812 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17813 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17814
aaddc98c
MP
178152011-10-30 Marek Polacek <mpolacek@redhat.com>
17816
17817 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17818 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17819
95b7042b
RM
178202011-11-11 Roland McGrath <roland@hack.frob.com>
17821
17822 * include/unistd.h: Fix __readlink return type.
17823 Reported by Chris Metcalf <cmetcalf@tilera.com>.
17824
57769839
UD
178252011-11-11 Ulrich Drepper <drepper@gmail.com>
17826
17827 * stdlib/ucontext.h: Undo last change for makecontext.
17828
edc5984d
AS
178292011-11-11 Andreas Schwab <schwab@redhat.com>
17830
98591e58
AS
17831 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17832
edc5984d
AS
17833 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17834 * setjmp/setjmp.h: Mark functions as non-leaf.
17835 * setjmp/bits/setjmp2.h: Likewise.
17836 * stdlib/ucontext.h: Likewise.
17837
77cdc054
AS
178382011-11-10 Andreas Schwab <schwab@redhat.com>
17839
17840 * malloc/arena.c (_int_new_arena): Don't increment narenas.
17841 (reused_arena): Don't check arena limit.
17842 (arena_get2): Atomically check arena limit.
17843
fe72eebd
UD
178442011-11-08 Ulrich Drepper <drepper@gmail.com>
17845
5f078c32
UD
17846 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17847 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17848
fe72eebd
UD
17849 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17850 instructions.
17851
ae1bc2fa
AS
178522011-11-07 Andreas Schwab <schwab@redhat.com>
17853
7583a88d
AS
17854 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17855 handler when locking.
17856
ae1bc2fa
AS
17857 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17858 Fix size of allocated buffer.
17859
10fb0bfa
AS
178602011-11-04 Andreas Schwab <schwab@redhat.com>
17861
998832a4
AS
17862 [BZ #10103]
17863 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17864 declarations for long double functions.
17865 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17866
10fb0bfa
AS
17867 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17868
3d7ba52b
AS
178692011-11-03 Andreas Schwab <schwab@redhat.com>
17870
a9ae54a1
AS
17871 * nscd/nscd.c (main): Don't start AVC thread until credentials are
17872 installed.
17873
3d7ba52b
AS
17874 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17875 is disabled.
17876
bc8db248
ST
178772011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17878
17879 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17880
45b96dd6
AS
178812011-11-01 Andreas Schwab <schwab@linux-m68k.org>
17882
647776f6
AS
17883 * include/alloca.h (stackinfo_alloca_round): Define.
17884 (extend_alloca): Use it.
17885 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17886 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17887 here.
17888
d91a8b93
AS
17889 * scripts/check-local-headers.sh: Ignore libaudit.h.
17890
45b96dd6
AS
17891 * nscd/Makefile (extra-objs): Make recursively expanded.
17892
432d41ce
UD
178932011-11-01 Ulrich Drepper <drepper@gmail.com>
17894
34372fc6
UD
17895 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17896 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17897
fadb59f8
UD
17898 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17899 * posix/tst-rfc3484-2.c: Likewise.
17900 * posix/tst-rfc3484-3.c: Likewise.
17901
78239589
UD
17902 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17903 process_vm_writev.
17904 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17905 process_vm_writev.
17906 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17907 process_vm_writev from libc using GLIBC_2.15 version.
17908
432d41ce
UD
17909 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17910
02f9c6cf
PP
179112011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
17912
17913 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17914 stack usage.
17915
3a2c0242
UD
179162011-10-31 Ulrich Drepper <drepper@gmail.com>
17917
f4ec4833
UD
17918 [BZ #13367]
17919 * nss/getent.c (initgroups_keys): Show error message in case no group
17920 names are given.
17921
3a2c0242
UD
17922 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17923 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17924 __bump_nl_timestamp.
17925 * nscd/connections (nscd_init): When host database is served open
17926 netlink socket and request notification about configuration changes.
17927 (main_loop_poll): Track netlink file descriptor and bump timestamp
17928 in case data becomes available.
17929 (main_loop_epoll): Likewise.
17930 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17931 (database_pers_head): Add extra_data fileds.
17932 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17933 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17934 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17935 Adjust caller.
17936 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17937 in6ai data, call __free_in6ai.
17938 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17939 Add -DHAVE_NETLINK.
17940 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
17941 interface information. Reuse previous data if netlink timestamp
17942 is not changed.
17943 (__bump_nl_timestamp): New function.
17944 (__free_in6ai): New function.
17945
636064eb
UD
179462011-10-30 Ulrich Drepper <drepper@gmail.com>
17947
17948 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17949 close_not_cancel_no_status here.
17950 (__check_pf): Reorganize code a bit to not call close twice if OOM.
17951
9beb2334
UD
179522011-10-29 Ulrich Drepper <drepper@gmail.com>
17953
6ef76f3b
UD
17954 [BZ #13276]
17955 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17956 return value.
17957
0ffc4f3e 17958 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
17959 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17960 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17961
cb95113e
UD
179622011-07-03 Andreas Jaeger <aj@suse.de>
17963
17964 [BZ #10709]
17965 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17966 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17967 * math/libm-test.inc (sin_test): Add test case.
17968
a1b560ff
UD
179692011-10-29 Ulrich Drepper <drepper@gmail.com>
17970
c9aaface
UD
17971 [BZ #13337]
17972 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17973 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17974
d272e7f1
UD
17975 * elf/chroot_canon.c (chroot_canon): Cleanups.
17976
1bc33071
UD
17977 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17978
1760874d
TJ
17979 [BZ #13335]
17980 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17981 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17982
51d91b18
UD
17983 * string/test-strchr.c: Make usable for strchrnul testing.
17984 * string/test-strchrnul.c: New file.
17985 * string/Makefile (strop-tests): Add strchrnul.
17986
a1b560ff 17987 * po/it.po: Update from translation team.
b611fb81 17988 * po/es.po: Likewise.
a1b560ff 17989
a5b81e1f
UD
179902011-10-28 Ulrich Drepper <drepper@gmail.com>
17991
fd52bc6d
UD
17992 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17993 the three constants needed as parameters. Drop the others.
17994 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17995 __m128i_strloadu_tolower.
52e4b9eb
UD
17996 Create and initialize variable zero and use it in all the places
17997 where _mm_setzero_si128 was used.
fd52bc6d 17998
a5b81e1f
UD
17999 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
18000 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
18001 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
18002 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
18003 anymore.
18004 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
18005 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
18006 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
18007 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
18008 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
18009 __mpranred, __mptan.
18010 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
18011 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
18012 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
18013 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
18014 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
18015 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
18016 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
18017 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
18018 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
18019
b4343346
AS
180202011-10-28 Andreas Schwab <schwab@redhat.com>
18021
0c92d8a8
AS
18022 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
18023 redefine if SHARED.
18024 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
18025
b4343346
AS
18026 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
18027 wide char related routines to wcsmbs subdir.
18028
3871f58f
AS
180292011-10-27 Andreas Schwab <schwab@redhat.com>
18030
18031 [BZ #13344]
18032 * misc/sys/cdefs.h (__THROWNL): Define.
18033 * posix/unistd.h: Use __THREADNL instead of __THREAD
18034 for memory synchronization functions.
18035
94d44d9f
RM
180362011-10-26 Roland McGrath <roland@hack.frob.com>
18037
21b64b15 18038 [BZ #13349]
94d44d9f
RM
18039 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
18040 doesn't exist.
18041 * manual/stdio.texi (Obstack Streams): Node removed.
18042
f6ce9294
AS
180432011-10-26 Andreas Schwab <schwab@redhat.com>
18044
80479147
AS
18045 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
18046 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18047 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18048
f6ce9294
AS
18049 * math/math_private.h (math_force_eval): Allow non-addressable
18050 arguments.
18051 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
18052
618280a1
UD
180532011-10-25 Ulrich Drepper <drepper@gmail.com>
18054
e0016b11
UD
18055 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
18056 file is not needed.
18057
18058 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
18059 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18060 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18061 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18062 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18063 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18064 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18065 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
18066 Add AVX variants.
18067 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
18068 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
18069 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
18070 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
18071 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
18072 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
18073 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
18074 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
18075 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
18076 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
18077 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
18078 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
18079 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
18080 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
18081 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
18082 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
18083 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
18084 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
18085 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
18086
18087 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
18088 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
18089
618280a1
UD
18090 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
18091 place. Use VEX encoding when compiling for AVX.
18092
37822576
AS
180932011-10-25 Andreas Schwab <schwab@redhat.com>
18094
1f1e1947
AS
18095 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
18096 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18097
37822576
AS
18098 * string/test-strchr.c (do_test): Don't generate NUL bytes.
18099
31ea014d
UD
181002011-10-25 Ulrich Drepper <drepper@gmail.com>
18101
d7826aa1 18102 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 18103 useless if() expression.
d7826aa1
UD
18104 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18105 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18106 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18107 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18108 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18109 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18110 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18111 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18112 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18113 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18114 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18115 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18116 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18117 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18118 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18119 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18120 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18121 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18122 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18123
31ea014d
UD
18124 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
18125
16437fec
AS
181262011-10-25 Andreas Schwab <schwab@redhat.com>
18127
18128 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
18129 condition.
18130 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18131
31d3cc00
UD
181322011-10-25 Ulrich Drepper <drepper@gmail.com>
18133
18134 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
18135 .text section. Avoid duplicate constants.
18136 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18137 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18138 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18139 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18140 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18141 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18142 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18143 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18144 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18145 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
18146 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18147 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18148 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18149 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18150 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18151 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18152 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18153 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18154 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18155 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18156 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18157 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18158 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18159 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
18160 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
18161 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
18162 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
18163 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
18164 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
18165 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18166 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
18167 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18168 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18169 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
18170 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
18171 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18172 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18173 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
18174 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
18175 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
18176 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
18177 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
18178 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
18179 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18180 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18181
58985aa9
UD
181822011-10-24 Ulrich Drepper <drepper@gmail.com>
18183
202c9deb
UD
18184 * sysdeps/x86_64/dla.h: Move to ...
18185 * sysdeps/x86_64/fpu/dla.h: ...here.
18186 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
18187 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 18188
af968f62
UD
18189 * config.make.in: Add have-mfma4 entry.
18190 * configure.in: Substitute libc_cv_cc_fma4.
18191 * math/Makefile (dbl-only-routines): Add sincostab.
18192 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
18193 Use __sincostab not sincos.
18194 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
18195 name is a macro.
18196 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18197 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18198 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18199 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
18200 using __copysign.
18201 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
18202 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
18203 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
18204 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
18205 and __inv.
18206 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
18207 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
18208 __copysign.
18209 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
18210 define aliases when function name is a macro.
18211 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
18212 sysdeps/ieee754/dbl-64/sincos.tbl.
18213 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
18214 fma4-enabled routines.
18215 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
18216 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
18217 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
18218 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
18219 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
18220 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
18221 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
18222 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
18223 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
18224 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
18225 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
18226 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
18227 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
18228 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
18229 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
18230 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
18231 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
18232 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
18233 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
18234 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
18235 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
18236 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
18237 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
18238 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
18239 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
18240 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
18241 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
18242 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
18243 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
18244 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
18245
58985aa9
UD
18246 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
18247 rename.
18248 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18249 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18250 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18251 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18252 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18253 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18254 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18255 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18256
a201fbcf
AS
182572011-10-24 Andreas Schwab <schwab@redhat.com>
18258
18259 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
18260
fc2ee42a
LD
182612011-10-23 Ulrich Drepper <drepper@gmail.com>
18262
bb3129bd
UD
18263 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
18264
0275fff8
UD
18265 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
18266 prediction.
18267 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
18268
2fa2ae85
UD
18269 * string/strnlen.c: Don't define STRNLEN, reverse logic.
18270 Remove unused variable magic_bits.
18271 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
18272
fc2ee42a
LD
18273 * string/strnlen.c: Define and use STRNLEN macro.
18274 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
18275 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
18276 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
18277 * wcsmbs/wcslen.c: Define and use WCSLEN.
18278 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
18279 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
18280 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
18281 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
18282 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
18283 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
18284 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18285
ce7dd29f
LD
182862011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18287
18288 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18289 strnlen-sse2-no-bsf.
18290 Rename strlen-no-bsf to strlen-sse2-no-bsf.
18291 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
18292 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
18293 Add strnlen support.
18294 (USE_AS_STRNLEN): New macro.
18295 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
18296 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
18297 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
18298 * sysdeps/x86_64/wcslen.S: New file.
18299
979c70a3
MZ
183002011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
18301
18302 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18303 XMM-moves are used for copying on small sizes.
18304
2d09f82f
LD
183052011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18306
18307 * wcsmbs/Makefile (strop-tests): Add wcschr.
18308 * wcsmbs/test-wcschr.c: New file.
18309 * string/test-strchr.c: Update.
18310 Add wcschr support.
18311 (WIDE): New macro.
18312
619fccca
LD
183132011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18314
2d09f82f 18315 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
18316 * wcsmbs/test-wcslen.c: New file.
18317 * string/test-strlen.c: Update.
18318 Add wcslen support.
18319 (WIDE): New macro.
18320
09f699ea
UD
183212011-10-23 Ulrich Drepper <drepper@gmail.com>
18322
18323 * po/it.po: Update from translation team.
18324
95584d3b
LD
183252011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18326
18327 * sysdeps/x86_64/wcscmp.S: Update.
18328 Fix wrong comparison semantics.
18329 wcscmp shall use signed comparison not unsigned.
18330 Don't use substraction to avoid overflow bug.
18331 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18332 * wcsmbc/wcscmp.c: Likewise.
18333 * string/test-strcmp.c: Likewise.
18334 Add new tests to check cases with negative values.
18335
c8b3296b
UD
183362011-10-23 Ulrich Drepper <drepper@gmail.com>
18337
18338 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
18339 * sysdeps/x86_64/dla.h: ...here. New file.
18340 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
18341 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18342 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18343 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18344 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18345 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18346 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18347 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18348 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18349
246ad57a
AS
183502011-10-23 Andreas Schwab <schwab@linux-m68k.org>
18351
18352 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
18353 __ynl_finite aliases.
18354
a1a87169
UD
183552011-10-22 Ulrich Drepper <drepper@gmail.com>
18356
0d355eb7
UD
18357 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18358
a1a87169
UD
18359 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
18360 define DLA_FMA.
18361 [DLA_FMA] (EMULV): Use DLA_FMA.
18362 [DLA_FMA] (MUL12): Use EMULV.
18363 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
18364 that are not needed.
18365 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18366 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18367 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18368 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18369 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18370 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18371 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18372
ee2aafe0
AS
183732011-10-22 Andreas Schwab <schwab@linux-m68k.org>
18374
18375 * math/s_nan.c: Undef __nan.
18376 * math/s_nanf.c: Undef __nanf.
18377 * math/s_nanl.c: Undef __nanl.
18378 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
18379 "math_private.h".
18380
bc62c2fb
UD
183812011-10-22 Ulrich Drepper <drepper@gmail.com>
18382
77425c63
UD
18383 * math/s_catan.c: Add branch predictions.
18384 * math/s_catanf.c: Likewise.
18385 * math/s_catanh.c: Likewise.
18386 * math/s_catanhf.c: Likewise.
18387 * math/s_catanhl.c: Likewise.
18388 * math/s_catanl.c: Likewise.
18389 * math/s_cexp.c: Likewise.
18390 * math/s_cexpf.c: Likewise.
18391 * math/s_cexpl.c: Likewise.
18392 * math/s_clog.c: Likewise.
18393 * math/s_clog10.c: Likewise.
18394 * math/s_clog10f.c: Likewise.
18395 * math/s_clog10l.c: Likewise.
18396 * math/s_clogf.c: Likewise.
18397 * math/s_clogl.c: Likewise.
18398 * math/s_csqrt.c: Likewise.
18399 * math/s_csqrtf.c: Likewise.
18400 * math/s_csqrtl.c: Likewise.
18401 * math/s_ctanf.c: Likewise.
18402 * math/s_ctanh.c: Likewise.
18403 * math/s_ctanhf.c: Likewise.
18404 * math/s_ctanhl.c: Likewise.
18405 * math/s_ctanl.c: Likewise.
18406
bc62c2fb
UD
18407 * math/math_private.h: Define __nan, __nanf, __nanl.
18408 * math/s_cacosh.c: Include <math_private.h>.
18409 * math/s_cacoshl.c: Likewise.
18410 * math/s_casinh.c: Likewise.
18411 * math/s_casinhf.c: Likewise.
18412 * math/s_casinhl.c: Likewise.
18413 * math/s_ccos.c: Rely entire on ccosh.
18414 * math/s_ccosf.c: Rely entire on ccoshf.
18415 * math/s_ccosl.c: Rely entirely on ccoshl.
18416 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
18417 Remove tests for FE_INVALID.
18418 * math/s_ccoshf.c: Likewise.
18419 * math/s_ccoshl.c: Likewise.
18420 * math/s_csin.c: Likewise.
18421 * math/s_csinf.c: Likewise.
18422 * math/s_csinh.c Likewise.
18423 * math/s_csinhf.c: Likewise.
18424 * math/s_csinhl.c: Likewise.
18425 * math/s_csinl.c: Likewise.
18426 * math/s_ctan.c: Likewise.
18427 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
18428 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
18429 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
18430
8ec250a4
UD
184312011-10-21 Ulrich Drepper <drepper@gmail.com>
18432
c196fed8
UD
18433 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
18434 compilation problems.
18435
8ec250a4
UD
18436 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
18437 __builtin_expect.
18438
8d4f46c6
UD
184392011-10-20 Ulrich Drepper <drepper@gmail.com>
18440
ed72b654
UD
18441 * sysdeps/i386/configure.in: Test for -mfma4 option.
18442 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
18443 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
18444 COMMON_CPUID_INDEX_80000001.
18445 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
18446 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
18447 use it if FMA3 is not supported.
18448 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18449
8d4f46c6
UD
18450 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
18451 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18452
d45c60c2
AS
184532011-10-20 Andreas Schwab <schwab@redhat.com>
18454
18455 [BZ #12892]
18456 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
18457 it would create a cycle with a link time dependency.
18458
d9a4d2ab
UD
184592011-10-19 Ulrich Drepper <drepper@gmail.com>
18460
855d1560
UD
18461 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
18462 instruction.
18463 * string/Makefile (strop-tests): Add rawmemchr.
18464 * string/test-rawmemchr.c: New file.
18465
d9a4d2ab
UD
18466 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
18467 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
18468 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
18469 when compiling str{,n}casecmp and when AVX is available. Hook up
18470 new optimized code in initializers.
18471
8f3b1ffe
AS
184722011-10-19 Andreas Schwab <schwab@redhat.com>
18473
18474 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
18475 __feraiseexcept instead of feraiseexcept.
18476
d38f1dba
UD
184772011-10-18 Ulrich Drepper <drepper@gmail.com>
18478
d9a8d0ab
UD
18479 * math/math_private.h: Define defaults for libc_fetestexcept and
18480 libc_feupdateenv.
18481 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
18482 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18483 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18484 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18485 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18486 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18487 libc_fetestexcept and libc_feupdateenv.
18488
4855e3dd
UD
18489 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
18490 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
18491 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
18492 * sysdeps/x86_64/fpu/math_private.h: Define special version of
18493 libc_feholdexcept_setround.
18494
581d30e3
UD
18495 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
18496 Add s_nearbyint-c and s_nearbyintf-c.
18497 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
18498 nearbyintf inlines.
18499 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
18500 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
18501 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
18502 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
18503
d38f1dba
UD
18504 * math/math_private.h: Define defaults for libc_fegetround,
18505 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
18506 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
18507 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
18508 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
18509 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
18510 standard functions.
18511 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18512 Remove comments and hacks for old compiler versions.
18513 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18514 libc_fegetround, libc_fesetround, libc_feholdexcept, and
18515 libc_feholdexceptl.
18516
caa6c9d8
AS
185172011-10-18 Andreas Schwab <schwab@redhat.com>
18518
18519 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
18520 (__feraiseexcept_renamed): Add __NTH.
18521 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
18522 namespace violations.
18523
97c066e6
UD
185242011-10-17 Ulrich Drepper <drepper@gmail.com>
18525
99ce7b04
UD
18526 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
18527
1004d182
UD
18528 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
18529
228a984d
UD
18530 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
18531 recently added interfaces.
18532 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
18533
c8553a6a
UD
18534 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
18535 about macro parameter expansion.
18536
ed22dcf6
UD
18537 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
18538 __NO_MATH_INLINES is defined. Cleanups.
18539
18540 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
18541 and __floorf is target has SSE4.1.
18542 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
18543 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
18544 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
18545 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
18546
b171c137
UD
18547 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
18548 name.
18549 (floorf): Likewise.
18550
97c066e6
UD
18551 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
18552
629f62ef
AS
185532011-10-17 Andreas Schwab <schwab@redhat.com>
18554
49a43d80
AS
18555 * misc/sys/cdefs.h: Fix last change.
18556
629f62ef
AS
18557 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
18558 database lookup.
18559
e453f6cd
UD
185602011-10-16 Ulrich Drepper <drepper@gmail.com>
18561
aa78043a
UD
18562 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
18563
ad0f5cad
UD
18564 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
18565 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18566 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18567 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18568 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18569 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18570 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18571 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18572 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18573 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
18574 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
18575 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
18576 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
18577 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
18578 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
18579 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
18580 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
18581 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
18582 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
18583 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
18584 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
18585 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
18586
18587 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
18588 ceil, ceilf, floor, floorf.
18589
18590 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
18591 Perform IRELATIVE relocations last.
18592
e453f6cd
UD
18593 * elf/do-rel.h: Add another parameter nrelative, replacing the
18594 local variable with the same name. Change name of the function
18595 to end in Rel or Rela (uppercase).
18596 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
18597 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
18598 elf_dynamic_do_##reloc function.
18599
fd5bdc09
UD
186002011-10-15 Ulrich Drepper <drepper@gmail.com>
18601
79b195b5
UD
18602 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
18603 is sufficient, at least on modern CPUs.
18604
d4a28569
UD
18605 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
18606
b61099b5
UD
18607 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
18608 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
18609
bcf01e6d
UD
18610 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
18611 __expl_finite.
18612 * math/bits/math-finite.h: Add entries for exp.
18613 * math/e_expl.c: Add __*_finite alias.
18614 * sysdeps/i386/fpu/e_exp.S: Likewise.
18615 * sysdeps/i386/fpu/e_expf.S: Likewise.
18616 * sysdeps/i386/fpu/e_expl.c: Likewise.
18617 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18618 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18619 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18620 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18621 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
18622 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18623 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18624
ba1a0d59
UD
18625 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
18626 is sufficient, at least on modern CPUs.
18627
fd5bdc09
UD
18628 * ctype/ctype-info.c (__ctype_init): Define.
18629 * include/ctype.h (__ctype_init): Declare.
18630 (__ctype_b_loc): The variable is always initialized.
18631 (__ctype_toupper_loc): Likewise.
18632 (__ctype_tolower_loc): Likewise.
18633 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
18634 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
18635
7872cfb0
AS
186362011-10-15 Andreas Schwab <schwab@linux-m68k.org>
18637
b468825a
AS
18638 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
18639
7872cfb0
AS
18640 * configure.in: Also look in $cxxmachine/include for C++ system
18641 headers.
18642
be13f7bf
LD
186432011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18644
18645 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
18646 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
18647 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
18648 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
18649 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
18650 (USE_AS_WMEMCMP): New macro.
18651 Fixing indents.
18652 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
18653 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18654 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18655 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18656 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18657 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18658 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18659 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18660 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18661 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18662 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18663 (USE_AS_WMEMCMP): New macro.
18664 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18665 * sysdeps/string/test-memcmp.c: Update.
18666 Fix simple_wmemcmp.
18667 Add new tests.
18668 * wcsmbs/wmemcmp.c: Update.
18669 (WMEMCMP): New macro.
18670 Fix overflow bug.
18671
556a2007
AJ
186722011-10-12 Andreas Jaeger <aj@suse.de>
18673
18674 [BZ #13268]
18675 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
18676
538faaa7
UD
186772011-10-15 Ulrich Drepper <drepper@gmail.com>
18678
ab6737ff
UD
18679 * libio/iofwide.c (do_length): Avoid warning.
18680
538faaa7
UD
18681 * ctype/ctype.h (__isctype_f): Add missing __THROW.
18682
396a21b1
UD
186832011-10-14 Ulrich Drepper <drepper@gmail.com>
18684
cdf2901f
UD
18685 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
18686
38ad40ce
UD
18687 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
18688 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
18689 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
18690 * sysdeps/i386/i686/fpu/e_log.S: New file.
18691 * sysdeps/i386/i686/fpu/e_logf.S: New file.
18692 * sysdeps/i386/i686/fpu/e_logl.S: New file.
18693
396a21b1
UD
18694 * ctype/ctype.h: Add support for inlined isXXX functions when
18695 compiling C++ code.
18696
6b1f68c9
AS
186972011-10-14 Andreas Schwab <schwab@redhat.com>
18698
349290c0
AS
18699 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18700
6b1f68c9
AS
18701 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18702
f2282d42
RM
187032011-10-13 Roland McGrath <roland@hack.frob.com>
18704
18705 [BZ #13291]
18706 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18707
5298ffa8
AS
187082011-10-13 Andreas Schwab <schwab@redhat.com>
18709
714fad23
AS
18710 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18711 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18712 feraiseexcept.
18713
81dcc7fb
AS
18714 * sysdeps/x86_64/memrchr.S: Check for zero size.
18715
5298ffa8
AS
18716 * string/stratcliff.c: Add memrchr tests.
18717
951fbcec
LD
187182011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18719
18720 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18721 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18722 rawmemchr-sse2 rawmemchr-sse2-bsf.
18723 * sysdeps/i386/i686/multiarch/memchr.S: New file.
18724 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18725 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18726 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18727 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18728 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18729 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18730 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18731 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18732 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18733 * string/memrchr.c (MEMRCHR): New macro.
18734
0ac5ae23
UD
187352011-10-12 Ulrich Drepper <drepper@gmail.com>
18736
18737 Add integration with gcc's -ffinite-math-only and optimize wrapper
18738 functions in libm.
18739 * Versions.def: Define GLIBC_2.15 version for libm.
18740 * math/Makefile (headers): Add bits/math-finite.h.
18741 * math/bits/math-finite.h: New file.
18742 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18743 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18744 * math/e_acoshl.c: Add __*_finite alias.
18745 * math/e_acosl.c: Likewise.
18746 * math/e_asinl.c: Likewise.
18747 * math/e_atan2l.c: Likewise.
18748 * math/e_atanhl.c: Likewise.
18749 * math/e_coshl.c: Likewise.
18750 * math/e_exp10.c: Likewise.
18751 * math/e_exp10f.c: Likewise.
18752 * math/e_exp10l.c: Likewise.
18753 * math/e_exp2l.c: Likewise.
18754 * math/e_fmodl.c: Likewise.
18755 * math/e_gammal_r.c: Likewise.
18756 * math/e_hypotl.c: Likewise.
18757 * math/e_j0l.c: Likewise.
18758 * math/e_j1l.c: Likewise.
18759 * math/e_jnl.c: Likewise.
18760 * math/e_lgammal_r.c: Likewise.
18761 * math/e_log10l.c: Likewise.
18762 * math/e_log2l.c: Likewise.
18763 * math/e_logl.c: Likewise.
18764 * math/e_powl.c: Likewise.
18765 * math/e_sinhl.c: Likewise.
18766 * math/e_sqrtl.c: Likewise.
18767 * math/e_scalb.c: Completely rewritten and optimized.
18768 * math/e_scalbf.c: Likewise.
18769 * math/e_scalbl.c: Likewise.
18770 * math/w_acos.c: Likewise.
18771 * math/w_acosf.c: Likewise.
18772 * math/w_acosl.c: Likewise.
18773 * math/w_acosh.c: Likewise.
18774 * math/w_acoshf.c: Likewise.
18775 * math/w_acoshl.c: Likewise.
18776 * math/w_asin.c: Likewise.
18777 * math/w_asinf.c: Likewise.
18778 * math/w_asinl.c: Likewise.
18779 * math/w_atan2.c: Likewise.
18780 * math/w_atan2f.c: Likewise.
18781 * math/w_atan2l.c: Likewise.
18782 * math/w_atanh.c: Likewise.
18783 * math/w_atanhf.c: Likewise.
18784 * math/w_atanhl.c: Likewise.
18785 * math/w_exp10.c: Likewise.
18786 * math/w_exp10f.c: Likewise.
18787 * math/w_exp10l.c: Likewise.
18788 * math/w_fmod.c: Likewise.
18789 * math/w_fmodf.c: Likewise.
18790 * math/w_fmodl.c: Likewise.
18791 * math/w_j0.c: Likewise.
18792 * math/w_j0f.c: Likewise.
18793 * math/w_j0l.c: Likewise.
18794 * math/w_j1.c: Likewise.
18795 * math/w_j1f.c: Likewise.
18796 * math/w_j1l.c: Likewise.
18797 * math/w_jn.c: Likewise.
18798 * math/w_jnf.c: Likewise.
18799 * math/w_log.c: Likewise.
18800 * math/w_logf.c: Likewise.
18801 * math/w_logl.c: Likewise.
18802 * math/w_log10.c: Likewise.
18803 * math/w_log10f.c: Likewise.
18804 * math/w_log10l.c: Likewise.
18805 * math/w_log2.c: Likewise.
18806 * math/w_log2f.c: Likewise.
18807 * math/w_log2l.c: Likewise.
18808 * math/w_pow.c: Likewise.
18809 * math/w_powf.c: Likewise.
18810 * math/w_powl.c: Likewise.
18811 * math/w_remainder.c: Likewise.
18812 * math/w_remainderf.c: Likewise.
18813 * math/w_remainderl.c: Likewise.
18814 * math/w_scalb.c: Likewise.
18815 * math/w_scalbf.c: Likewise.
18816 * math/w_scalbl.c: Likewise.
18817 * math/w_sqrt.c: Likewise.
18818 * math/w_sqrtf.c: Likewise.
18819 * math/w_sqrtl.c: Likewise.
18820 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18821 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
18822 used.
18823 * math/math_private.h: Declare __kernel_standard_f.
18824 * math/w_cosh.c: Remove cruft and optimize a bit.
18825 * math/w_coshf.c: Likewise.
18826 * math/w_coshl.c: Likewise.
18827 * math/w_exp2.c: Likewise.
18828 * math/w_exp2f.c: Likewise.
18829 * math/w_exp2l.c: Likewise.
18830 * math/w_hypot.c: Likewise.
18831 * math/w_hypotf.c: Likewise.
18832 * math/w_hypotl.c: Likewise.
18833 * math/w_lgamma.c: Likewise.
18834 * math/w_lgamma_r.c: Likewise.
18835 * math/w_lgammaf.c: Likewise.
18836 * math/w_lgammaf_r.c: Likewise.
18837 * math/w_lgammal.c: Likewise.
18838 * math/w_lgammal_r.c: Likewise.
18839 * math/w_sinh.c: Likewise.
18840 * math/w_sinhf.c: Likewise.
18841 * math/w_sinhl.c: Likewise.
18842 * math/w_tgamma.c: Likewise.
18843 * math/w_tgammaf.c: Likewise.
18844 * math/w_tgammal.c: Likewise.
18845 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18846 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18847 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18848 Minor optimizations. Pretty printing. Remove cruft.
18849 * sysdeps/i386/fpu/e_acosf.S: Likewise.
18850 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18851 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18852 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18853 * sysdeps/i386/fpu/e_acosl.c: Likewise.
18854 * sysdeps/i386/fpu/e_asin.S: Likewise.
18855 * sysdeps/i386/fpu/e_asinf.S: Likewise.
18856 * sysdeps/i386/fpu/e_atan2.S: Likewise.
18857 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18858 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18859 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18860 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18861 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18862 * sysdeps/i386/fpu/e_exp10.S: Likewise.
18863 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18864 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18865 * sysdeps/i386/fpu/e_exp2.S: Likewise.
18866 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18867 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18868 * sysdeps/i386/fpu/e_fmod.S: Likewise.
18869 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18870 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18871 * sysdeps/i386/fpu/e_hypot.S: Likewise.
18872 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18873 * sysdeps/i386/fpu/e_log.S: Likewise.
18874 * sysdeps/i386/fpu/e_log10.S: Likewise.
18875 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18876 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18877 * sysdeps/i386/fpu/e_log2.S: Likewise.
18878 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18879 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18880 * sysdeps/i386/fpu/e_logf.S: Likewise.
18881 * sysdeps/i386/fpu/e_logl.S: Likewise.
18882 * sysdeps/i386/fpu/e_pow.S: Likewise.
18883 * sysdeps/i386/fpu/e_powf.S: Likewise.
18884 * sysdeps/i386/fpu/e_powl.S: Likewise.
18885 * sysdeps/i386/fpu/e_remainder.S: Likewise.
18886 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18887 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18888 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18889 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18890 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18891 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18892 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18893 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18894 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18895 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18896 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18897 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18898 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18899 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18900 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18901 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18902 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18903 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18904 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18905 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18906 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18907 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18908 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18909 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18910 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18911 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18912 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18913 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18914 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18915 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18916 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18917 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18918 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18919 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18920 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18921 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18922 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18923 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18924 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18925 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18926 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18927 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18928 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18929 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18930 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18931 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18932 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18933 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18934 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18935 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18936 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18937 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18938 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18939 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18940 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18941 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18942 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18943 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18944 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18945 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18946 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18947 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18948 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18949 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18950 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18951 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18952 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18953 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18954 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18955 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18956 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18957 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18958 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18959 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18960 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18961 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18962 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18963 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18964 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18965 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18966 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18967 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18968 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18969 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18970 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18971 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18972 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18973 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18974 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18975 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18976 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18977 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18978 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18979 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18980 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18981 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18982 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18983 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18984 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18985 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18986 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18987 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18988 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18989 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18990 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18991 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18992 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18993 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18994 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18995 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18996 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18997 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18998 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18999 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19000 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19001 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19002 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
19003 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19004 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
19005 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
19006 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
19007 (__isnanf): Likewise.
19008 (__isinf_ns): Likewise.
19009 (__isinf_nsf): Likewise.
19010 (__finite): Likewise.
19011 (__finitef): Likewise.
19012 (__ieee754_sqrt): Define as macro.
19013 (__ieee754_sqrtf): Define as macro.
19014 (__ieee754_sqrtl): Define as macro.
19015 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
19016 inlined copy.
19017 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
19018 __FINITE_MATH_ONLY__ consistent.
19019 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
19020
12cc2fcd
AS
190212011-10-10 Andreas Schwab <schwab@linux-m68k.org>
19022
a843a204
AS
19023 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
19024 of rawmemchr.
19025
12cc2fcd
AS
19026 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
19027
c853acd5
UD
190282011-10-09 Ulrich Drepper <drepper@gmail.com>
19029
19030 * po/ja.po: Update from translation team.
19031
c658d255
RM
190322011-10-08 Roland McGrath <roland@hack.frob.com>
19033
110946e4
RM
19034 * locale/programs/locarchive.c (prepare_address_space): New function.
19035 (create_archive, enlarge_archive, open_archive): Use it.
19036
50604220
RM
19037 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
19038 inside [SHARED], where it is used.
19039
c658d255
RM
19040 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
19041
19042 * nss/getent.c (netgroup_keys): Remove unused variable.
19043 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19044
6a621eb7
UD
190452011-10-08 Ulrich Drepper <drepper@gmail.com>
19046
7edb55ce
UD
19047 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
19048 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
19049 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
19050 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
19051 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
19052 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
19053 * math/Makefile (libm-calls): Add s_isinf_ns.
19054 * math/divtc3.c: Use __isinf_nsl instead of isinf.
19055 * math/multc3.c: Likewise.
19056 * math/s_casin.c: Likewise.
19057 * math/s_casinf.c: Likewise.
19058 * math/s_casinl.c: Likewise.
19059 * math/s_ccos.c: Likewise.
19060 * math/s_ccosf.c: Likewise.
19061 * math/s_ccosl.c: Likewise.
19062 * math/s_ctan.c: Likewise.
19063 * math/s_ctanf.c: Likewise.
19064 * math/s_ctanh.c: Likewise.
19065 * math/s_ctanhf.c: Likewise.
19066 * math/s_ctanhl.c: Likewise.
19067 * math/s_ctanl.c: Likewise.
19068 * math/w_fmod.c: Likewise.
19069 * math/w_fmodf.c: Likewise.
19070 * math/w_fmodl.c: Likewise.
19071 * math/w_remainder.c: Likewise.
19072 * math/w_remainderf.c: Likewise.
19073 * math/w_remainderl.c: Likewise.
19074 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
19075 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
19076 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
19077 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
19078 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
19079 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
19080 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
19081 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
19082
187da0ae
UD
19083 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
19084 of the number.
19085 * stdio-common/printf_fphex.c: Likewise.
19086 * stdio-common/printf_size.c: Likewise.
19087
9277c064
UD
19088 * math/e_exp10.c: Include math_private.h using <...> not "...".
19089 * math/e_exp10f.c: Likewise.
19090 * math/e_exp10l.c: Likewise.
19091 * math/e_exp2l.c: Likewise.
19092 * math/e_j0l.c: Likewise.
19093 * math/e_j1l.c: Likewise.
19094 * math/e_jnl.c: Likewise.
19095 * math/e_lgammal_r.c: Likewise.
19096 * math/e_rem_pio2l.c: Likewise.
19097 * math/e_scalb.c: Likewise.
19098 * math/e_scalbf.c: Likewise.
19099 * math/e_scalbl.c: Likewise.
19100 * math/k_cosl.c: Likewise.
19101 * math/k_sinl.c: Likewise.
19102 * math/k_tanl.c: Likewise.
19103 * math/s_cacoshf.c: Likewise.
19104 * math/s_catan.c: Likewise.
19105 * math/s_catanf.c: Likewise.
19106 * math/s_catanh.c: Likewise.
19107 * math/s_catanhf.c: Likewise.
19108 * math/s_catanhl.c: Likewise.
19109 * math/s_catanl.c: Likewise.
19110 * math/s_ccosh.c: Likewise.
19111 * math/s_ccoshf.c: Likewise.
19112 * math/s_ccoshl.c: Likewise.
19113 * math/s_cexp.c: Likewise.
19114 * math/s_cexpf.c: Likewise.
19115 * math/s_cexpl.c: Likewise.
19116 * math/s_clog.c: Likewise.
19117 * math/s_clog10.c: Likewise.
19118 * math/s_clog10f.c: Likewise.
19119 * math/s_clog10l.c: Likewise.
19120 * math/s_clogf.c: Likewise.
19121 * math/s_clogl.c: Likewise.
19122 * math/s_csin.c: Likewise.
19123 * math/s_csinf.c: Likewise.
19124 * math/s_csinh.c: Likewise.
19125 * math/s_csinhf.c: Likewise.
19126 * math/s_csinhl.c: Likewise.
19127 * math/s_csinl.c: Likewise.
19128 * math/s_csqrt.c: Likewise.
19129 * math/s_csqrtf.c: Likewise.
19130 * math/s_csqrtl.c: Likewise.
19131 * math/s_ctan.c: Likewise.
19132 * math/s_ctanf.c: Likewise.
19133 * math/s_ctanh.c: Likewise.
19134 * math/s_ctanhf.c: Likewise.
19135 * math/s_ctanhl.c: Likewise.
19136 * math/s_ctanl.c: Likewise.
19137 * math/s_ldexp.c: Likewise.
19138 * math/s_ldexpf.c: Likewise.
19139 * math/s_ldexpl.c: Likewise.
19140 * math/s_significand.c: Likewise.
19141 * math/s_significandf.c: Likewise.
19142 * math/s_significandl.c: Likewise.
19143 * math/w_acos.c: Likewise.
19144 * math/w_acosf.c: Likewise.
19145 * math/w_acosh.c: Likewise.
19146 * math/w_acoshf.c: Likewise.
19147 * math/w_acoshl.c: Likewise.
19148 * math/w_acosl.c: Likewise.
19149 * math/w_asin.c: Likewise.
19150 * math/w_asinf.c: Likewise.
19151 * math/w_asinl.c: Likewise.
19152 * math/w_atan2.c: Likewise.
19153 * math/w_atan2f.c: Likewise.
19154 * math/w_atan2l.c: Likewise.
19155 * math/w_atanh.c: Likewise.
19156 * math/w_atanhf.c: Likewise.
19157 * math/w_atanhl.c: Likewise.
19158 * math/w_cosh.c: Likewise.
19159 * math/w_coshf.c: Likewise.
19160 * math/w_coshl.c: Likewise.
19161 * math/w_dremf.c: Likewise.
19162 * math/w_exp10.c: Likewise.
19163 * math/w_exp10f.c: Likewise.
19164 * math/w_exp10l.c: Likewise.
19165 * math/w_exp2.c: Likewise.
19166 * math/w_exp2f.c: Likewise.
19167 * math/w_fmod.c: Likewise.
19168 * math/w_fmodf.c: Likewise.
19169 * math/w_fmodl.c: Likewise.
19170 * math/w_hypot.c: Likewise.
19171 * math/w_hypotf.c: Likewise.
19172 * math/w_hypotl.c: Likewise.
19173 * math/w_j0.c: Likewise.
19174 * math/w_j0f.c: Likewise.
19175 * math/w_j0l.c: Likewise.
19176 * math/w_j1.c: Likewise.
19177 * math/w_j1f.c: Likewise.
19178 * math/w_j1l.c: Likewise.
19179 * math/w_jn.c: Likewise.
19180 * math/w_jnf.c: Likewise.
19181 * math/w_jnl.c: Likewise.
19182 * math/w_lgamma.c: Likewise.
19183 * math/w_lgamma_r.c: Likewise.
19184 * math/w_lgammaf.c: Likewise.
19185 * math/w_lgammaf_r.c: Likewise.
19186 * math/w_lgammal.c: Likewise.
19187 * math/w_lgammal_r.c: Likewise.
19188 * math/w_log.c: Likewise.
19189 * math/w_log10.c: Likewise.
19190 * math/w_log10f.c: Likewise.
19191 * math/w_log10l.c: Likewise.
19192 * math/w_log2.c: Likewise.
19193 * math/w_log2f.c: Likewise.
19194 * math/w_log2l.c: Likewise.
19195 * math/w_logf.c: Likewise.
19196 * math/w_logl.c: Likewise.
19197 * math/w_pow.c: Likewise.
19198 * math/w_powf.c: Likewise.
19199 * math/w_powl.c: Likewise.
19200 * math/w_remainder.c: Likewise.
19201 * math/w_remainderf.c: Likewise.
19202 * math/w_remainderl.c: Likewise.
19203 * math/w_scalb.c: Likewise.
19204 * math/w_scalbf.c: Likewise.
19205 * math/w_scalbl.c: Likewise.
19206 * math/w_sinh.c: Likewise.
19207 * math/w_sinhf.c: Likewise.
19208 * math/w_sinhl.c: Likewise.
19209 * math/w_sqrt.c: Likewise.
19210 * math/w_sqrtf.c: Likewise.
19211 * math/w_sqrtl.c: Likewise.
19212 * math/w_tgamma.c: Likewise.
19213 * math/w_tgammaf.c: Likewise.
19214 * math/w_tgammal.c: Likewise.
19215
6a621eb7
UD
19216 * po/ja.po: Update from translation team.
19217
bf582445
AJ
192182011-09-29 Andreas Jaeger <aj@suse.de>
19219
f9efbf3a
AJ
19220 [BZ #13179]
19221 * sunrpc/netname.c (netname2host): Fix logic.
19222
bf582445
AJ
19223 [BZ #6779]
19224 [BZ #6783]
19225 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
19226 correctly.
19227 * math/w_remainder.c (__remainder): Likewise.
19228 * math/w_remainderf.c (__remainderf): Likewise.
19229 * math/libm-test.inc (remainder_test): Add test cases.
19230
48693bea
AK
192312011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19232
19233 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
19234 sdiv_qrnnd.
19235
42622229
LD
192362011-10-07 Ulrich Drepper <drepper@gmail.com>
19237
19238 * string/test-memcmp.c: Avoid unncessary #defines.
19239 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19240
093ecf92
LD
192412011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19242
19243 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
19244 Use new sse2 version for core i3 - i7 as it's faster
19245 than sse42 version.
19246 (bit_Prefer_PMINUB_for_stringop): New.
19247 * sysdeps/x86_64/rawmemchr.S: Update.
19248 Replace with faster SSE2 version.
19249 * sysdeps/x86_64/memrchr.S: New file.
19250 * sysdeps/x86_64/memchr.S: Update.
19251 Replace with faster SSE2 version.
19252
fde56e5c
MP
192532011-09-12 Marek Polacek <mpolacek@redhat.com>
19254
19255 * elf/dl-load.c (lose): Add cast to avoid warning.
19256
21fd49a9
UD
192572011-10-07 Ulrich Drepper <drepper@gmail.com>
19258
5a06e643
UD
19259 * po/ca.po: Update from translation team.
19260
684ae515
UD
19261 * inet/getnetgrent_r.c: Hook up nscd.
19262 * nscd/Makefile (routines): Add nscd_netgroup.
19263 (nscd-modules): Add netgroupcache.
19264 (CFLAGS-netgroupcache.c): Define.
19265 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
19266 (cache_search): Add const to second parameter.
19267 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
19268 INNETGR.
19269 (dbs): Add netgrdb entry.
19270 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
19271 (verify_persistent_db): Handle netgrdb.
19272 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
19273 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
19274 GETFDNETGR.
19275 (netgroup_response_header): Define.
19276 (innetgroup_response_header): Define.
19277 (datahead): Add netgroup_response_header and innetgroup_response_header
19278 elements.
19279 * nscd/nscd.conf: Add entries for netgroup cache.
19280 * nscd/nscd.h (dbtype): Add netgrdb.
19281 (_PATH_NSCD_NETGROUP_DB): Define.
19282 (netgroup_iov_disabled): Declare.
19283 (xmalloc, xcalloc, xrealloc): Move declarations here.
19284 (cache_search): Adjust prototype.
19285 Add netgroup-related prototypes.
19286 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
19287 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
19288 (__nscd_innetgr): Declare.
19289 * nscd/selinux.c (perms): Use access_vector_t as element type and
19290 add netgroup-related initializers.
19291 * nscd/netgroupcache.c: New file.
19292 * nscd/nscd_netgroup.c: New file.
19293 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
19294 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
19295 For four parameters use innetgr.
19296 * nss/nss_files/files-init.c: Add definition and callback for netgr.
19297 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
19298 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
19299 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
19300
21fd49a9
UD
19301 * nscd/connections.c (register_traced_file): Don't register file
19302 for disabled databases.
19303
054c0457
UD
193042011-10-06 Ulrich Drepper <drepper@gmail.com>
19305
32b63198
UD
19306 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
19307
054c0457
UD
19308 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
19309 from tree and freeing node.
19310
64031225
JO
193112011-09-25 Jiri Olsa <jolsa@redhat.com>
19312
19313 * nss/nsswitch.c (__nss_database_lookup): Handle
19314 nss_parse_service_list out of memory case.
19315
0490345c
JO
193162011-09-15 Jiri Olsa <jolsa@redhat.com>
19317
19318 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
19319 out of memory case.
19320
3a62d00d
AS
193212011-10-04 Andreas Schwab <schwab@redhat.com>
19322
19323 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
19324 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
19325 pass it down.
19326 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
19327 elf_machine_rela, elf_machine_lazy_rel.
19328 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
19329 (ELF_DYNAMIC_DO_REL): Likewise.
19330 (ELF_DYNAMIC_DO_RELA): Likewise.
19331 (ELF_DYNAMIC_RELOCATE): Likewise.
19332 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
19333 to ELF_DYNAMIC_DO_REL.
19334 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
19335 (dl_main): In trace mode always set __RTLD_NOIFUNC.
19336 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
19337 elf_machine_rela.
19338 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
19339 skip_ifunc, don't call ifunc function if non-zero.
19340 (elf_machine_rela): Likewise.
19341 (elf_machine_lazy_rel): Likewise.
19342 (elf_machine_lazy_rela): Likewise.
19343 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19344 (elf_machine_lazy_rel): Likewise.
19345 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19346 Likewise.
19347 (elf_machine_lazy_rel): Likewise.
19348 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19349 Likewise.
19350 (elf_machine_lazy_rel): Likewise.
19351 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
19352 (elf_machine_lazy_rel): Likewise.
19353 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
19354 (elf_machine_lazy_rel): Likewise.
19355 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19356 (elf_machine_lazy_rel): Likewise.
19357 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
19358 (elf_machine_lazy_rel): Likewise.
19359 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
19360 (elf_machine_lazy_rel): Likewise.
19361 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19362 (elf_machine_lazy_rel): Likewise.
19363
68577918
UD
193642011-09-28 Ulrich Drepper <drepper@gmail.com>
19365
19366 * nss/nss_files/files-init.c (_nss_files_init): Use static
19367 initialization for all the *_traced_file variables.
19368
68822d74
AS
193692011-09-28 Andreas Schwab <schwab@redhat.com>
19370
19371 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19372
2056100b
RM
193732011-09-27 Roland McGrath <roland@hack.frob.com>
19374
19375 [BZ #13226]
19376 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
19377
32c76b63
AS
193782011-09-27 Andreas Schwab <schwab@redhat.com>
19379
19380 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19381 Reread the line before reparsing it.
19382
bf972c9d
AS
193832011-09-26 Andreas Schwab <schwab@redhat.com>
19384
19385 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
19386
e057a1b5
JM
193872011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
19388 Maxim Kuvyrkov <maxim@codesourcery.com>
19389 Joseph Myers <joseph@codesourcery.com>
19390
19391 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
19392 if needed for __stack_chk_guard.
19393
bc7e1c36
RM
193942011-09-19 Roland McGrath <roland@hack.frob.com>
19395
ecb1482f
RM
19396 * sysdeps/posix/spawni.c (script_execute): Always define it.
19397 It will be optimized away if unused.
19398 (maybe_script_execute): New function.
19399 (__spawni): Call it.
19400
bc7e1c36
RM
19401 * Makerules: Don't include tls.make.
19402 (config-tls): Always set to thread.
19403 * tls.make.c: File removed.
19404
1c3b002b
MF
194052011-09-19 Mike Frysinger <vapier@gentoo.org>
19406
19407 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
19408 * config.make.in (CPPFLAGS-config): New substituted variable.
19409
2840865d
UD
194102011-09-15 Ulrich Drepper <drepper@gmail.com>
19411
88738eb6
UD
19412 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
19413
cbf645a6 19414 [BZ #13192]
2840865d
UD
19415 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
19416 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
19417
b402e91a
RM
194182011-09-15 Roland McGrath <roland@hack.frob.com>
19419
19420 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
19421 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
19422 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19423 (CALL_FAIL): Likewise.
19424 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
19425 (CALL_FAIL): Macro removed.
19426 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
19427
4c1a1f71
UD
194282011-09-15 Ulrich Drepper <drepper@gmail.com>
19429
19430 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
19431 for __FINITE_MATH_ONLY__ == 1.
19432
edc121be
AS
194332011-09-15 Andreas Schwab <schwab@redhat.com>
19434
19435 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
19436 __ieee754_sqrt instead of sqrt.
19437 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
19438 __ieee754_sqrtf instead of sqrtf.
19439 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
19440 __floorf instead of floorf.
19441 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
19442 __floorf, __truncf instead of floorf, truncf.
19443
cd205654
UD
194442011-09-14 Ulrich Drepper <drepper@gmail.com>
19445
ee4d0315
UD
19446 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
19447
cd205654
UD
19448 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
19449 __extern_always_inline.
19450 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
19451 32-bit.
19452
48b67d71
AS
194532011-09-14 Andreas Schwab <schwab@redhat.com>
19454
19455 * elf/rtld.c (dl_main): Also relocate in dependency order when
19456 doing symbol dependency testing.
19457
1ae12c75
AS
194582011-09-13 Andreas Schwab <schwab@linux-m68k.org>
19459
19460 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19461 Always define `refsym'.
19462
995a80df
AS
194632011-09-13 Andreas Schwab <schwab@redhat.com>
19464
e529793b
AS
19465 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
19466 (__FD_ELT): Renamed from __FDELT.
19467 * misc/bits/select2.h (__FD_ELT): Likewise.
19468 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19469 __FD_MASK instead of __FDELT, __FDMASK.
19470 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19471 Likewise.
19472 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19473 Likewise.
19474
52d4fef8
AS
19475 * elf/Makefile (gen-ldd): Fix pattern.
19476
995a80df
AS
19477 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
19478 (init_tls): Likewise.
19479
8682f8b0
UD
194802011-09-12 Ulrich Drepper <drepper@gmail.com>
19481
19482 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
19483
de82006d
AS
194842011-09-12 Andreas Schwab <schwab@redhat.com>
19485
a7c8e6a1
AS
19486 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
19487 `struct cmsghdr *' instead of `void *'.
19488 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
19489 Likewise.
19490
0f31fe77
AS
194912011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19492
19493 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
19494 if non-absolute.
19495 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
19496 ldd_rewrite_script.
0f31fe77 19497
32b4c839
UD
194982011-09-11 Ulrich Drepper <drepper@gmail.com>
19499
83cd1420
UD
19500 * configure.in: Remove --with-tls option.
19501 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
19502 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
19503 out in case it is missing.
19504 * sysdeps/ia64/elf/configure.in: Likewise.
19505 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
19506 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
19507 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
19508 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
19509 * sysdeps/sh/elf/configure.in: Likewise.
19510 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
19511 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19512 * sysdeps/x86_64/elf/configure.in: Likewise.
19513 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
19514 * sysdeps/mach/hurd/tls.h: Likewise.
19515
633f745d
UD
19516 [BZ #13067]
19517 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
19518
f318beb8
UD
19519 [BZ #13090]
19520 * configure.in: Fix use of AC_INIT.
19521
32b4c839
UD
19522 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
19523
3ce1f295
UD
195242011-09-10 Ulrich Drepper <drepper@gmail.com>
19525
bb016596
UD
19526 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
19527 __set_errno.
8e58439c
UD
19528 * malloc/hooks.c: Likewise.
19529
aebae053 19530 [BZ #11929]
02d46fc4
UD
19531 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
19532 variables statically.
19533 (narenas): Initialize.
19534 (list_lock): Initialize.
bb016596
UD
19535 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
19536 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
19537 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
19538 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
19539 Add initializers to main_arena and mp_.
19540 (malloc_state): Remove pagesize member. Change all users to use
19541 GLRO(dl_pagesize).
19542
19543 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
19544 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
19545 is always initialized.
19546
22a89187
UD
19547 * malloc/malloc.c: Removed unused configurations and dead code.
19548 * malloc/arena.c: Likewise.
19549 * malloc/hooks.c: Likewise.
02d46fc4 19550 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 19551
d063d164
UD
19552 * include/tls.h: Removed. USE___THREAD must always be defined.
19553 * bits/libc-tsd.h: Don't handle !USE___THREAD.
19554 * elf/dl-libc.c: Likewise.
19555 * elf/dl-tsd.c: Likewise.
19556 * include/errno.h: Likewise.
19557 * include/netdb.h: Likewise.
19558 * include/resolv.h: Likewise.
19559 * inet/herrno-loc.c: Likewise.
19560 * inet/herrno.c: Likewise.
19561 * malloc/arena.c: Likewise.
19562 * malloc/hooks.c: Likewise.
19563 * malloc/malloc.c: Likewise.
19564 * resolv/res-state.c: Likewise.
19565 * resolv/res_libc.c: Likewise.
19566 * sysdeps/i386/dl-machine.h: Likewise.
19567 * sysdeps/ia64/dl-machine.h: Likewise.
19568 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
19569 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19570 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19571 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19572 * sysdeps/sh/dl-machine.h: Likewise.
19573 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19574 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19575 * sysdeps/unix/i386/sysdep.S: Likewise.
19576 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19577 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19578 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19579 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19580 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19581 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19582 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19583 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19584 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19585 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19586 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19587 * sysdeps/x86_64/dl-machine.h: Likewise.
19588 * tls.make.c: Likewise.
19589
3ce1f295
UD
19590 * configure.in: Remove --with-__thread option. Make tests for
19591 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
19592 tls_model attribute fail if no support is available. Remove
19593 USE_IN_LIBIO.
19594 * Makeconfig: Adjust for dropped configure option. All features are
19595 now mandatory.
19596 * Makerules: Likewise.
19597 * Versions.def: Likewise.
19598 * argp/argp-fmtstream.c: Likewise.
19599 * argp/argp-fmtstream.h: Likewise.
19600 * argp/argp-help.c: Likewise.
19601 * assert/assert.c: Likewise.
19602 * config.h.in: Likewise.
19603 * config.make.in: Likewise.
19604 * configure: Likewise.
19605 * configure.in: Likewise.
19606 * csu/Versions: Likewise.
19607 * csu/init.c: Likewise.
19608 * elf/tst-audit2.c: Likewise.
19609 * elf/tst-tls10.c: Likewise.
19610 * elf/tst-tls10.h: Likewise.
19611 * elf/tst-tls11.c: Likewise.
19612 * elf/tst-tls12.c: Likewise.
19613 * elf/tst-tls14.c: Likewise.
19614 * elf/tst-tlsmod11.c: Likewise.
19615 * elf/tst-tlsmod12.c: Likewise.
19616 * elf/tst-tlsmod13.c: Likewise.
19617 * elf/tst-tlsmod13a.c: Likewise.
19618 * elf/tst-tlsmod14a.c: Likewise.
19619 * elf/tst-tlsmod15b.c: Likewise.
19620 * elf/tst-tlsmod16a.c: Likewise.
19621 * elf/tst-tlsmod16b.c: Likewise.
19622 * elf/tst-tlsmod7.c: Likewise.
19623 * elf/tst-tlsmod8.c: Likewise.
19624 * elf/tst-tlsmod9.c: Likewise.
19625 * gmon/gmon.c: Likewise.
19626 * grp/fgetgrent_r.c: Likewise.
19627 * grp/putgrent.c: Likewise.
19628 * hurd/fopenport.c: Likewise.
19629 * include/libc-symbols.h: Likewise.
19630 * include/tls.h: Likewise.
19631 * intl/gettextP.h: Likewise.
19632 * intl/loadinfo.h: Likewise.
19633 * locale/global-locale.c: Likewise.
19634 * locale/localeinfo.h: Likewise.
19635 * mach/devstream.c: Likewise.
19636 * malloc/arena.c: Likewise.
19637 * malloc/set-freeres.c: Likewise.
19638 * misc/err.c: Likewise.
19639 * misc/getttyent.c: Likewise.
19640 * misc/mntent_r.c: Likewise.
19641 * posix/getopt.c: Likewise.
19642 * posix/wordexp.c: Likewise.
19643 * pwd/fgetpwent_r.c: Likewise.
19644 * resolv/Versions: Likewise.
19645 * resolv/res_hconf.c: Likewise.
19646 * shadow/fgetspent_r.c: Likewise.
19647 * shadow/putspent.c: Likewise.
19648 * stdio-common/printf_fphex.c: Likewise.
19649 * stdio-common/tmpfile.c: Likewise.
19650 * stdlib/abort.c: Likewise.
19651 * stdlib/fmtmsg.c: Likewise.
19652 * sunrpc/auth_unix.c: Likewise.
19653 * sunrpc/clnt_perr.c: Likewise.
19654 * sunrpc/clnt_tcp.c: Likewise.
19655 * sunrpc/clnt_udp.c: Likewise.
19656 * sunrpc/clnt_unix.c: Likewise.
19657 * sunrpc/openchild.c: Likewise.
19658 * sunrpc/svc_simple.c: Likewise.
19659 * sunrpc/svc_tcp.c: Likewise.
19660 * sunrpc/svc_udp.c: Likewise.
19661 * sunrpc/svc_unix.c: Likewise.
19662 * sunrpc/xdr.c: Likewise.
19663 * sunrpc/xdr_array.c: Likewise.
19664 * sunrpc/xdr_rec.c: Likewise.
19665 * sunrpc/xdr_ref.c: Likewise.
19666 * sunrpc/xdr_stdio.c: Likewise.
19667
1248c1c4
PB
196682011-09-09 Ulrich Drepper <drepper@gmail.com>
19669
19670 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19671
196722011-07-03 Andreas Jaeger <aj@suse.de>
19673
19674 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
19675 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
19676 regenerate with gen-libm-tests.pl.
19677
196782010-05-12 Petr Baudis <pasky@suse.cz>
19679
19680 [BZ #11589]
19681 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
19682 around j0() zero points by switching to j1().
19683 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19684 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19685 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19686 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19687
f22e1074
UD
196882011-09-09 Ulrich Drepper <drepper@gmail.com>
19689
f19009c1
UD
19690 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
19691 instead of 0.
19692 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 19693 instead of 0.
f19009c1
UD
19694 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19695 Patch in part by Pavel Roskin <proski@gnu.org>.
19696
3f8cc204
UD
19697 [BZ #13138]
19698 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19699 realloc.
19700 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
19701 Free memory block if necessary.
19702
f22e1074
UD
19703 [BZ #12847]
19704 * libio/genops.c (INTDEF): For string streams the _lock pointer can
19705 be NULL. Don't lock in this case.
19706
0a2349f9
RM
197072011-09-09 Roland McGrath <roland@hack.frob.com>
19708
19709 * elf/elf.h (ELFOSABI_GNU): New macro.
19710 (ELFOSABI_LINUX): Define to that.
19711
f3cdd467
DZ
197122011-07-29 Denis Zaitceff <zaitceff@gmail.com>
19713
19714 * string/strncat.c (strncat): Undef the symbol in case it has been
19715 defined in bits/string.h.
19716
74718d13
UD
197172011-09-09 Ulrich Drepper <drepper@gmail.com>
19718
633e9e0f
UD
19719 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19720
0a2349f9 19721 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
19722 link map.
19723
f9924780
AJ
197242011-08-17 Andreas Jaeger <aj@suse.de>
19725
19726 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19727
7f5517aa
PP
197282011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19729 Ian Lance Taylor <iant@google.com>
19730
19731 * math/libm-test.inc (lround_test): New testcase.
19732 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19733
762011fe
UD
197342011-09-08 Ulrich Drepper <drepper@gmail.com>
19735
92963737
UD
19736 * Makefile: Remove support for automatic cvs check-ins.
19737 * Makerules: Likewise.
19738 * config.make.in: Likewise.
19739 * configure.in: Likewise.
19740 * intl/Makefile: Likewise.
19741 * locale/Makefile: Likewise.
19742 * po/Makefile: Likewise.
19743 * posix/Makefile: Likewise.
19744 * sysdeps/gnu/Makefile: Likewise.
19745 * sysdeps/mach/hurd/Makefile: Likewise.
19746 * sysdeps/sparc/sparc32/Makefile: Likewise.
19747
b0727fd8
JS
19748 [BZ #13118]
19749 * posix/Makefile (bug-regex32-ENV): Define.
19750 Patch by John Stanley <jpsinthemix@verizon.net>.
19751
a0f33f99
UD
19752 * misc/Makefile (headers): Add bits/select2.h.
19753 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19754 * misc/bits/select2.h: New file.
19755 * include/bits/select2.h: New file.
19756 * debug/Makefile (routines): Add fdelt_chk.
19757 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19758 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19759 FD_ISSET.
19760 * debug/fdelt_chk.c: New file.
19761
762011fe
UD
19762 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
19763 * wcsmbs/test-wmemcmp.c: Likewise.
19764 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 19765 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
19766
197672011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19768
19769 * string/Makefile (strop-tests): Add memcmp.
19770 * string/test-wmemcmp.c: New file.
19771 * string/test-memcmp.c: Add wmemcmp support.
19772
7f513ec8
RM
197732011-09-08 Roland McGrath <roland@hack.frob.com>
19774
0442afb4
RM
19775 [BZ #13153]
19776 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19777 2011-07-19 change.
19778
7f513ec8
RM
19779 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19780 garbage value in a __mach_port_mod_refs call in the cases of the
19781 task-self and thread-self ports.
19782
a12b2239
ST
197832011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19784
19785 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19786
610f9ab4
AS
197872011-09-08 Andreas Schwab <schwab@redhat.com>
19788
7f513ec8 19789 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 19790
48882a1a
LD
197912011-09-07 Ulrich Drepper <drepper@gmail.com>
19792
b49865be
UD
19793 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19794
fdc86bc9
UD
19795 * elf/dl-libc.c (dlerror_run): Pass back error code from
19796 dl_catch_error.
19797
c966526a
UD
19798 [BZ #13123]
19799 * elf/dl-load.c (lose): Free l_origin if it is valid.
19800
48882a1a
LD
19801 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19802 names.
19803 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19804 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19805 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19806 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19807 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19808 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19809
77a2a8b4
AZ
198102011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19811
19812 * sysdeps/powerpc/fpu/e_hypot.c: New file.
19813 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19814 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19815 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19816 * sysdeps/powerpc/fpu/k_cosf.c: New file.
19817 * sysdeps/powerpc/fpu/k_sinf.c: New file.
19818 * sysdeps/powerpc/fpu/s_cosf.c: New file.
19819 * sysdeps/powerpc/fpu/s_sinf.c: New file.
19820 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19821 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19822
24f579d8
AM
198232011-08-15 Alan Modra <amodra@gmail.com>
19824
19825 [BZ #13092]
19826 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19827 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19828 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
19829 ppc_mcount to static-only-routines.
19830 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19831 __mcount_internal.
19832 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19833 __mcount_internal with usual JUMPTARGET. Remove useless nop.
19834
3d4837df
UD
198352011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
19836
19837 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19838 for finite and infinity parameters.
19839
22700377
WS
198402011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19841
19842 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19843 and add nop instructions for throughput optimization.
19844 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19845
5025581e
WS
198462011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
19847
19848 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19849 aligned copy for power7 with vector-scalar instructions.
19850 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19851
08a300c9
L
198522011-07-24 H.J. Lu <hongjiu.lu@intel.com>
19853
19854 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19855 AVX check.
19856
59178ef9
AS
198572011-09-07 Andreas Schwab <schwab@redhat.com>
19858
19859 [BZ #13144]
19860 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19861 last change.
19862
e38ba7ab
UD
198632011-09-07 Ulrich Drepper <drepper@gmail.com>
19864
19865 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19866 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19867 syscall wrapper around clock_gettime in __vdso_clock_gettime.
19868 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19869 clock_gettime.
19870
d53a73ac
UD
198712011-09-06 Ulrich Drepper <drepper@gmail.com>
19872
fc8bffcc
UD
19873 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19874 Forgot to demangle the pointer.
19875
ceaa0c5d
UD
19876 * sysdeps/i386/sysdep.h: Define atom_text_section.
19877 * sysdeps/x86_64/sysdep.h: Likewise.
19878 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19879 section with atom_text_section.
19880 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19881 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19882 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19883 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19884 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19885
a77d3c17
UD
19886 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19887 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19888 already be defined. Change to take two parameters and don't assign
19889 result to variable. Adjust all users.
19890 Define INTERNAL_GETTIME if not already defined.
19891 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19892 call.
19893 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19894 HAVE_CLOCK_GETTIME_VSYSCALL.
19895 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19896
d53a73ac
UD
19897 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19898 gettimeofday vsyscall, just use time.
19899
a8f84144
AS
199002011-09-06 Andreas Schwab <schwab@redhat.com>
19901
19902 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19903 <errno.h>.
19904
ef606249
UD
199052011-09-06 Ulrich Drepper <drepper@gmail.com>
19906
19907 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19908 syscall on x86-64.
19909 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19910 syscall.
19911 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19912 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19913 syscall if possible.
19914
6585cb60
UD
199152011-09-05 Ulrich Drepper <drepper@gmail.com>
19916
19917 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19918 e_ident. Don't pass to find_mapsXX.
19919 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19920
a5f524e4
LD
199212011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19922
19923 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19924 strchr-sse2-no-bsf strrchr-sse2-no-bsf
19925 * sysdeps/x86_64/multiarch/strchr.S: Update.
19926 Check bit_slow_BSF bit.
19927 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19928 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19929 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19930
554881ef
UD
199312011-09-05 Ulrich Drepper <drepper@gmail.com>
19932
d96de963
UD
19933 [BZ #13134]
19934 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19935 before glibc 2.15.
19936 (tryshell): Define.
19937 (__spawni): Change last parameter to be flag. Test
19938 SPAWN_XFLAGS_USE_PATH flag to use path or not.
19939 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19940 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19941 * posix/spawni.c: Likewise.
19942 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19943 * posix/spawnp.c: Likewise. Change normal version to use
19944 SPAWN_XFLAGS_USE_PATH.
19945 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19946 SPAWN_XFLAGS_TRY_SHELL.
19947
d48e5868
UD
19948 [BZ #13150]
19949 * posix/glob.h: Remove gcc 1.x support.
19950
554881ef
UD
19951 [BZ #13068]
19952 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19953
693fb948
LD
199542011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19955
19956 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19957 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19958 strrchr-sse2-bsf
19959 * sysdeps/i386/i686/multiarch/strchr.S: New file.
19960 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19961 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19962 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19963 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19964 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19965
1b48c537
UD
199662011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19967
49d42c37
UD
19968 * sysdeps/x86_64/wcscmp.S: New file.
19969
1b48c537
UD
19970 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19971 wcscmp-c wcscmp-sse2
19972 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19973 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19974 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19975 * wcsmbs/wcscmp.c: Allow renaming.
19976
15c95c5d
DM
199772011-09-05 David S. Miller <davem@davemloft.net>
19978
19979 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19980 stack slot, rather than the struct return pointer slot.
19981 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19982 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19984 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19985
2f0ad8f3
UD
199862011-09-05 Ulrich Drepper <drepper@gmail.com>
19987
d88ae418
UD
19988 * po/ja.po: Update from translation team.
19989
2f0ad8f3
UD
19990 [BZ #13144]
19991 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19992 kernel in 64-bit binaries.
19993
5f4318d1
DM
199942011-09-01 David S. Miller <davem@davemloft.net>
19995
19996 * elf/elf.h (HWCAP_SPARC_*): Move to..
19997 * sysdeps/sparc/sysdep.h: this new file and add new values.
19998 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19999 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
20000 _DL_HWCAP_COUNT to 24.
20001 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20002 entries.
20003 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
20004 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
20005 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
20006 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
20007 instead of magic constants.
20008 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20009
3ba57516
DM
200102011-08-31 David S. Miller <davem@davemloft.net>
20011
20012 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
20013 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
20014 Reimplement to do errno handling inline.
20015 (SYSCALL_ERROR_HANDLER): New macro.
20016 (__SYSCALL_STRING): Do not do errno handling in asm.
20017 (__CLONE_SYSCALL_STRING): Delete.
20018 (__INTERNAL_SYSCALL_STRING): Delete.
20019 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
20020 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
20021 (PSEUDO): Reimplement to do errno handling inline.
20022 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
20023 (SYSCALL_ERROR_HANDLER): New macro.
20024 (__SYSCALL_STRING): Do not do errno handling in asm.
20025 (__CLONE_SYSCALL_STRING): Delete.
20026 (__INTERNAL_SYSCALL_STRING): Delete.
20027 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
20028 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
20029 i386.
20030 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
20031 (inline_syscall*): Add 'err' argument.
20032 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
20033 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
20034 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
20035 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
20036
20037 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
20038 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20039
2bc17433
AS
200402011-08-30 Andreas Schwab <schwab@redhat.com>
20041
20042 * elf/rtld.c (dl_main): Relocate objects in dependency order.
20043
fbeb5f4d
JO
200442011-08-29 Jiri Olsa <jolsa@redhat.com>
20045
20046 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
20047 directive.
20048
ad69cc26
DM
200492011-08-24 David S. Miller <davem@davemloft.net>
20050
20051 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
20052
39dd69df
AS
200532011-08-24 Andreas Schwab <schwab@redhat.com>
20054
20055 * elf/Makefile: Add rules to build and run unload8 test.
20056 * elf/unload8.c: New file.
20057 * elf/unload8mod1.c: New file.
20058 * elf/unload8mod1x.c: New file.
20059 * elf/unload8mod2.c: New file.
20060 * elf/unload8mod3.c: New file.
20061
20062 * elf/dl-close.c (_dl_close_worker): Reset private search list if
20063 it wasn't used.
20064
2c0b250a
DM
200652011-08-23 David S. Miller <davem@davemloft.net>
20066
20067 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
20068 subtract stack bias.
20069 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
20070 %sp not %fp in calculations.
20071 (_JMPBUF_UNWINDS_ADJ): Likewise.
20072
22044b48
DM
20073 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
20074 (aio_suspend): Call it to force an exception region around the
20075 AIO_MISC_WAIT() invocation.
20076
2cae4995
AS
200772011-08-23 Andreas Schwab <schwab@redhat.com>
20078
20079 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
20080 backslash.
20081
873a772e
AJ
200822011-07-04 Aurelien Jarno <aurelien@aurel32.net>
20083
20084 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
20085 protection macro.
20086 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
20087 and <dl-machine.h>.
20088 (Elf64_FuncDesc): Remove.
20089
25ad0df1
DM
200902011-08-22 David S. Miller <davem@davemloft.net>
20091
20092 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
20093 sigaltstack check, add missing cfi directives.
20094 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
20095 missing cfi directives, and sigaltstack handling.
20096
e888bcbe
AS
200972011-08-16 Andreas Schwab <schwab@redhat.com>
20098
20099 [BZ #11724]
20100 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
20101 object is seen twice.
20102 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20103
20104 * elf/Makefile (distribute): Add tst-initorder2.c.
20105 (tests): Add tst-initorder2.
20106 (modules-names): Add tst-initorder2a tst-initorder2b
20107 tst-initorder2c tst-initorder2d. Add rules to build them.
20108 ($(objpfx)tst-initorder2.out): New rule.
20109 * elf/tst-initorder2.c: New file.
20110 * elf/tst-initorder2.exp: New file.
20111
87162f46
AS
201122011-08-22 Andreas Schwab <schwab@redhat.com>
20113
70538b7f
AS
20114 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
20115
f55ffe58
AS
20116 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
20117 dependencies back to end of function.
20118
87162f46
AS
20119 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20120 $(elfobjdir)/ld.so.
20121
91b392a4
UD
201222011-08-21 Ulrich Drepper <drepper@gmail.com>
20123
20124 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
20125 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
20126 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
20127 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
20128 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
20129 of __vdso_gettimeofday.
20130 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
20131 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
20132 attribute_hidden.
20133 (_libc_vdso_platform_setup): Remove initialization of
20134 __vdso_gettimeofday and __vdso_time.
20135
5c43483f
UD
201362011-08-20 Ulrich Drepper <drepper@gmail.com>
20137
775a77e7
UD
20138 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
20139 and fgetc_unlocked.
20140 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
20141 getc_unlocked.
89f447ed 20142
49c74ba9
UD
20143 * elf/dl-open.c (add_to_global): Report additions to the global scope
20144 for LD_DEBUG=scopes.
20145 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 20146 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 20147
5c43483f
UD
20148 [BZ #13114]
20149 * stdio-common/Makefile (tests): Add bug24.
20150 * stdio-common/bug24.c: New file.
20151
a101b025
AJ
201522011-08-19 Andreas Jaeger <aj@suse.de>
20153
20154 [BZ #13114]
20155 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
20156 non-existant file when using close-on-exec mode.
20157
c88f1766
UD
201582011-08-20 Ulrich Drepper <drepper@gmail.com>
20159
0276a718
UD
20160 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
20161 the very first instruction.
20162
c88f1766
UD
20163 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
20164 the CFI state in the end.
20165 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
20166 inclusion of dl-trampoline.h.
20167 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
20168
51ccffa0
AS
201692011-08-19 Andreas Schwab <schwab@redhat.com>
20170
94d7165f
AS
20171 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
20172 expectations for long double.
20173
51ccffa0
AS
20174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
20175 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
20176
fd708658 201772011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
20178
20179 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
20180 artificual limit depends upon the system page size.
20181
44f0a71e
UD
201822011-08-17 Ulrich Drepper <drepper@gmail.com>
20183
20184 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
20185 * resolv/Makefile: Define CFLAGS-libresolv.
20186
8de79a24
AS
201872011-08-17 Andreas Schwab <schwab@redhat.com>
20188
20189 * nss/makedb.c (compute_tables): Make variables used in nested
20190 function static.
20191
27724598
UD
201922011-08-17 Ulrich Drepper <drepper@gmail.com>
20193
c5305d88
UD
20194 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
20195 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
20196 if buffer was too small.
20197
27724598
UD
20198 * elf/pldd.c (main): Attach to all threads in the process.
20199 Rewrite /proc handling to use *at functions.
20200
076fe015
UD
202012011-08-16 Ulrich Drepper <drepper@gmail.com>
20202
174baab3
UD
20203 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
20204 specifies first scope to show.
20205 (dl_open_worker): Update callers. Move printing scope of new
20206 object to before the relocation.
44f0a71e 20207 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
20208 * sysdeps/generic/ldsodefs.h: Update declaration.
20209
076fe015
UD
20210 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
20211 string for the scope number.
20212
a60df2c3
UD
202132011-08-14 Ulrich Drepper <drepper@gmail.com>
20214
20215 * nscd/servicescache.c (cache_addserv): Make sure written is always
20216 initialized.
20217
5e4287d1
RM
202182011-08-14 Roland McGrath <roland@hack.frob.com>
20219
85ae0589
RM
20220 * sysdeps/i386/i486/bits/atomic.h
20221 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
20222 statement expression, so as to suppress "set but not used" warning.
20223 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
20224
69f63097
RM
20225 * string/strncat.c (STRNCAT): Use prototype definition.
20226
675456ef
RM
20227 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
20228 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
20229 -Iprograms here.
20230 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
20231 (localedef-modules): Add localedef.
20232 (locale-modules): Add locale.
20233
5e4287d1
RM
20234 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
20235 * elf/rtld.c (dl_main): Invert order of assignment in last change,
20236 to avoid a warning.
20237
9c96ff23
DM
202382011-08-14 David S. Miller <davem@davemloft.net>
20239
20240 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
20241 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
20242
f9ddf089
UD
202432011-08-13 Ulrich Drepper <drepper@gmail.com>
20244
44f0a71e 20245 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
20246 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
20247 * elf/rtld.c (dl_main): Set l_name of vDSO.
20248 Call _dl_show_scope when DL_DEBUG_SCOPES.
20249 (process_dl_debug): Recognize scopes flag and also set it for all.
20250 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
20251 Declare _dl_show_scope.
20252
1dc27704
UD
20253 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
20254 (do_dlopen): Pass caller_dlopen to dl_open.
20255 (__libc_dlopen_mode): Initialize caller_dlopen.
20256
f9ddf089
UD
20257 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
20258 of libc. Make tolower call locale-independent. Optimize a bit by
20259 using isdigit instead of isalnum.
20260 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
20261
9ac533d3
UD
202622011-08-12 Ulrich Drepper <drepper@gmail.com>
20263
20264 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
20265 was a dependency or dynamically loaded.
20266
89edf2e9
UD
202672011-08-11 Ulrich Drepper <drepper@gmail.com>
20268
8e999d29
UD
20269 * intl/l10nflist.c: Allow architecture-specific pop function.
20270 * sysdeps/x86_64/l10nflist.c: New file.
20271
89edf2e9
UD
20272 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
20273 classification.
20274
14d96785
AS
202752011-08-10 Andreas Schwab <schwab@redhat.com>
20276
20277 * include/dirent.h: Add libc_hidden_proto for scandirat and
20278 scandirat64. Don't declare __scandirat64.
20279 * dirent/scandirat.c: Add libc_hidden_def.
20280 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
20281 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
20282
6761ac04
DM
202832011-08-10 David S. Miller <davem@davemloft.net>
20284
20285 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
20286 enum.
20287 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20288 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20289 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20290
c55fbd1e
UD
202912011-08-09 Ulrich Drepper <drepper@gmail.com>
20292
20293 * Versions.def [libc]: Add GLIBC_2.15.
20294 * dirent/Makefile (routines): Add scandirat and scandirat64.
20295 * dirent/Versions [libc]: Export scandirat and scandirat64 for
20296 GLIBC_2.15.
20297 * dirent/dirent.h: Declare scandirat and scandirat64.
20298 * dirent/scandirat.c: New file.
20299 * dirent/scandirat64.c: New file.
20300 * sysdeps/wordsize-64/scandirat.c: New file.
20301 * sysdeps/wordsize-64/scandirat64.c: New file.
20302 * dirent/opendir.c: Define opendirat.
20303 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
20304 using scandirat.
20305 * dirent/scandir64.c: Adjust for scandir.c change.
20306 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
20307 __scandirat64, and __scandir_cancel_handler.
20308 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
20309 additional parameter and use openat instead of open (outside of ld.so).
20310 Add new __opendir as wrapper around __opendirat.
20311 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
20312 here without requiring old scandirat implementation.
20313
879165f2
UD
203142011-08-08 Ulrich Drepper <drepper@gmail.com>
20315
20316 * dirent/scandir.c (cancel_handler): Renamed to
20317 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
20318 defined. Adjust users.
20319 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
20320 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
20321
cb7e923b
UD
203222011-08-04 Ulrich Drepper <drepper@gmail.com>
20323
16292edd
UD
20324 * string/test-string.h (IMPL): Use __STRING to expand name and then
20325 stringify it.
20326
cb7e923b
UD
20327 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
20328 of cleanups.
20329
cff82933
LD
203302011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20331
20332 * string/Makefile: Update.
20333 (strop-tests): Append strncat.
20334 * string/test-wcscmp.c: New file.
20335 New comprehensive test for wcscmp.
20336 * string/test-strcmp.c: Update.
20337 (WIDE): New define.
20338
9be9bfcc
AS
203392011-07-22 Andreas Schwab <schwab@redhat.com>
20340
20341 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
20342 line.
20343
2e96f1c7
AS
203442011-07-26 Andreas Schwab <schwab@redhat.com>
20345
20346 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20347 encoding to ACE if AI_IDN.
20348
85188888
JJ
203492011-08-01 Jakub Jelinek <jakub@redhat.com>
20350
20351 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
20352 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
20353
5fa16e9b
LD
203542011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20355
20356 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
20357 Fix overflow bug in strncat.
20358 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20359
20360 * string/test-strncat.c: Update.
20361 Add new tests for checking overflow bugs.
20362
203632011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20364
20365 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20366 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
20367 * sysdeps/i386/i686/multiarch/strcat.S: New file.
20368 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
20369 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
20370 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
20371 * sysdeps/i386/i686/multiarch/strncat.S: New file.
20372 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
20373 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
20374
20375 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
20376 (USE_AS_STRCAT): Define.
20377 Add strcat and strncat support.
20378 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20379
8c1a459f
AS
203802011-07-25 Andreas Schwab <schwab@redhat.com>
20381
20382 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
20383 __n bigger than INT_MAX+1.
20384 (__strncmp_g): Likewise.
20385
bba33c28
UD
203862011-07-23 Ulrich Drepper <drepper@gmail.com>
20387
798be72d
UD
20388 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
20389 * libio/stido.h: Likewise.
20390
8accd4dc
UD
20391 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
20392 (AF_NFC): Define.
20393 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
20394 (AF_NFC): Define.
20395
cbff0d96
UD
20396 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
20397 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20398 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20399 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20400 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20401
9191c04a
UD
20402 [BZ #13021]
20403 * scripts/test-installation.pl: Don't expect libnss_test1 to be
20404 installed.
20405
bba33c28
UD
20406 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
20407 typo.
20408 (_dl_x86_64_save_sse): Likewise.
20409
90f139dd
UD
204102011-07-22 Ulrich Drepper <drepper@gmail.com>
20411
1aae088a
UD
20412 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
20413 OSXSAVE.
20414 (_dl_x86_64_save_sse): Likewise.
20415
8e2045f5
UD
20416 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
20417
90f139dd
UD
20418 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
20419
1d002f25
AS
204202011-07-21 Andreas Schwab <schwab@redhat.com>
20421
20422 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
20423 change.
20424 (_dl_x86_64_save_sse): Use correct AVX check.
20425
21137f89
UD
204262011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20427
20428 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20429 bug in strncpy/strncat.
20430 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20431
a65c0b7a
UD
204322011-07-21 Ulrich Drepper <drepper@gmail.com>
20433
20434 * string/tester.c (test_strcat): Add tests for different alignments
20435 of source and destination.
20436 (test_strncat): Likewise.
20437
6986b98a
UD
204382011-07-20 Ulrich Drepper <drepper@gmail.com>
20439
90bb2039
UD
20440 [BZ #12852]
20441 * posix/glob.c (glob): Check passed in values before using them in
20442 expressions to avoid some overflows.
20443 (glob_in_dir): Likewise.
20444
5644ef54
UD
20445 [BZ #13007]
20446 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
20447 check for AVX enablement so that we don't crash with old kernels and
20448 new hardware.
20449 * elf/tst-audit4.c: Add same checks here.
20450 * elf/tst-audit6.c: Likewise.
20451
20452 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 20453
bfc9dc9b
AS
204542011-07-09 Andreas Schwab <schwab@linux-m68k.org>
20455
20456 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
20457
702e64bb
UD
204582011-07-20 Ulrich Drepper <drepper@gmail.com>
20459
20460 * po/cs.po: Update from translation team.
20461 * po/bg.po: Likewise.
20462
295e904f
MP
204632011-07-12 Marek Polacek <mpolacek@redhat.com>
20464
20465 * misc/sys/cdefs.h: Add support for const attribute.
20466 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
20467 to gnu_dev_{major,minor,makedev} functions.
20468
3ff94596
MP
204692011-07-20 Marek Polacek <mpolacek@redhat.com>
20470
20471 * intl/dcigettext.c (get_output_charset): Add missing bracket.
20472
28b59fca
AS
204732011-07-20 Andreas Schwab <schwab@redhat.com>
20474
20475 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
20476 strlen results.
20477
19df733e
AK
204782011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20479
20480 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20481 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
20482 register in order to avoid conflicts with the soft frame pointer
20483 being held in r11 when necessary.
20484 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20485 (INTERNAL_VSYSCALL_NCS): Likewise.
20486
c8835729
MP
204872011-07-14 Marek Polacek <mpolacek@redhat.com>
20488
20489 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
20490 * elf/dl-fini.c (_dl_fini): Adjust caller.
20491 * elf/dl-close.c (_dl_close_worker): Likewise.
20492 * sysdeps/generic/ldsodefs.h: Adjust declaration.
20493
b902330c
MP
204942011-07-15 Marek Polacek <mpolacek@redhat.com>
20495
8991e135
MP
20496 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
20497 "aux_cache->nlibs < 0".
20498
b902330c
MP
20499 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
20500 in the reload-count case.
20501
99710781
LD
205022011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20503
20504 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20505 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
20506 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
20507 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
20508 * sysdeps/x86_64/multiarch/strcat.S: New file.
20509 * sysdeps/x86_64/multiarch/strncat.S: New file.
20510 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
20511 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
20512 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
20513 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
20514 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
20515 (USE_AS_STRCAT): Define.
20516 Add strcat and strncat support.
20517 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20518 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20519 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
20520 * string/strncat.c: Update.
20521 (USE_AS_STRNCAT): Define.
20522 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20523 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
20524 and i7.
20525 * sysdeps/x86_64/multiarch/init-arch.h
20526 (bit_Prefer_PMINUB_for_stringop): New.
20527 (index_Prefer_PMINUB_for_stringop): Likewise.
20528 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
20529 bit_Prefer_PMINUB_for_stringop.
20530
7dc6bd90
UD
205312011-07-19 Ulrich Drepper <drepper@gmail.com>
20532
20533 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
20534 buffer64.
20535 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
20536 of casting of buffer.
20537 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
20538 buffer32 and buffer64.
20539 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
20540 writes instead of casting of buffer.
20541 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
20542 buffer32.
20543 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
20544 casting of buffer.
20545
e0e72284
AS
205462011-07-19 Andreas Schwab <schwab@redhat.com>
20547
20548 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
20549
feb1eb0b
UD
205502011-07-19 Ulrich Drepper <drepper@gmail.com>
20551
20552 * nscd/nscd.c (termination_handler): Don't do anything for a database
20553 if it has not yet been initialized.
20554
298711ff
UD
205552011-07-18 Ulrich Drepper <drepper@gmail.com>
20556
20557 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20558
205592011-07-15 Marek Polacek <mpolacek@redhat.com>
20560
20561 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20562
f9d68389
UD
205632011-07-18 Ulrich Drepper <drepper@gmail.com>
20564
20565 * po/nl.po: Update from translation team.
20566 * po/sv.po: Likewise.
20567
db290cf5
RM
205682011-07-16 Roland McGrath <roland@hack.frob.com>
20569
20570 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
20571 now disallowed by GCC.
5c550700 20572
fd5e21c7
RM
20573 * configure.in (use-default-link): Default to yes if a test -shared
20574 link meets our qualifications.
20575 * configure: Regenerated.
20576
5c550700
RM
20577 * config.make.in (output-format): New variable.
20578 * configure.in: Check for ld --print-output-format support.
20579 * configure: Regenerated.
20580 * Makerules ($(common-objpfx)format.lds)
20581 [$(output-format) != unknown]: Just use $(output-format),
20582 instead of the linker-script munging.
20583
9fa2c032
RM
205842011-07-14 Roland McGrath <roland@hack.frob.com>
20585
a6928d51
RM
20586 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
20587 of $(common-objpfx)shlib.lds.
20588 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
20589
661607b3
RM
20590 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
20591 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
20592
9fa2c032
RM
20593 * configure.in (-z relro check): Adjust test code to add a large
20594 writable data section after it.
20595 * configure: Regenerated.
20596
defe9061
RM
205972011-07-11 Roland McGrath <roland@hack.frob.com>
20598
20599 * configure.in (-z relro check): Fix test code to make the variable
20600 truly const.
20601 * configure: Regenerated.
20602
319b9ad4
UD
206032011-07-11 Ulrich Drepper <drepper@gmail.com>
20604
20605 * nscd/nscd.h (struct traced_file): Define.
20606 (struct database_dyn): Remove inotify_descr, reset_res, and filename
20607 elements. Add traced_files.
20608 (inotify_fd): Declare.
20609 (register_traced_file): Declare.
20610 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
20611 (inotify_fd): Export.
20612 (resolv_conf_descr): Remove.
20613 (nscd_init): Move inotify descriptor creation to main.
20614 Don't register files for notification here.
20615 (register_traced_file): New function.
20616 (invalidate_cache): Don't use reset_res to determine whether to call
20617 res_init, go through the list of registered files.
20618 (main_loop_poll): The inotify descriptors are now stored in the
20619 structures for the traced files.
20620 (main_loop_epoll): Likewise
20621 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
20622 to __nss_disable_nscd.
20623 * nscd/cache.c (prune_cache): There is no single inotify descriptor
20624 for a database anymore. Check the records for all the registered
20625 files instead.
20626 * nss/Makefile (libnss_files-routines): Add files-init.
20627 (libnss_db-routines): Add db-init.
20628 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
20629 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
20630 * nss/nss_db/db-init.c: New file.
20631 * nss/nss_files/files-init.c: New file.
20632 * nss/nsswitch.c (nss_load_library): New function. Broken out of
20633 __nss_lookup_function.
20634 (__nss_lookup_function): Call nss_load_library.
20635 (nss_load_all_libraries): New function.
20636 (__nss_disable_nscd): Take parameter with callback function for files
20637 to register. Set is_nscd. Load all the DSOs for the NSS modules
20638 used for the cached services.
20639 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
20640 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
20641 options for features to all the files in nscd.
20642
20643 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
20644
23bee3e8
RM
206452011-07-10 Roland McGrath <roland@hack.frob.com>
20646
20647 * csu/elf-init.c (__libc_csu_init): Comment typo.
20648
46a5b7f0
UD
206492011-07-09 Ulrich Drepper <drepper@gmail.com>
20650
20651 * po/pl.po: Update from translation team.
20652 * po/ja.po: Likewise.
20653 * po/ru.po: Likewise.
20654 * po/ko.po: Likewise.
20655 * po/fr.po: Likewise.
20656
d30cf5bb
RM
206572011-07-09 Roland McGrath <roland@hack.frob.com>
20658
113ddea4
RM
20659 * configure.in (.ctors/.dtors header and trailer check):
20660 Use an empirical test on a built program.
20661 * configure: Regenerated.
20662
574920b4
RM
20663 * configure.in (-z relro check): Use an empirical test on a built DSO.
20664 Detect, but do not require, on ia64.
20665 * configure: Regenerated.
20666
d30cf5bb
RM
20667 * configure.in (READELF): Find it with AC_CHECK_TOOL.
20668 Update tests that use readelf to use $READELF instead.
20669 * configure: Regenerated.
20670
8538fdb3
UD
206712011-07-08 Ulrich Drepper <drepper@gmail.com>
20672
20673 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
20674 if the result is not used.
20675
04d08991
AJ
206762011-07-05 Andreas Jaeger <aj@suse.de>
20677
20678 [BZ#9696]
20679 * stdlib/tst-strtod.c: Add testcase.
20680
de283087
AD
206812011-07-07 Ulrich Drepper <drepper@gmail.com>
20682
4e5f31c8 20683 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 20684 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
20685 The latter has a higher limit. Take additional parameter to pass to
20686 the new function.
20687 (__pathconf): Pass file to __statfs_link_max.
20688 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
20689 __statfs_link_max.
20690 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
20691 __statfs_link_max.
20692
de283087
AD
20693 [BZ #12868]
20694 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
20695 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20696 Handle Lustre.
20697 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20698 (__statfs_filesize_max): Likewise.
20699 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20700
c75fa153
AJ
207012011-07-05 Andreas Jaeger <aj@suse.de>
20702
20703 * resolv/res_comp.c (dn_skipname): Remove unused variable.
20704
1a544854
UD
207052011-07-06 Marek Polacek <mpolacek@redhat.com>
20706
20707 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20708 `status' variable.
20709 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20710 Likewise.
20711
6f0eec67
UD
207122011-07-04 H.J. Lu <hongjiu.lu@intel.com>
20713
20714 * Makefile (strop-tests): Add strncat.
20715 * string/test-strncat.c: New file.
20716
aae30307
UD
207172011-06-30 Marek Polacek <mpolacek@redhat.com>
20718
20719 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20720
c0cfb5eb
UD
207212011-06-21 Andreas Jaeger <aj@suse.de>
20722
20723 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20724 Copy rule from iconvdata/Makefile.
20725
01636b21
UD
207262011-07-06 Ulrich Drepper <drepper@gmail.com>
20727
20728 [BZ #12922]
20729 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20730 but no long options are defined, just return 'W'.
20731
9895c8bc
UD
207322011-06-22 Marek Polacek <mpolacek@redhat.com>
20733
20734 [BZ #9696]
20735 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20736
5d4cf042
UD
207372011-07-06 Ulrich Drepper <drepper@gmail.com>
20738
20739 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20740 netgroups to read.
960e5535 20741 (innetgr): Likewise.
5d4cf042 20742
751eb97e
RM
207432011-07-05 Roland McGrath <roland@hack.frob.com>
20744
20745 * config.make.in (install_root): Default to $(DESTDIR).
20746
f15f1e45
UD
207472011-07-05 Ulrich Drepper <drepper@gmail.com>
20748
20749 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20750
4e34ac6a
RM
207512011-07-02 Roland McGrath <roland@hack.frob.com>
20752
5e9b6af4
RM
20753 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20754
84f9ea0f
RM
20755 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20756 containing directory rather than embedding absolute directory names.
20757
ea5ee9f7
RM
20758 * scripts/check-local-headers.sh: Rewritten using awk.
20759 Match by word, not by line. Print error messages for matches.
20760 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20761
1b74661a
RM
20762 * Makerules [shlib-lds-flags empty]:
20763 ($(common-objpfx)libc_pic.opts): New target.
20764 ($(common-objpfx)libc_pic.os.clean): New target.
20765 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20766
20767 * config.make.in (OBJCOPY): New variable.
20768 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20769 * configure: Regenerated.
20770
f781ef40
RM
20771 * config.make.in (use-default-link): New variable.
20772 * configure.in (use_default_link): Grok --with-default-link to set it.
20773 * configure: Regenerated.
20774 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20775 (shlib-lds, shlib-lds-flags): Define to empty.
20776
2d4fa81e
RM
20777 * Makerules (shlib-lds): New variable.
20778 (shlib-lds-flags): New variable.
20779 (build-shlib, build-moduile, build-module-asneeded): Use it.
20780 ($(common-objpfx)libc.so): Use $(shlib-lds).
20781 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20782 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20783
31fffa6b
RM
20784 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20785 DT_FLAGS/DT_FLAGS_1 with zero flags.
20786
4e34ac6a
RM
20787 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20788 linker script munging.
20789
fcfc776b
UD
207902011-07-02 Ulrich Drepper <drepper@gmail.com>
20791
20792 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20793 as 128-bit value.
20794 * crypt/sha512.c (sha512_process_block): Perform total addition using
20795 128-bit if possible.
20796 (__sha512_finish_ctx): Likewise.
20797 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20798 as 64-bit value.
20799 * crypt/sha256.c (SWAP64): Define.
20800 (sha256_process_block): Perform total addition using 64-bit if
20801 possible.
20802 (__sha256_finish_ctx): Likewise.
20803
99231d9a
UD
208042011-07-01 Ulrich Drepper <drepper@gmail.com>
20805
20806 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
20807 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20808 * nscd/hstcache.c (cache_addhst): Likewise.
20809 * nscd/grpcache.c (cache_addgr): Likewise.
20810 * nscd/aicache.c (addhstaiX): Likewise
20811 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20812
445b4a53
TK
208132011-07-01 Thorsten Kukuk <kukuk@suse.de>
20814
20815 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20816 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20817 * nscd/hstcache.c (cache_addhst): Likewise.
20818 * nscd/grpcache.c (cache_addgr): Likewise.
20819 * nscd/aicache.c (addhstaiX): Likewise
20820
6d4d8e8e
AS
208212011-07-01 Andreas Schwab <schwab@redhat.com>
20822
20823 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20824 domain only when needed.
20825
89f654c5
AS
208262011-06-30 Andreas Schwab <schwab@redhat.com>
20827
20828 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20829 is always restored.
20830
cf3b23ff
UD
208312011-06-29 Ulrich Drepper <drepper@gmail.com>
20832
20833 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20834 are re-adding the entry.
20835 * nscd/servicescache.c (cache_addserv): Likewise.
20836
751626f9
AJ
208372011-06-30 Aurelien Jarno <aurelien@aurel32.net>
20838
20839 * sysdeps/generic/dl-irel.h: fix protection against multiple
20840 inclusions.
20841 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20842
9113ea1f
UD
208432011-06-28 Ulrich Drepper <drepper@gmail.com>
20844
5c0b8d90
UD
20845 [BZ #12935]
20846 * malloc/memusage.sh: Fix quoting in message.
20847 * debug/xtrace.sh: Likewise.
20848
9113ea1f
UD
20849 * configure.in: Remove support for --experimental-malloc option, make
20850 it the default.
20851 * config.make.in: Likewise.
20852 * malloc/Makefile: Likewise.
20853
a4172181
AS
208542011-06-27 Andreas Schwab <schwab@redhat.com>
20855
20856 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20857 two-byte characters.
20858
78a7eee7
RM
208592011-06-27 Roland McGrath <roland@hack.frob.com>
20860
62bede13
RM
20861 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20862 AC_CACHE_CHECK invocation.
20863 * configure: Regenerated.
20864
78a7eee7
RM
20865 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20866
5ce33a62
UD
208672011-06-27 Ulrich Drepper <drepper@gmail.com>
20868
034807a9
UD
20869 [BZ #12350]
20870 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
20871 bit from old_res_options.
20872
4902da17
UD
20873 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20874
5ce33a62
UD
20875 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20876 value type for setfct.
20877
c2344f56
L
208782011-06-23 H.J. Lu <hongjiu.lu@intel.com>
20879
20880 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20881 __gettimeofday instead of gettimeofday.
20882
68468076
UD
208832011-06-26 Ulrich Drepper <drepper@gmail.com>
20884
20885 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20886
acb0d739
L
208872011-06-24 H.J. Lu <hongjiu.lu@intel.com>
20888
20889 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20890
20891 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20892 info.
20893
8912479f
L
208942011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20895
20896 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20897 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20898 strcpy-sse2-unaligned strncpy-sse2-unaligned
20899 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20900 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20901 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20902 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20903 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20904 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20905 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20906 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20907 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20908 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20909 (STRCPY): Support SSE2 and SSSE3 versions.
20910
d5495a11
UD
209112011-06-24 Ulrich Drepper <drepper@gmail.com>
20912
20913 [BZ #12874]
20914 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20915 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20916 kernels which artificially limit size of requests.
20917
0b1cbaae
L
209182011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20919
20920 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20921 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20922 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20923 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20924 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20925 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20926 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20927 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20928 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20929 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20930 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20931 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20932 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20933 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20934 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20935 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20936 Enable unaligned load optimization for Intel Core i3, i5 and i7
20937 processors.
20938 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20939 Define.
20940 (index_Fast_Unaligned_Load): Define.
20941 (HAS_FAST_UNALIGNED_LOAD): Define.
20942
07f494a0
MP
209432011-06-23 Marek Polacek <mpolacek@redhat.com>
20944
20945 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20946
fa3fc0fe
UD
209472011-06-22 Ulrich Drepper <drepper@gmail.com>
20948
20949 [BZ #12907]
20950 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20951 until it is clear that the information is realy needed.
20952 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20953
e12df166
AS
209542011-06-22 Andreas Schwab <schwab@redhat.com>
20955
20956 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20957
852eb34d
UD
209582011-06-22 Ulrich Drepper <drepper@gmail.com>
20959
84e2a551
UD
20960 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20961 /sys/devices/system/cpu/online if it is usable.
20962
852eb34d
UD
20963 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20964 reading the information from the /proc filesystem to once a second.
20965
6e502e19
UD
209662011-06-21 Andreas Jaeger <aj@suse.de>
20967
20968 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20969 NULL after inclusion of kernel headers.
20970
75d39ff2
UD
209712011-06-21 Ulrich Drepper <drepper@gmail.com>
20972
51f9aa6a
UD
20973 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20974 calls to internal_setent.
20975
c0244a9d
UD
20976 [BZ #12885]
20977 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20978 addresses using gethostbyname4_r ignore IPv4 addresses.
20979
c5e3c2ae
UD
20980 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20981 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20982
75d39ff2
UD
20983 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20984
42675c6f
DM
209852011-06-20 David S. Miller <davem@davemloft.net>
20986
20987 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20988 inclusions.
20989 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20990
20991 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20992 (elf_irel): Use it.
20993 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20994 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20995 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20996 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20997 * sysdeps/x86_64/dl-irel.h: Likewise.
20998
20999 * elf/dl-runtime.c: Use elf_ifunc_invoke.
21000 * elf/dl-sym.c: Likewise.
21001
57912a71
UD
210022011-06-15 Ulrich Drepper <drepper@gmail.com>
21003
21004 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
21005 need to dereference resplen2.
21006
ee22793d
AS
210072011-06-14 Andreas Schwab <schwab@redhat.com>
21008
21009 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
21010
a9e836b0
UD
210112011-06-15 Ulrich Drepper <drepper@gmail.com>
21012
77fb9117
UD
21013 * Makeconfig: Define vardbdir and inst_vardbdir.
21014 * nss/Makefile: Add rules to install db-Makefile.
21015
40c1b22c
UD
21016 * nss/nss_db/db-XXX.c: Cleanup.
21017
9f2da732
UD
21018 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
21019 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
21020 GLIBC_PRIVATE.
21021 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
21022 * nss/makedb.c: Implement -g option to specify that value strings
21023 are generated and should not be added to table iterated over for
21024 get*ent calls.
21025 * nss/nss_db/db-initgroups.c: New file.
21026
82e9a1f7
UD
21027 * nss/getent.c: Add support for initgroups lookups through getgrouplist
21028 interface.
21029
c41af17e
UD
21030 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
21031 (internal_getgrouplist): Adjust to name change.
21032 Update use_initgroups_entry if this is not the first call.
21033 * nss/databases.def: Add initgroups entry.
21034
a9e836b0
UD
21035 * nss/makedb.c (compute_tables): Check result of multiple hash table
21036 sizes to minimize maximum chain length.
21037
2666d441
UD
210382011-06-14 Ulrich Drepper <drepper@gmail.com>
21039
21040 * Versions.def: Add entry for libnss_db.
21041 * shlib-versions: Likewise.
21042 * nss/Makefile: Add rules to build libnss_db.
21043 * nss/Versions: Add libnss_db information. Organize libnss_files
21044 entries better.
21045 * nss/db-Makefile: Add gshadow support. Change rules for the new
21046 makedb progra. Some minor improvements to generate smaller files.
21047 * nss/nss_db/nss_db.h: Move NSS database header data structures to
21048 here from...
21049 * nss/makedb.c: ...here.
21050 Improve database format to be smaller and require less memory at
21051 runtime.
21052 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
21053 db anymore.
21054 * nss/nss_db/db-netgrp.c: Likewise.
21055 * nss/nss_db/db-open.c: Likewise.
21056 * nss/nss_files/flies-XXX.x: Adjust comments.
21057 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
21058 * nss/nss_files/files-grp.c: Likewise.
21059 * nss/nss_files/files-hosts.c: Likewise.
21060 * nss/nss_files/files-network.c: Likewise.
21061 * nss/nss_files/files-proto.c: Likewise.
21062 * nss/nss_files/files-pwd.c: Likewise.
21063 * nss/nss_files/files-rpc.c: Likewise.
21064 * nss/nss_files/files-service.c: Likewise.
21065 * nss/nss_files/files-sgrp.c: Likewise.
21066 * nss/nss_files/files-spwd.c: Likewise.
21067 * nss/nss_db/db-alias.c: Removed.
21068 * nss/nss_db/dummy-db.h: Removed.
21069
9ee76b5a
UD
210702011-06-02 Ulrich Drepper <drepper@gmail.com>
21071
21072 * nss/makedb.c: Rewritten to not use database library.
21073 * nss/Makefile: Update to build new makedb program.
21074
c71ca1f8
AJ
210752011-06-14 Andreas Jaeger <aj@suse.de>
21076
21077 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
21078 memset declaration.
21079
3154bfb8
UD
210802011-06-10 Andreas Schwab <schwab@redhat.com>
21081
21082 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
21083 tmpbuf.
21084
b350afab
RM
210852011-06-10 Roland McGrath <roland@hack.frob.com>
21086
decd4e50
RM
21087 * Makerules (shlib.lds): Fail if the linker script comes out empty.
21088 * elf/Makefile ($(objpfx)ld.so): Likewise.
21089
5615eaf2
RM
21090 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
21091 Don't list ld.so twice in dependencies.
21092
21093 * posix/bug-regex31.c: Include <stdlib.h>.
21094
21095 * nscd/hstcache.c (cache_addhst): Remove unused variable.
21096
21097 * nis/nss_compat/compat-spwd.c
21098 (getspent_next_nss_netgr): Remove unused variable.
21099 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
21100
21101 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
21102 nonmembers" output to use the right array.
21103
21104 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
21105
21106 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
21107
21108 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
21109 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
21110 * catgets/gencat.c (read_input_file): Likewise.
21111 * locale/programs/locarchive.c (enlarge_archive): Likewise.
21112
21113 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
21114 variable definition inside #if's controlling its use.
21115
21116 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
21117
21118 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
21119
21120 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
21121
21122 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
21123 unreachable code.
21124
21125 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
21126
b68e08db
RM
21127 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
21128 * configure: Regenerated.
21129
b350afab
RM
21130 * Makerules: Revert last change.
21131 * elf/Makefile: Likewise.
21132
28368601
RM
211332011-06-09 Roland McGrath <roland@hack.frob.com>
21134
21135 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
21136 * elf/Makefile ($(objpfx)librtld.os): Likewise.
21137 (reloc-link): Likewise.
21138
11988f8f
UD
211392011-06-09 Ulrich Drepper <drepper@gmail.com>
21140
21141 * elf/Makefile: Add rules to build pldd.
21142 * elf/pldd.c: New file.
21143 * elf/pldd-xx.c: New file.
21144
e80fab37
UD
211452011-06-07 Ulrich Drepper <drepper@gmail.com>
21146
21147 * version.h: Update for 2.15 development version.
21148
9b849836
DM
211492011-06-07 David S. Miller <davem@davemloft.net>
21150
21151 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
21152 ifuncs.
21153 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
21154 elf_machine_lazy_rel): Likewise.
21155 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21156 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
21157 elf_machine_lazy_rel): Likewise.
21158 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
21159 dl_hwcap via passed in argument.
21160 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
21161 Likewise.
21162
5a31b283
AK
211632011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21164
21165 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
21166
069e52f8
RM
211672011-06-06 Roland McGrath <roland@hack.frob.com>
21168
21169 [BZ #12849]
21170 * manual/fdl-1.1.texi: New file, verbatim from:
21171 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
21172 * manual/lgpl-2.1.texi: New file, verbatim from:
21173 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
21174 * manual/Makefile (licenses): New variable, list those new file names.
21175 (texis): Use it.
21176 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
21177
21178 * manual/fdl.texi: File removed.
21179 * manual/lesser.texi: File removed.
21180 * manual/libc.texinfo (Copying, Documentation License):
21181 Use new @include file names, put @appendix directive before @include.
21182
f16846a5
JJ
211832011-06-04 Jakub Jelinek <jakub@redhat.com>
21184
21185 [BZ #12841]
21186 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
21187 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
21188 (mq_open): Add __NTH.
21189
3d29045b
L
211902011-06-02 H.J. Lu <hongjiu.lu@intel.com>
21191
21192 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21193 Assume Intel Core i3/i5/i7 processor if AVX is available.
21194
8c297311
UD
211952011-05-31 Ulrich Drepper <drepper@gmail.com>
21196
21197 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21198 typo.
21199
c8fc0c91
UD
212002011-05-31 Andreas Schwab <schwab@redhat.com>
21201
21202 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
21203 memory. Use alloca_account. Fix memory leak when retrying.
21204
5b27a807
UD
212052011-05-31 Ulrich Drepper <drepper@gmail.com>
21206
356f8bc6
UD
21207 * version.h (RELEASE): Bump for 2.14 release.
21208 * include/features.h (__GLIBC_MINOR__): Bump to 14.
21209
5b27a807
UD
21210 * config.make.in (RANLIB): Remove entry.
21211
01f16ab0
UD
212122011-05-30 Ulrich Drepper <drepper@gmail.com>
21213
41fce8bd
UD
21214 * po/Makefile (po-sed-cmd): Add ksh to extensions.
21215 (libc.pot): Work around missing support for .ksh extension in xgettext.
21216
4769ae77
UD
21217 [BZ #12684]
21218 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
21219 if both request failed.
21220 (send_dg): In case of server errors clear resplen or *resplen2.
21221
6b1e7d19
UD
21222 [BZ #12454]
21223 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
21224 when there are multiple maps.
21225 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
21226 (_dl_fini): Remove test here.
21227
01f16ab0
UD
21228 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
21229
b1ebd700
UD
212302011-05-29 Ulrich Drepper <drepper@gmail.com>
21231
7ae22829
UD
21232 [BZ #12350]
21233 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
21234 bit from old_res_options.
21235 (gaih_inet): Likewise.
21236
553149f6 21237 [BZ #11099]
18a84741 21238 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
21239 as signed.
21240
652ffab1
UD
21241 * resolv/res_init.c (res_setoptions): Make the code more compact.
21242
16985fd0
UD
21243 [BZ #11558]
21244 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
21245 set RES_USEVC.
21246
0464f746
UD
21247 [BZ #11634]
21248 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
21249
7d17596c
UD
21250 * malloc/malloc.h: Mark malloc hook variables as deprecated.
21251
cf6bbbd7
UD
21252 [BZ #11781]
21253 * malloc/malloc.h: Declare malloc hook variables as volatile.
21254
13f1ab36
UD
21255 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
21256 in last patch.
21257
b1ebd700
UD
21258 [BZ #11799]
21259 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 21260 raise in the comment.
80e2212d
UD
21261 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21262 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21263 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 21264
ce67228d
UD
212652011-05-28 Ulrich Drepper <drepper@gmail.com>
21266
8887a920
UD
21267 [BZ #12811]
21268 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
21269 grow the buffers more if it already has to be sufficient.
21270 (build_wcs_upper_buffer): Likewise.
21271 * posix/regexec.c (check_matching): Likewise.
21272 (clean_state_log_if_needed): Likewise.
21273 (extend_buffers): Don't enlarge buffers beyond size of the input
21274 buffer.
21275 Patches mostly by Emil Wojak <emil@wojak.eu>.
21276 * posix/bug-regex32.c: New file.
21277 * posix/Makefile (tests): Add bug-regex32.
21278
4f031072
UD
21279 * locale/findlocale.c (_nl_find_locale): Return right away if
21280 _nl_explode_name failed.
21281 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21282
d0478f0c
UD
21283 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
21284
de81b246
UD
21285 * debug/xtrace.sh: Unify messages.
21286 * malloc/memusage.sh: Likewise.
21287
c738465a
UD
21288 [BZ #12813]
21289 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
21290 time symbol from vDSO. Substitute with vsyscall if not available.
21291 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
21292 __vdso_time.
21293
f1f929d7
UD
21294 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
21295 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
21296 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
21297 Add sendmmsg and internal_sendmmsg.
21298 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
21299 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
21300 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
21301
ce67228d
UD
21302 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
21303 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
21304 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
21305
e57420c6
UD
213062011-05-27 Ulrich Drepper <drepper@gmail.com>
21307
a8509ca5
UD
21308 [BZ #12813]
21309 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
21310 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
21311 available.
21312 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
21313 __vdso_getcpu.
21314
e57420c6
UD
21315 [BZ #12814]
21316 * iconvdata/Makefile (tests): Add bug-iconv9.
21317 * iconvdata/bug-iconv9.c: New file.
21318
4d07db15
AS
213192011-05-27 Andreas Schwab <schwab@redhat.com>
21320
21321 [BZ #12814]
21322 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
21323
ea486f69
JJ
213242011-05-25 Jakub Jelinek <jakub@redhat.com>
21325
21326 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21327 (struct user_regs_struct): Change intcs field back to cs.
21328
6f038433
UD
213292011-05-25 Ulrich Drepper <drepper@gmail.com>
21330
21331 * po/ja.po: Update from translation team.
21332
67f86a25
UD
213332011-05-23 Ulrich Drepper <drepper@gmail.com>
21334
21335 [BZ #12795]
21336 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
21337 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
21338
def7fbd6
AS
213392011-05-20 Andreas Schwab <schwab@redhat.com>
21340
21341 * stdlib/longlong.h: Update from GCC.
21342
f50ef8f1
AS
213432011-05-23 Andreas Schwab <schwab@redhat.com>
21344
21345 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
21346 parameter name.
21347 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
21348 Add parameter name.
21349 (__sysconf): Pass it down.
21350
de7ce8f1
UD
213512011-05-22 Ulrich Drepper <drepper@gmail.com>
21352
f2962a71
UD
21353 [BZ #12671]
21354 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
21355 some situations.
21356 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21357 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
21358 add in in __libc_use_alloca calls. Adjust callers.
21359 (glob): Use malloc in some situations.
21360
de7ce8f1
UD
21361 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
21362 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
21363 pltexit.
21364
aec84f53
UD
213652011-05-21 Ulrich Drepper <drepper@gmail.com>
21366
05bb4a68
UD
21367 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
21368 and CLOCK_BOOTTIME_ALARM.
21369
7ea72f99
UD
21370 [BZ #12782]
21371 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
21372 is returned.
21373
7e4afad5
UD
21374 * string/_strerror.c (__strerror_r): Print negative errors as signed
21375 numbers.
21376
8e211fec
UD
21377 [BZ #12777]
21378 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
21379 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
21380 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
21381
f7d82dc9
UD
21382 * configure.in: Fix typo in redirection and correct removal of test
21383 files in two cases.
21384
cc9e536d
UD
21385 [BZ #12788]
21386 * locale/setlocale.c (new_composite_name): Fix test to check for
21387 identical name of all categories.
21388
aec84f53
UD
21389 [BZ #12792]
21390 * libio/filedoalloc.c (local_isatty): New function.
21391 (_IO_file_doallocate): Use local_isatty.
21392 * stdio-common/perror.c (perror): In case a new stream is used
21393 forward the stream error.
21394 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
21395 error flag.
21396
78e64fdc
RT
213972011-05-20 Ulrich Drepper <drepper@gmail.com>
21398
34a9094f
UD
21399 [BZ #11869]
21400 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
21401 alloca.
21402 * include/alloca.h (extend_alloca_account): Define.
21403
78e64fdc
RT
21404 [BZ #11857]
21405 * posix/regex.h: Fix comments with documentation of user-accessible
21406 fields after compilation and describe correct free'ing of pattern
21407 after re_compile_pattern.
21408 Patch by Reuben Thomas <rrt@sc3d.org>.
21409
457bddfc
RA
214102011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
21411
21412 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
21413 and -mno-altivec to prevent the compiler from using Altivec and/or
21414 VSX instructions when the corresponding registers are not available.
21415
a4527b51
AS
214162011-05-19 Andreas Schwab <schwab@redhat.com>
21417
21418 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
21419
ed690b2f
UD
214202011-05-19 Ulrich Drepper <drepper@gmail.com>
21421
21422 * libio/freopen.c (freopen): Use __dup2, not dup2.
21423 * libio/freopen64.c (freopen64): Likewise.
21424
8db73634
L
214252011-05-17 H.J. Lu <hongjiu.lu@intel.com>
21426
21427 [BZ #12775]
21428 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
21429 * math/Makefile (tests): Add test-powl.
21430 (CFLAGS-test-powl.c): Define.
21431 * math/test-powl.c: New file.
21432
0a197a9d
L
214332011-05-16 H.J. Lu <hongjiu.lu@intel.com>
21434
21435 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
21436
ee30c380
UD
214372011-05-17 Ulrich Drepper <drepper@gmail.com>
21438
21439 [BZ #11837]
21440 * iconvdata/gb18030.c: Update to GB18020-2005.
21441
6ce75379
UD
214422011-05-16 Ulrich Drepper <drepper@gmail.com>
21443
a4b89fd8
AR
21444 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
21445 RE_SYNTAX_POSIX_AWK): Update to match recent development.
21446 Patch by Aharon Robbins <arnold@skeeve.com>.
21447
ea389b12
UD
21448 [BZ #11892]
21449 * stdlib/putenv.c (putenv): Don't always create copy of the variable
21450 on the stack.
21451
68a3f91f
UD
21452 [BZ #11895]
21453 * misc/pselect.c (__pselect): Handle timeout value errors hidden
21454 through underflows.
21455
15cc7dd1
UD
21456 [BZ #12766]
21457 * misc/error.c (error_at_line): Ensure file_name and old_file_name
21458 point to strings before performing equality test for error_one_per_line
21459 mode.
21460
f3799213
UD
21461 [BZ #11697]
21462 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
21463
d79a9c94
UD
21464 [BZ #11820]
21465 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21466 (struct user_fpregs_struct): Avoid __uint*_t types.
21467
56e5eb46
UD
21468 [BZ #6420]
21469 * malloc/mtrace.c (tr_where): Add additional parameter to point to
21470 symbol info. Use it instead of calling _dl_addr locally.
21471 (lock_and_info): New function.
21472 (tr_freehook): Call lock_and_info and pass symbol info as additional
21473 parameter to tr_where.
21474 (tr_mallochook): Likewise.
21475 (tr_reallochook): Likewise.
21476 (tr_memalignhook): Likewise.
21477
6ce75379
UD
21478 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
21479 used and couldn't be at all thread-safe.
21480
f8a3b5bf
UD
214812011-05-15 Ulrich Drepper <drepper@gmail.com>
21482
94b7cc37
UD
21483 * libio/freopen.c (freopen): Don't close old file descriptor
21484 before the new one is opened. Instead dup the new file descriptor
21485 to the old one after the new stream is created.
21486 * libio/freopen64.c (freopen64): Likewise.
21487 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
21488 * libio/fileops.c (_IO_new_file_close_it): Handle new
21489 _IO_FLAGS2_NOCLOSE flag.
21490 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
21491 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
21492 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
21493 _IO_FLAGS2_NOCLOSE flag.
21494 * include/unistd.h: Add hidden_proto for dup3.
21495 Define __have_dup3.
21496 * io/dup3.c: Define hidden symbol.
21497 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
21498
bd25564e
UD
21499 [BZ #7101]
21500 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
21501 when an incomplete long option is used.
21502 * posix/tst-getopt_long1.c: New file.
21503 * posix/Makefile (tests): Add tst-getopt_long1.
21504
c84cfef4
UD
21505 [BZ #10138]
21506 * scripts/config.guess: Update from autoconf-2.68.
21507 * scripts/config.sub: Likewise.
21508
3b85df27
UD
21509 [BZ #10157]
21510 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
21511 tests into ...
21512 (has_cpuclock): ...this. New function.
21513 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
21514 macro here based on has_cpuclock code.
21515
15a856b1
UD
21516 [BZ #10149]
21517 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21518 First byte (not low byte) is now always NUL.
21519 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
21520
05f399e6
UD
21521 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21522 Use non-cancelable interfaces.
21523
10a52685 21524 [BZ #9809]
94ecc67d
UD
21525 * locale/iso-639.def: Add entry for Sorani.
21526
f8a3b5bf
UD
21527 [BZ #11901]
21528 * include/stdlib.h: Move include protection to the right place.
21529 Define abort_msg_s. Declare __abort_msg with it.
21530 * stdlib/abort.c (__abort_msg): Adjust type.
21531 * assert/assert.c (__assert_fail_base): New function. Majority
21532 of code from __assert_fail. Allocate memory for __abort_msg with
21533 mmap.
21534 (__assert_fail): Now call __assert_fail_base.
21535 * assert/assert-perr.c: Remove bulk of implementation. Use
21536 __assert_fail_base.
21537 * include/assert.hL Declare __assert_fail_base.
21538 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
21539 mmap.
21540 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
21541
1af4e298
UD
215422011-05-14 Ulrich Drepper <drepper@gmail.com>
21543
f8a3b5bf 21544 [BZ #11952]
d26dfc60
MG
21545 [BZ #12453]
21546 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
21547 until all modules are registered in the DTV.
21548 * elf/Makefile: Add rules to build and run tst-tls19.
21549 * elf/tst-tls19.c: New file.
21550 * elf/tst-tls19mod1.c: New file.
21551 * elf/tst-tls19mod2.c: New file.
21552 * elf/tst-tls19mod3.c: New file.
21553 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
21554
2fc54d6f
UD
21555 [BZ #12083]
21556 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
21557 correctly.
21558
98d76b46
UD
21559 [BZ #12601]
21560 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
21561 two-byte sequence errors.
21562 * iconvdata/Makefile (tests): Add bug-iconv8.
21563 * iconvdata/bug-iconv8.c: New file.
21564
da3c19ef
UD
21565 [BZ #12626]
21566 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
21567 buf2 definition.
21568
ca408c15
UD
21569 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
21570
d6f67f7d
UD
21571 [BZ #12432]
21572 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
21573 (dummy_getcfa): New function.
21574 (init): Get _Unwind_GetCFA address, use dummy if not found.
21575 (backtrace_helper): In recursion check, also check whether CFA changes.
21576 (__backtrace): Completely initialize arg.
21577
1af4e298 21578 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
21579 storing incomplete byte sequence in state object. Avoid testing for
21580 guaranteed too small input if we know there is enough data available.
1af4e298 21581
da62f81b
AS
215822011-05-11 Andreas Schwab <schwab@redhat.com>
21583
21584 * Makeconfig (+link-pie): Indent.
21585 * Rules (binaries-pie): Define if $(have-fpie) and
21586 $(build-shared).
21587 (binaries-shared): Also filter out $(binaries-pie).
21588 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
21589 * nscd/Makefile (others-pie): Add nscd.
21590 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
21591 ($(objpfx)nscd): Remove command override.
21592 * login/Makefile (others-pie): Add pt_chown.
21593 ($(objpfx)pt_chown): Remove command override.
21594 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
21595 remove command overrides.
21596
fcabc0f8
UD
215972011-05-13 Ulrich Drepper <drepper@gmail.com>
21598
20030ae6
UD
21599 * libio/tst_putwc.c: Fix error messages.
21600
fcabc0f8
UD
21601 [BZ #12724]
21602 * libio/fileops.c (_IO_new_file_close_it): Always flush when
21603 currently writing and seek to current position when not.
21604 * libio/Makefile (tests): Add bug-fclose1.
21605 * libio/bug-fclose1.c: New file.
21606
320a5dc0
PB
216072011-05-12 Ulrich Drepper <drepper@gmail.com>
21608
21609 [BZ #12511]
21610 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
21611 don't set DF_1_NODELETE here.
21612 (do_lookup_x): When entering new entry test for copy relocation
21613 and if necessary set DF_1_NODELETE flag.
21614 * elf/tst-unique4.cc: New file.
21615 * elf/tst-unique4.h: New file.
21616 * elf/tst-unique4lib.cc: New file.
21617 * elf/Makefile: Add rules to build and run tst-unique4.
21618 Patch by Piotr Bury <pbury@goahead.com>.
21619
22836f52
UD
216202011-05-11 Ulrich Drepper <drepper@gmail.com>
21621
f574184a
UD
21622 [BZ #12052]
21623 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
21624
e1fb097f
UD
21625 [BZ #12625]
21626 * misc/mntent_r.c (addmntent): Flush the stream after the output
21627
22836f52
UD
21628 [BZ #12393]
21629 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
21630 (is_trusted_path_normalize): Skip initial colon. Append slash
21631 to empty buffer. Duplicate is_trusted_path code but allow
21632 constructed patch to be prefix.
21633 (is_dst): Allow $ORIGIN followed by /.
21634 (_dl_dst_substitute): Correct clearing of check_for_trusted.
21635 Correct testing of result of is_trusted_path_normalize
21636 (decompose_rpath): Fix warning.
21637
7b3b0b2a
UD
216382011-05-10 Ulrich Drepper <drepper@gmail.com>
21639
21640 [BZ #11257]
21641 * grp/initgroups.c (internal_getgrouplist): When we found the service
21642 list through the initgroups entry in nsswitch.conf do not always
21643 continue on a successful lookup. Don't always use the
eac80ce2 21644 __nss_group_database value if it is set.
7b3b0b2a
UD
21645 * nss/nsswitch.conf (initgroups): Change action for successful db
21646 lookup to continue for compatibility.
21647
2a81eaa5
UD
216482011-05-09 Ulrich Drepper <drepper@gmail.com>
21649
be97a69e
UD
21650 [BZ #11532]
21651 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
21652 and CP774 modules.
21653 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21654 and CP774 modules.
21655 * iconvdata/tst-tables.sh: Likewise.
21656 * iconvdata/cp770.c: New file.
21657 * iconvdata/cp771.c: New file.
21658 * iconvdata/cp772.c: New file.
21659 * iconvdata/cp773.c: New file.
21660 * iconvdata/cp774.c: New file.
21661 * iconvdata/testdata/CP770: New file.
21662 * iconvdata/testdata/CP770..UTF8: New file.
21663 * iconvdata/testdata/CP771: New file.
21664 * iconvdata/testdata/CP771..UTF8: New file.
21665 * iconvdata/testdata/CP772: New file.
21666 * iconvdata/testdata/CP772..UTF8: New file.
21667 * iconvdata/testdata/CP773: New file.
21668 * iconvdata/testdata/CP773..UTF8: New file.
21669 * iconvdata/testdata/CP774: New file.
21670 * iconvdata/testdata/CP774..UTF8: New file.
21671
21672 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
21673 END CHARMAP line.
21674 * iconvdata/gen-8bit-gap.sh: Likewise.
21675 * iconvdata/gen-8bit.sh: Likewise.
21676
c1e9e399
UD
21677 * locale/iso-639.def: Add ary entry.
21678
24c55fb3 21679 [BZ #11258]
96b4b1b0
UD
21680 * locale/C-translit.h.in: Add U20A1 transliteration.
21681
bdc2f971
KB
21682 [BZ #12178]
21683 * locale/iso-639.def: Add wae entry.
21684 Patch by Kevin Bortis <bortis@translate-wae.ch>.
21685
2952b117
UD
21686 [BZ #12545]
21687 * locale/programs/localedef.c (construct_output_path): Use ssize_t
21688 for n.
21689
2a81eaa5
UD
21690 [BZ #12711]
21691 * locale/C-translit.h.in: Add entry for U20B9.
21692 Patch by pravin.d.s@gmail.com.
21693
28377d1b
UD
216942011-05-08 Ulrich Drepper <drepper@gmail.com>
21695
7fb90fb8
UD
21696 [BZ #12713]
21697 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21698 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
21699 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
21700 in rtld. Use *stat64.
7fb90fb8 21701 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 21702 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 21703 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
21704 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21705 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21706 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21707 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21708 __fstatat64 macros.
7fb90fb8
UD
21709 * include/dirent.h: Add libc_hidden_proto for rewinddir.
21710 * dirent/rewinddir.c: Add libc_hidden_def.
21711 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 21712 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 21713
28377d1b
UD
21714 * include/dirent.h (__alloc_dir): Add flags parameter.
21715 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21716 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21717 __alloc_dir.
21718 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
21719 from fdopendir if O_CLOEXEC is already set.
21720
66bdbaa4
AM
217212011-03-15 Alan Modra <amodra@gmail.com>
21722
21723 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21724 l_tls_firstbyte_offset non-zero. Save padding offset in
21725 l_tls_firstbyte_offset for later use.
21726 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21727 freeing static tls block.
21728
95721191
JN
217292011-03-05 Jonathan Nieder <jrnieder@gmail.com>
21730
21731 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21732 where #ifdef was intended. The intent is to prevent ARG_MAX from
21733 being defined by the kernel headers.
21734
f87dfb1f
UD
217352011-05-07 Ulrich Drepper <drepper@gmail.com>
21736
21737 [BZ #12734]
21738 * resolv/resolv.h: Define RES_NOTLDQUERY.
21739 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21740 no-tld-query and set RES_NOTLDQUERY.
21741 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21742 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21743 modern BIND to search name as TLD unless forbidden.
21744
47c3cd7a
UD
217452011-05-07 Petr Baudis <pasky@suse.cz>
21746 Ulrich Drepper <drepper@gmail.com>
21747
21748 [BZ #12393]
21749 * elf/dl-load.c (fillin_rpath): Move trusted path check...
21750 (is_trusted_path): ...to here.
c1e9ea35 21751 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 21752 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 21753 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 21754
8a35c912
PP
217552011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21756
21757 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21758 __BEGIN/__END_DECLS.
21759
acd41f47
UD
217602011-05-06 Ulrich Drepper <drepper@gmail.com>
21761
21762 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21763 NSS_STATUS_NOTFOUND if no record was found.
21764
597df647
AS
217652011-05-05 Andreas Schwab <schwab@redhat.com>
21766
21767 * sunrpc/Makefile (headers): Add rpc/netdb.h.
21768 (headers-not-in-tirpc): Remove rpc/netdb.h
21769 * resolv/netdb.h: Revert last change.
21770
b9af1301
PP
217712011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21772
21773 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21774 circular dependency between libgcc.a and libc.a.
21775
4e34d5f5
AS
217762011-05-05 Andreas Schwab <schwab@redhat.com>
21777
21778 * resolv/netdb.h: Don't include <rpc/netdb.h>.
21779 * nis/Makefile: Don't install rpcsvc/*.
21780 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21781 instead of <rpc/types.h>.
21782 (MAXHOSTNAMELEN): Define.
21783
00ee369c
AS
217842011-05-03 Andreas Schwab <schwab@redhat.com>
21785
21786 * elf/ldconfig.c (add_dir): Don't crash on empty path.
21787
0b592a30
MB
217882011-04-28 Maciej Babinski <mbabinski@google.com>
21789
21790 [BZ #12714]
21791 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21792 gethostbyname4_r when IPv6 results are possible.
21793
6e04cbbe
UD
217942011-05-02 Ulrich Drepper <drepper@gmail.com>
21795
21796 [BZ #12723]
21797 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21798 _PC_PIPE_BUF handling.
21799
e4ecafe0
BH
218002011-04-30 Bruno Haible <bruno@clisp.org>
21801
21802 [BZ #12717]
21803 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21804 * resolv/netdb.h (getnameinfo): Change type of flags parameter
21805 to 'int'.
21806 * inet/getnameinfo.c (getnameinfo): Likewise.
21807
125ee683
UD
218082011-04-29 Ulrich Drepper <drepper@gmail.com>
21809
21810 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21811 to groups setting in database lookup.
21812 * nss/nsswitch.conf: Add initgroups entry.
21813
b722481a
EB
218142011-04-22 Ulrich Drepper <drepper@gmail.com>
21815
21816 [BZ #12685]
21817 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21818 mode string.
21819 Patch by Eric Blake <eblake@redhat.com>.
21820
4df46dbd
L
218212011-04-20 H.J. Lu <hongjiu.lu@intel.com>
21822
21823 * sunrpc/Makefile (need-export-routines): Add svc_run.
21824 (routines): Remove svc_run.
21825 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21826 * sunrpc/clnt_perr.c (clnt_perrno): Export.
21827 * sunrpc/svc_run.c (svc_run): Likewise.
21828 * sunrpc/svc_udp.c (svcudp_create): Likewise.
21829
e84142d2
UD
218302011-04-21 Ulrich Drepper <drepper@gmail.com>
21831
21832 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21833 problem in reallocation in last patch.
21834
877175d8
UD
218352011-04-20 Ulrich Drepper <drepper@gmail.com>
21836
21837 * sunrpc/Makefile: Move inclusion of Rules.
21838
ab8eed78
UD
218392011-04-19 Ulrich Drepper <drepper@gmail.com>
21840
21841 * nss/nss_files/files-initgroups.c: New file.
21842 * nss/Makefile (libnss_files-routines): Add files-initgroups.
21843 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21844 _nss_files_initgroups_dyn.
21845
e3d8f584
RS
218462011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
21847
21848 * elf/elf.h (R_ARM_IRELATIVE): Define.
21849
af190f45
UD
218502011-04-19 Ulrich Drepper <drepper@gmail.com>
21851
21852 * po/ru.po: Update from translation team.
21853
53cf59ef
UD
218542011-04-17 Ulrich Drepper <drepper@gmail.com>
21855
21856 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21857 dependencies.
21858
4c559bcd
MF
218592011-02-06 Mike Frysinger <vapier@gentoo.org>
21860
21861 [BZ #12653]
21862 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21863 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21864 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21865 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21866 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21867
4420675c
AS
218682011-03-28 Andreas Schwab <schwab@linux-m68k.org>
21869
21870 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21871 differing bytes.
21872 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21873 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21874 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21875
75ea32ab
UD
218762011-04-17 Ulrich Drepper <drepper@gmail.com>
21877
21878 [BZ #12420]
21879 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21880 storing it.
21881 * stdlib/bug-getcontext.c: New file.
21882 * stdlib/Makefile: Add rules to build and run bug-getcontext.
21883
27390476
AK
218842011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21885
21886 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21887 instructions into .machine "z9-109".
21888 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21889 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21890
10442705
AK
218912011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21892
21893 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21894 between environment variables and auxiliary vector.
21895
7b57bfe5
UD
218962011-04-16 Ulrich Drepper <drepper@gmail.com>
21897
21898 * Makefile: Add rules to build linkobj/libc.so.
21899 * include/libc-symbols.h: Define libc_hidden_nolink.
21900 * include/rpc/auth.h: Mark functions which are to be hidden.
21901 * include/rpc/auth_des.h: Likewise.
21902 * include/rpc/auth_unix.h: Likewise.
21903 * include/rpc/clnt.h: Likewise.
21904 * include/rpc/des_crypt.h: Likewise.
21905 * include/rpc/key_prot.h: Likewise.
21906 * include/rpc/pmap_clnt.h: Likewise.
21907 * include/rpc/pmap_prot.h: Likewise.
21908 * include/rpc/pmap_rmt.h: Likewise.
21909 * include/rpc/rpc_msg.h: Likewise.
21910 * include/rpc/svc.h: Likewise.
21911 * include/rpc/svc_auth.h: Likewise.
21912 * include/rpc/xdr.h: Likewise.
21913 * nis/Makefile: Link all DSOs against linkobj/libc.so.
21914 * nss/Makefile: Likewise.
21915 * sunrpc/Makefile: Don't install headers. Build library with normal
21916 entry points. Don't build rpcinfo. Link RPC tests appropriately.
21917 * sunrpc/auth_des.c: Hide exported symbols by default, export some
21918 for the compat linking library. Remove use of INTDEF/INTUSE.
21919 * sunrpc/auth_none.c: Likewise.
21920 * sunrpc/auth_unix.c: Likewise.
21921 * sunrpc/authdes_prot.c: Likewise.
21922 * sunrpc/authuxprot.c: Likewise.
21923 * sunrpc/clnt_gen.c: Likewise.
21924 * sunrpc/clnt_perr.c: Likewise.
21925 * sunrpc/clnt_raw.c: Likewise.
21926 * sunrpc/clnt_simp.c: Likewise.
21927 * sunrpc/clnt_tcp.c: Likewise.
21928 * sunrpc/clnt_udp.c: Likewise.
21929 * sunrpc/clnt_unix.c: Likewise.
21930 * sunrpc/des_crypt.c: Likewise.
21931 * sunrpc/des_soft.c: Likewise.
21932 * sunrpc/get_myaddr.c: Likewise.
21933 * sunrpc/key_call.c: Likewise.
21934 * sunrpc/key_prot.c: Likewise.
21935 * sunrpc/netname.c: Likewise.
21936 * sunrpc/pm_getmaps.c: Likewise.
21937 * sunrpc/pm_getport.c: Likewise.
21938 * sunrpc/pmap_clnt.c: Likewise.
21939 * sunrpc/pmap_prot.c: Likewise.
21940 * sunrpc/pmap_prot2.c: Likewise.
21941 * sunrpc/pmap_rmt.c: Likewise.
21942 * sunrpc/publickey.c: Likewise.
21943 * sunrpc/rpc_cmsg.c: Likewise.
21944 * sunrpc/rpc_common.c: Likewise.
21945 * sunrpc/rpc_dtable.c: Likewise.
21946 * sunrpc/rpc_prot.c: Likewise.
21947 * sunrpc/rpc_thread.c: Likewise.
21948 * sunrpc/rtime.c: Likewise.
21949 * sunrpc/svc.c: Likewise.
21950 * sunrpc/svc_auth.c: Likewise.
21951 * sunrpc/svc_authux.c: Likewise.
21952 * sunrpc/svc_raw.c: Likewise.
21953 * sunrpc/svc_run.c: Likewise.
21954 * sunrpc/svc_simple.c: Likewise.
21955 * sunrpc/svc_tcp.c: Likewise.
21956 * sunrpc/svc_udp.c: Likewise.
21957 * sunrpc/svc_unix.c: Likewise.
21958 * sunrpc/svcauth_des.c: Likewise.
21959 * sunrpc/xcrypt.c: Likewise.
21960 * sunrpc/xdr.c: Likewise.
21961 * sunrpc/xdr_array.c: Likewise.
21962 * sunrpc/xdr_float.c: Likewise.
21963 * sunrpc/xdr_intXX_t.c: Likewise.
21964 * sunrpc/xdr_mem.c: Likewise.
21965 * sunrpc/xdr_rec.c: Likewise.
21966 * sunrpc/xdr_ref.c: Likewise.
21967 * sunrpc/xdr_sizeof.c: Likewise.
21968 * sunrpc/xdr_stdio.c: Likewise.
21969
e6c61494
UD
219702011-04-10 Ulrich Drepper <drepper@gmail.com>
21971
21972 [BZ #12650]
21973 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21974 * sysdeps/ia64/dl-tls.h: Likewise.
21975 * sysdeps/powerpc/dl-tls.h: Likewise.
21976 * sysdeps/s390/dl-tls.h: Likewise.
21977 * sysdeps/sh/dl-tls.h: Likewise.
21978 * sysdeps/sparc/dl-tls.h: Likewise.
21979 * sysdeps/x86_64/dl-tls.h: Likewise.
21980 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21981
34fe483e
AS
219822011-03-14 Andreas Schwab <schwab@redhat.com>
21983
21984 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21985 rpath element also skip the following colon.
21986 (expand_dynamic_string_token): Add is_path parameter and pass
21987 down to DL_DST_REQUIRED and _dl_dst_substitute.
21988 (decompose_rpath): Call expand_dynamic_string_token with
21989 non-zero is_path. Ignore empty rpaths.
21990 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21991 with zero is_path.
21992
f12a32e6
AS
219932011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21994
21995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21996 Make cancelable.
21997
38a7d692
UD
219982011-04-09 Ulrich Drepper <drepper@gmail.com>
21999
22000 [BZ #12655]
22001 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
22002 Patch by Filipe David Manana <fdmanana@apache.org>.
22003
e451d22b
AS
220042011-04-07 Andreas Schwab <schwab@redhat.com>
22005
22006 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
22007 Maintain aligned stack.
22008 (CHECK_RSP): Remove unused macro.
22009
dedc7c7b
UD
220102011-04-03 Ulrich Drepper <drepper@gmail.com>
22011
22012 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
22013 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
22014
94521213
UD
220152011-04-02 Ulrich Drepper <drepper@gmail.com>
22016
22017 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
22018
8cb700c0 22019 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 22020
0354e355
L
220212011-03-26 H.J. Lu <hongjiu.lu@intel.com>
22022
22023 [BZ #12518]
22024 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
22025 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
22026 * sysdeps/x86_64/memmove.c: New file.
22027 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
22028 (memcpy): Renamed to ...
22029 (__new_memcpy): This.
22030 (memcpy): Provide GLIBC_2_14 memcpy.
22031 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
22032 (memcpy): Provide GLIBC_2_2_5 memcpy.
22033
8593482f
UD
220342011-04-01 Ulrich Drepper <drepper@gmail.com>
22035
22036 [BZ #12631]
22037 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
22038
81a5726b
AS
220392011-03-30 Andreas Schwab <schwab@redhat.com>
22040
22041 * misc/syncfs.c: New file.
22042 * misc/Makefile (routines): Add syncfs.
22043 * posix/unistd.h: Declare syncfs.
22044 * sysdeps/unix/syscalls.list: Add syncfs.
22045
00e5419f
AS
220462011-04-01 Andreas Schwab <schwab@redhat.com>
22047
22048 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
22049 open_by_handle_at.
22050 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22051 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22052 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22053 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22054 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22055 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
22056 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22057
748876bf
UD
220582011-04-01 Ulrich Drepper <drepper@gmail.com>
22059
658e451d
UD
22060 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
22061 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22062 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
22063 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22064 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22065 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22066 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22067
748876bf
UD
22068 * io/Makefile: Compile fallocate.c, fallocate64.c, and
22069 sync_file_range.c with -fexceptions.
22070 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
22071 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
22072 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22073 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22074 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
22075 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22076 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
22077 sync_file_range as cancellation point
22078 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
22079 now a wrapper around __call_sync_file_range with cancellation handling.
22080 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
22081 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
22082 function name to __call_sync_file_range.
22083 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
22084 Add call_sync_file_range.
748876bf 22085
6e63d5e1
AS
220862011-04-01 Andreas Schwab <schwab@redhat.com>
22087
22088 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 22089 bits/timex.h.
6e63d5e1 22090
46998f74
UD
220912011-04-01 Ulrich Drepper <drepper@gmail.com>
22092
4c1423ed
UD
22093 * iconv/iconv.h: Fix typo in comment.
22094 * io/fcntl.h: Likewise.
22095 * libio/stdio.h: Likewise.
22096 * posix/spawn.h: Likewise.
22097 * posix/unistd.h: Likewise.
22098 * stdlib/stdlib.h: Likewise.
22099 * time/time.h: Likewise.
22100 * wcsmbs/wchar.h: Likewise.
22101
158648c0
UD
22102 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
22103 open_by_handle): Add.
22104 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
22105 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
22106 Augment a few comments.
22107 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22108 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22109 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22110 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22111 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22112 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
22113 open_by_handle.
22114
46998f74
UD
22115 * io/fcntl.h (AT_EMPTY_PATH): Define.
22116
83fe108b
UD
221172011-03-30 Ulrich Drepper <drepper@gmail.com>
22118
22119 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
22120 * sysdeps/unix/sysv/linux/bits/time.h: New file.
22121 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
22122 to...
22123 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
22124 * Versions.def: Add GLIBC_2.14.
22125 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
22126 Export.
83fe108b 22127
bb242059
UD
221282011-03-22 Ulrich Drepper <drepper@gmail.com>
22129
22130 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
22131 round counter.
22132 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22133
c97a1282
L
221342011-03-20 H.J. Lu <hongjiu.lu@intel.com>
22135
22136 [BZ #12597]
22137 * string/test-strncmp.c (do_page_test): New function.
22138 (check2): Likewise.
22139 (test_main): Call check2.
22140 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
22141
2a115601
UD
221422011-03-20 Ulrich Drepper <drepper@gmail.com>
22143
22144 [BZ #12587]
22145 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
22146 Handle cache information in CPU leaf 4.
22147 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22148
8126d904
UD
221492011-03-18 Ulrich Drepper <drepper@gmail.com>
22150
042c49c6 22151 [BZ #12583]
8126d904
UD
22152 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
22153 character representation.
22154 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
22155
ccfe366e
RA
221562011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
22157
22158 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
22159 END(__isnan) to END(__isnanf) to match function entry point/label
22160 EALIGN(__isnanf,...).
22161
c6e13027
JJ
221622011-03-10 Jakub Jelinek <jakub@redhat.com>
22163
22164 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
22165
33f85a3f
UD
221662011-03-10 Ulrich Drepper <drepper@gmail.com>
22167
028478fa
UD
22168 [BZ #12510]
22169 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
22170 copy from the symbol referenced in the relocation to initialize the
22171 used variable.
22172 Patch by Piotr Bury <pbury@goahead.com>.
22173 * elf/Makefile: Add rules to build and tst-unique3.
22174 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
22175 * elf/tst-unique3.cc: New file.
22176 * elf/tst-unique3.h: New file.
22177 * elf/tst-unique3lib.cc: New file.
22178 * elf/tst-unique3lib2.cc: New file.
22179
33f85a3f
UD
22180 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
22181
03592fc7
MF
221822011-03-10 Mike Frysinger <vapier@gentoo.org>
22183
22184 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
22185 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
22186 to _start.
03592fc7 22187
6a5ee102
UD
221882011-03-06 Ulrich Drepper <drepper@gmail.com>
22189
22190 * elf/dl-load.c (_dl_map_object): If we are looking for the first
22191 to-be-loaded object along a path to loader is ld.so.
22192
7e4ba49c
HJ
221932011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22194 Ulrich Drepper <drepper@gmail.com>
22195
22196 * sysdeps/x86_64/memset.S: After aligning destination, code
22197 branches to different locations depending on the value of
22198 misalignment, when multiarch is enabled. Fix this.
22199
222002011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22201
22202 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
22203 Set _x86_64_preferred_memory_instruction for AMD processsors.
22204 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22205 Set bit_Prefer_SSE_for_memop for AMD processors.
22206
13a804de
UD
222072011-03-04 Ulrich Drepper <drepper@gmail.com>
22208
22209 * libio/fmemopen.c (fmemopen): Optimize a bit.
22210
9d25c392
AS
222112011-03-03 Andreas Schwab <schwab@redhat.com>
22212
22213 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
22214
a5543c6a
RM
222152011-03-03 Roland McGrath <roland@redhat.com>
22216
22217 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
22218
012d35f7
DM
222192011-02-28 Aurelien Jarno <aurelien@aurel32.net>
22220
7e4ba49c 22221 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
22222 __bzero_ultra1 instead of __memset_ultra1.
22223
4bff6e01
AS
222242011-02-23 Andreas Schwab <schwab@redhat.com>
22225 Ulrich Drepper <drepper@gmail.com>
22226
22227 [BZ #12509]
22228 * include/link.h (struct link_map): Add l_orig_initfini.
22229 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
22230 returning unsuccessfully.
22231 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
22232 close of a file loaded at startup, restore the original l_initfini
22233 list.
22234 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
22235 list, store the pointer.
22236 * elf/Makefile ($(objpfx)noload-mem): New rule.
22237 (noload-ENV): Define.
22238 (tests): Add $(objpfx)noload-mem.
22239 * elf/noload.c: Include <memcheck.h>.
22240 (main): Call mtrace. Close all opened handles.
22241
f2092faf
AS
222422011-02-17 Andreas Schwab <schwab@redhat.com>
22243
22244 [BZ #12454]
22245 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
22246 dependencies are missing.
22247
6c8a2e88
ST
222482011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
22249
f2092faf 22250 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
22251 Hurd needs munmap.
22252 * sysdeps/mach/hurd/ifreq.h: New file.
22253
84a42118
PB
222542011-01-27 Petr Baudis <pasky@suse.cz>
22255 Ulrich Drepper <drepper@gmail.com>
22256
071f805e 22257 [BZ 12445]#
84a42118
PB
22258 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
22259 to extend_alloca().
22260 * stdio-common/bug23.c: New file.
22261 * stdio-common/Makefile (tests): Add bug23.
22262
e23fe25b
AS
222632010-09-28 Andreas Schwab <schwab@redhat.com>
22264 Ulrich Drepper <drepper@gmail.com>
22265
22266 [BZ #12489]
22267 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
22268 before performing relro protection. At old place add assertion
22269 to make sure nothing changed.
22270
d3f02e10
NS
222712011-02-17 Nathan Sidwell <nathan@codesourcery.com>
22272 Glauber de Oliveira Costa <glommer@gmail.com>
22273
22274 * elf/elf.h: Add new ARM TLS relocs.
22275
d55fd7a5
RA
222762011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
22277
22278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22279 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
22280 cast from r3.
22281 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
22282 'tests' variable.
22283 * sysdeps/wordsize-64/tst-writev.c: New file.
22284
2206397e
RA
222852011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
22286
22287 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
22288 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
22289 insns in _dl_start to prevent a TOC reference before relocs are
22290 resolved.
22291
e9433893
UD
222922011-02-15 Ulrich Drepper <drepper@gmail.com>
22293
22294 [BZ #12469]
22295 * Makeconfig: Remove RANLIB definition.
22296 * Makerules: Don't use RANLIB.
22297 * aclocal.m4: Remove ranlib test.
22298 * configure.in: No need to check for ranlib.
22299 * elf/rtld-Rules: Don't use RANLIB.
22300
f75286c6
ST
223012011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22302
8e31c82d
ST
22303 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
22304 protection macro.
22305 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
22306 inclusion protection macro.
22307
f75286c6
ST
22308 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
22309 SIGRTMIN and SIGRTMAX and print information in that case only when
22310 SIGRTMIN is defined.
22311
c1d0e639
JJ
223122011-02-11 Jakub Jelinek <jakub@redhat.com>
22313
22314 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
22315 arginfo fn returning -1.
22316
22317 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
22318 and thousands string is zero terminated.
22319
edf9294e
AS
223202011-02-03 Andreas Schwab <schwab@redhat.com>
22321
22322 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
22323 sysdeps/unix/sysv/linux/bits/socket.h.
22324
2b7e92df
ST
223252011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22326
edf9294e
AS
22327 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
22328 (__CPU_COUNT): Remove old macros.
22329 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
22330 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
22331 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
22332 (__sched_cpualloc, __sched_cpufree): Add declarations.
22333
a4c7ea7b
UD
223342011-02-05 Ulrich Drepper <drepper@gmail.com>
22335
22336 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
22337 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
22338 * nscd/aicache.c (addhstaiX): Return timeout of added value.
22339 (readdhstai): Return value of addhstaiX call.
22340 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
22341 (addgrbyX): Return value returned by cache_addgr.
22342 (readdgrbyname): Return value returned by addgrbyX.
22343 (readdgrbygid): Likewise.
22344 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
22345 (addpwbyX): Return value returned by cache_addpw.
22346 (readdpwbyname): Return value returned by addhstbyX.
22347 (readdpwbyuid): Likewise.
22348 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
22349 (addservbyX): Return value returned by cache_addserv.
22350 (readdservbyname): Return value returned by addservbyX:
22351 (readdservbyport): Likewise.
22352 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
22353 (addhstbyX): Return value returned by cache_addhst.
22354 (readdhstbyname): Return value returned by addhstbyX.
22355 (readdhstbyaddr): Likewise.
22356 (readdhstbynamev6): Likewise.
22357 (readdhstbyaddrv6): Likewise.
22358 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
22359 (readdinitgroups): Return value returned by addinitgroupsX.
22360 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
22361 (prune_cache): Keep track of timeout value of re-added entries.
22362 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
22363 * nscd/nscd.h: Adjust prototypes of readd* functions.
22364
a0bf67cc
RM
223652011-02-04 Roland McGrath <roland@redhat.com>
22366
22367 * nis/nis_server.c (nis_servstate): Use the right name for 0.
22368 (nis_stats): Likewise.
22369 * nis/nis_modify.c (nis_modify): Likewise.
22370 * nis/nis_remove.c (nis_remove): Likewise.
22371 * nis/nis_add.c (nis_add): Likewise.
22372
22373 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
22374
22375 * posix/fnmatch_loop.c: Add some consts.
22376
22377 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
22378
435b95eb
L
223792011-02-02 H.J. Lu <hongjiu.lu@intel.com>
22380
22381 [BZ #12460]
22382 * config.make.in (config-cflags-novzeroupper): Define.
22383 * configure.in: Substitute libc_cv_cc_novzeroupper.
22384 * elf/Makefile (AVX-CFLAGS): Define.
22385 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
22386 (CFLAGS-tst-auditmod4a.c): Likewise.
22387 (CFLAGS-tst-auditmod4b.c): Likewise.
22388 (CFLAGS-tst-auditmod6b.c): Likewise.
22389 (CFLAGS-tst-auditmod6c.c): Likewise.
22390 (CFLAGS-tst-auditmod7b.c): Likewise.
22391 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
22392
8517b15e
UD
223932011-02-02 Ulrich Drepper <drepper@gmail.com>
22394
22395 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
22396 function to the callback.
22397 Patch partly by Jiri Olsa <jolsa@redhat.com>.
22398
10a656fe
AS
223992011-02-02 Andreas Schwab <schwab@redhat.com>
22400
22401 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
22402 of errno.
22403
968dad0a
UD
224042011-01-19 Ulrich Drepper <drepper@gmail.com>
22405
9f94d2ea 22406 [BZ #11724]
968dad0a
UD
22407 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
22408 of constructors.
22409 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
22410 of destructors.
22411 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
22412
22413 [BZ #11724]
22414 * elf/Makefile: Add rules to build and run new test.
22415 * elf/tst-initorder.c: New file.
22416 * elf/tst-initorder.exp: New file.
22417 * elf/tst-initordera1.c: New file.
22418 * elf/tst-initordera2.c: New file.
22419 * elf/tst-initordera3.c: New file.
22420 * elf/tst-initordera4.c: New file.
22421 * elf/tst-initorderb1.c: New file.
22422 * elf/tst-initorderb2.c: New file.
22423 * elf/tst-order-a1.c: New file.
22424 * elf/tst-order-a2.c: New file.
22425 * elf/tst-order-a3.c: New file.
22426 * elf/tst-order-a4.c: New file.
22427 * elf/tst-order-b1.c: New file.
22428 * elf/tst-order-b2.c: New file.
22429 * elf/tst-order-main.c: New file.
22430 New test case by George Gensure <werkt0@gmail.com>.
22431
86e92359
UD
224322010-10-01 Andreas Schwab <schwab@redhat.com>
22433
22434 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22435 decoding ACE if AI_CANONIDN.
22436
5d5732b0
UD
224372011-01-18 Ulrich Drepper <drepper@gmail.com>
22438
22439 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
22440
a77e8cbc
UD
224412011-01-17 Ulrich Drepper <drepper@gmail.com>
22442
6392473f
UD
22443 * version.h (RELEASE): Bump for 2.13 release.
22444 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
22445
620a0529
UD
22446 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
22447
18ba70a5
UD
22448 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
22449 MADV_NOHUGEPAGE.
32465c3e
UD
22450 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
22451 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22452 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22453 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22454 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22455 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22456
c0dafcf1
UD
22457 * posix/getconf.c: Update copyright year.
22458 * catgets/gencat.c: Likewise.
22459 * csu/version.c: Likewise.
22460 * debug/catchsegv.sh: Likewise.
22461 * debug/xtrace.sh: Likewise.
22462 * elf/ldconfig.c: Likewise.
22463 * elf/ldd.bash.in: Likewise.
22464 * elf/sprof.c (print_version): Likewise.
22465 * iconv/iconv_prog.c: Likewise.
22466 * iconv/iconvconfig.c: Likewise.
22467 * locale/programs/locale.c: Likewise.
22468 * locale/programs/localedef.c: Likewise.
22469 * malloc/memusage.sh: Likewise.
22470 * malloc/mtrace.pl: Likewise.
22471 * nscd/nscd.c (print_version): Likewise.
22472 * nss/getent.c: Likewise.
22473
a77e8cbc
UD
22474 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
22475 PF_CAIF, and PF_ALG.
22476 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22477
77e8bddf
AS
224782011-01-16 Andreas Schwab <schwab@linux-m68k.org>
22479
1f20b93a
AS
22480 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
22481 (modules-names): Use them.
22482 (ifunc-test-modules, ifunc-pie-tests): Define.
22483 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
22484 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
22485 (test-extras): Likewise.
22486 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
22487 $(compile-command.c).
22488 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
22489 (all-built-dso): Define.
22490 (check-textrel.out, check-execstack.out): Depend on it.
22491
77e8bddf
AS
22492 * configure.in: Don't override --enable-multi-arch.
22493
bc425b33
UD
224942011-01-15 Ulrich Drepper <drepper@gmail.com>
22495
22496 [BZ #6812]
22497 * nscd/hstcache.c (tryagain): Define.
22498 (cache_addhst): Return tryagain not notfound for temporary errors.
22499 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
22500 failed.
22501
794c3ad3
UD
225022011-01-14 Ulrich Drepper <drepper@gmail.com>
22503
70181fdd
UD
22504 [BZ #10563]
22505 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
22506 to make the syscall.
22507 * sysdeps/unix/sysv/linux/setgroups.c: New file.
22508
794c3ad3
UD
22509 [BZ #12378]
22510 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
22511 and fall back to matching as normal character if the string ends before
22512 the matching ']' is found. This is what POSIX requires.
22513 * posix/testfnm.c: Adjust test result.
22514 * posix/globtest.sh: Adjust test result. Add new test.
22515 * posix/tst-fnmatch.input: Likewise.
22516 * posix/tst-fnmatch2.c: Add new test.
22517
68dc9497
AS
225182010-12-28 Andreas Schwab <schwab@linux-m68k.org>
22519
22520 * elf/Makefile (check-execstack): Revert last change. Depend on
22521 check-execstack.h.
22522 (check-execstack.h): New target.
22523 (generated): Add check-execstack.h.
22524 * elf/check-execstack.c: Include "check-execstack.h".
22525 (main): Revert last change.
22526 (handle_file): Return zero if GNU_STACK is absent and
22527 DEFAULT_STACK_PERMS doesn't include PF_X.
22528
451f001b
UD
225292011-01-13 Ulrich Drepper <drepper@gmail.com>
22530
cfa28e56
UD
22531 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
22532 in child fails because the descriptor is already closed.
8cf8ce17
UD
22533 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
22534 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
22535 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 22536
1086d70d
UD
22537 [BZ #12397]
22538 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
22539 syscall.
22540
451f001b
UD
22541 [BZ #10484]
22542 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
22543 temporary buffer used to handle multi lookups locally.
a85b5cb4 22544 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 22545
08769175
UD
225462011-01-12 Ulrich Drepper <drepper@gmail.com>
22547
22548 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
22549 loader is ld.so.
22550
5e49c52e
UD
225512011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
22552
22553 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
22554 alignment for SSE2.
22555
60522a5f
UD
225562011-01-12 Ulrich Drepper <drepper@gmail.com>
22557
22558 [BZ #12394]
22559 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
22560 characters. When rounding increased number of integer digits recompute
22561 number of groups.
22562 * stdio-common/tst-grouping.c: New file.
22563 * stdio-common/Makefile: Add rules to build and run tst-grouping.
22564
f257bbd7
UD
225652011-01-09 Ulrich Drepper <drepper@gmail.com>
22566
22567 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
22568 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
22569
22570 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
22571 void.
22572 * bits/select.h: Likewise.
22573
fa9c15cb
UD
225742011-01-08 Ulrich Drepper <drepper@gmail.com>
22575
22576 * po/ja.po: Update from translation team.
22577
16c2895f
DM
225782011-01-04 David S. Miller <davem@sunset.davemloft.net>
22579
22580 [BZ #11155]
22581 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
22582 implementation just like for lxstat, fxstatat, et al.
22583
2543fef2
JM
225842010-12-27 Jim Meyering <meyering@redhat.com>
22585
22586 [BZ #12348]
22587 * posix/regexec.c (build_trtable): Return failure indication upon
22588 calloc failure. Otherwise, re_search_internal could infloop on OOM.
22589
98727dbe
UD
225902010-12-25 Ulrich Drepper <drepper@gmail.com>
22591
5bd6dc5c
UD
22592 [BZ #12201]
22593 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
22594 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
22595 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
22596 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
22597
97983464
UD
22598 [BZ #12207]
22599 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
22600
98727dbe
UD
22601 [BZ #12204]
22602 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
22603 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
22604
4a531bb0
L
226052010-12-15 H.J. Lu <hongjiu.lu@intel.com>
22606
22607 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
22608 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
22609 script has SORT_BY_INIT_PRIORITY.
22610 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
22611 NO_CTORS_DTORS_SECTIONS is defined.
22612 * elf/soinit.c: Likewise.
22613 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
22614 NO_CTORS_DTORS_SECTIONS is defined.
22615 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
22616 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
22617 * sysdeps/sh/init-first.c: Likewise.
22618 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
22619
07eb4b71
UD
226202010-12-24 Ulrich Drepper <drepper@gmail.com>
22621
22622 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
22623 always use the slow path.
22624
30950a5f
RA
226252010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
22626
22627 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
22628 similar rule which adds the sysdep directories to the header search in
22629 order to pick up the correct platform stackinfo.h.
22630 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
22631 perform test if it is, otherwise return successfully without testing.
22632 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
22633 DEFAULT_STACK_PERMS define in stackinfo.h.
22634 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
22635 defined in stackinfo.h.
22636 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
22637 DEFAULT_STACK_PERMS defined in stackinfo.h.
22638 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
22639 * sysdeps/ia64/stackinfo.h: Likewise.
22640 * sysdeps/s390/stackinfo.h: Likewise.
22641 * sysdeps/sh/stackinfo.h: Likewise.
22642 * sysdeps/sparc/stackinfo.h: Likewise.
22643 * sysdeps/x86_64/stackinfo.h: Likewise.
22644 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
22645 PF_X for powerpc64. Retain PF_X for powerpc32.
22646
db753e2c
UD
226472010-12-19 Ulrich Drepper <drepper@gmail.com>
22648
14b697f7
UD
22649 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
22650 accurately.
db753e2c
UD
22651 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
22652 GETDENTS_64BIT_ALIGNED.
22653
28300719
UD
226542010-12-14 Ulrich Drepper <dreper@gmail.com>
22655
14b697f7 22656 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 22657
4f197237
AS
226582010-12-10 Andreas Schwab <schwab@redhat.com>
22659
dbb0472f
AS
22660 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22661 _GNU_SOURCE.
22662
4f197237
AS
22663 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22664 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22665 Remove __restrict.
22666 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22667 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22668
fb88ac72
UD
226692010-12-09 Ulrich Drepper <drepper@gmail.com>
22670
22671 [BZ #11655]
22672 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
22673 are initialized.
22674
42acbb92
JJ
226752010-12-09 Jakub Jelinek <jakub@redhat.com>
22676
22677 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
22678
c038d98d
UD
226792010-12-03 Ulrich Drepper <drepper@gmail.com>
22680
22681 * po/it.po: Update from translation team.
22682
3a4a2499
L
226832010-12-01 H.J. Lu <hongjiu.lu@intel.com>
22684
22685 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
22686 unused codes.
22687
1e24cf6e
UD
226882010-11-30 Ulrich Drepper <drepper@gmail.com>
22689
22690 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
22691
a7690819
AS
226922010-11-24 Andreas Schwab <schwab@redhat.com>
22693
22694 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
22695 specially.
22696 (gaih_getanswer_slice): Likewise.
22697
3bf8d1b1
JJ
226982010-10-20 Jakub Jelinek <jakub@redhat.com>
22699
22700 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22701
6db52fbb
PB
227022010-05-31 Petr Baudis <pasky@suse.cz>
22703
22704 [BZ #11149]
22705 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22706 silently even in the chroot mode.
22707
eaca7569
UD
227082010-11-22 Ulrich Drepper <drepper@gmail.com>
22709
22710 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22711 last patch a bit. Pretty printing
22712
3056dcdb
UD
227132010-05-31 Petr Baudis <pasky@suse.cz>
22714
22715 [BZ #10085]
22716 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22717 initialization of skip_initgroups_dyn.
22718
cf7c9078
UD
227192010-11-19 Ulrich Drepper <drepper@gmail.com>
22720
22721 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22722 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22723
a1fb5e3e
UD
227242010-11-16 Ulrich Drepper <drepper@gmail.com>
22725
22726 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22727
3540d66b
AS
227282010-11-11 Andreas Schwab <schwab@redhat.com>
22729
22730 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22731 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22732 (tst-fnmatch-ENV): Set MALLOC_TRACE.
22733 ($(objpfx)tst-fnmatch-mem): New rule.
22734 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22735 * posix/tst-fnmatch.c (main): Call mtrace.
22736
13b69574
L
227372010-11-11 H.J. Lu <hongjiu.lu@intel.com>
22738
22739 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22740 Support Intel processor model 6 and model 0x2c.
22741
da93d214
LM
227422010-11-10 Luis Machado <luisgpm@br.ibm.com>
22743
22744 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22745 signed comparison.
22746
8ca52c6e
L
227472010-11-09 H.J. Lu <hongjiu.lu@intel.com>
22748
22749 [BZ #12205]
22750 * string/test-strncasecmp.c (check_result): New function.
22751 (do_one_test): Use it.
22752 (check1): New function.
22753 (test_main): Use it.
22754 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22755 Support strcasecmp and strncasecmp.
22756
69da074d
UD
227572010-11-08 Ulrich Drepper <drepper@gmail.com>
22758
22759 [BZ #12194]
22760 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22761 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22762
ff02d528
L
227632010-11-07 H.J. Lu <hongjiu.lu@intel.com>
22764
22765 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22766 IFUNC support.
22767 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22768 memset-x86-64.
22769 * sysdeps/x86_64/multiarch/bzero.S: New file.
22770 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22771 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22772 * sysdeps/x86_64/multiarch/memset.S: New file.
22773 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22774 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22775 Set bit_Prefer_SSE_for_memop for Intel processors.
22776 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22777 Define.
22778 (index_Prefer_SSE_for_memop): Define.
22779 (HAS_PREFER_SSE_FOR_MEMOP): Define.
22780
344d0b54
LM
227812010-11-04 Luis Machado <luisgpm@br.ibm.com>
22782
22783 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22784 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22785
c0dde15b
UD
227862010-11-03 H.J. Lu <hongjiu.lu@intel.com>
22787
22788 [BZ #12191]
22789 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22790 (__x86_64_raw_data_cache_size_half): Likewise.
22791 (__x86_64_raw_shared_cache_size): Likewise.
22792 (__x86_64_raw_shared_cache_size_half): Likewise.
22793
22794 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22795 (__x86_64_raw_data_cache_size_half): Likewise.
22796 (__x86_64_raw_shared_cache_size): Likewise.
22797 (__x86_64_raw_shared_cache_size_half): Likewise.
22798 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22799 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22800 and __x86_64_raw_shared_cache_size_half. Round
22801 __x86_64_data_cache_size_half, __x86_64_data_cache_size
22802 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22803 to multiple of 256 bytes.
22804
0e516e0e
MS
228052010-11-03 Ulrich Drepper <drepper@gmail.com>
22806
22807 [BZ #12167]
22808 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22809 of inacessible symlinks. Verify result of symlink before returning it.
22810 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22811 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22812
0e012e87
ER
228132010-10-28 Erich Ritz <erichritz@gmail.com>
22814
22815 * math/math.h (isinf): Fix typo in comment.
22816
de0ff7bc
UD
228172010-11-01 Ulrich Drepper <drepper@gmail.com>
22818
22819 * po/da.po: Update from translation team.
22820
fa41c84d
UD
228212010-10-26 Ulrich Drepper <drepper@gmail.com>
22822
22823 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22824 is added to the list.
22825
f0967738
AK
228262010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22827 Ulrich Drepper <drepper@gmail.com>
22828
22829 * elf/dl-object.c (_dl_new_object): Don't append the new object to
22830 the global list here. Move code to...
22831 (_dl_add_to_namespace_list): ...here. New function.
22832 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22833 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22834 * elf/dl-load.c (lose): Don't remove the element from the list.
22835 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22836 (_dl_map_object): Likewise.
22837
228382010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
22839
22840 [BZ #12159]
22841 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22842 into all bytes of SSE register.
22843 Patch by Richard Li <richardpku@gmail.com>.
22844
f0967738 228452010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
22846
22847 [BZ #12140]
22848 * malloc/malloc.c (_int_free): Fill correct number of bytes when
22849 perturbing.
22850
d0b9e94f
MB
228512010-10-20 Michael B. Brutman <brutman@us.ibm.com>
22852
22853 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22854 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22855 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22856 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22858 submachine.
22859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22860
8e9f92e9
AS
228612010-10-22 Andreas Schwab <schwab@redhat.com>
22862
22863 * include/dlfcn.h (__RTLD_SECURE): Define.
22864 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
22865 mode & __RTLD_SECURE instead.
22866 (open_path): Rename preloaded parameter to secure.
22867 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22868 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22869 * elf/dl-deps.c (openaux): Likewise.
22870 * elf/rtld.c (struct map_args): Remove is_preloaded.
22871 (map_doit): Don't use it.
22872 (dl_main): Likewise.
22873 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22874 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22875
bc96fbda
AS
228762010-09-09 Andreas Schwab <schwab@redhat.com>
22877
22878 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22879 (sysd-rules-targets): Remove duplicates.
22880 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22881 rtld-%.$o dependency.
22882
22cd1c9b
AS
228832010-10-18 Andreas Schwab <schwab@redhat.com>
22884
22885 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22886 _dl_map_object do it.
22887
18edac48
UD
228882010-10-19 Ulrich Drepper <drepper@gmail.com>
22889
22890 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22891 fast fma builtins, define the macros in the C99 standard.
22892 (FP_FAST_FMAF): Likewise.
22893 (FP_FAST_FMAL): Likewise.
22894 * sysdeps/x86_64/bits/mathdef.h: Likewise.
22895
22896 * bits/mathdef.h: Update copyright year.
22897 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22898
d2050124
MM
228992010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
22900
22901 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22902 builtins, define the macros in the C99 standard.
22903 (FP_FAST_FMAF): Likewise.
22904 (FP_FAST_FMAL): Likewise.
22905 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22906 multiply/add.
22907 (FP_FAST_FMAF): Likewise.
22908
475facd1
JJ
229092010-10-15 Jakub Jelinek <jakub@redhat.com>
22910
22911 [BZ #3268]
22912 * math/libm-test.inc (fma_test): Some new testcases.
22913 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22914 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22915 y and infinite z. Do multiplication by C already in long double.
22916 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22917 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22918 y and infinite z. Do bitwise or of inexact bit into u.d.
22919 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22920 * sysdeps/i386/fpu/s_fmaf.S: Removed.
22921 * sysdeps/i386/fpu/s_fma.S: Removed.
22922 * sysdeps/i386/fpu/s_fmal.S: Removed.
22923
7c08a05c
JJ
229242010-10-16 Jakub Jelinek <jakub@redhat.com>
22925
22926 [BZ #3268]
22927 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22928 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22929 computation is not scheduled after fetestexcept. Fix value
22930 of minimum denormal long double.
22931
f3f7372d
JJ
229322010-10-14 Jakub Jelinek <jakub@redhat.com>
22933
22934 [BZ #3268]
22935 * math/libm-test.inc (fma_test): Add some more tests.
22936 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22937 correctly.
22938
14d43591
AS
229392010-10-15 Andreas Schwab <schwab@redhat.com>
22940
22941 * scripts/data/localplt-s390-linux-gnu.data: New file.
22942 * scripts/data/localplt-s390x-linux-gnu.data: New file.
22943
5e908464
JJ
229442010-10-13 Jakub Jelinek <jakub@redhat.com>
22945
22946 [BZ #3268]
22947 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22948 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22949 instead of dbl-64.
22950 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22951 inlines.
22952 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22953 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22954 if one of x and y is very large and the other is subnormal.
22955 * sysdeps/s390/fpu/s_fmaf.c: New file.
22956 * sysdeps/s390/fpu/s_fma.c: New file.
22957 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22958 * sysdeps/powerpc/fpu/s_fma.S: New file.
22959 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22960 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22961 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22962
229632010-10-12 Jakub Jelinek <jakub@redhat.com>
22964
22965 [BZ #3268]
22966 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22967 fma tests.
22968 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22969 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22970 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22971 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22972 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22973 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22974 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22975
b833d51f
UD
229762010-10-12 Ulrich Drepper <drepper@redhat.com>
22977
22978 [BZ #12078]
22979 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22980 * posix/bug-regex31.input: Add test case.
22981
1751705d
UD
229822010-10-11 Ulrich Drepper <drepper@gmail.com>
22983
e9b9cbf5
UD
22984 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22985 * posix/bug-regex31.input: New file.
22986
22987 [BZ #12078]
22988 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22989 (parse_sub_exp): Fix last change, use postorder.
22990
ef06edbe
UD
22991 * posix/bug-regex31.c: New file.
22992 * posix/Makefile: Add rules to build and run bug-regex31.
22993
a129c80d
UD
22994 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22995
22996 [BZ #12078]
22997 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22998
b76b818e
UD
22999 [BZ #12108]
23000 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
23001 to have entries in sys_siglist.
23002
1751705d
UD
23003 [BZ #12093]
23004 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
23005 be NULL.
23006
9ff8d36f
JJ
230072010-10-07 Jakub Jelinek <jakub@redhat.com>
23008
23009 [BZ #3268]
23010 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
23011 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
23012 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23013 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
23014 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23015 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
23016 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
23017 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
23018 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
23019 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
23020 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
23021 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
23022 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23023 * math/ftestexcept.c (fetestexcept): Likewise.
23024 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
23025 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
23026 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23027 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
23028 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
23029 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
23030 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23031
af325969
UD
230322010-10-11 Ulrich Drepper <drepper@gmail.com>
23033
c579b202 23034 [BZ #12107]
af325969
UD
23035 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
23036 newline.
23037
67a67b95
UD
230382010-10-06 Ulrich Drepper <drepper@gmail.com>
23039
23040 * string/bug-strstr1.c: New file.
23041 * string/Makefile: Add rules to build and run bug-strstr1.
23042
5fb308bc
EB
230432010-10-05 Eric Blake <eblake@redhat.com>
23044
23045 [BZ #12092]
23046 * string/str-two-way.h (two_way_long_needle): Always clear memory
23047 when skipping input due to the shift table.
23048
45db99c7
UD
230492010-10-03 Ulrich Drepper <drepper@gmail.com>
23050
3b111893
UD
23051 [BZ #12005]
23052 * malloc/mcheck.c: Handle large requests.
23053
45db99c7
UD
23054 [BZ #12077]
23055 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
23056 for strncmp and strncasecmp.
23057 * string/stratcliff.c: Add tests for strcmp and strncmp.
23058 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
23059
cf7a1eb8
NI
230602010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23061
23062 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
23063 __set_fpscr.
23064
6484ba5e
AJ
230652010-09-30 Andreas Jaeger <aj@suse.de>
23066
23067 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
23068 (CGROUP_SUPER_MAGIC): Define.
23069 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23070 Handle btrfs and cgroup file systems.
23071 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23072 Likewise.
23073
91c42559
LM
230742010-09-27 Luis Machado <luisgpm@br.ibm.com>
23075
23076 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
23077 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
23078
87a97932
AK
230792010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23080
23081 [BZ #12067]
23082 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
23083 trying to locate the ELF header.
23084
c21cc9bc
AS
230852010-09-27 Andreas Schwab <schwab@redhat.com>
23086
23087 [BZ #11611]
23088 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
23089 Mask out sign-bit copies when constructing f_fsid.
23090
315970f6
PB
230912010-09-24 Petr Baudis <pasky@suse.cz>
23092
23093 * debug/stack_chk_fail_local.c: Add missing licence exception.
23094 * debug/warning-nop.c: Likewise.
23095
1ac7a2c7
JM
230962010-09-15 Joseph Myers <joseph@codesourcery.com>
23097
23098 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
23099 implementing getdents64 using getdents syscall, set d_type if
23100 __ASSUME_GETDENTS32_D_TYPE.
23101
56801c50
AS
231022010-09-16 Andreas Schwab <schwab@redhat.com>
23103
23104 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
23105 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
23106
dda51327
UD
231072010-09-21 Ulrich Drepper <drepper@redhat.com>
23108
23109 [BZ #12037]
23110 * posix/unistd.h: Undo change of feature selection for ftruncate from
23111 2010-01-11.
23112
8ffcee4a
UD
231132010-09-20 Ulrich Drepper <drepper@redhat.com>
23114
a545ecd9 23115 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
23116 detection.
23117
e24f0a8b
AS
231182010-09-20 Andreas Schwab <schwab@redhat.com>
23119
23120 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
23121 fanotify_mark.
23122 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23123
7291c56f
AS
231242010-09-14 Andreas Schwab <schwab@redhat.com>
23125
23126 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
23127 variables after CHECK_SP call.
23128 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
23129
bc5fb037
AS
231302010-09-13 Andreas Schwab <schwab@redhat.com>
23131 Ulrich Drepper <drepper@redhat.com>
23132
23133 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
23134 re-relocationg ld.so.
23135 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
23136 _dl_init_paths call.
23137 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
23138 here anymore.
23139
e66e7419
UD
231402010-09-14 Ulrich Drepper <drepper@redhat.com>
23141
23142 * resolv/res_init.c (__res_vinit): Count the default server we added.
23143
c044aa75
CLT
231442010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
23145 Ulrich Drepper <drepper@redhat.com>
23146
23147 [BZ #11968]
23148 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23149 (____longjmp_chk): Use %ebx for saving value across system call.
23150 Add unwind info.
23151
32cf4069
AS
231522010-09-06 Andreas Schwab <schwab@redhat.com>
23153
23154 * manual/Makefile: Don't mix pattern rules with normal rules.
23155
817328ee
AS
231562010-09-05 Andreas Schwab <schwab@linux-m68k.org>
23157
23158 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
23159 operation.
23160 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
23161 * libio/iofopncook.c (_IO_cookie_init): Likewise.
23162 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
23163 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23164 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23165 Likewise.
23166
29fddf61
UD
231672010-09-04 Ulrich Drepper <drepper@redhat.com>
23168
23169 [BZ #11979]
23170 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
23171 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
23172
0959ffc9
UD
231732010-09-02 Ulrich Drepper <drepper@redhat.com>
23174
23175 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
23176 * sysdeps/x86_64/addmul_1.S: Likewise.
23177 * sysdeps/x86_64/lshift.S: Likewise.
23178 * sysdeps/x86_64/mul_1.S: Likewise.
23179 * sysdeps/x86_64/rshift.S: Likewise.
23180 * sysdeps/x86_64/sub_n.S: Likewise.
23181 * sysdeps/x86_64/submul_1.S: Likewise.
23182
ece29840
ST
231832010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
23184
0959ffc9
UD
23185 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
23186 Define __sched_param instead of SCHED_* and sched_param when
ece29840 23187 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 23188 * bits/sched.h [__need_schedparam]
ece29840 23189 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
23190 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
23191 (__defined_schedparam): Define to 1.
ece29840
ST
23192 (__sched_param): New structure, identical to sched_param.
23193 (__need_schedparam): Undefine.
23194
e53a31fe
MF
231952010-08-31 Mike Frysinger <vapier@gentoo.org>
23196
fdc0c10d
MF
23197 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
23198 (epoll_create1): Declare.
23199
e53a31fe
MF
23200 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
23201
a726d796
AS
232022010-08-31 Andreas Schwab <schwab@redhat.com>
23203
23204 [BZ #7066]
23205 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
23206 shifting retval into place.
23207
2f3e3dc7
UD
232082010-09-01 Ulrich Drepper <drepper@redhat.com>
23209
f2933da9
UD
23210 * nis/rpcsvc/nis.h: Update copyright notice.
23211 * nis/rpcsvc/nis.x: Likewise.
23212 * nis/rpcsvc/nis_callback.h: Likewise.
23213 * nis/rpcsvc/nis_callback.x: Likewise.
23214 * nis/rpcsvc/nis_object.x: Likewise.
23215 * nis/rpcsvc/nis_tags.h: Likewise.
23216 * nis/rpcsvc/yp.h: Likewise.
23217 * nis/rpcsvc/yp.x: Likewise.
23218 * nis/rpcsvc/ypupd.h: Likewise.
23219 * nis/yp_xdr.c: Likewise.
23220 * nis/ypupdate_xdr.c: Likewise.
23221
2f3e3dc7
UD
23222 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
23223 mainly the body of pmap_getport. Add parameters to specify timeouts.
23224 (pmap_getport): Use __libc_rpc_getport.
23225 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
23226 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
23227 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
23228
f3dcc2f9
AS
232292010-08-31 Andreas Schwab <schwab@linux-m68k.org>
23230
23231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
23232 fanotify_mark.
23233
6d34eb5b
RM
232342010-08-27 Roland McGrath <roland@redhat.com>
23235
23236 * sysdeps/i386/i686/multiarch/Makefile
23237 (CFLAGS-varshift.c): New variable.
23238
9ea3de11
UD
232392010-08-27 Ulrich Drepper <drepper@redhat.com>
23240
c96d23fc
UD
23241 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
23242 * sysdeps/i386/i686/multiarch/varshift.c: New file.
23243
9ea3de11
UD
23244 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
23245
23246 * sysdeps/x86_64/strlen.S: Minimal code improvement.
23247
623aac7f
L
232482010-08-26 H.J. Lu <hongjiu.lu@intel.com>
23249
23250 * sysdeps/x86_64/strlen.S: Unroll the loop.
23251 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23252 strlen-sse2 strlen-sse2-bsf.
23253 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
23254 __strlen_no_bsf if bit_Slow_BSF is set.
23255 (__strlen_sse42): Removed.
23256 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
23257 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
23258
8b2b7715
RM
232592010-08-25 Roland McGrath <roland@redhat.com>
23260
23261 * sysdeps/x86_64/multiarch/varshift.S: File removed.
23262 * sysdeps/x86_64/multiarch/varshift.c: New file.
23263 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
23264 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
23265 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
23266 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23267
e73015f2
L
232682010-08-25 H.J. Lu <hongjiu.lu@intel.com>
23269
23270 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23271 strlen-sse2 strlen-sse2-bsf.
23272 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
23273 __strlen_sse2_bsf if bit_Slow_BSF is unset.
23274 (__strlen_sse2): Removed.
23275 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
23276 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
23277 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23278 bit_Slow_BSF for Atom.
23279 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
23280 (index_Slow_BSF): Define.
23281 (HAS_SLOW_BSF): Define.
23282
df24a73e
UD
232832010-08-25 Ulrich Drepper <drepper@redhat.com>
23284
23285 [BZ #10851]
23286 * resolv/res_init.c (__res_vinit): When no server address at all
23287 is given default to loopback.
23288
f2ac4868
RM
232892010-08-24 Roland McGrath <roland@redhat.com>
23290
09055553
RM
23291 * configure.in: Remove config-name.h generation.
23292 * configure: Regenerated.
23293 * config-name.in: File removed.
23294 * scripts/config-uname.sh: New file.
23295 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
23296 ($(objdir)config-name.h): New target.
23297
f2ac4868
RM
23298 * sunrpc/rpc_parse.h: Avoid nested comment.
23299
73f27d5e
RH
233002010-08-24 Richard Henderson <rth@redhat.com>
23301 Ulrich Drepper <drepper@redhat.com>
23302 H.J. Lu <hongjiu.lu@intel.com>
23303
23304 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
23305 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
23306 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
23307 Replace _mm_srli_si128 with __m128i_shift_right. Replace
23308 _mm_alignr_epi8 with _mm_loadu_si128.
23309 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
23310 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
23311 (__m128i_shift_right): Removed.
23312 * sysdeps/i386/i686/multiarch/varshift.h: New file.
23313 * sysdeps/i386/i686/multiarch/varshift.S: New file.
23314 * sysdeps/x86_64/multiarch/varshift.h: New file.
23315 * sysdeps/x86_64/multiarch/varshift.S: New file.
23316
84b9230c
MF
233172010-08-21 Mike Frysinger <vapier@gentoo.org>
23318
23319 * configure.in: Move assembler checks to before sysdep dir checking.
23320
9bbd0ddc
PB
233212010-08-20 Petr Baudis <pasky@suse.cz>
23322
23323 * LICENSES: Sync the sunrpc license.
23324
9da4bb31
UD
233252010-08-19 Ulrich Drepper <drepper@redhat.com>
23326
a7ab6ec8
UD
23327 * sunrpc/auth_des.c: Update copyright notice once again.
23328 * sunrpc/auth_none.c: Likewise.
23329 * sunrpc/auth_unix.c: Likewise.
23330 * sunrpc/authdes_prot.c: Likewise.
23331 * sunrpc/authuxprot.c: Likewise.
23332 * sunrpc/bindrsvprt.c: Likewise.
23333 * sunrpc/clnt_gen.c: Likewise.
23334 * sunrpc/clnt_perr.c: Likewise.
23335 * sunrpc/clnt_raw.c: Likewise.
23336 * sunrpc/clnt_simp.c: Likewise.
23337 * sunrpc/clnt_tcp.c: Likewise.
23338 * sunrpc/clnt_udp.c: Likewise.
23339 * sunrpc/clnt_unix.c: Likewise.
23340 * sunrpc/des_crypt.c: Likewise.
23341 * sunrpc/des_soft.c: Likewise.
23342 * sunrpc/get_myaddr.c: Likewise.
23343 * sunrpc/getrpcport.c: Likewise.
23344 * sunrpc/key_call.c: Likewise.
23345 * sunrpc/key_prot.c: Likewise.
23346 * sunrpc/openchild.c: Likewise.
23347 * sunrpc/pm_getmaps.c: Likewise.
23348 * sunrpc/pm_getport.c: Likewise.
23349 * sunrpc/pmap_clnt.c: Likewise.
23350 * sunrpc/pmap_prot.c: Likewise.
23351 * sunrpc/pmap_prot2.c: Likewise.
23352 * sunrpc/pmap_rmt.c: Likewise.
23353 * sunrpc/rpc/auth.h: Likewise.
23354 * sunrpc/rpc/auth_unix.h: Likewise.
23355 * sunrpc/rpc/clnt.h: Likewise.
23356 * sunrpc/rpc/des_crypt.h: Likewise.
23357 * sunrpc/rpc/key_prot.h: Likewise.
23358 * sunrpc/rpc/netdb.h: Likewise.
23359 * sunrpc/rpc/pmap_clnt.h: Likewise.
23360 * sunrpc/rpc/pmap_prot.h: Likewise.
23361 * sunrpc/rpc/pmap_rmt.h: Likewise.
23362 * sunrpc/rpc/rpc.h: Likewise.
23363 * sunrpc/rpc/rpc_des.h: Likewise.
23364 * sunrpc/rpc/rpc_msg.h: Likewise.
23365 * sunrpc/rpc/svc.h: Likewise.
23366 * sunrpc/rpc/svc_auth.h: Likewise.
23367 * sunrpc/rpc/types.h: Likewise.
23368 * sunrpc/rpc/xdr.h: Likewise.
23369 * sunrpc/rpc_clntout.c: Likewise.
23370 * sunrpc/rpc_cmsg.c: Likewise.
23371 * sunrpc/rpc_common.c: Likewise.
23372 * sunrpc/rpc_cout.c: Likewise.
23373 * sunrpc/rpc_dtable.c: Likewise.
23374 * sunrpc/rpc_hout.c: Likewise.
23375 * sunrpc/rpc_main.c: Likewise.
23376 * sunrpc/rpc_parse.c: Likewise.
23377 * sunrpc/rpc_parse.h: Likewise.
23378 * sunrpc/rpc_prot.c: Likewise.
23379 * sunrpc/rpc_sample.c: Likewise.
23380 * sunrpc/rpc_scan.c: Likewise.
23381 * sunrpc/rpc_scan.h: Likewise.
23382 * sunrpc/rpc_svcout.c: Likewise.
23383 * sunrpc/rpc_tblout.c: Likewise.
23384 * sunrpc/rpc_util.c: Likewise.
23385 * sunrpc/rpc_util.h: Likewise.
23386 * sunrpc/rpcinfo.c: Likewise.
23387 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
23388 * sunrpc/rpcsvc/key_prot.x: Likewise.
23389 * sunrpc/rpcsvc/klm_prot.x: Likewise.
23390 * sunrpc/rpcsvc/mount.x: Likewise.
23391 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
23392 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
23393 * sunrpc/rpcsvc/rex.x: Likewise.
23394 * sunrpc/rpcsvc/rstat.x: Likewise.
23395 * sunrpc/rpcsvc/rusers.x: Likewise.
23396 * sunrpc/rpcsvc/sm_inter.x: Likewise.
23397 * sunrpc/rpcsvc/spray.x: Likewise.
23398 * sunrpc/rpcsvc/yppasswd.x: Likewise.
23399 * sunrpc/rtime.c: Likewise.
23400 * sunrpc/svc.c: Likewise.
23401 * sunrpc/svc_auth.c: Likewise.
23402 * sunrpc/svc_authux.c: Likewise.
23403 * sunrpc/svc_raw.c: Likewise.
23404 * sunrpc/svc_run.c: Likewise.
23405 * sunrpc/svc_simple.c: Likewise.
23406 * sunrpc/svc_tcp.c: Likewise.
23407 * sunrpc/svc_udp.c: Likewise.
23408 * sunrpc/svc_unix.c: Likewise.
23409 * sunrpc/svcauth_des.c: Likewise.
23410 * sunrpc/xcrypt.c: Likewise.
23411 * sunrpc/xdr.c: Likewise.
23412 * sunrpc/xdr_array.c: Likewise.
23413 * sunrpc/xdr_float.c: Likewise.
23414 * sunrpc/xdr_mem.c: Likewise.
23415 * sunrpc/xdr_rec.c: Likewise.
23416 * sunrpc/xdr_ref.c: Likewise.
23417 * sunrpc/xdr_sizeof.c: Likewise.
23418 * sunrpc/xdr_stdio.c: Likewise.
23419
9da4bb31
UD
23420 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
23421 handling.
23422
bdaa77bc
AS
234232010-08-19 Andreas Schwab <schwab@redhat.com>
23424
23425 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
23426
fe2f79db
LM
234272010-08-19 Luis Machado <luisgpm@br.ibm.com>
23428
23429 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
23430 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
23431 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
23432 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
23433 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
23434 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
23435 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
23436 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
23437 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
23438 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
23439 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
23440 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
23441 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
23442 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
23443
b9b42ee0
AB
234442010-07-26 Anton Blanchard <anton@samba.org>
23445
23446 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
23447 * malloc/arena.c (heap_trim): Likewise.
23448
1c06ba31
UD
234492010-08-16 Ulrich Drepper <drepper@redhat.com>
23450
23451 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
23452 here. Not...
23453 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
23454 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
23455
f8392f40
L
234562010-08-12 H.J. Lu <hongjiu.lu@intel.com>
23457
23458 * sysdeps/i386/elf/Makefile: New file.
23459
3162f12e
AS
234602010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23461
23462 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
23463 from fanotify_init.
23464 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
23465 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23466
28c90b2c
UD
234672010-08-15 Ulrich Drepper <drepper@redhat.com>
23468
23469 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23470 of strncasecmp_l.
1feccb6c 23471 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 23472
ca6bb004
UD
234732010-08-14 Ulrich Drepper <drepper@redhat.com>
23474
e9f82e0d
UD
23475 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23476 strncase_l-nonascii.
23477 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23478 Add strncase_l-ssse3.
23479 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
23480 * sysdeps/x86_64/strcmp.S: Likewise.
23481 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
23482 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
23483 * sysdeps/x86_64/strncase.S: New file.
23484 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
23485 * sysdeps/x86_64/strncase_l.S: New file.
23486 * string/Makefile (strop-tests): Add strncasecmp.
23487 * string/test-strncasecmp.c: New file.
23488
23489 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
23490 warning.
23491
ca6bb004
UD
23492 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
23493 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23494
052fa7b3
AS
234952010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23496
23497 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
23498
962dba78
UD
234992010-08-12 Ulrich Drepper <drepper@redhat.com>
23500
23501 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
23502 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
23503 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
23504
bebff237
AM
235052010-05-01 Alan Modra <amodra@gmail.com>
23506
23507 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
23508 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
23509 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
23510 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
23511 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
23512 tidying. Don't tail-call __sigjmp_save for static lib.
23513 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
23514 save location.
23515 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
23516 (CALL_MCOUNT): Add eh info, and nop after bl.
23517 (TAIL_CALL_SYSCALL_ERROR): New macro.
23518 (PSEUDO_RET): Use it.
23519 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23520 Correct save location of integer regs and cr.
23521 (_dl_profile_resolve): Correct cr save location. Delete nops
23522 after bl when SHARED. Reduce cfi size a little by better
23523 placement of cfi directives.
23524 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
23525 make a stack frame. Instead use parm save area as a temp.
23526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
23527 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
23528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23529 Don't make a stack frame for parent, use parm save area.
23530 Increase child stack frame to 112 bytes. Don't save unused reg,
23531 and adjust reg usage. Set up cfi on error recovery and
23532 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
23533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23534 (__makecontext): Add dummy nop after jump to exit.
23535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
23536 Use correct parm save area and cr save, reduce stack frame.
23537 Correct cfi for possible PSEUDO_RET frame setup.
23538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
23539 Branch to local label emitted by PSEUDO_RET rather than
23540 __syscall_error.
23541
02637374
AS
235422010-08-12 Andreas Schwab <schwab@redhat.com>
23543
23544 [BZ #11904]
23545 * locale/programs/locale.c (print_assignment): New function.
23546 (show_locale_vars): Use it.
23547
c3e2f19b
UD
235482010-08-11 Ulrich Drepper <drepper@redhat.com>
23549
3cdaa6ad
UD
23550 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
23551 field.
23552 (struct statfs64): Likewise.
23553 (_STATFS_F_FLAGS): Define.
23554 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
23555 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23556 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
23557 (ST_VALID): Define locally.
23558 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
23559 __statvfs_getflags, use the provided value.
23560 * sysdeps/unix/sysv/linux/kernel-features.h: Define
23561 __ASSUME_STATFS_F_FLAGS.
23562
754f7da3
UD
23563 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
23564
10b3bedc
UD
23565 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
23566 Add sys/fanotify.h.
23567 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
23568 fanotify_mask for GLIBC_2.13.
23569 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
23570 fanotify_init and fanotify_mark.
23571 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23572 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
23573
c08fb0d7
UD
23574 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
23575 Add prlimit.
23576 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
23577 prlimit64 for GLIBC_2.13.
23578 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
23579 prlimit64.
23580 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
23581 syscall.
23582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
23583 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23584 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
23585 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
23586 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
23587 add prlimit alias.
23588 * sysdeps/unix/sysv/linux/prlimit.c: New file.
23589
15bac72b
UD
23590 [BZ #11903]
23591 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
23592 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
23593
c3e2f19b
UD
23594 * nss/Makefile: Add rules to build and run tst-nss-test1.
23595 * shlib-versions: Add entry for libnss_test1.
23596 * nss/nss_test1.c: New file.
23597 * nss/tst-nss-test1.c: New file.
23598
23599 * nss/nsswitch.c (__nss_database_custom): Define new variable.
23600 (__nss_configure_lookup): Set appropriate entry in
23601 __nss_configure_lookup to true.
23602 * nss/nsswitch.h: Define enum with indeces of databases in
23603 databases and __nss_database_custom arrays. Declare
23604 __nss_database_custom.
23605 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
23606 to avoid using nscd when custom rules are installed.
23607 * nss/getXXbyYY_r.c: Likewise.
23608 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23609
23610 * nss/nss_files/files-parse.c: Whitespace fixes.
23611
f15ce4d8
UD
236122010-08-09 Ulrich Drepper <drepper@redhat.com>
23613
23614 [BZ #11883]
23615 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
23616 * posix/fnmatch_loop.c: Likewise.
23617
d22e4cc9
AK
236182010-07-17 Andi Kleen <ak@linux.intel.com>
23619
23620 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
23621 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
23622 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
23623 * Versions.def [GLIBC_2.13]: Add.
23624
805bc17d
UD
236252010-08-06 Ulrich Drepper <drepper@redhat.com>
23626
23627 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23628 Also fail if tpwd after pwuid call is NULL.
23629
5a42321d
ST
236302010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
23631
23632 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
23633 when converting to ms.
23634
fd3ebeda
ST
236352010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23636
23637 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
23638 EOPNOTSUPP errors with ENOTTY.
23639 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
23640 EOPNOTSUPP errors with ENOTTY.
23641
73507d3a
UD
236422010-07-31 Ulrich Drepper <drepper@redhat.com>
23643
23644 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23645 Add strcasecmp_l-ssse3.
23646 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
23647 strcasecmp.
23648 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
23649 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
23650 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
23651
fe36dd02
UD
236522010-07-30 Ulrich Drepper <drepper@redhat.com>
23653
66f6765a
UD
23654 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23655
42e08a54
UD
23656 * string/Makefile (strop-tests): Add strcasecmp.
23657 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23658 strcasecmp_l-nonascii.
23659 (gen-as-const-headers): Add locale-defines.sym.
23660 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23661 * sysdeps/x86_64/strcasecmp.S: New file.
23662 * sysdeps/x86_64/strcasecmp_l.S: New file.
23663 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23664 * sysdeps/x86_64/locale-defines.sym: New file.
23665 * string/test-strcasecmp.c: New file.
23666
fe36dd02
UD
23667 * string/test-strcasestr.c: Test both ends of the range of characters.
23668 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23669
48cbc0d6
RM
236702010-07-29 Roland McGrath <roland@redhat.com>
23671
76e6d6bc 23672 [BZ #11856]
48cbc0d6
RM
23673 * manual/locale.texi (Yes-or-No Questions): Fix example code.
23674
880113d9
UD
236752010-07-27 Ulrich Drepper <drepper@redhat.com>
23676
23677 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
23678 for ld.so.
23679
deb9cabb
AS
236802010-07-27 Andreas Schwab <schwab@redhat.com>
23681
23682 * manual/memory.texi (Malloc Tunable Parameters): Document
23683 M_PERTURB.
23684
1c7570ff
RM
236852010-07-26 Roland McGrath <roland@redhat.com>
23686
23687 [BZ #11840]
23688 * configure.in (-fgnu89-inline check): Set and substitute
23689 gnu89_inline, not libc_cv_gnu89_inline.
23690 * configure: Regenerated.
23691 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
23692
24fb0f88
UD
236932010-07-26 Ulrich Drepper <drepper@redhat.com>
23694
23695 * string/test-strnlen.c: New file.
23696 * string/Makefile (strop-tests): Add strnlen.
23697 * string/tester.c (test_strnlen): Add a few more test cases.
23698 * string/tst-strlen.c: Better error reporting.
23699
23700 * sysdeps/x86_64/strnlen.S: New file.
23701
8e96b93a
UD
237022010-07-24 Ulrich Drepper <drepper@redhat.com>
23703
23704 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23705 lower-latency instructions.
23706
dbc676d4
UD
237072010-07-23 Ulrich Drepper <drepper@redhat.com>
23708
23709 * string/test-strcasestr.c: New file.
23710 * string/test-strstr.c: New file.
23711 * string/Makefile (strop-tests): Add strstr and strcasestr.
23712 * string/str-two-way.h: Don't undefine MAX.
23713 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23714
f6a31e0e
AS
237152010-07-21 Andreas Schwab <schwab@redhat.com>
23716
23717 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23718 strcasestr-nonascii.
23719 (CFLAGS-strcasestr-nonascii.c): Define.
23720 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23721 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23722 Remove unused attribute.
23723
5dbc3b6c
RM
237242010-07-20 Roland McGrath <roland@redhat.com>
23725
23726 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23727 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
23728 ld.so.cache was broken. With it, there is no way to disable dsocaps
23729 like LD_HWCAP_MASK can disable hwcaps.
23730
23d101d8
EPM
237312010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23732
23733 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23734
cc9f2e47
UD
237352010-07-16 Ulrich Drepper <drepper@redhat.com>
23736
23737 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23738 call in strcasestr.
23739 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23740 __strcasestr_sse42_nonascii.
23741 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23742 strcasestr-nonascii.c.
23743 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23744
77c1b069
LM
237452010-06-15 Luis Machado <luisgpm@br.ibm.com>
23746
23747 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23748 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23749 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23750 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23751
440566c3
UD
237522010-07-09 Ulrich Drepper <drepper@redhat.com>
23753
23754 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23755 fcntl.
23756
5be9d05d
AS
237572010-07-06 Andreas Schwab <schwab@redhat.com>
23758
c30b7ee2 23759 [BZ #11577]
5be9d05d
AS
23760 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23761 dl_signal_cerror.
23762
8a492a67
UD
237632010-07-06 Ulrich Drepper <drepper@redhat.com>
23764
23765 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23766 _PC_PIPE_BUF using F_GETPIPE_SZ.
23767
713df3d5
RM
237682010-07-05 Roland McGrath <roland@redhat.com>
23769
23770 * manual/arith.texi (Rounding Functions): Fix rint description
23771 implicit in round description.
23772
702e8f14
UD
237732010-07-02 Ulrich Drepper <drepper@redhat.com>
23774
23775 * elf/Makefile: Fix linking for a few tests to make recent linker
23776 happy.
23777
52ed8be9
AS
237782010-06-30 Andreas Schwab <schwab@redhat.com>
23779
23780 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23781 $(common-objpfx)libc_nonshared.a.
23782
f47c9a11
LM
237832010-06-21 Luis Machado <luisgpm@br.ibm.com>
23784
23785 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23786 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23787 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23788 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23789 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23790 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23791 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23792 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23807 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23808 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23809 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23810 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23811 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23812 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23813 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23814 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23815 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23816 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23817 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23818 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23833
6fb8cbcb
L
238342010-06-25 H.J. Lu <hongjiu.lu@intel.com>
23835
23836 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23837 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
23838 * string/memmove.c (memmove): Renamed to ...
23839 (MEMMOVE): ...this. Default to memmove.
23840 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23841 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23842 (END_CHK): Define.
23843 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23844 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23845 mempcpy-ssse3-back memmove-ssse3-back.
23846 * sysdeps/x86_64/multiarch/bcopy.S: New file .
23847 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23848 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23849 * sysdeps/x86_64/multiarch/memcpy.S: New file.
23850 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23851 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23852 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23853 * sysdeps/x86_64/multiarch/memmove.c: New file.
23854 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23855 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23856 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23857 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23858 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23859 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23860 Define.
23861 (index_Fast_Copy_Backward): Define.
23862 (HAS_ARCH_FEATURE): Define.
23863 (HAS_FAST_REP_STRING): Define.
23864 (HAS_FAST_COPY_BACKWARD): Define.
23865
4e733bac 238662010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
23867
23868 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23869 Restore proper fallback handling.
23870
63c4ed22
UD
238712010-06-19 Ulrich Drepper <drepper@redhat.com>
23872
ac2b484c
UD
23873 [BZ #11701]
23874 * posix/group_member.c (__group_member): Correct checking loop.
23875
63c4ed22
UD
23876 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23877 OOM in getpwuid_r correctly. Return error number when the caller
23878 should return, otherwise -1.
23879 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23880 call returning > 0 value.
23881 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23882
765ade4b
AS
238832010-06-07 Andreas Schwab <schwab@redhat.com>
23884
23885 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23886 libc_nonshared.a from targets in modules-names.
23887
80da2e09
KS
238882010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
23889
23890 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23891 requires it.
23892
158db122
LM
238932010-06-10 Luis Machado <luisgpm@br.ibm.com>
23894
23895 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23896 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23897 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23898 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23899
caa78cf8
AS
239002010-06-02 Andreas Schwab <schwab@redhat.com>
23901
23902 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23903
b2ef2c01
UD
239042010-06-14 Ulrich Drepper <drepper@redhat.com>
23905
23906 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23907 and F_GETPIPE_SZ.
23908 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23909 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23910 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23911 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23912 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23913 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23914
fbd643b6
RM
239152010-06-14 Roland McGrath <roland@redhat.com>
23916
23917 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23918
f32f2869
JJ
239192010-06-07 Jakub Jelinek <jakub@redhat.com>
23920
23921 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23922 __REDIRECT followed by __THROW.
23923 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23924 * posix/getopt.h (getopt): Likewise.
23925
2a50c078
EPM
239262010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23927
23928 * hurd/lookup-at.c (__file_name_lookup_at): Accept
23929 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
23930 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23931 in AT_FLAGS.
23932 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23933 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23934
eb5ad2eb
LM
239352010-05-28 Luis Machado <luisgpm@br.ibm.com>
23936
23937 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23938
3c88fe1e
L
239392010-05-26 H.J. Lu <hongjiu.lu@intel.com>
23940
23941 [BZ #11640]
23942 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23943 Properly check family and model.
23944
d2f73151
TY
239452010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
23946
23947 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23948
ebd2e13d
LM
239492010-05-24 Luis Machado <luisgpm@br.ibm.com>
23950
23951 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23952
b32b8b45
UD
239532010-05-21 Ulrich Drepper <drepper@redhat.com>
23954
23955 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23956 symbol reference.
23957
9acbe24d
AS
239582010-05-19 Andreas Schwab <schwab@redhat.com>
23959
23960 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23961 symbol reference.
23962
f0ccf6ea
AS
239632010-05-21 Andreas Schwab <schwab@redhat.com>
23964
3d04ff3a
AS
23965 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23966 and internal_recvmmsg.
23967 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23968 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23969 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23970 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23971
f0ccf6ea
AS
23972 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23973 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23974 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23975
5b08ac57
AS
239762010-05-20 Andreas Schwab <schwab@redhat.com>
23977
23978 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23979
4828935d
LM
239802010-05-17 Luis Machado <luisgpm@br.ibm.com>
23981
23982 POWER7 optimizations.
23983 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23984 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23985
373d545e
UD
239862010-05-19 Ulrich Drepper <drepper@redhat.com>
23987
23988 * version.h: Update for 2.13 development version.
23989
21a2b1ae
AS
239902010-05-12 Andrew Stubbs <ams@codesourcery.com>
23991
23992 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23993 exceptions. Return 0.
23994
3f7dcb2b
RM
239952010-05-07 Roland McGrath <roland@redhat.com>
23996
23997 * elf/ldconfig.c (main): Add a const.
23998
5f24d53a 239992010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 24000
a160f8d8
UD
24001 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
24002 (args_options): Add no-idn option.
24003 (ahosts_keys_int): Add idn_flags to ai_flags.
24004 (parse_option): Handle 'i' option to clear idn_flags.
24005
5f24d53a
UD
24006 * malloc/malloc.c (_int_free): Possible race in the most recently
24007 added check. Only act on the data if no current modification
24008 happened.
265bb1ce
UD
24009
24010See ChangeLog.17 for earlier changes.