]> sourceware.org Git - glibc.git/blame - ChangeLog
Fix whitespace differences between generic and powerpc mpa.c
[glibc.git] / ChangeLog
CommitLineData
bab8a695
SP
12013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
4 (denorm): Likewise.
5 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7
e21d7aa7
AK
82013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9
10 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
11 tail-call to the resolved function if pltexit isn't needed.
12
4c7a4263
SP
132013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14
15 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16 or Y being zero as being unlikely.
17 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18 Likewise.
19
41f49342
CD
202013-02-20 Carlos O'Donell <carlos@redhat.com>
21
22 * manual/nss.texi (System Databases and Name Service Switch):
23 Remove frobnicate @pxref.
24
50022a93
TS
252013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26
27 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28 __attribute__ ((unused)) to __attribute__ ((__unused__)).
29
08cbd996
PM
302013-02-20 Petr Machata <pmachata@redhat.com>
31
32 * elf/elf.h (R_ARM_TARGET1): New macro.
33 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
34 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
35 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
36 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
37 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
38 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
39 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
40 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
41 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
42 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
43 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
44 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
45 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
46 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
47 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
48 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
49 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
50 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
51 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
52 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
53 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
54 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
55 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
56 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
57 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
58 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
59 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
60 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
61 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
62 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
63 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
64 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
65 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
66 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
67 (R_ARM_THM_GOT_BREL12): Likewise.
68 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
69 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
70 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
71 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
72 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
73 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
74 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
75 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
76 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
77
c7b275d6
TS
782013-02-20 Thomas Schwinge <thomas@codesourcery.com>
79
80 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
81 __attribute_used__ to __attribute__ ((unused)).
82
20cd7fb3
SP
832013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
84
85 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
86 powerpc mpa.c.
87 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
88 comment formatting.
89 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
90
92945b52
JM
912013-02-19 Joseph Myers <joseph@codesourcery.com>
92
93 [BZ #13550]
94 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
95 Remove macro.
96 (ENTER): Remove both macro definitions.
97 (LEAVE): Likewise.
98 (CHECK_BOUNDS_LOW): Likewise.
99 (CHECK_BOUNDS_HIGH): Likewise.
100 (CHECK_BOUNDS_BOTH): Likewise.
101 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
102 (RETURN_BOUNDED_POINTER): Likewise.
103 (RETURN_NULL_BOUNDED_POINTER): Likewise.
104 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
105 (POP_ERRNO_LOCATION_RETURN): Likewise.
106 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
107 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
108 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
109 macros.
110 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
111 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
112 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
113 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
114 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
115 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
116 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
117 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
118 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
119 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
120 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
121 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
122 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
123 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
124 removed macros.
125 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
126 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
127 macros.
128 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
129 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
130 * sysdeps/i386/i586/memset.S (memset): Likewise.
131 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
132 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
133 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
134 macros.
135 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
136 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
137 Change uses of L(2) to L(out).
138 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
139 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
140 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
141 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
142 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
143 removed macros.
144 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
145 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
146 macros.
147 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
148 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
149 (RETURN): Do not use macro LEAVE.
150 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
151 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
152 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
153 * sysdeps/i386/i686/memset.S (memset): Likewise.
154 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
155 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
156 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
157 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
158 Likewise.
159 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
160 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
161 L(1_2) and L(1_3) into L(1).
162 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
163 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
164 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
165 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
166 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
167 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
168 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
169 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
170 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
171 macros.
172 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
173 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
174 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
175 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
176 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
177 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
178 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
179 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
180 * sysdeps/i386/strcspn.S (strcspn): Likewise.
181 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
182 * sysdeps/i386/strrchr.S (strrchr): Likewise.
183 * sysdeps/i386/strspn.S (strspn): Likewise.
184 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
185 conditional code.
186 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
187 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
188 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
189 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
190 L(1_3) into L(1_1).
191 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
192 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
193 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
194 macros.
195 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
196
2389741a
JJ
1972013-02-19 Jakub Jelinek <jakub@redhat.com>
198
199 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
200 macro.
201
2016b3cd
SP
2022013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
203
e4f22324
SP
204 * math/atest-exp.c (exp_mpn): Remove ROUND.
205 * math/atest-exp2.c (exp_mpn): Likewise.
206 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
207
2016b3cd
SP
208 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
209 * stdlib/tst-tls-atexit-lib.c: Likewise.
210 * stdlib/tst-tls-atexit.c: Likewise.
211
4be9b544
MF
2122013-02-18 Mike Frysinger <vapier@gentoo.org>
213
214 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
215 and __attribute_alloc_size__.
216
2f62b9ee
MF
2172013-02-18 Mike Frysinger <vapier@gentoo.org>
218
219 * include/programs/xmalloc.h: Change __attribute_alloc_size to
220 __attribute_alloc_size__.
221 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
222 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
223
6ff444c4
MF
2242013-02-18 Mike Frysinger <vapier@gentoo.org>
225
226 * include/programs/xmalloc.h: New file.
227 * catgets/gencat.c: Include it.
228 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
229 * elf/pldd.c: Likewise.
230 * iconv/iconv_charmap.c: Likewise.
231 * iconv/iconvconfig.c: Likewise.
232 * iconv/strtab.c: Likewise.
233 * locale/programs/locale.c: Likewise.
234 * locale/programs/localedef.h: Likewise.
235 * locale/programs/simple-hash.c: Likewise.
236 * nscd/nscd.h: Likewise.
237 * nss/makedb.c: Likewise.
238 * sysdeps/generic/ldconfig.h: Likewise.
239
be179c8a
SP
2402013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
241
ba384f6e
SP
242 * Versions.def: Add GLIBC_2.18.
243 * include/link.h (struct link_map): New member l_tls_dtor_count.
244 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
245 (__call_tls_dtors): Likewise.
246 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
247 __cxa_thread_atexit_impl.
248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
249 Likewise.
250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
251 Likewise.
252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
253 Likewise.
254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
255 Likewise.
256 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
257 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
258 Likewise.
259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
260 Likewise.
261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
262 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
263 Likewise.
264 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
265 (tests): Add test case tst-tls-atexit.
266 (modules-names): Add shared library for tst-tls-atexit.
267 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
268 (GLIBC_PRIVATE): Add __call_tls_dtors.
269 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
270 for libstdc++.
271 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
272 * stdlib/tst-tls-atexit.c: New test case.
273 * stdlib/tst-tls-atexit-lib.c: New test case.
274
ffaa74cf 275 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 276
be179c8a
SP
277 * elf/Versions (ld): Add _dl_find_dso_for_object.
278 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
279 * elf/dl-open.c (_dl_find_dso_for_object): New function.
280 (dl_open_worker): Use _dl_find_dso_for_object.
281 * elf/dl-sym.c (do_sym): Likewise.
282 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
283
f78b5caa
AK
2842013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
285
286 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
287 Syntactic changes only.
288 (_dl_runtime_profile): Do a tail-call to the resolved function.
289
29691210
JM
2902013-02-17 Joseph Myers <joseph@codesourcery.com>
291
292 [BZ #13550]
293 * sysdeps/x86_64/bp-asm.h: Remove file.
294 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
295 <bp-sym.h> and <bp-asm.h>.
296 (__clone): Do not use BP_SYM.
297 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
298 <bp-sym.h> and <bp-asm.h>.
299 * sysdeps/unix/x86_64/sysdep.S: Likewise.
300 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
301 "bp-asm.h".
302 (_setjmp): Do not use BP_SYM.
303 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
304 "bp-asm.h".
305 (setjmp): Do not use BP_SYM.
306 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
307 libc_hidden_def.
308 (mempcpy): Do not use BP_SYM in weak_alias.
309 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
310 "bp-asm.h".
311 (strchr): Do not use BP_SYM.
312 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
313 "bp-asm.h".
314 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
315 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
316 (_start): Do not use BP_SYM.
317 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
318 "bp-asm.h".
319 (strcat): Do not use BP_SYM.
320 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
321 "bp-asm.h".
322 (STRCMP): Do not use BP_SYM.
323 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
324 "bp-asm.h".
325 (STRCPY): Do not use BP_SYM.
326 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
327 "bp-asm.h".
328 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
329 "bp-asm.h".
330 (FUNCTION): Do not use BP_SYM.
331 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
332 weak_alias.
333 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
334
f238fd19
AJ
3352013-02-17 Andreas Jaeger <aj@suse.de>
336
337 * time/Versions: Sort entries.
338 * string/Versions: Likewise.
339 * resolv/Versions: Likewise.
340 * posix/Versions: Likewise.
341 * iconv/Versions: Likewise.
342 * elf/Versions: Likewise.
343 * wcsmbs/Versions: Likewise.
344
bd07f23c 3452013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 346
22af19f9
SP
347 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
348 loop termination condition.
349
4709fe76
SP
350 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
351 variable to calculate EZ.
352 (__sqr): Likewise.
2d0e0f29
SP
353
354 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
355 the lower precision input.
356
daaa7713
JM
3572013-02-15 Joseph Myers <joseph@codesourcery.com>
358
359 [BZ #13550]
360 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
361 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
362 (run-via-rtld-prefix): Do not handle %-bp tests.
363 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
364 (all-object-suffixes): Remove .ob.
365 (bppfx): Remove variable.
366 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
367 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
368 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
369 [$(build-bounded) = yes] (libtype.ob): Likewise.
370 * Makerules (elide-routines.ob): Remove variable.
371 (do-tests-clean): Do not handle *-bp.out.
372 (common-mostlyclean): Do not handle *-bp and *-bp.out.
373 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
374 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
375 (tests): Do not include $(tests-bp.out).
376 (xtests): Do not include $(xtests-bp.out).
377 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
378 [$(build-bounded) = yes] ($(addprefix
379 $(objpfx),$(binaries-bounded))): Remove rule.
380 ($(objpfx)%-bp.out): Remove rule.
381 * config.make.in (build-bounded): Remove variable.
382 * crypt/Makefile [$(build-bounded) = yes]
383 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
384 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
385 append to variable.
386 [$(build-bounded) = yes] (install-lib): Likewise.
387 [$(build-bounded) = yes] (generated): Likewise.
388 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
389 Remove rule.
390 * intl/Makefile [$(build-bounded) = yes]
391 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
392 * math/Makefile [$(build-bounded) = yes]
393 ($(tests:%=$(objpfx)%-bp): Likewise.
394 * misc/Makefile [$(build-bounded) = yes]
395 ($(objpfx)tst-tsearch-bp): Likewise.
396 * nptl/Makeconfig (bounded-thread-library): Remove variable.
397 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
398 Remove dependency.
399 * string/Makefile (o-objects.ob): Remove variable.
400 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
401 (CFLAGS-.ob): Remove variable.
402 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
403 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
404 both definitions of variable.
405 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
406 (ASFLAGS-.ob): Remove variable.
407
e97ed6dd
JM
4082013-02-14 Joseph Myers <joseph@codesourcery.com>
409
2bdd4ca6
JM
410 [BZ #13550]
411 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
412 Remove __BOUNDED_POINTERS__ from condition.
413 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
414 * string/bits/string2.h [!__NO_STRING_INLINES &&
415 !__BOUNDED_POINTERS__]: Likewise.
416 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
417 Likewise.
418 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
419 Remove conditional code.
420 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
421 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
422 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
423 condition.
424
e97ed6dd
JM
425 [BZ #13550]
426 * csu/libc-start.c: Do not include <bp-sym.h>.
427 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
428 * elf/dl-open.c: Do not include <bp-sym.h>.
429 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
430 * math/fegetenv.c: Do not include <bp-sym.h>.
431 (fegetenv): Do not use BP_SYM in versioned symbols.
432 * nptl/sysdeps/pthread/bits/libc-lockP.h
433 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
434 <bp-sym.h>.
435 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
436 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
437 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
438 (__pthread_mutex_destroy): Likewise.
439 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
440 (__pthread_mutex_lock): Likewise.
441 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
442 (__pthread_mutex_trylock): Likewise.
443 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
444 (__pthread_mutex_unlock): Likewise.
445 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
446 (__pthread_mutexattr_init): Likewise.
447 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
448 (__pthread_mutexattr_destroy): Likewise.
449 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
450 (__pthread_mutexattr_settype): Likewise.
451 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
452 (__pthread_rwlock_init): Likewise.
453 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
454 (__pthread_rwlock_destroy): Likewise.
455 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
456 (__pthread_rwlock_rdlock): Likewise.
457 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
458 (__pthread_rwlock_tryrdlock): Likewise.
459 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
460 (__pthread_rwlock_wrlock): Likewise.
461 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
462 (__pthread_rwlock_trywrlock): Likewise.
463 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
464 (__pthread_rwlock_unlock): Likewise.
465 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
466 (__pthread_key_create): Likewise.
467 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
468 (__pthread_setspecific): Likewise.
469 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
470 (__pthread_getspecific): Likewise.
471 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
472 Likewise.
473 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
474 (_pthread_cleanup_push_defer): Likewise.
475 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
476 (_pthread_cleanup_pop_restore): Likewise.
477 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
478 (pthread_setcancelstate): Likewise.
479 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
480 <bp-sym.h>.
481 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
482 (memchr): Do not use BP_SYM in weak_alias.
483 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
484 (fegetenv): Do not use BP_SYM in versioned symbols.
485 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
486 (fesetenv): Do not use BP_SYM in versioned symbols.
487 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
488 (feupdateenv): Do not use BP_SYM in versioned symbols.
489 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
490 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
491 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
492 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
493 (open64): Do not use BP_SYM in weak_alias.
494 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
495 (fegetenv): Do not use BP_SYM in versioned symbols.
496 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
497 (fesetenv): Do not use BP_SYM in versioned symbols.
498 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
499 (feupdateenv): Do not use BP_SYM in versioned symbols.
500 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
501 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
502 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
503 (feraiseexcept): Do not use BP_SYM in versioned symbols.
504 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
505 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
506 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
507 <bp-sym.h>.
508 (__libc_start_main): Do not use BP_SYM.
509
d6752ccd
SP
5102013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
511
cb57ce60
SP
512 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
513 redundant return line.
514 (norm): Likewise.
515 (denorm): Likewise.
516 (dbl_mp): Likewise.
517 (sub_magnitudes): Likewise.
518 (__add): Likewise.
519 (__sub): Likewise.
520 (__mul): Likewise.
521 (__inv): Likewise.
522 (__dvd): Likewise.
523 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
524 (norm): Likewise.
525 (denorm): Likewise.
526 (dbl_mp): Likewise.
527 (sub_magnitudes): Likewise.
528 (__add): Likewise.
529 (__sub): Likewise.
530 (__mul): Likewise.
531 (__inv): Likewise.
532 (__dvd): Likewise.
533
f414520d
SP
534 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
535 instead of __mul.
536 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
537 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
538 (cc32): Likewise.
539
d6752ccd
SP
540 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
541 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
542 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
543 of __mul for squares.
544 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
545 function
546 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
547 Likewise.
548 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
549 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
550
70d9946a
JM
5512013-02-13 Joseph Myers <joseph@codesourcery.com>
552
553 [BZ #13550]
554 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
555 code.
556 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
557 prototype or function definition. Rename ubp_* variables and
558 parameters. Remove argv definitions conditional on
559 [__BOUNDED_POINTERS__].
560 * debug/backtrace.c (__backtrace): Do not use __unbounded.
561 * elf/dl-runtime.c (_dl_fixup): Likewise.
562 * include/set-hooks.h (RUN_HOOK): Likewise.
563 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
564 definition.
565 * string/strcpy.c (strcpy): Do not use __unbounded.
566 * sysdeps/generic/frame.h (struct layout): Likewise.
567 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
568 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
569 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
570 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
571 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
572 (__backtrace): Likewise.
573 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
574 use __ptrvalue.
575 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
576 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
577 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
578 Likewise.
579 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
580 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
581 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
582 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
583 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
584 Do not use __unbounded.
585 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
586 Rename __unboundedrlimits parameter to rlimits in prototype.
587 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
588 Do not use __unbounded.
589 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
590 not use __ptrvalue.
591 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
592 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
593 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
594 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
595 __ptrvalue or __unbounded.
596 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
597 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
598 use __unbounded.
599 (__new_msgctl): Do not use __ptrvalue.
600 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
601 __unbounded.
602 (__libc_msgrcv): Do not use __ptrvalue.
603 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
604 startup_info): Do not use __unbounded.
605 (__libc_start_main): Likewise. Rename ubp_* variables and
606 parameters. Remove argv definitions conditional on
607 [__BOUNDED_POINTERS__].
608 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
609 __ptrvalue.
610 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
611 use __unbounded.
612 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
613 or __ptrvalue.
614 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
615 use __unbounded.
616 (__new_shmctl): Do not use __ptrvalue.
617 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
618 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
619 Likewise.
620 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
621 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
622 (__libc_sigaction): Likewise.
623 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
624 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
625 Likewise.
626 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
627
cc7834d6
OB
6282013-02-13 Ondřej Bílka <neleai@seznam.cz>
629
ffb1ec7b 630 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
631
632 * string/mempcpy.c: Implement by calling memcpy.
633
bdf02814
SP
6342013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
635
c2af38aa
SP
636 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
637
4e92d59e
SP
638 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
639 evaluation.
640
909279a5
SP
641 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
642 values in the mantissa.
643
bdf02814
SP
644 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
645 minimize writes to Z.
646 (sub_magnitudes): Simplify code a bit.
647
cd525923
RM
6482013-02-12 Roland McGrath <roland@hack.frob.com>
649
650 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
651 from the message. The linker prefixes all warnings with that already.
652
7e2f0d2d
AS
6532013-02-12 Andreas Schwab <schwab@suse.de>
654
a445af0b
AS
655 [BZ #15078]
656 * posix/regexec.c (extend_buffers): Add parameter min_len.
657 (check_matching): Pass minimum needed length.
658 (clean_state_log_if_needed): Likewise.
659 (get_subexp): Likewise.
660 * posix/Makefile (tests): Add bug-regex34.
661 (bug-regex34-ENV): Define.
662 * posix/bug-regex34.c: New file.
663
7e2f0d2d
AS
664 [BZ #11561]
665 * posix/regcomp.c (parse_bracket_exp): When looking up collating
666 elements compare against the byte sequence of it, not its name.
667 * posix/Makefile (tests): Add bug-regex35.
668 (bug-regex35-ENV): Define.
669 * posix/bug-regex35.c: New file.
670
a175b684
TV
6712013-02-11 Tom de Vries <tom@codesourcery.com>
672
673 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
674 comment.
675 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
676 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
677 (CHECK_EOL): Add undef.
678
310998fe 6792013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
680
681 * bits/stdlib-bsearch.h: New file.
682 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 683 * stdlib/stdlib.h: Likewise.
41eda41d 684
8ded91fb
RM
6852013-02-11 Roland McGrath <roland@hack.frob.com>
686
687 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
688 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
689 declaration.
690 * manual/search.texi (Array Search Function): Add missing const in
691 lfind prototype.
692 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
693 declaration to use rlim_t.
694 (Basic Scheduling Functions): Remove erroneous const from
695 sched_getparam prototype. Remove erroneous * from
696 sched_get_priority_max and sched_get_priority_min prototypes.
697 (Resource Usage): Fix summary @comment on vtimes to refer to
698 sys/vtimes.h rather than vtimes.h.
699 Add missing *s in vtimes prototype.
700 (Limits on Resources): Fix ulimit prototype to return long int.
701 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
702 prototypes to use long int rather than double.
703 (BSD Random): Fix initstate and setstate to use char *, not void *.
704 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
705 prototype to make second argument 'struct aiocb64 *const[]'.
706 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
707 (Status of AIO Operations): Remove erroneous const in aio_return and
708 aio_return64 prototypes.
709 (Synchronizing I/O): Fix sync prototype to return void.
710 * manual/startup.texi (Suboptions): Remove an erroneous const in
711 getsubopt prototype.
712 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
713 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
714 use size_t rather than int.
715 (Scanning All Users): Likewise for getpwent_r.
716 (Setting Groups): Add missing const to setgroups prototype.
717 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
718 * manual/socket.texi (Host Names): Fix gethostbyaddr and
719 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
720 'const void *' rather than 'const char *'.
721 (Host Address Functions): Likewise for inet_ntop.
722 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
723 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
724 ssize_t for return value.
725 (Sending Data): Likewise for send, sendto, sendmsg.
726 (Socket Option Functions): Add a missing const in setsockopt prototype.
727 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
728 use wchar_t for the argument.
729 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
730 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
731 take no arguments.
732 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
733 double/float/long double for second argument.
734 Fix return types of significand, significandf, significandl.
735 * manual/filesys.texi (Setting Permissions): Use mode_t for second
736 argument in fchmod prototype.
737 (File Owner): Use uid_t and gid_t in fchown prototype.
738 (File Times): Add const to utimes, futimes, and lutimes prototypes.
739 (Making Special Files): Use mode_t and dev_t in mknod prototype.
740 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
741 use 'const struct dirent **' as argument types to CMP function pointer
742 argument.
743 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
744 (File Times): Fix summary magic @comment for struct utimbuf and utime
745 to refer to utime.h, not time.h.
746 * manual/string.texi (Argz Functions): Add missing const in
747 argz_extract and argz_next prototypes.
748 (Finding Tokens in a String): Likewise for basename.
749 (String/Array Comparison): Fix typo in wcscasecmp prototype.
750 (Copying and Concatenation): Fix typo in wmemmove prototype.
751 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
752 (Signal Stack): Remove erroneous const in sigstack prototype.
753 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
754 prototype.
755 (Simple Calendar Time): Likewise for stime.
756 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
757 prototype.
758 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
759 say sys/sysctl.h instead.
760 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
761 and vsyslog prototypes.
762
fe77fe6d
TV
7632013-02-11 Tom de Vries <tom@codesourcery.com>
764
765 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
766 Remove.
767
3a09b620
RM
7682013-02-11 Roland McGrath <roland@hack.frob.com>
769
770 * misc/sys/mman.h: Fix typo in mremap comment.
771
550a0b89
RM
7722013-02-08 Roland McGrath <roland@hack.frob.com>
773
774 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
775 the '\0' terminator.
776
a2da1673
JM
7772013-02-08 Joseph Myers <joseph@codesourcery.com>
778
779 [BZ #13550]
780 * debug/segfault.c: Don't include <bp-checks.h>.
781 * sysdeps/generic/bp-checks.h: Remove file.
782 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
783 (__GETDENTS): Don't use CHECK_N.
784 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
785 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
786 (__getgroups): Don't use CHECK_N.
787 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
788 (setgroups): Don't use CHECK_N.
789 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
790 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
791 (__libc_msgrcv): Don't use CHECK_N.
792 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
793 (__libc_msgsnd): Don't use CHECK_N.
794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
795 <bp-checks.h>.
796 (__libc_pread): Don't use CHECK_N.
797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
798 include <bp-checks.h>.
799 (__libc_pread64): Don't use CHECK_N.
800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
801 include <bp-checks.h>.
802 (__libc_pwrite): Don't use CHECK_N.
803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
804 include <bp-checks.h>.
805 (__libc_pwrite64): Don't use CHECK_N.
806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
807 <bp-checks.h>.
808 (__libc_pread): Don't use CHECK_N.
809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
810 include <bp-checks.h>.
811 (__libc_pread64): Don't use CHECK_N.
812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
813 include <bp-checks.h>.
814 (__libc_pwrite): Don't use CHECK_N.
815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
816 include <bp-checks.h>.
817 (__libc_pwrite64): Don't use CHECK_N.
818 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
819 (do_pread): Don't use CHECK_N.
820 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
821 (do_pread64): Don't use CHECK_N.
822 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
823 (do_pwrite): Don't use CHECK_N.
824 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
825 (do_pwrite64): Don't use CHECK_N.
826 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
827 (__libc_readv): Don't use CHECK_N.
828 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
829 (semop): Don't use CHECK_N.
830 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
831 <bp-checks.h>.
832 (semtimedop): Don't use CHECK_N.
833 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
834 (__libc_pread): Don't use CHECK_N.
835 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
836 <bp-checks.h>.
837 (__libc_pread64): Don't use CHECK_N.
838 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
839 <bp-checks.h>.
840 (__libc_pwrite): Don't use CHECK_N.
841 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
842 <bp-checks.h>.
843 (__libc_pwrite64): Don't use CHECK_N.
844 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
845 <bp-checks.h>.
846 (__libc_msgrcv): Don't use CHECK_N.
847 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
848 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
849 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
850 (__libc_writev): Don't use CHECK_N.
851
b84660a8
RM
8522013-02-08 Roland McGrath <roland@hack.frob.com>
853
7f3e75f8
RM
854 * string/strcpy.c: Removed unused variable.
855
b84660a8
RM
856 * Makeconfig (+sysdep-includes): Define with := rather than =.
857 Use an existing include/ subdir of each sysdeps dir before it.
858
471514d3
CD
8592013-02-08 Carlos O'Donell <carlos@redhat.com>
860
861 * nscd/connection.c (register_traced_file): Comment function.
862 [HAVE_INOTIFY] (union __inev): Define.
863 [HAVE_INOTIFY] (inotify_check_files): New function.
864 [HAVE_INOTIFY] (clear_db_cache): Likewise.
865 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
866 clear_db_cache.
867 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
868
b2d3c3be
CD
8692013-02-08 Carlos O'Donell <carlos@redhat.com>
870
871 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
872 loaded if not already and that a failure is permanent.
873
b39949d2
CD
8742013-02-08 Carlos O'Donell <carlos@redhat.com>
875
ddacd1db 876 [BZ #15006]
b39949d2
CD
877 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
878 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
879
b2c9eff4
JM
8802013-02-08 Joseph Myers <joseph@codesourcery.com>
881
f3aae3f3
JM
882 [BZ #13550]
883 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
884 (CHECK_1_NULL_OK): Likewise.
885 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
886 (__fxstat): Do not use CHECK_1.
887 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
888 <bp-checks.h>.
889 (___fxstat64): Do not use CHECK_1.
890 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
891 <bp-checks.h>.
892 (__fxstatat): Do not use CHECK_1.
893 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
894 <bp-checks.h>.
895 (__fxstatat64): Do not use CHECK_1.
896 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
897 <bp-checks.h>.
898 (__fxstat): Do not use CHECK_1.
899 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
900 <bp-checks.h>.
901 (__fxstatat): Do not use CHECK_1.
902 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
903 <bp-checks.h>.
904 (__getresgid): Do not use CHECK_1.
905 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
906 <bp-checks.h>.
907 (__getresuid): Do not use CHECK_1.
908 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
909 <bp-checks.h>.
910 (__lxstat): Do not use CHECK_1.
911 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
912 <bp-checks.h>.
913 (__old_msgctl): Do not use CHECK_1.
914 (__new_msgctl): Likewise.
915 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
916 <bp-checks.h>.
917 (__new_setrlimit): Do not use CHECK_1.
918 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
919 <bp-checks.h>.
920 (__old_shmctl): Do not use CHECK_1.
921 (__new_shmctl): Likewise.
922 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
923 <bp-checks.h>.
924 (__xstat): Do not use CHECK_1.
925 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
926 (__lxstat): Do not use CHECK_1.
927 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
928 <bp-checks.h>.
929 (___lxstat64): Do not use CHECK_1.
930 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
931 (__old_msgctl): Do not use CHECK_1.
932 (__new_msgctl): Likewise.
933 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
934 <bp-checks.h>.
935 (__gettimeofday): Do not use CHECK_1.
936 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
937 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
938 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
939 <bp-checks.h>.
940 (__gettimeofday): Do not use CHECK_1.
941 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
942 (__old_shmctl): Do not use CHECK_1_NULL_OK.
943 (__new_shmctl): Do not use CHECK_1.
944 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
945 <bp-checks.h>.
946 (do_sigtimedwait): Do not use CHECK_1.
947 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
948 <bp-checks.h>.
949 (do_sigwaitinfo): Do not use CHECK_1.
950 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
951 <bp-checks.h>.
952 (msgctl): Do not use CHECK_1.
953 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
954 <bp-checks.h>.
955 (shmctl): Do not use CHECK_1.
956 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
957 (ustat): Do not use CHECK_1.
958 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
959 <bp-checks.h>.
960 (__fxstat): Do not use CHECK_1.
961 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
962 <bp-checks.h>.
963 (__fxstatat): Do not use CHECK_1.
964 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
965 <bp-checks.h>.
966 (__lxstat): Do not use CHECK_1.
967 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
968 <bp-checks.h>.
969 (__xstat): Do not use CHECK_1.
970 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
971 (__xstat): Do not use CHECK_1.
972 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
973 (___xstat64): Do not use CHECK_1.
974
b2c9eff4
JM
975 [BZ #13550]
976 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
977 definitions.
978 (CHECK_BOUNDS_HIGH): Likewise.
979 * string/strcpy.c: Do not include <bp-checks.h>.
980 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
981
f1d70dad
RM
9822013-02-07 Roland McGrath <roland@hack.frob.com>
983
984 * nscd/nscd-client.h (__nscd_drop_map_ref):
985 Add __attribute__ ((unused)).
986 * nis/nss-nisplus.h (niserr2nss): Likewise.
987
988 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
989 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
990
991 * csu/libc-tls.c (init_static_tls, init_slotinfo):
992 Remove inline keyword.
993 * include/rounding-mode.h (round_away): Likewise.
994 * libio/wfileops.c (adjust_wide_data): Likewise.
995 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
996 (__m128i_strloadu_tolower): Likewise.
997 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
998 (__m128i_strloadu_tolower): Likewise.
999 * time/mktime.c (ydhms_diff): Likewise.
1000 * locale/elem-hash.h (elem_hash): Likewise.
1001 * locale/setlocale.c (setdata): Likewise.
1002 * posix/regex_internal.h (re_string_char_size_at): Likewise.
1003 (re_string_wchar_at): Likewise.
1004 (bitset_not, bitset_merge, bitset_mask): Likewise.
1005 [!(__GNUC__ > 3)] (inline): Remove macro.
1006 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
1007 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
1008 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1009 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1010 * string/memcmp.c (memcmp_bytes): Likewise.
1011 * locale/programs/locarchive.c (compute_hashval): Likewise.
1012 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
1013 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
1014 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
1015 * nss/getent.c (print_rpc, print_protocols): Likewise.
1016 (print_passwd, print_group, print_aliases): Likewise.
1017 * nis/nss-nisplus.h (niserr2nss): Likewise.
1018 * nscd/connections.c (restart_p): Likewise.
1019 Change return type to bool.
1020
eab55bfb
RM
10212013-02-05 Roland McGrath <roland@hack.frob.com>
1022
7bd642f5
RM
1023 * Makeconfig (all-Depend-files): Add existing
1024 $(sorted-subdirs:=/Depend) files.
1025 (all-subdirs): Remove nss.
1026 * sysdeps/unix/inet/Subdirs: Add it here instead.
1027 * hesiod/Depend: New file.
1028
573c29b2
RM
1029 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
1030 instead of calling alloca.
1031
b2e25af0
RM
1032 * io/lseek.c (__lseek): Rename to __libc_lseek.
1033 Define __lseek as an alias.
1034
eab55bfb
RM
1035 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
1036
9a0d1941
CD
10372013-02-04 Carlos O'Donell <carlos@redhat.com>
1038
1039 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
1040 else clause and remove check for non-standard endianness.
1041
b83bbec4
DM
10422013-02-04 David S. Miller <davem@davemloft.net>
1043
1044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1045
6277fdab
JM
10462013-02-04 Joseph Myers <joseph@codesourcery.com>
1047
1048 [BZ #13550]
1049 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
1050 (__ubp_memchr): Remove prototype.
1051 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
1052 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1053 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
1054 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1055 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1056 Remove alias.
1057 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
1058 (__ubp_memchr): Likewise.
1059 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
1060 (__ubp_memchr): Likewise.
1061 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
1062 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
1063 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
1064 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
1065 CHECK_STRING.
1066 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1067 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
1068 (__getcwd): Do not use CHECK_STRING.
1069 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1070 <bp-checks.h>.
1071 (__real_chown): Do not use CHECK_STRING.
1072 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
1073 <bp-checks.h>.
1074 (fchownat): Do not use CHECK_STRING.
1075 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
1076 CHECK_STRING.
1077 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1078 <bp-checks.h>.
1079 (__lchown): Do not use CHECK_STRING.
1080 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1081 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1082 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1083 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1085 include <bp-checks.h>.
1086 (truncate64): Do not use CHECK_STRING.
1087 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1088 <bp-checks.h>.
1089 (__real_chown): Do not use CHECK_STRING.
1090 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1091 <bp-checks.h>.
1092 (__lchown): Do not use CHECK_STRING.
1093 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1094 <bp-checks.h>.
1095 (__chown): Do not use CHECK_STRING.
1096 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
1097 <bp-checks.h>.
1098 (truncate64): Do not use CHECK_STRING.
1099 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
1100 Likewise.
1101 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
1102 (__xmknod): Do not use CHECK_STRING.
1103 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1104 <bp-checks.h>.
1105 (__xmknodat): Do not use CHECK_STRING.
1106 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1107 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1108
903ae060
AS
11092013-02-04 Andreas Schwab <schwab@suse.de>
1110
1111 [BZ #14142]
1112 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
1113 * include/netdb.h: Likewise for h_errno.
1114 * elf/tst-stackguard1.c: Include <tls.h>.
1115
542f9466
JK
11162013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1117
1118 * elf/link.h (struct link_map): Extend the l_addr comment.
1119 * include/link.h (struct link_map): Likewise.
1120
e782a927
JM
11212013-02-01 Joseph Myers <joseph@codesourcery.com>
1122
1123 [BZ #13550]
1124 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
1125 (BOUNDED_1): Remove macro.
1126 * debug/backtrace.c: Don't include <bp-checks.h>.
1127 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
1128 (__backtrace): Likewise.
1129 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
1130 <bp-checks.h>.
1131 (__backtrace): Don't use BOUNDED_1.
1132 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
1133 <bp-checks.h>.
1134 (__backtrace): Don't use BOUNDED_1.
1135 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
1136 (__backtrace): Don't use BOUNDED_1.
1137 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
1138 (shmat): Don't use BOUNDED_N.
1139
8cf28c5e
JM
11402013-01-31 Joseph Myers <joseph@codesourcery.com>
1141
3a7ac8a0
JM
1142 [BZ #13550]
1143 * sysdeps/generic/bp-start.h: Remove file.
1144 * csu/libc-start.c: Don't include <bp-start.h>.
1145 (LIBC_START_MAIN): Set up __environ directly instead of using
1146 INIT_ARGV_and_ENVIRON.
1147 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
1148 <bp-start.h>.
1149
f3499f95
JM
1150 [BZ #13550]
1151 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
1152 definitions.
1153 (CHECK_FCNTL): Likewise.
1154 (CHECK_N_PAGES): Likewise.
1155
32a45bea
JM
1156 [BZ #13550]
1157 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
1158 definitions.
1159 (CHECK_SIGSET_NULL_OK): Likewise.
1160 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
1161 <bp-checks.h>.
1162 (sigpending): Don't use CHECK_SIGSET.
1163 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
1164 <bp-checks.h>.
1165 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1166 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
1167 <bp-checks.h>.
1168 (do_sigsuspend): Don't use CHECK_SIGSET.
1169 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
1170 use CHECK_SIGSET.
1171 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
1172 (do_sigwait): Don't use CHECK_SIGSET.
1173 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
1174 use CHECK_SIGSET.
1175 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
1176 include <bp-checks.h>.
1177 (sigpending): Don't use CHECK_SIGSET.
1178 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
1179 include <bp-checks.h>.
1180 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1181 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
1182 <bp-checks.h>.
1183 (sigpending): Don't use CHECK_SIGSET.
1184 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
1185 <bp-checks.h>.
1186 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1187
2e8a5c8c
JM
1188 [BZ #13550]
1189 * sysdeps/generic/bp-semctl.h: Remove file.
1190 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
1191 <bp-checks.h> and <bp-semctl.h>.
1192 (__old_semctl): Don't use CHECK_SEMCTL.
1193 (__new_semctl): Likewise.
1194 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
1195 and <bp-semctl.h>.
1196 (__old_semctl): Don't use CHECK_SEMCTL.
1197 (__new_semctl): Likewise.
1198 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
1199 <bp-checks.h> and <bp-semctl.h>.
1200 (__old_semctl): Don't use CHECK_SEMCTL.
1201 (__new_semctl): Likewise.
1202 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
1203 <bp-checks.h> and <bp-semctl.h>.
1204 (semctl): Don't use CHECK_SEMCTL.
1205
c2d54929
JM
1206 [BZ #13550]
1207 * Makerules (elide-bp-thunks): Remove variable.
1208 (elide-routines.oS): Don't use $(elide-bp-thunks).
1209 (elide-routines.os): Likewise.
1210 (elide-routines.o): Likewise.
1211 (elide-routines.op): Likewise.
1212 (elide-routines.og): Likewise.
1213 (objects): Don't use $(bp-thunks).
1214 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
1215 include.
1216 (common-generated): Do not add s-proto-bp.d.
1217 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
1218 (int): Likewise.
1219 (typ): Likewise.
1220 Do not generate makefile rules for bounded-pointer thunks.
1221 * sysdeps/generic/bp-thunks.h: Remove file.
1222 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
1223 * sysdeps/unix/s-proto-bp.S: Likewise.
1224
8cf28c5e
JM
1225 [BZ #15062]
1226 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
1227 parts of result separately when argument is not close to line from
1228 -i to i and one part of argument is small.
1229 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1230 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1231 * math/libm-test.inc (cacos_test): Add more tests.
1232 (casin_test): Likewise.
1233 (casinh_test): Likewise.
1234 * sysdeps/i386/fpu/libm-test-ulps: Update.
1235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1236
c4e33b8d
DM
12372013-01-31 David S. Miller <davem@davemloft.net>
1238
1239 * po/de.po: Update from translation team.
1240
3b60b421
MK
12412013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
1242
1243 * time/tzfile.c: Include stdint.h for SIZE_MAX.
1244
bb931195
TS
12452013-01-25 Thomas Schwinge <thomas@codesourcery.com>
1246
b5a5da23
TS
1247 * configure.in (_AC_PROG_CC_C89): New definition.
1248 * configure: Regenerate.
1249
bb931195
TS
1250 * configure.in (AC_PROG_CPP): New definition.
1251 * configure: Regenerate.
1252
8c53a12c
JM
12532013-01-23 Joseph Myers <joseph@codesourcery.com>
1254
1255 * debug/tst-backtrace.h: New file.
1256 * debug/tst-backtrace2.c: Include tst-backtrace.h.
1257 (ret): Remove variable.
1258 (x): Likewise.
1259 (FAIL): Remove macro.
1260 (NO_INLINE): Likewise.
1261 (fn1): Use match function instead of strstr.
1262 * debug/tst-backtrace3.c: Include tst-backtrace.h.
1263 (ret): Remove variable.
1264 (x): Likewise.
1265 (FAIL): Remove macro.
1266 (NO_INLINE): Likewise.
1267 (fn): Use match function instead of strstr.
1268 * debug/tst-backtrace4.c: Include tst-backtrace.h.
1269 (ret): Remove variable.
1270 (x): Likewise.
1271 (FAIL): Remove macro.
1272 (NO_INLINE): Likewise.
1273 (handle_signal): Use match function instead of strstr.
1274 * debug/tst-backtrace5.c: Include tst-backtrace.h.
1275 (ret): Remove variable.
1276 (x): Likewise.
1277 (FAIL): Remove macro.
1278 (NO_INLINE): Likewise.
1279 (handle_signal): Use match function instead of strstr.
1280
4858fa2a
RM
12812013-01-23 Roland McGrath <roland@hack.frob.com>
1282
1283 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
1284
bae8e7f5
DM
12852013-01-23 David S. Miller <davem@davemloft.net>
1286
1287 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
1288 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
1289 argument of CAS if possible.
1290 * sysdeps/sparc/sparc64/bits/atomic.h
1291 (__arch_compare_and_exchange_val_32_acq): Likewise.
1292 (__arch_compare_and_exchange_val_64_acq): Likewise.
1293
9cbbc4ae
PT
12942013-01-23 Pino Toscano <toscano.pino@tiscali.it>
1295
1296 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
1297 * sysdeps/posix/ulimit.c: ... this.
92a601b8 1298 Include <limits.h>.
67b3f58c 1299 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 1300
5655a0b5
AC
13012013-01-23 Adam Conrad <adconrad@0c3.net>
1302
1303 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
1304 (LDFLAGS-tst-array5): Likewise.
1305
052aff95
JM
13062013-01-23 Joseph Myers <joseph@codesourcery.com>
1307
1308 [BZ #15036]
1309 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
1310 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
1311 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
1312 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
1313
7c1e01aa
DM
13142013-01-21 David S. Miller <davem@davemloft.net>
1315
1316 * sysdeps/sparc/backtrace.c: New file.
1317 * sysdeps/sparc/sparc32/backtrace.h: New file.
1318 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
1319 * sysdeps/sparc/sparc64/backtrace.h: New file.
1320 * sysdeps/sparc/sparc64/backtrace.c: Delete.
1321 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
1322 -funwind-tables.
1323
ab087e0a
AS
13242013-01-21 Andreas Schwab <schwab@suse.de>
1325
1326 [BZ #15020]
1327 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
1328 closed its stdout.
1329
ed689c2f
AS
13302013-01-20 Andreas Schwab <schwab@linux-m68k.org>
1331
1332 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
1333 "mpa2.h".
1334 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1335
31d470ac
JM
13362013-01-18 Joseph Myers <joseph@codesourcery.com>
1337 Mark Mitchell <mark@codesourcery.com>
1338 Tom de Vries <tom@codesourcery.com>
1339 Paul Pluzhnikov <ppluzhnikov@google.com>
1340
1341 * debug/tst-backtrace2.c: New file.
1342 * debug/tst-backtrace3.c: Likewise.
1343 * debug/tst-backtrace4.c: Likewise.
1344 * debug/tst-backtrace5.c: Likewise.
1345 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
1346 (CFLAGS-tst-backtrace3.c): Likewise.
1347 (CFLAGS-tst-backtrace4.c): Likewise.
1348 (CFLAGS-tst-backtrace5.c): Likewise.
1349 (LDFLAGS-tst-backtrace2): Likewise.
1350 (LDFLAGS-tst-backtrace3): Likewise.
1351 (LDFLAGS-tst-backtrace4): Likewise.
1352 (LDFLAGS-tst-backtrace5): Likewise.
1353 (tests): Add new tests tst-backtrace2, tst-backtrace3,
1354 tst-backtrace4 and tst-backtrace5.
1355
90567f30 13562013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
1357 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1358
1359 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
1360 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
1361 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
1362 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
1363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1364 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
1365 "+r" and remove output regs list as redundant. Add explicit inline
1366 asm to specify register of return val to work around compiler codegen
1367 bug. Remove (int) cast on return value. Add return type parameter to
1368 use in macro so that this macro does not truncate return value for
1369 64-bit values.
1370 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
1371 pass to INTERNAL_VSYSCALL_NCS.
1372 (INLINE_VSYSCALL): Add 'long int' as return type to
1373 INTERNAL_VSYSCALL_NCS macro invocation.
1374 (INTERNAL_VSYSCALL): Add 'long int' as return type to
1375 INTERNAL_VSYSCALL_NCS macro invocation.
1376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1377
d3b9ea61
SP
13782013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1379
0b57daeb
SP
1380 [BZ #14496]
1381 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
1382 Fix application of SIMD FP exception mask.
1383
caa99d06
SP
1384 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
1385 mp_no from a power of two.
1386 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
1387 __mpexp_twomm1. Use __pow_mp.
1388
d3b9ea61
SP
1389 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
1390 multiplication.
1391
1dbaee3c
DM
13922013-01-17 David S. Miller <davem@davemloft.net>
1393
1394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1395
728d7b43
JM
13962013-01-17 Joseph Myers <joseph@codesourcery.com>
1397
1398 [BZ #15023]
1399 * include/complex.h: Condition contents on [!_COMPLEX_H].
1400 (__kernel_casinhf): New prototype.
1401 (__kernel_casinh): Likewise.
1402 (__kernel_casinhl): Likewise.
1403 * math/Makefile (libm_calls): Add k_casinh.
1404 * math/k_casinh.c: New file.
1405 * math/k_casinhf.c: Likewise.
1406 * math/k_casinhl.c: Likewise.
1407 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
1408 finite nonzero arguments.
1409 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
1410 finite nonzero arguments.
1411 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
1412 finite nonzero arguments.
1413 * math/s_casinh.c: Do not include <float.h>.
1414 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
1415 * math/s_casinhf.c: Do not include <float.h>.
1416 (__casinhf): Move code for finite nonzero arguments to
1417 k_casinhf.c.
1418 * math/s_casinhl.c: Do not include <float.h>.
1419 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
1420 redefine.
1421 (__casinhl): Move code for finite nonzero arguments to
1422 k_casinhl.c.
1423 * math/libm-test.inc (cacos_test): Add more tests.
1424 * sysdeps/i386/fpu/libm-test-ulps: Update.
1425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1426
2a26ef3a
PT
14272013-01-17 Pino Toscano <toscano.pino@tiscali.it>
1428
1429 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
1430 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
1431 [!HAVE_MREMAP]: Remove [defined linux] case.
1432 * malloc/arena.c: Do not include <malloc-sysdep.h>.
1433
a897655d
SP
14342013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1435
1436 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
1437
881ebe89 14382013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
1439
1440 * elf/elf.h (R_386_SIZE32): New relocation.
1441 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
1442 R_386_SIZE32.
1443 (elf_machine_rela): Likewise.
1444 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1445 R_X86_64_SIZE64 and R_X86_64_SIZE32.
1446
59981e9b
JM
14472013-01-17 Joseph Myers <joseph@codesourcery.com>
1448
1449 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
1450 (FP_FAST_FMA): Do not define.
1451 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
1452 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
1453 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
1454 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
1455 !_SOFT_FLOAT]: Likewise.
1456 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
1457 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
1458 value.
1459 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
1460 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
1461 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
1462 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
1463 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
1464 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
1465 file.
1466
cfa8054f
AS
14672013-01-16 Andreas Schwab <schwab@suse.de>
1468
1469 [BZ #14327]
1470 * include/stdlib.h (__mktemp): Add declaration.
1471 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
1472 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
1473
dd930cc5
SP
14742013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1475
881ebe89
SP
1476 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
1477 definitions.
1478 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1479 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
1480 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
1481 definitions here.
1482 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
1483 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
1484 definitions.
1485 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
1486 and ONE.
1487 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
1488 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
1489 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
1490 definitions.
1491 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
1492 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
1493 definitions.
1494 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 1495
dd930cc5
SP
1496 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
1497
c19a9f89
DM
14982013-01-15 David S. Miller <davem@davemloft.net>
1499
1aa61767
DM
1500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1501 trunc{,f} to libm-sysdep_routes.
1502 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
1504 file.
1505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
1506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
1507 file.
1508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
1509 file.
1510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
1511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
1512 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
1513 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
1514 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
1515 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
1516 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
1517 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
1518
c42d5e98
DM
1519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1520 nearbyint{,f} to libm-sysdep_routes.
1521 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
1523 New file.
1524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
1525 file.
1526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
1527 New file.
1528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
1529 file.
1530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
1531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
1532 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
1533 file.
1534 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
1535 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
1536 file.
1537 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
1538 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
1539 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
1540
c19a9f89
DM
1541 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1542 libc_feholdexcept and libc_fesetenv.
1543
357679d2
MF
15442013-01-15 Mike Frysinger <vapier@gentoo.org>
1545
1546 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
1547
65a82e3d
DM
15482013-01-14 David S. Miller <davem@davemloft.net>
1549
8b954ab9
DM
1550 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
1551 (SPARC_ASM_VIS2_IFUNC): Likewise.
1552 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
1553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
1554 use of 'siam' instruction.
1555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
1556 Likewise.
1557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
1558 Likewise.
1559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
1560 Likewise.
1561 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1562 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1563 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1564 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
1566 file.
1567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
1568 file.
1569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
1570 file.
1571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
1572 file.
1573 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
1574 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
1575 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
1576 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
1577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
1578 new VIS2 routines.
1579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1582 Likewise.
1583 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1584 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1585 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1586 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
1588 routines to libm-sysdep_routines.
1589 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1590
65a82e3d
DM
1591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1592 fdim/fdimf to libm-sysdep_routines.
1593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
1594 file.
1595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
1596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
1597 file.
1598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
1599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
1600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
1601 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
1602 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
1603 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
1604 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
1605
e34ab705
SP
16062013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1607
2a91b573
SP
1608 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
1609 to optimize copies.
1610
1066a534
SP
1611 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
1612 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1613 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1614
e34ab705
SP
1615 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
1616 local variable MPTWO.
1617 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1618 Likewise.
1619
aba5e596
MF
16202013-01-13 Mike Frysinger <vapier@gentoo.org>
1621
1622 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
1623 GLOB_NOESCAPE.
1624
e557e9e5
MF
16252013-01-13 Mike Frysinger <vapier@gentoo.org>
1626
1627 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
1628
0428cec9
MF
16292013-01-13 Mike Frysinger <vapier@gentoo.org>
1630
1631 * manual/pattern.texi (glob_t): Document gl_flags.
1632 (glob64_t): Likewise.
1633
8794a964
DM
16342013-01-11 David S. Miller <davem@davemloft.net>
1635
66438c3f
RM
1636 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
1637 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
1638 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
1639 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
1640 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
1641 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
1642 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
1643 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
1644 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
1645 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
1646 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
1647 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
1648 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
1649
4ae4244d
DM
1650 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1651 sparc V9 rather than using V8 code.
1652 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1653 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1654
8794a964
DM
1655 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1656 Move to...
1657 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
1658 Here.
1659
6270516e
RM
16602013-01-11 Roland McGrath <roland@hack.frob.com>
1661
1662 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
1663 not in the main loop.
1664 * configure: Regenerated.
1665
6a57d931
JM
16662013-01-11 Joseph Myers <joseph@codesourcery.com>
1667
1668 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
1669 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
1670 to just #else.
1671 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
1672 [!__GLIBC_HAVE_LONG_LONG] case.
1673 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
1674 condition to just #else.
1675 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
1676 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
1677 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
1678 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
1679 unconditional.
1680 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
1681 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1682 #elif condition to just #else.
1683 * sysdeps/unix/sysv/linux/sys/sysmacros.h
1684 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
1685 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1686 #elif condition to just #else.
1687
0e8529e9
SE
16882013-01-11 Steve Ellcey <sellcey@mips.com>
1689
1690 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
1691 (EF_MIPS_ARCH_64): Fix value.
1692 (EF_MIPS_ARCH_32R2): New.
1693 (EF_MIPS_ARCH_64R2): New.
1694
740b3dbe
L
16952013-01-11 H.J. Lu <hongjiu.lu@intel.com>
1696
1697 * Makeconfig (+link-pie-before-libc): New.
1698 (+link-pie-after-libc): Likewise.
1699 (+link-pie-tests): Likewise.
1700 (+link-pie): Rewritten.
1701 (link-before-libc): Remove $(config-LDFLAGS).
1702 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
1703 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
1704 (config-LDFLAGS): Renamed to ...
1705 (rtld-LDFLAGS): This.
1706 (rtld-tests-LDFLAGS): New macro.
1707 (link-libc-rpath-link): Likewise.
1708 (link-libc-tests-rpath-link): Likewise.
1709 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
1710 (link-libc): Prepand $(link-libc-rpath-link).
1711 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
1712 (test-program-prefix): New macro.
1713 (test-via-rtld-prefix): Likewise.
1714 (test-program-cmd): Likewise.
1715 (host-test-program-cmd): Likewise.
1716 * Makefile ($(common-objpfx)testrun.sh): Replace
1717 $(run-program-prefix) with $(test-program-prefix).
1718 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
1719 $(rtld-LDFLAGS).
1720 ($(common-objpfx)shlib.lds): Likewise.
1721 (build-module-helper): Likewise.
1722 ($(common-objpfx)format.lds): Likewise.
1723 * Rules (binaries-pie-tests): New.
1724 (binaries-pie-notests): Likewise.
1725 (binaries-pie): Rewritten.
1726 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
1727 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
1728 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
1729 (make-test-out): Replace $(host-built-program-cmd) with
1730 $(host-test-program-cmd).
1731 * config.make.in (build-hardcoded-path-in-tests): New variable.
1732 * configure.in (--enable-hardcoded-path-in-tests): New configure
1733 option.
1734 (hardcoded_path_in_tests): New AC_SUBST.
1735 * configure: Regenerated.
1736 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
1737 $(built-program-cmd) with $(test-program-cmd).
1738 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
1739 (test_program_cmd): This.
1740 * elf/Makefile ($(objpfx)order.out): Run test with
1741 $(test-program-prefix).
1742 ($(objpfx)order2.out): Likewise.
1743 ($(objpfx)tst-initorder.out): Likewise.
1744 ($(objpfx)tst-initorder2.out): Likewise.
1745 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
1746 $(test-program-cmd).
1747 ($(objpfx)tst-array1-static.out): Likewise.
1748 ($(objpfx)tst-array2.out): Likewise.
1749 ($(objpfx)tst-array3.out): Likewise.
1750 ($(objpfx)tst-array4.out): Likewise.
1751 ($(objpfx)tst-array5.out): Likewise.
1752 ($(objpfx)tst-array5-static.out): Likewise.
1753 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
1754 $(test-program-cmd).
1755 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
1756 $(run-program-prefix) with $(test-program-prefix).
1757 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
1758 (test_program_prefix): This.
1759 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
1760 $(run-program-prefix) with $(test-program-prefix).
1761 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
1762 (test_program_prefix): This.
1763 * iconvdata/tst-tables.sh: Likewise.
1764 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
1765 $(run-program-prefix) with $(test-program-prefix).
1766 ($(objpfx)tst-translit.out): Likewise.
1767 ($(objpfx)tst-gettext2.out): Likewise.
1768 ($(objpfx)tst-gettext4.out): Likewise.
1769 ($(objpfx)tst-gettext6.out): Likewise.
1770 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
1771 (test_program_prefix): This.
1772 * intl/tst-gettext2.sh: Likewise.
1773 * intl/tst-gettext4.sh Likewise.
1774 * intl/tst-gettext6.sh: Likewise.
1775 * intl/tst-translit.sh: Likewise.
1776 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
1777 with $(test-program-cmd).
1778 * libio/Makefile ($(objpfx)test-freopen.out): Replace
1779 $(run-program-prefix) with $(test-program-prefix).
1780 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
1781 (test_program_prefix): This.
1782 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
1783 $(run-program-prefix) with $(test-program-prefix).
1784 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
1785 (test_program_prefix): This.
1786 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
1787 * posix/Makefile ($(objpfx)globtest.out): Replace
1788 $(run-via-rtld-prefix) and $(test-wrapper) with
1789 $(test-program-prefix) and $(test-via-rtld-prefix).
1790 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
1791 $(test-program-prefix).
1792 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
1793 $(host-test-program-cmd).
1794 (tst-spawn-ARGS): Likewise.
1795 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
1796 $(test-program-prefix).
1797 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
1798 (test_via_rtld_prefix): This.
1799 (test_wrapper): Renamed to ...
1800 (test_program_prefix): This.
1801 (run_program_prefix): Replaced by test_program_prefix.
1802 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
1803 (test_program_prefix): This.
1804 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
1805 with $(host-test-program-cmd).
1806 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
1807 $(run-program-prefix) with $(test-program-prefix).
1808 ($(objpfx)tst-printf.out): Likewise.
1809 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
1810 $(test-program-cmd).
1811 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
1812 (test_program_prefix): This.
1813 * stdio-common/tst-unbputc.sh: Likewise.
1814 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
1815 $(run-program-prefix) with $(test-program-prefix).
1816 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
1817 (test_program_prefix): This.
1818 * string/Makefile ($(objpfx)tst-svc.out): Replace
1819 $(built-program-cmd) with $(test-program-cmd).
1820
c6fe55cf
AJ
18212013-01-11 Andreas Jaeger <aj@suse.de>
1822
1823 [BZ #15003]
1824 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
1825 value. Sync with Linux 3.7.
1826
9e6919c8
DM
18272013-01-10 David S. Miller <davem@davemloft.net>
1828
1829 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
1830 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1831 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1832
1c9f1a02
RM
18332013-01-10 Roland McGrath <roland@hack.frob.com>
1834
1835 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
1836 never set.
1837 * configure: Regenerated.
1838
b9de2dde
DM
18392013-01-10 David S. Miller <davem@davemloft.net>
1840
1841 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1842 sparc V9 rather than using V8 code.
1843 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1844 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1845
e7f68ef4
RM
18462013-01-10 Roland McGrath <roland@hack.frob.com>
1847
1848 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
1849 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
1850 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
1851 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
1852 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
1853 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
1854 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
1855 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
1856 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
1857 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
1858 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
1859 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
1860 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
1861 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
1862 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
1863 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
1864 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
1865 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
1866 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
1867 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
1868 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
1869 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
1870 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
1871 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
1872 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
1873 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
1874 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
1875
5a47cc9c
DM
18762013-01-10 David S. Miller <davem@davemloft.net>
1877
1878 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1879
4cf8f209
L
18802013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1881
1882 * posix/Makefile (tests-static): New variable.
1883 (tests): Add $(tests-static).
1884 (tst-exec-static-ARGS): New variable.
1885 (tst-spawn-static-ARGS): Likewise.
1886 * posix/tst-exec-static.c: New file.
1887 * posix/tst-spawn-static.c: Likewise.
1888 * posix/tst-exec.c: Support run directly.
1889 * posix/tst-spawn.c: Likewise.
1890
fed0faa1
JM
18912013-01-10 Joseph Myers <joseph@codesourcery.com>
1892
828beb13
JM
1893 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
1894 long.
1895 * math/bits/mathcalls.h (llrint): Likewise.
1896 (llround): Likewise.
1897 * stdlib/stdlib.h (struct drand48_data): Likewise.
1898 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
1899 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
1900 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
1901 Likewise.
1902 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
1903 Likewise.
1904 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
1905 (elf_greg_t): Likewise.
1906 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
1907 (__jmp_buf): Likewise.
1908 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
1909 definitions.
1910 (llrint): Likewise, for all definitions.
1911 (llrintl): Likewise.
1912
fed0faa1
JM
1913 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
1914 Remove [__GNUC__] condition.
1915 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
1916 condition to just [__USE_ISOC99].
1917 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
1918
1a20cb20
L
19192013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1920
1921 [BZ #14200]
1922 * sysdeps/unix/sysv/linux/x86/bits/environments.h
1923 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
1924 defined.
1925 (_POSIX_V6_ILP32_OFF32): Likewise.
1926 (_XBS5_ILP32_OFF32): Likewise.
1927 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
1928 (__ILP32_OFFBIG_LDFLAGS): Likewise.
1929
751b85f7
SP
19302013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1931
7490eb81
SP
1932 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
1933
751b85f7
SP
1934 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
1935 doubles __mpexp_twomm1. Adjust usage.
1936 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
1937 Remove.
1938
988197f0
AS
19392013-01-10 Andreas Schwab <schwab@suse.de>
1940
1941 [BZ #14964]
1942 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
1943 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
1944
e83d7298
DM
19452013-01-09 David S. Miller <davem@davemloft.net>
1946
034ed64b 1947 [BZ #15003]
e83d7298
DM
1948 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
1949 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
1950 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
1951 TCP_FASTOPEN): Define.
1952 (tcp_repair_opt): New structure.
1953 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
1954 enum values.
1955 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
1956 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
1957 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
1958 (tcp_cookie_transactions): New structure.
1959
d5e0b9bd
AB
19602013-01-09 Anton Blanchard <anton@samba.org>
1961
1962 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
1963 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
1964 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
1965 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1966
0c07e3ea
JM
19672013-01-09 Joseph Myers <joseph@codesourcery.com>
1968
1969 * include/features.h (__USE_ANSI): Remove.
1970
232f7002
RM
19712013-01-09 Roland McGrath <roland@hack.frob.com>
1972
ad98e30c
RM
1973 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
1974
232f7002
RM
1975 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
1976
950c99ca
SP
19772013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1978
b5792741
SP
1979 * sysdeps/s390/fpu/libm-test-ulps: Update.
1980
47cf2278
SP
1981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1982
950c99ca
SP
1983 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
1984 (__acr): Likewise.
1985 (__cpy): Likewise.
1986 (norm): Likewise.
1987 (denorm): Likewise.
1988 (__mp_dbl): Likewise.
1989 (__dbl_mp): Likewise.
1990 (add_magnitudes): Likewise.
1991 (sub_magnitudes): Likewise.
1992 (__add): Likewise.
1993 (__sub): Likewise.
1994 (__mul): Likewise.
1995 (__inv): Likewise.
1996 (__dvd): Likewise.
1997 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
1998 (__acr): Likewise.
1999 (__cpy): Likewise.
2000 (norm): Likewise.
2001 (denorm): Likewise.
2002 (__mp_dbl): Likewise.
2003 (__dbl_mp): Likewise.
2004 (add_magnitudes): Likewise.
2005 (sub_magnitudes): Likewise.
2006 (__add): Likewise.
2007 (__sub): Likewise.
2008 (__mul): Likewise.
2009 (__inv): Likewise.
2010 (__dvd): Likewise.
2011 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
2012 (__acr): Likewise.
2013 (__cpy): Likewise.
2014 (norm): Likewise.
2015 (denorm): Likewise.
2016 (__mp_dbl): Likewise.
2017 (__dbl_mp): Likewise.
2018 (add_magnitudes): Likewise.
2019 (sub_magnitudes): Likewise.
2020 (__add): Likewise.
2021 (__sub): Likewise.
2022 (__mul): Likewise.
2023 (__inv): Likewise.
2024 (__dvd): Likewise.
2025
eede9df9
JM
20262013-01-08 Joseph Myers <joseph@codesourcery.com>
2027
2028 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
2029 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
2030 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
2031 2 && __USE_EXTERN_INLINES]: Likewise.
2032
c40ea3d9
AJ
20332013-01-08 Andreas Jaeger <aj@suse.de>
2034
2035 [BZ# 14985]
2036 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
2037 Remove.
2038 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2039 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2040
2ccdea26
AB
20412013-01-07 Anton Blanchard <anton@samba.org>
2042
2043 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
2044 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2045 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
2046 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2047 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2048 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2049 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
2050 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2051 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2052 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2053 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2054 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2055 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2056 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2057 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2058 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2059 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2060 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2061 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2062 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2063 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2064 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
2065 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2066 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2067 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
2068 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2069 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2070 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2071 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
2072 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2073 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2074 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2075 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2076 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2077 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2078 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2079 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2080 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2081 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2082 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2083 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
2084 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2085 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2086
a9708fed
JM
20872013-01-07 Joseph Myers <joseph@codesourcery.com>
2088
375607b9
JM
2089 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
2090 (__MALLOC_PMT): Likewise.
2091 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
2092 [__GNUC__], only on [_LIBC].
2093 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2094 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
2095 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2096 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
2097 forward declaration.
2098 (realloc_hook_ini): Likewise.
2099 (memalign_hook_ini): Likewise.
2100 (__libc_memalign): Do not use __MALLOC_PMT in variable
2101 declaration.
2102 (__libc_valloc): Likewise.
2103 (__libc_pvalloc): Likewise.
2104 (__libc_calloc): Likewise.
2105 (__posix_memalign): Likewise.
2106
a9708fed
JM
2107 [BZ #14996]
2108 * math/s_casinh.c: Include <float.h>.
2109 (__casinh): Do not do computation with squaring and square root
2110 for large arguments.
2111 * math/s_casinhf.c: Include <float.h>.
2112 (__casinhf): Do not do computation with squaring and square root
2113 for large arguments.
2114 * math/s_casinhl.c: Include <float.h>.
2115 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
2116 (__casinhl): Do not do computation with squaring and square root
2117 for large arguments.
2118 * math/libm-test.inc (casin_test): Add more tests.
2119 (casinh_test): Likewise.
2120 * sysdeps/i386/fpu/libm-test-ulps: Update.
2121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2122
afec409a
L
21232013-01-04 H.J. Lu <hongjiu.lu@intel.com>
2124
2125 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
2126 (__x86_64_raw_data_cache_size): Likewise.
2127 (__x86_64_data_cache_size_half): Likewise.
2128 (__x86_64_raw_data_cache_size_half): Likewise.
2129 (__x86_64_shared_cache_size): Likewise.
2130 (__x86_64_raw_shared_cache_size): Likewise.
2131 (__x86_64_shared_cache_size_half): Likewise.
2132 (__x86_64_raw_shared_cache_size_half): Likewise.
2133 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
2134 to ...
2135 (__x86_data_cache_size): This.
2136 (__x86_64_raw_data_cache_size): Renamed to ...
2137 (__x86_raw_data_cache_size): This.
2138 (__x86_64_data_cache_size_half): Renamed to ...
2139 (__x86_data_cache_size_half): This.
2140 (__x86_64_raw_data_cache_size_half): Renamed to ...
2141 (__x86_raw_data_cache_size_half): This.
2142 (__x86_64_shared_cache_size): Renamed to ...
2143 (__x86_shared_cache_size): This.
2144 (__x86_64_raw_shared_cache_size): Renamed to ...
2145 (__x86_raw_shared_cache_size): This.
2146 (__x86_64_shared_cache_size_half): Renamed to ...
2147 (__x86_shared_cache_size_half): This.
2148 (__x86_64_raw_shared_cache_size_half): Renamed to ...
2149 (__x86_raw_shared_cache_size_half): This.
2150 * sysdeps/x86_64/memcpy.S: Updated.
2151 * sysdeps/x86_64/memset.S: Likewise.
2152 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2153 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2154 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2155
0b3986d0
DM
21562013-01-04 David S. Miller <davem@davemloft.net>
2157
2158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2159
e47686e9
AS
21602013-01-04 Andreas Schwab <schwab@linux-m68k.org>
2161
d643bac1
AS
2162 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
2163 1 to avoid redefinition warning.
2164 (__USE_GNU): Don't define.
2165 (init_signaling_nan): Protoize.
2166
e47686e9
AS
2167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2168
b18decba
SP
21692013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2170
fffb407f
SP
2171 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
2172 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
2173 (__cpymn): Likewise.
2174 (norm): Remove commented code.
2175 (denorm): Likewise.
2176 (__mp_dbl): Likewise.
2177 (__inv): Likewise.
2178 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
2179 (__cpymn): Likewise.
2180 (norm): Remove commented code.
2181 (denorm): Likewise.
2182 (__mp_dbl): Likewise.
2183 (__inv): Likewise.
2184
b18decba
SP
2185 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
2186 mp_no value for 1.0 and 2.0.
2187 (norm): Use RADIXI instead of radixi.d.
2188 (denorm): Likewise.
2189 (__mul): Use 0.0 instead of zero.d.
2190 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
2191 mp_no value for 1.0 and 2.0.
2192 (norm): Use RADIXI instead of radixi.d.
2193 (denorm): Likewise.
2194 (__mul): Use 0.0 instead of zero.d.
2195
cdc1c96f
JM
21962013-01-04 Joseph Myers <joseph@codesourcery.com>
2197
2198 [BZ #14994]
2199 * math/s_casinh.c (__casinh): Reduce finite argument to first
2200 quadrant then set signs of results at the end.
2201 * math/s_casinhf.c (__casinhf): Likewise.
2202 * math/s_casinhl.c (__casinhl): Likewise.
2203 * math/libm-test.inc (casin_test): Add more tests.
2204 (casinh_test): Likewise.
2205 * sysdeps/i386/fpu/libm-test-ulps: Update.
2206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2207
302913e1
SP
22082013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2209
6420d207
SP
2210 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
2211
a9e48ab4
SP
2212 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
2213
b7837264
SP
2214 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
2215 declarations.
2216 (denorm): Likewise.
2217 (__mp_dbl): Likewise.
2218 (__inv): Likewise.
2219
f8af25d2
SP
2220 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
2221 and adjust the header comment.
2222
302913e1
SP
2223 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
2224 variable name from declaration.
2225
5d7dd1ca
L
22262013-01-03 H.J. Lu <hongjiu.lu@intel.com>
2227
2228 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2229 Initialize COMMON_CPUID_INDEX_7 element.
2230 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
2231 (CPUID_RTM): Likewise.
2232 (HAS_RTM): Likewise.
2233 (COMMON_CPUID_INDEX_7): New enum.
2234
2f5f40f4
AS
22352013-01-03 Andreas Schwab <schwab@linux-m68k.org>
2236
2237 [BZ #14981]
2238 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
2239 size is zero, record memory as freed.
2240
4056f4a0
AJ
22412013-01-03 Andreas Jaeger <aj@suse.de>
2242
2243 * po/ia.po: Add new Interlingua translation.
2244
ab15736f 22452012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
2246
2247 * locale/programs/localedef.c: Fix description of '--posix' flag.
2248
568035b7
JM
22492013-01-02 Joseph Myers <joseph@codesourcery.com>
2250
e6898b8d
JM
2251 * NEWS: Update dates in second copyright notice.
2252 * README: Update copyright dates in example.
2253 * manual/libc.texinfo: Update copyright dates.
2254 * scripts/test-installation.pl: Update copyright date in --version
2255 output.
2256
0e2f9562
JM
2257 * hurd/ctty-input.c: Fix copyright notice formatting.
2258 * hurd/ctty-output.c: Likewise.
2259 * hurd/dtable.c: Likewise.
2260 * hurd/hurd-raise.c: Likewise.
2261 * hurd/hurdprio.c: Likewise.
2262 * hurd/msgportdemux.c: Likewise.
2263 * misc/sys/file.h: Likewise.
2264 * misc/sys/ioctl.h: Likewise.
2265 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2266 * sysdeps/mach/hurd/chdir.c: Likewise.
2267 * sysdeps/mach/hurd/fchdir.c: Likewise.
2268 * sysdeps/mach/hurd/rename.c: Likewise.
2269 * sysdeps/mach/hurd/rmdir.c: Likewise.
2270 * sysdeps/mach/hurd/seekdir.c: Likewise.
2271 * sysdeps/mach/hurd/setsid.c: Likewise.
2272 * sysdeps/posix/wait3.c: Likewise.
2273
568035b7
JM
2274 * All files with FSF copyright notices: Update copyright dates
2275 using scripts/update-copyrights.
2276 * intl/plural.c: Regenerated.
2277 * locale/programs/charmap-kw.h: Likewise.
2278 * locale/programs/locfile-kw.h: Likewise.
2279
da08f647
SP
22802013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2281
0f5477af
SP
2282 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
2283 four values.
2284
44e0d4c2
SP
2285 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
2286 calculation loop and add branch prediction.
2287
4d55b4e5
SP
2288 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
2289 check access beyond bounds of m1np.
2290
da08f647
SP
2291 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2292 MPTWO.
2293 (__inv): Remove local variable MPTWO to use the global
2294 constant.
2295 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
2296 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2297 variable MPTWO.
2298 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
2299 MP3HALFS static const.
2300
8e051029
DM
23012013-01-01 David S. Miller <davem@davemloft.net>
2302
2303 * po/ca.po: Update from translation team.
2304
f4cf5f2d
JM
23052013-01-01 Joseph Myers <joseph@codesourcery.com>
2306
2307 * scripts/update-copyrights: New file.
2308 * Makeconfig: Reformat copyright notice.
2309 * ctype/ctype.h: Likewise.
2310 * debug/swprintf_chk.c: Likewise.
2311 * elf/dl-cache.c: Likewise.
2312 * elf/dl-debug.c: Likewise.
2313 * elf/dl-object.c: Likewise.
2314 * grp/initgroups.c: Likewise.
2315 * hurd/Makefile: Likewise.
2316 * hurd/hurd/signal.h: Likewise.
2317 * hurd/hurdfault.c: Likewise.
2318 * hurd/hurdioctl.c: Likewise.
2319 * hurd/hurdlookup.c: Likewise.
2320 * hurd/intr-msg.c: Likewise.
2321 * iconv/gconv_open.c: Likewise.
2322 * libio/swprintf.c: Likewise.
2323 * locale/lc-ctype.c: Likewise.
2324 * locale/nl_langinfo.c: Likewise.
2325 * mach/Machrules: Likewise.
2326 * mach/Makefile: Likewise.
2327 * malloc/obstack.h: Likewise.
2328 * manual/Makefile: Likewise.
2329 * manual/tsort.awk: Likewise.
2330 * misc/bits/stab.def: Likewise.
2331 * nis/nis_print_group_entry.c: Likewise.
2332 * nis/nis_table.c: Likewise.
2333 * nis/nss_compat/compat-pwd.c: Likewise.
2334 * nis/nss_compat/compat-spwd.c: Likewise.
2335 * po/Makefile: Likewise.
2336 * posix/fnmatch.c: Likewise.
2337 * posix/regex.h: Likewise.
2338 * resolv/Makefile: Likewise.
2339 * resolv/nss_dns/dns-network.c: Likewise.
2340 * resolv/res_hconf.c: Likewise.
2341 * scripts/gen-sorted.awk: Likewise.
2342 * soft-fp/soft-fp.h: Likewise.
2343 * stdio-common/printf.h: Likewise.
2344 * stdlib/monetary.h: Likewise.
2345 * stdlib/random.c: Likewise.
2346 * stdlib/random_r.c: Likewise.
2347 * sysdeps/generic/Makefile: Likewise.
2348 * sysdeps/gnu/Makefile: Likewise.
2349 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2350 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2351 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2352 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2353 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2354 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2355 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2356 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2357 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2358 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2359 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2360 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2361 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2362 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2363 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
2364 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2365 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2366 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2367 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2368 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2369 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2370 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2371 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2372 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2373 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
2374 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2375 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2376 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
2377 * sysdeps/mach/hurd/errnos.awk: Likewise.
2378 * sysdeps/mach/hurd/fork.c: Likewise.
2379 * sysdeps/mach/hurd/getcwd.c: Likewise.
2380 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
2381 * sysdeps/mach/hurd/mmap.c: Likewise.
2382 * sysdeps/mach/hurd/utimes.c: Likewise.
2383 * sysdeps/mach/hurd/xmknod.c: Likewise.
2384 * sysdeps/posix/profil.c: Likewise.
2385 * sysdeps/posix/readdir_r.c: Likewise.
2386 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2387 * sysdeps/powerpc/bits/setjmp.h: Likewise.
2388 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
2389 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2390 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2391 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2392 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2393 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2394 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2395 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2396 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2397 * sysdeps/pthread/lio_listio.c: Likewise.
2398 * sysdeps/sparc/dl-procinfo.h: Likewise.
2399 * sysdeps/unix/i386/sysdep.S: Likewise.
2400 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2401 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
2402 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2403 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
2404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2405 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2406 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2407 * sysdeps/unix/sysv/linux/speed.c: Likewise.
2408 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2409 * sysdeps/wordsize-32/divdi3.c: Likewise.
2410 * time/sys/time.h: Likewise.
2411 * wcsmbs/Makefile: Likewise.
2412
0549fbba
DM
24132013-01-01 David S. Miller <davem@davemloft.net>
2414
a141f1a7
DM
2415 * po/fr.po: Update from translation team.
2416
0549fbba
DM
2417 * catgets/gencat.c: Update copyright year.
2418 * csu/version.c: Likewise.
2419 * debug/catchsegv.sh: Likewise.
2420 * debug/pcprofiledump.c: Likewise.
2421 * debug/xtrace.sh: Likewise.
2422 * elf/ldconfig.c: Likewise.
2423 * elf/ldd.bash.in: Likewise.
2424 * elf/pldd.c: Likewise.
2425 * elf/sotruss.ksh: Likewise.
2426 * elf/sprof.c: Likewise.
2427 * iconv/iconv_prog.c: Likewise.
2428 * iconv/iconvconfig.c: Likewise.
2429 * locale/programs/locale.c: Likewise.
2430 * locale/programs/localedef.c: Likewise.
2431 * login/programs/pt_chown.c: Likewise.
2432 * malloc/memusage.sh: Likewise.
2433 * malloc/memusagestat.c: Likewise.
2434 * malloc/mtrace.pl: Likewise.
2435 * nscd/nscd.c: Likewise.
2436 * nss/getent.c: Likewise.
2437 * nss/makedb.c: Likewise.
2438 * posix/getconf.c: Likewise.
2439
18ea052c
SP
24402012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2441
2442 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
2443 numbers.
2444
9c89fca6
MF
24452012-12-30 Mike Frysinger <vapier@gentoo.org>
2446
2447 * math/bits/mathcalls.h (modf): Use __nonnull.
2448
085ec079
SP
24492012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2450
2451 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
2452 (split): Use macro CN instead of the bare value.
2453 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
2454 could be used.
2455 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
2456 instead of the bare value.
2457 (power1): Likewise.
2458
6d9f97e1
SP
24592012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2460
d63f73be
SP
2461 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
2462 __ATAN_TWOM.
2463 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2464
6d9f97e1
SP
2465 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
2466 their values.
2467 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2468 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2469 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
2470 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2471
4c4febf5
AJ
24722012-12-28 Andreas Jaeger <aj@suse.de>
2473
af5843ef
AJ
2474 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
2475 values are from Linux 3.7.
2476
4c4febf5
AJ
2477 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
2478 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
2479
99136f82
SP
24802012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2481
2f216c3c 2482 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
2483 TRUE case.
2484
99136f82
SP
2485 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
2486 (norm): Likewise.
2487 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
2488 variables with preprocessor constants.
2489 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2490 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2491 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2492
7fffbdff
BH
24932012-12-27 Bruno Haible <bruno@clisp.org>
2494
2495 [BZ #14317]
2496 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
2497 only if needed.
2498
b76eb5f0
SP
24992012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2500
31a7fe5c
SP
2501 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
2502 and use variable directly.
2503 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
2504
b76eb5f0
SP
2505 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2506 MPONE.
2507 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
2508 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2509 variable MPONE.
2510 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2511 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2512 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
2513 include directive. Remove local variable MPONE.
2514 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
2515 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
2516 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2517
2c8bfe7d
DM
25182012-12-25 David S. Miller <davem@davemloft.net>
2519
2520 * version.h (RELEASE): Set to "development".
2521 (VERSION): Set to "2.17.90".
2522 * NEWS: Add 2.18 section.
2523
147d03b0
DM
25242012-12-21 David S. Miller <davem@davemloft.net>
2525
2526 * po/hr.po: Update from translation team.
2527
a8ebb2b9
AK
25282012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2529
2530 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
2531
95b4f1b6
SE
25322012-12-19 Steve Ellcey <sellcey@mips.com>
2533
b2d94007 2534 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 2535
cedb2a90
MS
25362012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2537
2538 * manual/contrib.texi (Contributors): Spelling correction.
2539
bbf527d6
DM
25402012-12-15 David S. Miller <davem@davemloft.net>
2541
2542 * po/ru.po: Update from translation team.
2543
bc38c906
DM
25442012-12-13 David S. Miller <davem@davemloft.net>
2545
85429b1a
DM
2546 * NEWS: Mention IFUNC testsuite enhancements.
2547
d283e353
DM
2548 * po/pl.po: Update from translation team.
2549 * po/bg.po: Likewise.
2550
bc38c906
DM
2551 * manual/contrib.texi (Contributors): Update entries for Hongjiu
2552 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
2553
a181b0d7
DM
25542012-12-11 David S. Miller <davem@davemloft.net>
2555
4641d57e
DM
2556 * po/sv.po: Update from translation team.
2557
f7bc6495
DM
2558 * po/vi.po: Update from translation team.
2559
6fc9048f
DM
2560 * po/cs.po: Update from translation team.
2561
a181b0d7
DM
2562 * po/de.po: Update from translation team.
2563 * po/eo.po: Likewise.
2564 * po/nl.po: Likewise.
2565
f70bfe80
SP
25662012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2567
3c8b4190
SP
2568 [BZ #14246]
2569 * manual/argp.texi (Argp Helper Functions): Move node to follow
2570 Argp Parsing State.
2571
f70bfe80
SP
2572 [BZ #14872]
2573 * manual/conf.texi (Limits on File System Capacity): Mention if
2574 terminating null is included in the max size.
2575
188f0adf
AJ
25762012-12-10 Andreas Jaeger <aj@suse.de>
2577
2578 * po/cs.po: Update from translation team.
2579
56e7d3ad
SP
25802012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2581
2582 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
2583 void pointer and cast to uintptr_t.
2584 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
2585 path.
2586 * sysdeps/s390/s390-64/memcpy.S: Likewise.
2587 * sysdeps/s390/s390-64/memset.S: Likewise.
2588
76f2d2ea 25892012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
2590
2591 [BZ #14833]
2592 * menual/message.texi (Message Translation): Fix typos.
2593 (Helper programs for gettext): Likewise.
2594
67cbf9a2
AS
25952012-12-07 Andreas Schwab <schwab@linux-m68k.org>
2596
2597 [BZ #14898]
2598 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
2599 Change to -1.
2600
682d0e9a
DM
26012012-12-07 David S. Miller <davem@davemloft.net>
2602
2603 * po/libc.pot: Update.
2604
573cd484
RH
26052012-12-07 Richard Henderson <rth@redhat.com>
2606
7e9da188 2607 [BZ #10114]
573cd484
RH
2608 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
2609 normal/normal case to before the switch.
2610 (_FP_DIV): Likewise.
2611
e933a943
MF
26122012-12-06 Carlos O'Donell <carlos@systemhalted.org>
2613 Mike Frysinger <vapier@gentoo.org>
2614
2615 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
2616 check for __NR_fadvise64_64.
2617
82123268
CM
26182012-12-06 Chris Metcalf <cmetcalf@tilera.com>
2619
2620 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
2621 0, not just to plain "0" as a statement.
2622 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
2623 with cw.
2624
d9814526
JM
26252012-12-06 Joseph Myers <joseph@codesourcery.com>
2626
2627 * NEWS: Use sourceware.org in Bugzilla URL.
2628
7728c574
SP
26292012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2630
f16946dd
SP
2631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2632 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2633
5704bbcb
SP
2634 * stdio-common/tst-put-error.c (do_test): Add newline to the
2635 padded test to ensure flush.
2636
17aa0516
JL
26372012-12-05 Jeff Law <law@redhat.com>
2638
2639 * sunrpc/etc.rpc (fedfs_admin): Add entry.
2640
363313b5
JM
26412012-12-05 Joseph Myers <joseph@codesourcery.com>
2642
effbd42a
JM
2643 * README: Don't refer to ports add-on as distributed separately.
2644 Mention AArch64 in list of systems supported in the ports add-on.
2645
87600365
JM
2646 * LICENSES: Add more non-FSF copyright and license notices.
2647
a0d7066a
JM
2648 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
2649 ((unused)).
2650
66ca5a5b
JM
2651 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
2652
363313b5
JM
2653 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
2654 10000 as width of padded output.
2655
b37984ad
JM
26562012-12-04 Joseph Myers <joseph@codesourcery.com>
2657
9003570a
JM
2658 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
2659
b37984ad
JM
2660 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
2661 variable LX with __attribute__ ((unused)).
2662 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2663 Likewise.
2664 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2665 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2666 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
2667 with __attribute__ ((unused)).
2668
c8df52ec
DM
26692012-12-04 David S. Miller <davem@abraco.davemloft.net>
2670
2671 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
2672
b3b099af
JM
26732012-12-04 Joseph Myers <joseph@codesourcery.com>
2674
c33aa6e3
JM
2675 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
2676 (CFLAGS-nldbl-acos.c): New variable.
2677 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
2678 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
2679 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
2680 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
2681 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
2682 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
2683 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
2684 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
2685 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
2686 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
2687 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
2688 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
2689 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
2690 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
2691 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
2692 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
2693 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
2694 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
2695 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
2696 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
2697 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
2698 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
2699 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
2700 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
2701 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
2702 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
2703 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
2704 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
2705 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
2706 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
2707 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
2708 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
2709 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
2710 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
2711 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
2712 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
2713 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
2714 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
2715 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
2716 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
2717 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
2718 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
2719 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
2720 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
2721 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
2722 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
2723 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
2724 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
2725 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
2726 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
2727 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
2728 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
2729 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
2730 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
2731 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
2732 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
2733 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
2734 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
2735 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
2736 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
2737 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
2738 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
2739 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
2740 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
2741 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
2742 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
2743 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
2744 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
2745 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
2746 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
2747 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
2748 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
2749 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
2750 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
2751 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
2752 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
2753 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
2754 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
2755 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
2756 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
2757 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
2758 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
2759 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
2760 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
2761 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
2762 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
2763 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
2764 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
2765 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
2766 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
2767 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
2768 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
2769 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
2770 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
2771 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
2772 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
2773 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
2774
20f0018d
JM
2775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2776 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2777
b3b099af
JM
2778 [BZ #14914]
2779 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
2780 whole low double instead of just low 47 bits when splitting values
2781 into two parts.
2782
029264d1
AM
27832012-12-03 Allan McRae <allan@archlinux.org>
2784
2785 * manual/stdio.texi (Predefined Printf Handlers): Remove
2786 @hsep and @vsep usage.
2787
c9d6789e
MF
27882012-12-03 Mike Frysinger <vapier@gentoo.org>
2789
2790 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
2791 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
2792
4b7634a5
JL
27932012-12-03 Jeff Law <law@redhat.com>
2794
2795 * time/sys/time.h (settimeofday): Do not mark TV argument
2796 as __nonnull.
2797
eb6cbd24
MF
27982012-12-01 Mike Frysinger <vapier@gentoo.org>
2799
2800 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
2801 when currently writing and seek to current position when not.
2802 * libio/Makefile (tests): Remove bug-fclose1.
2803 * libio/bug-fclose1.c: Delete.
2804
f638872a
JM
28052012-12-01 Joseph Myers <joseph@codesourcery.com>
2806
2807 * manual/arith.texi (feenableexcept): Fix typo.
2808 (fedisableexcept): Likewise.
2809
48085d14
RM
28102012-11-30 Roland McGrath <roland@hack.frob.com>
2811
2812 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
2813 second, differently-typed declaration, rather than a cast.
2814
1a538b9f
SP
28152012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2816
2817 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
2818 * include/rpc/svc.h: ... here.
2819
d07f2ff1 28202012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
2821
2822 [BZ #13013]
2823 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
2824 depending n and resplen2 to catch cases where answer
2825 equals answerp2.
2826
c93ec1f0
CD
28272012-11-29 Carlos O'Donell <carlos@systemhalted.org>
2828
2829 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
2830 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
2831
37db69de
MF
28322012-11-29 Mike Frysinger <vapier@gentoo.org>
2833
2834 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
2835
e10c4e4f
RM
28362012-11-29 Roland McGrath <roland@hack.frob.com>
2837
2838 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
2839
2af1b328
JL
28402012-11-28 Jeff Law <law@redhat.com>
2841
2842 [BZ #13761]
2843 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
2844 dataset_temporary. Track alloca usage into alloca_used.
2845 If dataset is large allocate and release it via malloc/free.
2846
111db5b1
FW
28472012-06-04 Florian Weimer <fweimer@redhat.com>
2848
f06cc227 2849 [BZ #14197]
111db5b1
FW
2850 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
2851
dd694abd
DM
28522012-11-28 David S. Miller <davem@davemloft.net>
2853
2854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2855
9984dd01
JM
28562012-11-28 Joseph Myers <joseph@codesourcery.com>
2857
2858 [BZ #14803]
2859 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
2860 of pi/2 rounded to nearest to 64 bits.
2861 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
2862 nearest to 64 bits.
2863 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
2864 bits.
2865
14bc93a9
JL
28662012-11-28 Jeff Law <law@redhat.com>
2867 Martin Osvald <mosvald@redhat.com>
2868
2869 [BZ #14889]
2870 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
2871 * sunrpc/svc.c: Include time.h.
2872 (__svc_accept_failed): New function.
2873 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
2874 any reason other than EINTR, call __svc_accept_failed.
2875 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
2876 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
2877
e3c6aa3a
AS
28782012-11-28 Andreas Schwab <schwab@suse.de>
2879
2880 * scripts/abilist.awk: Also handle indirect functions in .opd
2881 section.
2882
1bead169
JM
28832012-11-28 Joseph Myers <joseph@codesourcery.com>
2884
2885 [BZ #13881]
2886 * sysdeps/x86/fpu/powl_helper.c: New file.
2887 * sysdeps/x86/fpu/Makefile: Likewise.
2888 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
2889 (p3): New object.
2890 (__ieee754_powl): Use __powl_helper for finite arguments except
2891 integer exponents below 8.
2892 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
2893 (p3): New object.
2894 (__ieee754_powl): Use __powl_helper for finite arguments except
2895 integer exponents below 8.
2896 * math/libm-test.inc (pow_test): Add more tests and enable some
2897 previously disabled tests.
2898 * sysdeps/i386/fpu/libm-test-ulps: Update.
2899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2900
0817d63d
SP
29012012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2902 Carlos O'Donell <carlos_odonell@mentor.com>
2903
2904 * nss/makedb.c (is_prime): Assert that input is odd and greater
2905 than 4. Note that fact in a comment too.
2906 (next_prime): Add 4 to input.
2907
de2fd463
SP
29082012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2909
2910 [BZ #11741]
2911 * libio/Makefile (tests): Add test case tst-fwrite-error.
2912 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
2913 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2914 * libio/tst-fwrite-error.c: New test case.
2915
c515fb51
L
29162012-11-26 H.J. Lu <hongjiu.lu@intel.com>
2917
2918 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
2919 before casting to void *.
2920 * include/libc-internal.h (__pointer_type): New macro.
2921 (__integer_if_pointer_type_sub): Likewise.
2922 (__integer_if_pointer_type): Likewise.
2923 (cast_to_integer): Likewise.
2924 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
2925 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
2926 before casting to atomic64_t.
2927 (atomic_exchange_acq): Likewise.
2928 (__arch_exchange_and_add_body): Likewise.
2929 (__arch_add_body): Likewise.
2930 (atomic_add_negative): Likewise.
2931 (atomic_add_zero): Likewise.
2932
4cf77aa9
JM
29332012-11-26 Joseph Myers <joseph@codesourcery.com>
2934
2935 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
2936 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
2937 (add_fdes): Likewise.
2938 (linear_search_fdes): Likewise.
2939 (binary_search_unencoded_fdes): Likewise.
2940
d260b3b4
AS
29412012-11-26 Andreas Schwab <schwab@linux-m68k.org>
2942
2943 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
2944
67060746
AC
29452012-11-24 Adam Conrad <adconrad@0c3.net>
2946
2947 * configure.in: Autodetect C++ header directories.
2948 * configure: Regenerated.
2949
800938a1
MF
29502012-11-23 Mike Frysinger <vapier@gentoo.org>
2951
2952 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
2953
4e6e34e6
AS
29542012-11-23 Andreas Schwab <schwab@linux-m68k.org>
2955
2956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2957
7c7feb47
JM
29582012-11-22 Joseph Myers <joseph@codesourcery.com>
2959
7184dcdf
JM
2960 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
2961 LDBL_MANT_DIG == 106]: Disable some tests.
2962 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2963 Likewise.
2964 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2965 Likewise.
2966
0a42601f
JM
2967 [BZ #14871]
2968 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
2969 input for small inputs. Return +/- pi/2 for large inputs.
2970 * math/libm-test.inc (atan_test): Add more tests.
2971
79c9b9fe
JM
2972 * sysdeps/generic/unwind-dw2-fde-glibc.c
2973 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
2974 __attribute__ ((unused)).
2975
c60d3bf2
JM
2976 [BZ #14645]
2977 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
2978 x * y if x and y are nonzero and z is zero.
2979
ef1e0867
JM
2980 [BZ #14811]
2981 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
2982 nonzero exponents with absolute value below 0x1p-117 to +/-
2983 0x1p-117.
2984
1468ded3
JM
2985 [BZ #14869]
2986 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
2987 up arguments below 2**-450, not just those below 2**-500.
2988 * math/libm-test.inc (hypot_test): Add another test.
2989
8e27e3cc
JM
2990 [BZ #14868]
2991 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2992 Return a+b for ratio over 2**120, not 2**60.
2993 * math/libm-test.inc (hypot_test): Add another test.
2994
c9c0279b
JM
2995 * math/libm-test.inc (clog_test): Use
2996 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
2997 (clog10_test): Likewise.
2998
7c7feb47
JM
2999 [BZ #6778]
3000 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
3001
fff1530e
AS
30022012-11-22 Andreas Schwab <schwab@suse.de>
3003
3004 * sysdeps/i386/fpu/libm-test-ulps: Update.
3005
94558d30
PT
30062012-11-22 Pino Toscano <toscano.pino@tiscali.it>
3007
3008 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
3009 printf output with newline.
3010
7e1be741
L
30112012-11-21 H.J. Lu <hongjiu.lu@intel.com>
3012
6bfea974
L
3013 [BZ #14865]
3014 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
3015 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
3016 -z nodlopen, -z initfirst and -z execstack support.
3017 * configure: Regenerated.
3018
7e1be741
L
3019 * elf/elf.h (DF_1_NODIRECT): New macro.
3020 (DF_1_IGNMULDEF): Likewise.
3021 (DF_1_NOKSYMS): Likewise.
3022 (DF_1_NOHDR): Likewise.
3023 (DF_1_EDITED): Likewise.
3024 (DF_1_NORELOC): Likewise.
3025 (DF_1_SYMINTPOSE): Likewise.
3026 (DF_1_GLOBAUDIT): Likewise.
3027 (DF_1_SINGLETON): Likewise.
3028 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
3029 DT_1_SUPPORTED_MASK bits.
3030 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
3031
105ce2ce
CD
30322012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
3033
3034 * sysdeps/unix/make-syscalls.sh: Document prefixes.
3035
123be9de
TS
30362012-11-20 Thomas Schwinge <thomas@codesourcery.com>
3037
d072f3f7
TS
3038 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
3039 macro.
3040
123be9de
TS
3041 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
3042 (sendmmsg): Move declarations...
3043 * socket/sys/socket.h: ... here.
3044 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
3045 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
3046 include it from...
3047 * socket/recvmmsg.c: ... this new file.
3048 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
3049 (sendmmsg): Rename to __sendmmsg, create weak alias and make
3050 definition of __sendmmsg hidden.
3051 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3052 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
3053 Move ENOSYS stub into and include it from...
3054 * socket/sendmmsg.c: ... this new file.
3055 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
3056 (sysdep_routines): Move recvmmsg and sendmmsg...
3057 * socket/Makefile (routines): ... here.
3058 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
3059 (GLIBC_PRIVATE): Add __sendmmsg.
3060 * include/sys/socket.h (__sendmmsg): Add declarations.
3061 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
3062 sendmmsg.
3063
cf9a5d18
JM
30642012-11-20 Joseph Myers <joseph@codesourcery.com>
3065
3066 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
3067 variable I1 with __attribute__ ((unused)).
3068 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3069
ecd4caf9
JM
30702012-11-19 Joseph Myers <joseph@codesourcery.com>
3071
be14d48f
JM
3072 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
3073 DUMMY variables with __attribute__ ((unused)).
3074
ecd4caf9
JM
3075 * bits/byteswap.h: Include <bits/types.h>.
3076 (__bswap_64): Use __uint64_t instead of unsigned long long int.
3077
986cab95
PT
30782012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3079
3080 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
3081 string_t. Do not manually set errno.
3082 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
3083 length with __strnlen. Make sure to both set errno and return it on
3084 failure.
3085
6d33cc9d
DM
30862012-11-19 David S. Miller <davem@davemloft.net>
3087
3088 With help from Joseph Myers.
3089 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
3090 very large arguments properly.
3091 * math/libm-test.inc (atan_test): New tests.
3092 (atan2_test): New tests.
3093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3094 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3095
ee663277
JM
30962012-11-19 Joseph Myers <joseph@codesourcery.com>
3097
877f2d8e
JM
3098 [BZ #14856]
3099 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
3100 Define to 3.
3101
116fc08a
JM
3102 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
3103 [POSIX] (EADDRNOTAVAIL): Likewise.
3104 [POSIX] (EAFNOSUPPORT): Likewise.
3105 [POSIX] (EALREADY): Likewise.
3106 [POSIX] (ECONNABORTED): Likewise.
3107 [POSIX] (ECONNREFUSED): Likewise.
3108 [POSIX] (ECONNRESET): Likewise.
3109 [POSIX] (EDESTADDRREQ): Likewise.
3110 [POSIX] (EDQUOT): Likewise.
3111 [POSIX] (EHOSTUNREACH): Likewise.
3112 [POSIX] (EIDRM): Likewise.
3113 [POSIX] (EISCONN): Likewise.
3114 [POSIX] (ELOOP): Likewise.
3115 [POSIX] (EMULTIHOP): Likewise.
3116 [POSIX] (ENETDOWN): Likewise.
3117 [POSIX] (ENETUNREACH): Likewise.
3118 [POSIX] (ENOBUFS): Likewise.
3119 [POSIX] (ENODATA): Likewise.
3120 [POSIX] (ENOLINK): Likewise.
3121 [POSIX] (ENOMSG): Likewise.
3122 [POSIX] (ENOPROTOOPT): Likewise.
3123 [POSIX] (ENOSR): Likewise.
3124 [POSIX] (ENOSTR): Likewise.
3125 [POSIX] (ENOTCONN): Likewise.
3126 [POSIX] (ENOTSOCK): Likewise.
3127 [POSIX] (EOPNOTSUPP): Likewise.
3128 [POSIX] (EOVERFLOW): Likewise.
3129 [POSIX] (EPROTO): Likewise.
3130 [POSIX] (EPROTONOSUPPORT): Likewise.
3131 [POSIX] (EPROTOTYPE): Likewise.
3132 [POSIX] (ESTALE): Likewise.
3133 [POSIX] (ETIME): Likewise.
3134 [POSIX] (ETXTBSY): Likewise.
3135 [POSIX] (EWOULDBLOCK): Likewise.
3136 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
3137 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
3138 [POSIX] (SEEK_CUR): Likewise.
3139 [POSIX] (SEEK_END): Likewise.
3140 [POSIX || UNIX98] (mode_t): Do not require.
3141 [POSIX] (off_t): Likewise.
3142 [POSIX] (pid_t): Likewise.
3143 [POSIX] (sys/stat.h): Do not allow header.
3144 [POSIX] (unistd.h): Likewise.
3145 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
3146 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
3147 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
3148 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
3149 require.
3150 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
3151 sigevent): Specify elements.
3152 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
3153 entry.
3154 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
3155 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
3156
a483863f
JM
3157 * conform/data/cpio.h-data [POSIX]: Disable whole file.
3158 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
3159 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
3160 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
3161 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
3162 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
3163 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
3164 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
3165 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
3166 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
3167 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
3168 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
3169 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
3170 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
3171 Likewise.
3172 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
3173 Likewise.
3174 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
3175 Likewise.
3176 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
3177 Likewise.
3178 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
3179 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
3180 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
3181 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
3182 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
3183 Specify lower bound on value.
3184 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
3185 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
3186 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
3187 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
3188 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
3189 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
3190 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
3191 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
3192 value.
3193 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
3194 as optional.
3195 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
3196 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
3197 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
3198 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
3199 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
3200 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
3201 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
3202 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
3203 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
3204 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
3205 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
3206 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
3207 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
3208 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
3209 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
3210 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
3211 entry.
3212 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
3213 optional.
3214 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
3215 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
3216 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
3217 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
3218 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
3219 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
3220 Likewise.
3221 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
3222 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
3223 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
3224 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
3225 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
3226 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
3227 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
3228 as optional.
3229 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
3230 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
3231 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
3232 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
3233 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
3234 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
3235 specify as optional.
3236 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
3237 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
3238 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
3239 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
3240 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
3241 [XPG3] (NL_LANGMAX): Likewise.
3242 [POSIX || XPG3] (NL_MSGMAX): Likewise.
3243 [POSIX || XPG3] (NL_NMAX): Likewise.
3244 [POSIX || XPG3] (NL_SETMAX): Likewise.
3245 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
3246 [XPG3] (NZERO): Likewise.
3247 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
3248 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
3249 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
3250 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
3251 (REG_ERANGE): Expect.
3252 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
3253 optional-constant.
3254 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
3255 Use (void) in prototype.
3256 [POSIX] (*_t): Allow.
3257 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
3258 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
3259 (WRDE_BADVAL): Expect.
3260
5ba924e3
JM
3261 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
3262 expect.
3263 [XPG3 || XPG4] (O_RSYNC): Likewise.
3264 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
3265 Likewise.
3266 [XPG3 || XPG4] (pthread_sigmask): Likewise.
3267 [XPG3 || XPG4] (sigqueue): Likewise.
3268 [XPG3 || XPG4] (sigtimedwait): Likewise.
3269 [XPG3 || XPG4] (sigwaitinfo): Likewise.
3270 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
3271 [XPG3 || XPG4] (vsnprintf): Likewise.
3272 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
3273 Likewise.
3274 [XPG3 || XPG4] (blksize_t): Likewise.
3275 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
3276 Likewise.
3277 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
3278 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3279 [XPG3 || XPG4] (struct itimerspec): Likewise.
3280 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
3281 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
3282 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
3283 [XPG3 || XPG4] (clockid_t): Likewise.
3284 [XPG3 || XPG4] (timer_t): Likewise.
3285 [XPG3 || XPG4] (clock_getres): Likewise.
3286 [XPG3 || XPG4] (clock_gettime): Likewise.
3287 [XPG3 || XPG4] (clock_settime): Likewise.
3288 [XPG3 || XPG4] (nanosleep): Likewise.
3289 [XPG3 || XPG4] (timer_create): Likewise.
3290 [XPG3 || XPG4] (timer_delete): Likewise.
3291 [XPG3 || XPG4] (timer_gettime): Likewise.
3292 [XPG3 || XPG4] (timer_getoverrun): Likewise.
3293 [XPG3 || XPG4] (timer_settime): Likewise.
3294 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
3295 [XPG3 || XPG4] (getlogin_r): Likewise.
3296 [XPG3 || XPG4] (pread): Likewise.
3297 [XPG3 || XPG4] (pthread_atfork): Likewise.
3298 [XPG3 || XPG4] (pwrite): Likewise.
3299
ee663277
JM
3300 [BZ #14835]
3301 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
3302 <bits/siginfo.h>.
3303
942caa16
PT
33042012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3305
e19af380
PT
3306 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
3307 finalizing MALLSTREAM.
3308
942caa16
PT
3309 * sysdeps/mach/hurd/syncfs.c: New file.
3310
cfde9b46
SP
33112012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3312
3313 [BZ #14719]
3314 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
3315 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
3316 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
3317 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
3318 (_nss_dns_gethostbyname4_r): Likewise.
3319 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
3320 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
3321
f6da27e5
PH
33222012-11-19 Peng Haitao <penght@cn.fujitsu.com>
3323
3324 [BZ #13763]
3325 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
3326
6665d4a2
SM
33272012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
3328
1f51ee92
SM
3329 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
3330 * elf/cache.c (print_entry): Print ",AArch64" for
3331 FLAG_AARCH64_LIB64
3332
6665d4a2
SM
3333 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
3334 * elf/cache.c (print_entry): Print ",hard-float" for
3335 FLAG_ARM_LIBHF.
3336
05b227bd
DM
33372012-11-18 David S. Miller <davem@davemloft.net>
3338
3339 With help from Joseph Myers.
3340 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
3341 cutoff to 2**-13.
3342 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
3343 cutoff to 2**-25.
3344 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
3345 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
3346 small.
3347 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3348 * math/libm-test.inc (y0_test): New tests.
3349 (y1_test): New tests.
3350 * sysdeps/i386/fpu/libm-test-ulps: Update.
3351 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3353
786b0b67
AS
33542012-11-18 Andreas Schwab <schwab@linux-m68k.org>
3355
3356 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
3357 64-bit targets.
3358 * configure: Regenerated.
3359
8e18b86d
DM
33602012-11-17 David S. Miller <davem@davemloft.net>
3361
3362 [BZ #14811]
3363 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
3364 nonzero exponents with absolute value below 0x1p-128 to +/-
3365 0x1p-128.
3366
531f1ae0
JM
33672012-11-17 Joseph Myers <joseph@codesourcery.com>
3368
12df29e2
JM
3369 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
3370
150dc1a0
JM
3371 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
3372
531f1ae0
JM
3373 * posix/getconf-speclist.c: New file.
3374 * posix/posix-envs.def: Likewise.
3375 * posix/confstr.c (START_ENV_GROUP): New macro.
3376 (END_ENV_GROUP): Likewise.
3377 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3378 (KNOWN_PRESENT_ENV_STRING): Likewise.
3379 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3380 (UNKNOWN_ENVIRONMENT): Likewise.
3381 (confstr): Include posix-envs.def instead of handling
3382 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
3383 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
3384 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
3385 (END_ENV_GROUP): Likewise.
3386 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3387 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3388 (UNKNOWN_ENVIRONMENT): Likewise.
3389 (__sysconf): Include posix-envs.def instead of handling associated
3390 cases directly here.
3391 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
3392 preprocessing getconf-speclist.c rather than running getconf or
3393 generating empty file.
3394
a93f9cbc
PT
33952012-11-16 Pino Toscano <toscano.pino@tiscali.it>
3396
3397 * scripts/check-local-headers.sh: Ignore 'mach' headers.
3398
d64d9f87
AL
33992012-11-16 Andrej Lajovic <natrij@gmail.com>
3400
3401 [BZ #14672]
3402 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
3403
447885eb
DM
34042012-11-16 David S. Miller <davem@davemloft.net>
3405
3406 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
3407 smaller than LDBL_EPSILON/2.0L, just return xm1.
3408
bcbf9830
L
34092012-11-16 H.J. Lu <hongjiu.lu@intel.com>
3410
3411 * elf/tst-array1.c (init): Set constructor priority to 1000.
3412 (fini): Set destructor priority to 1000.
3413 * elf/tst-array2dep.c: Likewise.
3414
2b766585
SP
34152012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3416
3417 [BZ #11741]
3418 * libio/fileops.c (_IO_new_file_write): Correctly return error.
3419 (_IO_new_file_xsputn): Also return EOF if none of the input
3420 data was written when overflow failed.
3421 * libio/iopadn.c (_IO_padn): Likewise.
3422 * libio/iowpadn.c (_IO_wpadn): Likewise.
3423 * stdio-common/tst-put-error.c: Add copyright notice.
3424 (do_test): Add case for printing padded string.
3425 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
3426 _IO_padn returned error.
3427 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
3428 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
3429 return EOF.
3430
b1848fde
SP
34312012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3432
3433 * libio/libioP.h: Add comment note that the references to C++
3434 bits are now obsolete.
3435
2fd89785
MS
34362012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3437
3438 * math/libm-test.inc (check_complex): Use asprintf.
3439
e3ea5409
JM
34402012-11-14 Joseph Myers <joseph@codesourcery.com>
3441
3442 * debug/pcprofiledump.c (print_version): Update copyright year.
3443 * malloc/memusagestat.c (print_version): Likewise.
3444
2e64d265
L
34452012-11-14 H.J. Lu <hongjiu.lu@intel.com>
3446
3447 [BZ #14831]
3448 * elf/Makefile (tests): Add tst-audit8.
3449 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
3450 ($(objpfx)tst-audit8.out): New target.
3451 (tst-audit8-ENV): New variable.
3452 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
3453 audit if l_reloc_result is NULL.
3454 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
3455 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
3456 * elf/tst-audit8.c: New file.
3457
c485e4d2
MS
34582012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3459
3460 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
3461 * misc/Makefile (CFLAGS-select.c): Define.
3462 * posix/Makefile (CFLAGS-pause.c): Define.
3463
3a0d900a
DM
34642012-11-13 David S. Miller <davem@davemloft.net>
3465
3466 * crypt/Makefile: Move test targets after toplevel Rules
3467 inclusion. Grab any necessary sysdep routines when linking.
3468 * crypt/md5.c (md5_process_block): Remove define, we will always
3469 name it __md5_process_block.
3470 (md5_finish_ctx): Update md5_process_block call.
3471 (md5_stream): Likewise.
3472 (md5_process_bytes): Likewise.
3473 (md5_process_block): Rename to __md5_process_block and move to ...
3474 * crypt/md5-block.c: ... here.
3475 * crypt/sha256.c (sha256_process_block): Move to ...
3476 * crypt/sha256-block.c: ... here.
3477 * crypt/sha512.c (sha512_process_block): Move to ...
3478 * crypt/sha512-block.c: ... here.
3479 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
3480 path.
3481 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
3482 * sysdeps/sparc/sparc64/multiarch/Makefile
3483 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
3484 crypt subdir.
3485 (localedef-aux): Add md5 crypto assembler when in locale subdir.
3486 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
3487 multiarch changes.
3488 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
3489 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
3490 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
3491 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
3492 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
3493 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
3494 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
3495 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
3496 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
3497 file.
3498 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
3499 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
3500 file.
3501 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
3502
8ca89318
JM
35032012-11-13 Joseph Myers <joseph@codesourcery.com>
3504
e27d476a
JM
3505 * timezone/tzselect.ksh: Update from tzcode git revision
3506 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
3507 * timezone/zdump.c: Likewise.
3508 * timezone/zic.c: Likewise.
3509 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
3510 in TZVERSION setting, not $(PKGVERSION).
3511 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
3512 REPORT_BUGS_TO settings.
3513
8ca89318
JM
3514 [BZ #14838]
3515 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
3516 macro.
3517
47594329
MS
35182012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3519
3520 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
3521 detection to immediately after _FP_ROUND().
3522 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
3523 bits are 0.
3524
640ac3f1
DM
35252012-11-11 David S. Miller <davem@davemloft.net>
3526
3527 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
3528 inttypes.h
3529 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
3530 __close rather than their public counterparts.
3531
3d2577bb
JM
35322012-11-10 Joseph Myers <joseph@codesourcery.com>
3533
3534 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
3535 file.
3536 [UNIX98] (sem_timedwait): Do not expect.
3537 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
3538 [XPG4 || UNIX98] (sockatmark): Do not expect.
3539 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
3540 (clock_getcpuclockid): Do not expect.
3541 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
3542 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
3543 Do not expect.
3544 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
3545 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
3546 [UNIX98] (vwscanf): Likewise.
3547 [UNIX98] (vswscanf): Likewise.
3548
fb1ae1ee
JM
35492012-11-09 Joseph Myers <joseph@codesourcery.com>
3550
9ec6f8bd
JM
3551 * timezone/version.h: Remove file.
3552 * timezone/README: Do not refer to version.h.
3553 * timezone/Makefile ($(objpfx)zic.o): New dependency on
3554 $(objpfx)version.h.
3555 ($(objpfx)zdump.o): Likewise.
c3f81911 3556 ($(objpfx)version.h): New target.
9ec6f8bd 3557
0aa8f8a1
JM
3558 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
3559 2012i.
3560 * timezone/README: Don't mention modification to tzselect.ksh.
3561 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
3562 work on unmodified tzselect.ksh. Substitute version numbers in
3563 tzselect.ksh.
3564
4e87147f
JM
3565 * Makefile (format-me): Remove.
3566 (INSTALL): Adjust indentation. Use commands directly instead of
3567 using $(format-me).
3568
8b748aed
JM
3569 * aclocal.m4 (ACX_PKGVERSION): New macro.
3570 (ACX_BUGURL): Likewise.
3571 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
3572 (PKGVERSION): New AC_DEFINE_UNQUOTED.
3573 (REPORT_BUGS_TO): Likewise.
3574 * configure: Regenerated.
3575 * config.h.in (PKGVERSION): New macro.
3576 (REPORT_BUGS_TO): Likewise.
3577 * config.make.in (PKGVERSION): New variable.
3578 (PKGVERSION_TEXI): Likewise.
3579 (REPORT_BUGS_TO): Likewise.
3580 (REPORT_BUGS_TEXI): Likewise.
3581 * Makefile (format-me): Use -I$(common-objpfx)manual.
3582 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
3583 ($(common-objpfx)manual/%): New target.
3584 (manual/%): Remove target.
3585 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
3586 (print_version): Use PKGVERSION.
3587 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
3588 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
3589 and REPORT_BUGS_TO.
3590 ($(objpfx)xtrace): Likewise.
3591 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
3592 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
3593 (print_version): Use PKGVERSION.
3594 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
3595 (do_version): Use PKGVERSION.
3596 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
3597 REPORT_BUGS_TO.
3598 (common-ldd-rewrite): Likewise.
3599 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
3600 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
3601 (print_version): Use PKGVERSION.
3602 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
3603 * elf/pldd.c (argp_program_bug_address): Remove variable.
3604 (more_help): New function.
3605 (argp): Use more_help.
3606 (print_version): Use PKGVERSION.
3607 * elf/sln.c (main): Use PKGVERSION.
3608 (usage): Use REPORT_BUGS_TO.
3609 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
3610 (top level): Use PKGVERSION.
3611 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
3612 (print_version): Use PKGVERSION.
3613 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
3614 (print_version): Use PKGVERSION.
3615 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
3616 (print_version): Use PKGVERSION.
3617 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
3618 (print_version): Use PKGVERSION.
3619 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
3620 (print_version): Use PKGVERSION.
3621 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
3622 (print_version): Use PKGVERSION.
3623 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
3624 and BUGURL.
3625 ($(objpfx)memusage): Likewise.
3626 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
3627 (do_version): Use PKGVERSION.
3628 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
3629 (print_version): Use PKGVERSION.
3630 * malloc/mtrace.pl ($PACKAGE): Remove variable.
3631 ($PKGVERSION): New variable.
3632 ($REPORT_BUGS_TO): Likewise.
3633 (usage): Use $REPORT_BUGS_TO.
3634 (top level): Use $PKGVERSION.
3635 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
3636 ($(objpfx)pkgvers.texi): New rule.
3637 ($(objpfx)stamp-pkgvers): Likewise.
3638 * manual/install.texi: Include pkgvers.texi.
3639 (--with-pkgversion): Document new configure option.
3640 (--with-bugurl): Likewise.
3641 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
3642 than necessarily for this particular distribution. Use
3643 REPORT_BUGS_TO for where to report bugs.
3644 * INSTALL: Regenerated.
3645 * manual/libc.texinfo: Include pkgvers.texi.
3646 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
3647 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
3648 (print_version): Use PKGVERSION.
3649 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
3650 (print_version): Use PKGVERSION.
3651 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
3652 (print_version): Use PKGVERSION.
3653 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
3654 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
3655 macro.
3656 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
3657 (print_version): Use PKGVERSION.
3658 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
3659 (print_version): Use PKGVERSION.
3660 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
3661 and PKGVERSION.
3662
92e4b6a9
JM
3663 * timezone/checktab.awk: Update from tzcode 2012i.
3664 * timezone/ialloc.c: Likewise.
3665 * timezone/private.h: Likewise.
3666 * timezone/scheck.c: Likewise.
3667 * timezone/tzfile.h: Likewise.
3668 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
3669 (TZVERSION): Hardcode tzcode version number.
3670 * timezone/zdump.c: Update from tzcode 2012i.
3671 * timezone/zic.c: Likewise.
3672 * timezone/version.h: New file.
3673 * timezone/README: Describe version.h. Update upstream location.
3674
9bde902c
JM
3675 [BZ #14824]
3676 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
3677 (mktemp): Enable declaration.
3678 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
3679 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
3680 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
3681 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
3682 Likewise.
3683 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
3684 Likewise.
3685 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
3686 Likewise.
3687 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
3688 Likewise.
3689 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
3690 Likewise.
3691 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
3692 Likewise.
3693
fb1ae1ee
JM
3694 [BZ #14821]
3695 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
3696 offset in buffer as u_int32_t not u_long. Consistently use memcpy
3697 for copies of such integer values.
3698 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
3699 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
3700
2c1adbcb
AJ
37012012-11-09 Andreas Jaeger <aj@suse.de>
3702
3703 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
3704 definitions and declarations that are provided by
3705 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3706
d0f8457e
AK
37072012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3708
3a235abb 3709 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
3710 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
3711 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
3712 definition.
3713
57241e26
MS
37142012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3715
3716 * elf/elf.h: Update comment before AArch64 relocations.
3717
60e8270d
DM
37182012-11-07 David S. Miller <davem@davemloft.net>
3719
3720 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
3721 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3722 (__start_context): Declare.
3723 (__makecontext_ret): Delete.
3724 (__makecontext): Hook up __start_context instead of
3725 __makecontext_ret.
3726 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
3727 (sysdep_routines): Add __start_context when in stdlib.
3728
0fbb0fbc
JM
37292012-11-07 Joseph Myers <joseph@codesourcery.com>
3730
3731 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
3732 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
3733 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
3734 hardcoded "nm".
3735 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
3736 (READELF): New variable. Use it instead of hardcoded "readelf".
3737
eb48db7e
L
37382012-11-07 H.J. Lu <hongjiu.lu@intel.com>
3739
3740 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
3741 * sysdeps/x86/Makefile: Here.
3742 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
3743 * sysdeps/x86/tst-xmmymm.sh: This.
3744
05bcf62a
JM
37452012-11-07 Joseph Myers <joseph@codesourcery.com>
3746
c4b6cf53
JM
3747 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
3748 expectations.
3749 [UNIX98] (pthread_barrier_t): Do not expect.
3750 [UNIX98] (pthread_barrierattr_t): Likewise.
3751 [UNIX98] (pthread_spinlock_t): Likewise.
3752 [UNIX98] (pthread_barrier_destroy): Likewise.
3753 [UNIX98] (pthread_barrier_init): Likewise.
3754 [UNIX98] (pthread_barrier_wait): Likewise.
3755 [UNIX98] (pthread_barrierattr_destroy): Likewise.
3756 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
3757 [UNIX98] (pthread_barrierattr_init): Likewise.
3758 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
3759 [UNIX98] (pthread_getcpuclockid): Likewise.
3760 [UNIX98] (pthread_mutex_timedlock): Likewise.
3761 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
3762 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
3763 [UNIX98] (pthread_sigmask): Likewise.
3764 [UNIX98] (pthread_spin_destroy): Likewise.
3765 [UNIX98] (pthread_spin_init): Likewise.
3766 [UNIX98] (pthread_spin_lock): Likewise.
3767 [UNIX98] (pthread_spin_trylock): Likewise.
3768 [UNIX98] (pthread_spin_unlock): Likewise.
3769 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
3770 Do not expect.
3771 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
3772 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
3773 [XPG3 || XPG4] (pthread_cond_t): Likewise.
3774 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
3775 [XPG3 || XPG4] (pthread_key_t): Likewise.
3776 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
3777 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
3778 [XPG3 || XPG4] (pthread_once_t): Likewise.
3779 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
3780 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
3781 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
3782 [XPG3 || XPG4] (pthread_t): Likewise.
3783
cbe6e120
JM
3784 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
3785 not expect.
3786 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
3787
1b126443
JM
3788 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
3789 Change function return type to int.
3790
b961a573
JM
3791 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
3792 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
3793 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
3794 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
3795 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
3796 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
3797 [!POSIX] (posix_madvise): Likewise.
3798 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
3799 && !UNIX98].
3800 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
3801 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
3802 (mode_t): Likewise.
3803 (posix_mem_offset): Likewise.
3804 (posix_typed_mem_get_info): Likewise.
3805 (posix_typed_mem_open): Likewise.
3806
9e188909
JM
3807 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
3808 Change condition to [XOPEN2K8].
3809
05bcf62a
JM
3810 * conform/conformtest.pl: Preprocess allow-header data with -x c
3811 instead of from stdin.
3812 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
3813 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
3814 [C99-based standards] (cerfc): Likewise.
3815 [C99-based standards] (cexp2): Likewise.
3816 [C99-based standards] (cexpm1): Likewise.
3817 [C99-based standards] (clog10): Likewise.
3818 [C99-based standards] (clog1p): Likewise.
3819 [C99-based standards] (clog2): Likewise.
3820 [C99-based standards] (clgamma): Likewise.
3821 [C99-based standards] (ctgamma): Likewise.
3822 [C99-based standards] (cerff): Likewise.
3823 [C99-based standards] (cerfcf): Likewise.
3824 [C99-based standards] (cexp2f): Likewise.
3825 [C99-based standards] (cexpm1f): Likewise.
3826 [C99-based standards] (clog10f): Likewise.
3827 [C99-based standards] (clog1pf): Likewise.
3828 [C99-based standards] (clog2f): Likewise.
3829 [C99-based standards] (clgammaf): Likewise.
3830 [C99-based standards] (ctgammaf): Likewise.
3831 [C99-based standards] (cerfl): Likewise.
3832 [C99-based standards] (cerfcl): Likewise.
3833 [C99-based standards] (cexp2l): Likewise.
3834 [C99-based standards] (cexpm1l): Likewise.
3835 [C99-based standards] (clog10l): Likewise.
3836 [C99-based standards] (clog1pl): Likewise.
3837 [C99-based standards] (clog2l): Likewise.
3838 [C99-based standards] (clgammal): Likewise.
3839 [C99-based standards] (ctgammal): Likewise.
3840 * conform/data/inttypes.h-data [C99-based standards]: Include
3841 stdint.h-data. Remove all expectations for stdint.h contents.
3842 [C99-based standards] (PRI*): Do not allow.
3843 [C99-based standards] (SCN*): Likewise.
3844 [C99-based standards] (*_t): Likewise.
3845 [C99-based-standards] (PRId8): Expect macro.
3846 [C99-based-standards] (PRIi8): Likewise.
3847 [C99-based-standards] (PRIo8): Likewise.
3848 [C99-based-standards] (PRIu8): Likewise.
3849 [C99-based-standards] (PRIx8): Likewise.
3850 [C99-based-standards] (PRIX8): Likewise.
3851 [C99-based-standards] (SCNd8): Likewise.
3852 [C99-based-standards] (SCNi8): Likewise.
3853 [C99-based-standards] (SCNo8): Likewise.
3854 [C99-based-standards] (SCNu8): Likewise.
3855 [C99-based-standards] (SCNx8): Likewise.
3856 [C99-based-standards] (PRIdLEAST8): Likewise.
3857 [C99-based-standards] (PRIiLEAST8): Likewise.
3858 [C99-based-standards] (PRIoLEAST8): Likewise.
3859 [C99-based-standards] (PRIuLEAST8): Likewise.
3860 [C99-based-standards] (PRIxLEAST8): Likewise.
3861 [C99-based-standards] (PRIXLEAST8): Likewise.
3862 [C99-based-standards] (SCNdLEAST8): Likewise.
3863 [C99-based-standards] (SCNiLEAST8): Likewise.
3864 [C99-based-standards] (SCNoLEAST8): Likewise.
3865 [C99-based-standards] (SCNuLEAST8): Likewise.
3866 [C99-based-standards] (SCNxLEAST8): Likewise.
3867 [C99-based-standards] (PRIdFAST8): Likewise.
3868 [C99-based-standards] (PRIiFAST8): Likewise.
3869 [C99-based-standards] (PRIoFAST8): Likewise.
3870 [C99-based-standards] (PRIuFAST8): Likewise.
3871 [C99-based-standards] (PRIxFAST8): Likewise.
3872 [C99-based-standards] (PRIXFAST8): Likewise.
3873 [C99-based-standards] (SCNdFAST8): Likewise.
3874 [C99-based-standards] (SCNiFAST8): Likewise.
3875 [C99-based-standards] (SCNoFAST8): Likewise.
3876 [C99-based-standards] (SCNuFAST8): Likewise.
3877 [C99-based-standards] (SCNxFAST8): Likewise.
3878 [C99-based-standards] (PRId16): Likewise.
3879 [C99-based-standards] (PRIi16): Likewise.
3880 [C99-based-standards] (PRIo16): Likewise.
3881 [C99-based-standards] (PRIu16): Likewise.
3882 [C99-based-standards] (PRIx16): Likewise.
3883 [C99-based-standards] (PRIX16): Likewise.
3884 [C99-based-standards] (SCNd16): Likewise.
3885 [C99-based-standards] (SCNi16): Likewise.
3886 [C99-based-standards] (SCNo16): Likewise.
3887 [C99-based-standards] (SCNu16): Likewise.
3888 [C99-based-standards] (SCNx16): Likewise.
3889 [C99-based-standards] (PRIdLEAST16): Likewise.
3890 [C99-based-standards] (PRIiLEAST16): Likewise.
3891 [C99-based-standards] (PRIoLEAST16): Likewise.
3892 [C99-based-standards] (PRIuLEAST16): Likewise.
3893 [C99-based-standards] (PRIxLEAST16): Likewise.
3894 [C99-based-standards] (PRIXLEAST16): Likewise.
3895 [C99-based-standards] (SCNdLEAST16): Likewise.
3896 [C99-based-standards] (SCNiLEAST16): Likewise.
3897 [C99-based-standards] (SCNoLEAST16): Likewise.
3898 [C99-based-standards] (SCNuLEAST16): Likewise.
3899 [C99-based-standards] (SCNxLEAST16): Likewise.
3900 [C99-based-standards] (PRIdFAST16): Likewise.
3901 [C99-based-standards] (PRIiFAST16): Likewise.
3902 [C99-based-standards] (PRIoFAST16): Likewise.
3903 [C99-based-standards] (PRIuFAST16): Likewise.
3904 [C99-based-standards] (PRIxFAST16): Likewise.
3905 [C99-based-standards] (PRIXFAST16): Likewise.
3906 [C99-based-standards] (SCNdFAST16): Likewise.
3907 [C99-based-standards] (SCNiFAST16): Likewise.
3908 [C99-based-standards] (SCNoFAST16): Likewise.
3909 [C99-based-standards] (SCNuFAST16): Likewise.
3910 [C99-based-standards] (SCNxFAST16): Likewise.
3911 [C99-based-standards] (PRId32): Likewise.
3912 [C99-based-standards] (PRIi32): Likewise.
3913 [C99-based-standards] (PRIo32): Likewise.
3914 [C99-based-standards] (PRIu32): Likewise.
3915 [C99-based-standards] (PRIx32): Likewise.
3916 [C99-based-standards] (PRIX32): Likewise.
3917 [C99-based-standards] (SCNd32): Likewise.
3918 [C99-based-standards] (SCNi32): Likewise.
3919 [C99-based-standards] (SCNo32): Likewise.
3920 [C99-based-standards] (SCNu32): Likewise.
3921 [C99-based-standards] (SCNx32): Likewise.
3922 [C99-based-standards] (PRIdLEAST32): Likewise.
3923 [C99-based-standards] (PRIiLEAST32): Likewise.
3924 [C99-based-standards] (PRIoLEAST32): Likewise.
3925 [C99-based-standards] (PRIuLEAST32): Likewise.
3926 [C99-based-standards] (PRIxLEAST32): Likewise.
3927 [C99-based-standards] (PRIXLEAST32): Likewise.
3928 [C99-based-standards] (SCNdLEAST32): Likewise.
3929 [C99-based-standards] (SCNiLEAST32): Likewise.
3930 [C99-based-standards] (SCNoLEAST32): Likewise.
3931 [C99-based-standards] (SCNuLEAST32): Likewise.
3932 [C99-based-standards] (SCNxLEAST32): Likewise.
3933 [C99-based-standards] (PRIdFAST32): Likewise.
3934 [C99-based-standards] (PRIiFAST32): Likewise.
3935 [C99-based-standards] (PRIoFAST32): Likewise.
3936 [C99-based-standards] (PRIuFAST32): Likewise.
3937 [C99-based-standards] (PRIxFAST32): Likewise.
3938 [C99-based-standards] (PRIXFAST32): Likewise.
3939 [C99-based-standards] (SCNdFAST32): Likewise.
3940 [C99-based-standards] (SCNiFAST32): Likewise.
3941 [C99-based-standards] (SCNoFAST32): Likewise.
3942 [C99-based-standards] (SCNuFAST32): Likewise.
3943 [C99-based-standards] (SCNxFAST32): Likewise.
3944 [C99-based-standards] (PRId64): Likewise.
3945 [C99-based-standards] (PRIi64): Likewise.
3946 [C99-based-standards] (PRIo64): Likewise.
3947 [C99-based-standards] (PRIu64): Likewise.
3948 [C99-based-standards] (PRIx64): Likewise.
3949 [C99-based-standards] (PRIX64): Likewise.
3950 [C99-based-standards] (SCNd64): Likewise.
3951 [C99-based-standards] (SCNi64): Likewise.
3952 [C99-based-standards] (SCNo64): Likewise.
3953 [C99-based-standards] (SCNu64): Likewise.
3954 [C99-based-standards] (SCNx64): Likewise.
3955 [C99-based-standards] (PRIdLEAST64): Likewise.
3956 [C99-based-standards] (PRIiLEAST64): Likewise.
3957 [C99-based-standards] (PRIoLEAST64): Likewise.
3958 [C99-based-standards] (PRIuLEAST64): Likewise.
3959 [C99-based-standards] (PRIxLEAST64): Likewise.
3960 [C99-based-standards] (PRIXLEAST64): Likewise.
3961 [C99-based-standards] (SCNdLEAST64): Likewise.
3962 [C99-based-standards] (SCNiLEAST64): Likewise.
3963 [C99-based-standards] (SCNoLEAST64): Likewise.
3964 [C99-based-standards] (SCNuLEAST64): Likewise.
3965 [C99-based-standards] (SCNxLEAST64): Likewise.
3966 [C99-based-standards] (PRIdFAST64): Likewise.
3967 [C99-based-standards] (PRIiFAST64): Likewise.
3968 [C99-based-standards] (PRIoFAST64): Likewise.
3969 [C99-based-standards] (PRIuFAST64): Likewise.
3970 [C99-based-standards] (PRIxFAST64): Likewise.
3971 [C99-based-standards] (PRIXFAST64): Likewise.
3972 [C99-based-standards] (SCNdFAST64): Likewise.
3973 [C99-based-standards] (SCNiFAST64): Likewise.
3974 [C99-based-standards] (SCNoFAST64): Likewise.
3975 [C99-based-standards] (SCNuFAST64): Likewise.
3976 [C99-based-standards] (SCNxFAST64): Likewise.
3977 [C99-based-standards] (PRIdMAX): Likewise.
3978 [C99-based-standards] (PRIiMAX): Likewise.
3979 [C99-based-standards] (PRIoMAX): Likewise.
3980 [C99-based-standards] (PRIuMAX): Likewise.
3981 [C99-based-standards] (PRIxMAX): Likewise.
3982 [C99-based-standards] (PRIXMAX): Likewise.
3983 [C99-based-standards] (SCNdMAX): Likewise.
3984 [C99-based-standards] (SCNiMAX): Likewise.
3985 [C99-based-standards] (SCNoMAX): Likewise.
3986 [C99-based-standards] (SCNuMAX): Likewise.
3987 [C99-based-standards] (SCNxMAX): Likewise.
3988 [C99-based-standards] (PRIdPTR): Likewise.
3989 [C99-based-standards] (PRIiPTR): Likewise.
3990 [C99-based-standards] (PRIoPTR): Likewise.
3991 [C99-based-standards] (PRIuPTR): Likewise.
3992 [C99-based-standards] (PRIxPTR): Likewise.
3993 [C99-based-standards] (PRIXPTR): Likewise.
3994 [C99-based-standards] (SCNdPTR): Likewise.
3995 [C99-based-standards] (SCNiPTR): Likewise.
3996 [C99-based-standards] (SCNoPTR): Likewise.
3997 [C99-based-standards] (SCNuPTR): Likewise.
3998 [C99-based-standards] (SCNxPTR): Likewise.
3999 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
4000 allow.
4001 * conform/data/stdint.h-data: Update comments to clarify
4002 requirements.
4003 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
4004 type.
4005 [C99-based standards] (INT8_MAX): Likewise.
4006 [C99-based standards] (INT16_MIN): Likewise.
4007 [C99-based standards] (INT16_MAX): Likewise.
4008 [C99-based standards] (INT32_MIN): Likewise.
4009 [C99-based standards] (INT32_MAX): Likewise.
4010 [C99-based standards] (INT64_MIN): Likewise.
4011 [C99-based standards] (INT64_MAX): Likewise.
4012 [C99-based standards] (UINT8_MAX): Likewise.
4013 [C99-based standards] (UINT16_MAX): Likewise.
4014 [C99-based standards] (UINT32_MAX): Likewise.
4015 [C99-based standards] (UINT64_MAX): Likewise.
4016 [C99-based standards] (INT_LEAST8_MIN): Likewise.
4017 [C99-based standards] (INT_LEAST8_MAX): Likewise.
4018 [C99-based standards] (INT_LEAST16_MIN): Likewise.
4019 [C99-based standards] (INT_LEAST16_MAX): Likewise.
4020 [C99-based standards] (INT_LEAST32_MIN): Likewise.
4021 [C99-based standards] (INT_LEAST32_MAX): Likewise.
4022 [C99-based standards] (INT_LEAST64_MIN): Likewise.
4023 [C99-based standards] (INT_LEAST64_MAX): Likewise.
4024 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
4025 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
4026 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
4027 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
4028 [C99-based standards] (INT_FAST8_MIN): Likewise.
4029 [C99-based standards] (INT_FAST8_MAX): Likewise.
4030 [C99-based standards] (INT_FAST16_MIN): Likewise.
4031 [C99-based standards] (INT_FAST16_MAX): Likewise.
4032 [C99-based standards] (INT_FAST32_MIN): Likewise.
4033 [C99-based standards] (INT_FAST32_MAX): Likewise.
4034 [C99-based standards] (INT_FAST64_MIN): Likewise.
4035 [C99-based standards] (INT_FAST64_MAX): Likewise.
4036 [C99-based standards] (UINT_FAST8_MAX): Likewise.
4037 [C99-based standards] (UINT_FAST16_MAX): Likewise.
4038 [C99-based standards] (UINT_FAST32_MAX): Likewise.
4039 [C99-based standards] (UINT_FAST64_MAX): Likewise.
4040 [C99-based standards] (INTPTR_MIN): Likewise.
4041 [C99-based standards] (INTPTR_MAX): Likewise.
4042 [C99-based standards] (UINTPTR_MAX): Likewise.
4043 [C99-based standards] (INTMAX_MIN): Likewise.
4044 [C99-based standards] (INTMAX_MAX): Likewise.
4045 [C99-based standards] (UINTMAX_MAX): Likewise.
4046 [C99-based standards] (PTRDIFF_MIN): Likewise.
4047 [C99-based standards] (PTRDIFF_MAX): Likewise.
4048 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
4049 [C99-based standards] (SIZE_MAX): Likewise.
4050 [C99-based standards] (WCHAR_MAX): Likewise.
4051 [C99-based standards] (WINT_MAX): Likewise.
4052 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
4053 constraint on value.
4054 [C99-based standards] (WCHAR_MIN): Likewise.
4055 [C99-based standards] (WINT_MIN): Likewise.
4056 [C99-based standards] (*_t): Allow.
4057 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
4058 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
4059 Include math.h-data and complex.h-data. Remove all expectations
4060 of math.h and complex.h contents.
4061 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
4062 at end of line.
4063 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
4064 (struct tm): Expect tag.
4065 [C99-based-standards] (wcstof): Expect function.
4066 [C99-based-standards] (wcstold): Likewise.
4067 [C99-based-standards] (wcstoll): Likewise.
4068 [C99-based-standards] (wcstoull): Likewise.
4069 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
4070 macro-int-constant. Specify type.
4071 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
4072 constraint on value.
4073 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4074 Specify type.
4075 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
4076 Specify value.
4077 [ISO C standards]: Do not allow headers.
4078 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
4079 wcs[abcdefghijklmnopqrstuvwxyz]*.
4080 [ISO C standards] (*_t): Do not allow.
4081 * conform/data/wctype.h-data [C99-based standards] (iswblank):
4082 Expect function.
4083 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
4084 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4085 Specify type.
4086 [ISO C standards]: Do not allow headers.
4087 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
4088 is[abcdefghijklmnopqrstuvwxyz]*.
4089 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
4090 to[abcdefghijklmnopqrstuvwxyz]*.
4091 [ISO C standards] (*_t): Do not allow.
4092 * conform/data/stdalign.h-data: New file.
4093 * conform/data/stdbool.h-data: Likewise.
4094 * conform/data/stdnoreturn.h-data: Likewise.
4095
7514feb8
RM
40962012-11-07 Roland McGrath <roland@hack.frob.com>
4097
4098 [BZ #14815]
4099 * manual/filesys.texi (Directory Entries): Typo fix.
4100 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
4101
19b2ecfc
MS
41022012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4103
4104 * elf/elf.h (EM_AARCH64): New macro.
4105 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
4106 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
4107 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
4108 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
4109 (R_AARCH64_TLSDESC): Likewise.
4110 (NT_ARM_TLS): Likewise.
4111 (NT_ARM_HW_BREAK): Likewise.
4112 (NT_ARM_HW_WATCH): Likewise.
4113
60e235ee
JM
41142012-11-07 Joseph Myers <joseph@codesourcery.com>
4115
4116 [BZ #14811]
4117 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
4118 (__ieee754_powl): Saturate nonzero exponents with absolute value
4119 below 0x1p-79 to +/- 0x1p-79.
4120 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
4121 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
4122 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
4123 nonzero exponents with absolute value below 0x1p-32 to +/-
4124 0x1p-32.
4125 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
4126 (__ieee754_powl): Saturate nonzero exponents with absolute value
4127 below 0x1p-79 to +/- 0x1p-79.
4128 * math/libm-test.inc (pow_test): Add more tests.
4129
0ab234b7
AK
41302012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4131
4132 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
4133 _dl_s390_cap_flags with kernel. Increase string length.
4134 (_dl_s390_platforms): Add z196 and zEC12.
4135
45832f74
JM
41362012-11-07 Joseph Myers <joseph@codesourcery.com>
4137
4138 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
4139 Change XOPEN21K to XOPEN2K.
4140
19218757
MK
41412012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
4142
4143 * string/memmove.c: Use memcpy when possible.
4144
c5f45721
AJ
41452012-11-06 Andreas Jaeger <aj@suse.de>
4146
4147 * po/eo.po: Update from translation team.
4148
82477c28
JM
41492012-11-06 Joseph Myers <joseph@codesourcery.com>
4150
4151 [BZ #14793]
4152 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
4153 exponent and small x and y exponents, scale x or y up. Increase
4154 by 2 the exponent used in scaling up.
4155 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4156 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4157 * math/libm-test.inc (fma_test): Add more tests.
4158 (fma_test_towardzero): Likewise.
4159 (fma_test_downward): Likewise.
4160 (fma_test_upward): Likewise.
4161
99252c8c
JM
41622012-11-05 Joseph Myers <joseph@codesourcery.com>
4163
acfa885f
JM
4164 [BZ #14805]
4165 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
4166 fenv_t *.
4167
99252c8c
JM
4168 [BZ #14801]
4169 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
4170 namespace for names of struct fields.
4171 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
4172 fenv_t fields.
4173 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4174 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
4175
d6d98dea
ST
41762012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4177
4178 [BZ #3665]
4179 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
4180
e10bb107
TS
41812012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4182
4183 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
4184 PTR_DEMANGLE.
4185
4186 [BZ #5246]
4187 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
4188 PTR_DEMANGLE.
4189
a0c2940d
JM
41902012-11-04 Joseph Myers <joseph@codesourcery.com>
4191
4192 [BZ #14797]
4193 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
4194 definitely overflow as x * y not x * y + z.
4195 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4196 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4197 * math/libm-test.inc (fma_test): Add more tests.
4198 (fma_test_towardzero): Likewise.
4199 (fma_test_downward): Likewise.
4200 (fma_test_upward): Likewise.
4201
b830319d
TS
42022012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4203
4204 [BZ #157]
4205
4206 * include/stub-tag.h: Remove file.
4207 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
4208 '#include' of it.
4209 * manual/maint.texi (Porting): Don't reference it.
4210 * Makerules ($(objpfx)stubs): Likewise.
4211 * dirent/closedir.c: Don't include <stub-tag.h>.
4212 * dirent/dirfd.c: Likewise.
4213 * dirent/fdopendir.c: Likewise.
4214 * dirent/getdents.c: Likewise.
4215 * dirent/getdents64.c: Likewise.
4216 * dirent/opendir.c: Likewise.
4217 * dirent/readdir.c: Likewise.
4218 * dirent/readdir64.c: Likewise.
4219 * dirent/readdir64_r.c: Likewise.
4220 * dirent/readdir_r.c: Likewise.
4221 * dirent/rewinddir.c: Likewise.
4222 * dirent/seekdir.c: Likewise.
4223 * dirent/telldir.c: Likewise.
4224 * gmon/profil.c: Likewise.
4225 * grp/setgroups.c: Likewise.
4226 * inet/if_index.c: Likewise.
4227 * io/access.c: Likewise.
4228 * io/chdir.c: Likewise.
4229 * io/chmod.c: Likewise.
4230 * io/chown.c: Likewise.
4231 * io/close.c: Likewise.
4232 * io/dup.c: Likewise.
4233 * io/dup2.c: Likewise.
4234 * io/dup3.c: Likewise.
4235 * io/euidaccess.c: Likewise.
4236 * io/faccessat.c: Likewise.
4237 * io/fchdir.c: Likewise.
4238 * io/fchmod.c: Likewise.
4239 * io/fchmodat.c: Likewise.
4240 * io/fchown.c: Likewise.
4241 * io/fchownat.c: Likewise.
4242 * io/fcntl.c: Likewise.
4243 * io/flock.c: Likewise.
4244 * io/fstatfs.c: Likewise.
4245 * io/fstatfs64.c: Likewise.
4246 * io/fstatvfs.c: Likewise.
4247 * io/fstatvfs64.c: Likewise.
4248 * io/futimens.c: Likewise.
4249 * io/fxstat.c: Likewise.
4250 * io/fxstat64.c: Likewise.
4251 * io/fxstatat.c: Likewise.
4252 * io/fxstatat64.c: Likewise.
4253 * io/getcwd.c: Likewise.
4254 * io/isatty.c: Likewise.
4255 * io/lchmod.c: Likewise.
4256 * io/lchown.c: Likewise.
4257 * io/link.c: Likewise.
4258 * io/linkat.c: Likewise.
4259 * io/lseek.c: Likewise.
4260 * io/lseek64.c: Likewise.
4261 * io/lxstat64.c: Likewise.
4262 * io/mkdir.c: Likewise.
4263 * io/mkdirat.c: Likewise.
4264 * io/mkfifo.c: Likewise.
4265 * io/mkfifoat.c: Likewise.
4266 * io/open.c: Likewise.
4267 * io/open64.c: Likewise.
4268 * io/openat.c: Likewise.
4269 * io/openat64.c: Likewise.
4270 * io/pipe.c: Likewise.
4271 * io/pipe2.c: Likewise.
4272 * io/poll.c: Likewise.
4273 * io/posix_fadvise.c: Likewise.
4274 * io/posix_fadvise64.c: Likewise.
4275 * io/posix_fallocate.c: Likewise.
4276 * io/posix_fallocate64.c: Likewise.
4277 * io/read.c: Likewise.
4278 * io/readlink.c: Likewise.
4279 * io/readlinkat.c: Likewise.
4280 * io/rmdir.c: Likewise.
4281 * io/sendfile.c: Likewise.
4282 * io/sendfile64.c: Likewise.
4283 * io/statfs.c: Likewise.
4284 * io/statfs64.c: Likewise.
4285 * io/statvfs.c: Likewise.
4286 * io/statvfs64.c: Likewise.
4287 * io/symlink.c: Likewise.
4288 * io/symlinkat.c: Likewise.
4289 * io/ttyname.c: Likewise.
4290 * io/ttyname_r.c: Likewise.
4291 * io/umask.c: Likewise.
4292 * io/unlink.c: Likewise.
4293 * io/unlinkat.c: Likewise.
4294 * io/utime.c: Likewise.
4295 * io/utimensat.c: Likewise.
4296 * io/write.c: Likewise.
4297 * io/xmknod.c: Likewise.
4298 * io/xmknodat.c: Likewise.
4299 * io/xstat.c: Likewise.
4300 * io/xstat64.c: Likewise.
4301 * login/getpt.c: Likewise.
4302 * login/grantpt.c: Likewise.
4303 * login/unlockpt.c: Likewise.
4304 * math/e_acoshl.c: Likewise.
4305 * math/e_acosl.c: Likewise.
4306 * math/e_asinl.c: Likewise.
4307 * math/e_atan2l.c: Likewise.
4308 * math/e_atanhl.c: Likewise.
4309 * math/e_coshl.c: Likewise.
4310 * math/e_expl.c: Likewise.
4311 * math/e_fmodl.c: Likewise.
4312 * math/e_gammal_r.c: Likewise.
4313 * math/e_hypotl.c: Likewise.
4314 * math/e_j0l.c: Likewise.
4315 * math/e_j1l.c: Likewise.
4316 * math/e_jnl.c: Likewise.
4317 * math/e_lgammal_r.c: Likewise.
4318 * math/e_log10l.c: Likewise.
4319 * math/e_log2l.c: Likewise.
4320 * math/e_logl.c: Likewise.
4321 * math/e_powl.c: Likewise.
4322 * math/e_rem_pio2l.c: Likewise.
4323 * math/e_sinhl.c: Likewise.
4324 * math/e_sqrtl.c: Likewise.
4325 * math/fclrexcpt.c: Likewise.
4326 * math/fedisblxcpt.c: Likewise.
4327 * math/feenablxcpt.c: Likewise.
4328 * math/fegetenv.c: Likewise.
4329 * math/fegetexcept.c: Likewise.
4330 * math/fegetround.c: Likewise.
4331 * math/feholdexcpt.c: Likewise.
4332 * math/fesetenv.c: Likewise.
4333 * math/fesetround.c: Likewise.
4334 * math/feupdateenv.c: Likewise.
4335 * math/fgetexcptflg.c: Likewise.
4336 * math/fraiseexcpt.c: Likewise.
4337 * math/fsetexcptflg.c: Likewise.
4338 * math/ftestexcept.c: Likewise.
4339 * math/k_cosl.c: Likewise.
4340 * math/k_rem_pio2l.c: Likewise.
4341 * math/k_sinl.c: Likewise.
4342 * math/k_tanl.c: Likewise.
4343 * math/s_asinhl.c: Likewise.
4344 * math/s_atanl.c: Likewise.
4345 * math/s_cbrtl.c: Likewise.
4346 * math/s_erfl.c: Likewise.
4347 * math/s_expm1l.c: Likewise.
4348 * math/s_log1pl.c: Likewise.
4349 * math/s_tanhl.c: Likewise.
4350 * misc/acct.c: Likewise.
4351 * misc/brk.c: Likewise.
4352 * misc/chflags.c: Likewise.
4353 * misc/chroot.c: Likewise.
4354 * misc/fchflags.c: Likewise.
4355 * misc/fgetxattr.c: Likewise.
4356 * misc/flistxattr.c: Likewise.
4357 * misc/fremovexattr.c: Likewise.
4358 * misc/fsetxattr.c: Likewise.
4359 * misc/fsync.c: Likewise.
4360 * misc/ftruncate.c: Likewise.
4361 * misc/futimes.c: Likewise.
4362 * misc/futimesat.c: Likewise.
4363 * misc/getdomain.c: Likewise.
4364 * misc/getdtsz.c: Likewise.
4365 * misc/gethostid.c: Likewise.
4366 * misc/gethostname.c: Likewise.
4367 * misc/getloadavg.c: Likewise.
4368 * misc/getpagesize.c: Likewise.
4369 * misc/getsysstats.c: Likewise.
4370 * misc/getxattr.c: Likewise.
4371 * misc/gtty.c: Likewise.
4372 * misc/ioctl.c: Likewise.
4373 * misc/lgetxattr.c: Likewise.
4374 * misc/listxattr.c: Likewise.
4375 * misc/llistxattr.c: Likewise.
4376 * misc/lremovexattr.c: Likewise.
4377 * misc/lsetxattr.c: Likewise.
4378 * misc/lutimes.c: Likewise.
4379 * misc/madvise.c: Likewise.
4380 * misc/mincore.c: Likewise.
4381 * misc/mlock.c: Likewise.
4382 * misc/mlockall.c: Likewise.
4383 * misc/mmap.c: Likewise.
4384 * misc/mprotect.c: Likewise.
4385 * misc/msync.c: Likewise.
4386 * misc/munlock.c: Likewise.
4387 * misc/munlockall.c: Likewise.
4388 * misc/munmap.c: Likewise.
4389 * misc/preadv.c: Likewise.
4390 * misc/preadv64.c: Likewise.
4391 * misc/ptrace.c: Likewise.
4392 * misc/pwritev.c: Likewise.
4393 * misc/pwritev64.c: Likewise.
4394 * misc/readv.c: Likewise.
4395 * misc/reboot.c: Likewise.
4396 * misc/remap_file_pages.c: Likewise.
4397 * misc/removexattr.c: Likewise.
4398 * misc/revoke.c: Likewise.
4399 * misc/select.c: Likewise.
4400 * misc/setdomain.c: Likewise.
4401 * misc/setegid.c: Likewise.
4402 * misc/seteuid.c: Likewise.
4403 * misc/sethostid.c: Likewise.
4404 * misc/sethostname.c: Likewise.
4405 * misc/setregid.c: Likewise.
4406 * misc/setreuid.c: Likewise.
4407 * misc/setxattr.c: Likewise.
4408 * misc/sstk.c: Likewise.
4409 * misc/stty.c: Likewise.
4410 * misc/swapoff.c: Likewise.
4411 * misc/swapon.c: Likewise.
4412 * misc/sync.c: Likewise.
4413 * misc/syncfs.c: Likewise.
4414 * misc/syscall.c: Likewise.
4415 * misc/truncate.c: Likewise.
4416 * misc/ualarm.c: Likewise.
4417 * misc/usleep.c: Likewise.
4418 * misc/ustat.c: Likewise.
4419 * misc/utimes.c: Likewise.
4420 * misc/vhangup.c: Likewise.
4421 * misc/writev.c: Likewise.
4422 * posix/_exit.c: Likewise.
4423 * posix/alarm.c: Likewise.
4424 * posix/execve.c: Likewise.
4425 * posix/fexecve.c: Likewise.
4426 * posix/fork.c: Likewise.
4427 * posix/fpathconf.c: Likewise.
4428 * posix/getaddrinfo.c: Likewise.
4429 * posix/getegid.c: Likewise.
4430 * posix/geteuid.c: Likewise.
4431 * posix/getgid.c: Likewise.
4432 * posix/getgroups.c: Likewise.
4433 * posix/getlogin.c: Likewise.
4434 * posix/getlogin_r.c: Likewise.
4435 * posix/getpgid.c: Likewise.
4436 * posix/getpid.c: Likewise.
4437 * posix/getppid.c: Likewise.
4438 * posix/getresgid.c: Likewise.
4439 * posix/getresuid.c: Likewise.
4440 * posix/getsid.c: Likewise.
4441 * posix/getuid.c: Likewise.
4442 * posix/glob64.c: Likewise.
4443 * posix/nanosleep.c: Likewise.
4444 * posix/pathconf.c: Likewise.
4445 * posix/pause.c: Likewise.
4446 * posix/posix_madvise.c: Likewise.
4447 * posix/pread.c: Likewise.
4448 * posix/pread64.c: Likewise.
4449 * posix/pwrite.c: Likewise.
4450 * posix/pwrite64.c: Likewise.
4451 * posix/sched_getaffinity.c: Likewise.
4452 * posix/sched_getp.c: Likewise.
4453 * posix/sched_gets.c: Likewise.
4454 * posix/sched_primax.c: Likewise.
4455 * posix/sched_primin.c: Likewise.
4456 * posix/sched_rr_gi.c: Likewise.
4457 * posix/sched_setaffinity.c: Likewise.
4458 * posix/sched_setp.c: Likewise.
4459 * posix/sched_sets.c: Likewise.
4460 * posix/sched_yield.c: Likewise.
4461 * posix/setgid.c: Likewise.
4462 * posix/setlogin.c: Likewise.
4463 * posix/setpgid.c: Likewise.
4464 * posix/setresgid.c: Likewise.
4465 * posix/setresuid.c: Likewise.
4466 * posix/setsid.c: Likewise.
4467 * posix/setuid.c: Likewise.
4468 * posix/sleep.c: Likewise.
4469 * posix/spawni.c: Likewise.
4470 * posix/sysconf.c: Likewise.
4471 * posix/times.c: Likewise.
4472 * posix/wait.c: Likewise.
4473 * posix/wait3.c: Likewise.
4474 * posix/wait4.c: Likewise.
4475 * posix/waitpid.c: Likewise.
4476 * resolv/gai_sigqueue.c: Likewise.
4477 * resource/getpriority.c: Likewise.
4478 * resource/getrlimit.c: Likewise.
4479 * resource/getrusage.c: Likewise.
4480 * resource/nice.c: Likewise.
4481 * resource/setpriority.c: Likewise.
4482 * resource/setrlimit.c: Likewise.
4483 * resource/ulimit.c: Likewise.
4484 * rt/aio_cancel.c: Likewise.
4485 * rt/aio_fsync.c: Likewise.
4486 * rt/aio_read.c: Likewise.
4487 * rt/aio_sigqueue.c: Likewise.
4488 * rt/aio_suspend.c: Likewise.
4489 * rt/aio_write.c: Likewise.
4490 * rt/clock_getres.c: Likewise.
4491 * rt/clock_gettime.c: Likewise.
4492 * rt/clock_nanosleep.c: Likewise.
4493 * rt/clock_settime.c: Likewise.
4494 * rt/lio_listio.c: Likewise.
4495 * rt/mq_close.c: Likewise.
4496 * rt/mq_getattr.c: Likewise.
4497 * rt/mq_notify.c: Likewise.
4498 * rt/mq_open.c: Likewise.
4499 * rt/mq_receive.c: Likewise.
4500 * rt/mq_send.c: Likewise.
4501 * rt/mq_setattr.c: Likewise.
4502 * rt/mq_timedreceive.c: Likewise.
4503 * rt/mq_timedsend.c: Likewise.
4504 * rt/mq_unlink.c: Likewise.
4505 * rt/shm_open.c: Likewise.
4506 * rt/shm_unlink.c: Likewise.
4507 * rt/timer_create.c: Likewise.
4508 * rt/timer_delete.c: Likewise.
4509 * rt/timer_getoverr.c: Likewise.
4510 * rt/timer_gettime.c: Likewise.
4511 * rt/timer_settime.c: Likewise.
4512 * setjmp/__longjmp.c: Likewise.
4513 * setjmp/setjmp.c: Likewise.
4514 * signal/kill.c: Likewise.
4515 * signal/killpg.c: Likewise.
4516 * signal/raise.c: Likewise.
4517 * signal/sigaction.c: Likewise.
4518 * signal/sigaltstack.c: Likewise.
4519 * signal/sigblock.c: Likewise.
4520 * signal/sigignore.c: Likewise.
4521 * signal/sigintr.c: Likewise.
4522 * signal/signal.c: Likewise.
4523 * signal/sigpause.c: Likewise.
4524 * signal/sigpending.c: Likewise.
4525 * signal/sigqueue.c: Likewise.
4526 * signal/sigreturn.c: Likewise.
4527 * signal/sigset.c: Likewise.
4528 * signal/sigsetmask.c: Likewise.
4529 * signal/sigstack.c: Likewise.
4530 * signal/sigsuspend.c: Likewise.
4531 * signal/sigtimedwait.c: Likewise.
4532 * signal/sigvec.c: Likewise.
4533 * signal/sigwait.c: Likewise.
4534 * signal/sigwaitinfo.c: Likewise.
4535 * signal/sysv_signal.c: Likewise.
4536 * socket/accept.c: Likewise.
4537 * socket/accept4.c: Likewise.
4538 * socket/bind.c: Likewise.
4539 * socket/connect.c: Likewise.
4540 * socket/getpeername.c: Likewise.
4541 * socket/getsockname.c: Likewise.
4542 * socket/getsockopt.c: Likewise.
4543 * socket/isfdtype.c: Likewise.
4544 * socket/listen.c: Likewise.
4545 * socket/recv.c: Likewise.
4546 * socket/recvfrom.c: Likewise.
4547 * socket/recvmsg.c: Likewise.
4548 * socket/send.c: Likewise.
4549 * socket/sendmsg.c: Likewise.
4550 * socket/sendto.c: Likewise.
4551 * socket/setsockopt.c: Likewise.
4552 * socket/shutdown.c: Likewise.
4553 * socket/sockatmark.c: Likewise.
4554 * socket/socket.c: Likewise.
4555 * socket/socketpair.c: Likewise.
4556 * stdio-common/ctermid.c: Likewise.
4557 * stdio-common/cuserid.c: Likewise.
4558 * stdio-common/remove.c: Likewise.
4559 * stdio-common/rename.c: Likewise.
4560 * stdio-common/renameat.c: Likewise.
4561 * stdio-common/tempname.c: Likewise.
4562 * stdlib/getcontext.c: Likewise.
4563 * stdlib/makecontext.c: Likewise.
4564 * stdlib/setcontext.c: Likewise.
4565 * stdlib/swapcontext.c: Likewise.
4566 * stdlib/system.c: Likewise.
4567 * streams/fattach.c: Likewise.
4568 * streams/fdetach.c: Likewise.
4569 * streams/getmsg.c: Likewise.
4570 * streams/getpmsg.c: Likewise.
4571 * streams/putmsg.c: Likewise.
4572 * streams/putpmsg.c: Likewise.
4573 * sysdeps/unix/bsd/getpt.c: Likewise.
4574 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
4575 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
4576 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
4578 Likewise.
4579 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
4580 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
4581 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4582 * sysvipc/msgctl.c: Likewise.
4583 * sysvipc/msgget.c: Likewise.
4584 * sysvipc/msgrcv.c: Likewise.
4585 * sysvipc/msgsnd.c: Likewise.
4586 * sysvipc/semctl.c: Likewise.
4587 * sysvipc/semget.c: Likewise.
4588 * sysvipc/semop.c: Likewise.
4589 * sysvipc/semtimedop.c: Likewise.
4590 * sysvipc/shmat.c: Likewise.
4591 * sysvipc/shmctl.c: Likewise.
4592 * sysvipc/shmdt.c: Likewise.
4593 * sysvipc/shmget.c: Likewise.
4594 * termios/tcdrain.c: Likewise.
4595 * termios/tcflow.c: Likewise.
4596 * termios/tcflush.c: Likewise.
4597 * termios/tcgetattr.c: Likewise.
4598 * termios/tcgetpgrp.c: Likewise.
4599 * termios/tcsendbrk.c: Likewise.
4600 * termios/tcsetattr.c: Likewise.
4601 * termios/tcsetpgrp.c: Likewise.
4602 * time/adjtime.c: Likewise.
4603 * time/clock.c: Likewise.
4604 * time/getitimer.c: Likewise.
4605 * time/gettimeofday.c: Likewise.
4606 * time/setitimer.c: Likewise.
4607 * time/settimeofday.c: Likewise.
4608 * time/stime.c: Likewise.
4609 * time/time.c: Likewise.
4610
46112012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 4612
a20492cf
PT
4613 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
4614 /usr/old/bin.
4615
72e182e3
PT
4616 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
4617 instead of spaces.
4618 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
4619
fbeafede
JM
46202012-11-03 Joseph Myers <joseph@codesourcery.com>
4621
5b5b04d6
JM
4622 [BZ #14796]
4623 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
4624 FE_TONEAREST before applying Dekker multiplication and Knuth
4625 addition. Clear inexact exceptions and check for exact zero
4626 results afterwards.
4627 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4628 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4629 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4630 * math/libm-test.inc (fma_test): Add more tests.
4631 (fma_test_towardzero): Likewise.
4632 (fma_test_downward): Likewise.
4633 (fma_test_upward): Likewise.
4634 * sysdeps/generic/math_private.h (default_libc_fesetround): New
4635 function.
4636 (libc_fesetround): New macro.
4637 (libc_fesetroundf): Likewise.
4638 (libc_fesetroundl): Likewise.
4639 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
4640 function.
4641 (libc_fesetround_387): Likewise.
4642 (libc_fesetroundf): New macro.
4643 (libc_fesetround): Likewise.
4644 (libc_fesetroundl): Likewise.
4645 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
4646 function.
4647 (libc_fesetroundf): New macro.
4648 (libc_fesetround): Likewise.
4649 (libc_fesetroundl): Likewise.
4650 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
4651 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
4652 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
4653 libm_hidden_ver.
4654 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
4655 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
4656 libm_hidden_def.
4657 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
4658 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
4659 libm_hidden_ver.
4660 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
4661 libm_hidden_def.
4662
fbeafede
JM
4663 [BZ #3439]
4664 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
4665 integer constant usable in #if and use that to give value to enum
4666 constant.
4667 (FE_DIVBYZERO): Likewise.
4668 (FE_UNDERFLOW): Likewise.
4669 (FE_OVERFLOW): Likewise.
4670 (FE_INVALID): Likewise.
4671 (FE_INVALID_SNAN): Likewise.
4672 (FE_INVALID_ISI): Likewise.
4673 (FE_INVALID_IDI): Likewise.
4674 (FE_INVALID_ZDZ): Likewise.
4675 (FE_INVALID_IMZ): Likewise.
4676 (FE_INVALID_COMPARE): Likewise.
4677 (FE_INVALID_SOFTWARE): Likewise.
4678 (FE_INVALID_SQRT): Likewise.
4679 (FE_INVALID_INTEGER_CONVERSION): Likewise.
4680 (FE_TONEAREST): Likewise.
4681 (FE_TOWARDZERO): Likewise.
4682 (FE_UPWARD): Likewise.
4683 (FE_DOWNWARD): Likewise.
4684 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
4685 (FE_DIVBYZERO): Likewise.
4686 (FE_OVERFLOW): Likewise.
4687 (FE_UNDERFLOW): Likewise.
4688 (FE_INEXACT): Likewise.
4689 (FE_TONEAREST): Likewise.
4690 (FE_DOWNWARD): Likewise.
4691 (FE_UPWARD): Likewise.
4692 (FE_TOWARDZERO): Likewise.
4693 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
4694 (FE_UNDERFLOW): Likewise.
4695 (FE_OVERFLOW): Likewise.
4696 (FE_DIVBYZERO): Likewise.
4697 (FE_INVALID): Likewise.
4698 (FE_TONEAREST): Likewise.
4699 (FE_TOWARDZERO): Likewise.
4700 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
4701 (FE_OVERFLOW): Likewise.
4702 (FE_UNDERFLOW): Likewise.
4703 (FE_DIVBYZERO): Likewise.
4704 (FE_INEXACT): Likewise.
4705 (FE_TONEAREST): Likewise.
4706 (FE_TOWARDZERO): Likewise.
4707 (FE_UPWARD): Likewise.
4708 (FE_DOWNWARD): Likewise.
4709 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
4710 (FE_DIVBYZERO): Likewise.
4711 (FE_OVERFLOW): Likewise.
4712 (FE_UNDERFLOW): Likewise.
4713 (FE_INEXACT): Likewise.
4714 (FE_TONEAREST): Likewise.
4715 (FE_DOWNWARD): Likewise.
4716 (FE_UPWARD): Likewise.
4717 (FE_TOWARDZERO): Likewise.
4718
105ca950
CM
47192012-11-02 Chris Metcalf <cmetcalf@tilera.com>
4720
4721 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
4722
a542b389
AS
47232012-11-03 Andreas Schwab <schwab@linux-m68k.org>
4724
4725 * scripts/cross-test-ssh.sh (command): Use newlines to separate
4726 commands. Quote $PWD.
4727 (blacklist_exports): Don't use remove_newlines. Replace "declare
4728 -x" by "export".
4729 (remove_newlines): Remove.
4730
f62c8abc
L
47312012-11-02 H.J. Lu <hongjiu.lu@intel.com>
4732
4733 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
4734 * stdlib/stdlib.h (atof): Moved to ...
4735 * include/bits/stdlib-float.h: Here. New file.
4736 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
4737 * stdlib/bits/stdlib-float.h: New file.
4738 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
4739 -mno-sse -mno-mmx.
4740 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
4741 <xmmintrin.h>.
4742
0155d5b2
JM
47432012-11-02 Joseph Myers <joseph@codesourcery.com>
4744
a68d0680
JM
4745 * conform/conformtest.pl (@headers): Add fenv.h.
4746 * conform/data/fenv.h-data: New file.
4747 * include/fenv.h [_ISOMAC]: Disable all contents of file except
4748 include of <math/fenv.h>.
4749
caf7f573
JM
4750 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
4751 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
4752 && !UNIX98]. Enables tests for XOPEN2K8.
4753 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
4754 POSIX2008]: Likewise.
4755
6c073ad6
JM
4756 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
4757 (struct rusage): Do not expect type or its members.
4758
0155d5b2
JM
4759 [BZ #3439]
4760 * math/math.h (FP_NAN): Define macro to integer constant usable in
4761 #if and use that to give value to enum constant.
4762 (FP_INFINITE): Likewise.
4763 (FP_ZERO): Likewise.
4764 (FP_SUBNORMAL): Likewise.
4765 (FP_NORMAL): Likewise.
4766
b5dcacb4
AS
47672012-11-02 Andreas Schwab <schwab@linux-m68k.org>
4768
4769 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
4770 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
4771 arguments.
4772
f7934be8
RM
47732012-11-02 Roland McGrath <roland@hack.frob.com>
4774
4775 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
4776 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
4777 autoconf-time if not.
4778 * configure.in: Remove AC_PREREQ.
4779
d7d08bde
TMQMF
47802012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4781
4782 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
4783 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
4784 of the internal implementation.
4785
dcdae19a
JM
47862012-11-02 Joseph Myers <joseph@codesourcery.com>
4787
4788 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
4789 except include of <misc/sys/syslog.h>.
4790
d6cffd3e
AS
47912012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4792
4793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
4794 function returns with a NULL context exit with zero.
4795
b3563932
TMQMF
47962012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4797
4798 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
4799
b288a93d
L
48002012-11-01 H.J. Lu <hongjiu.lu@intel.com>
4801
4802 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
4803 (run_program_cmd): This.
4804 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
4805 (tst_langinfo): New variable. Use it.
4806
a2421a68
SAS
48072012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
4808
4809 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
4810 floating point opcodes.
4811
6f796e1b
TS
48122012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4813
7402596b
TS
4814 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
4815 variable.
4816
d0d4f868
TS
4817 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
4818
6f796e1b
TS
4819 * sysdeps/mach/hurd/powerpc: Remove directory.
4820 * sysdeps/mach/powerpc: Likewise.
4821
4da224a2
AS
48222012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4823
4824 * scripts/check-local-headers.sh: Ignore c++ headers.
4825
341dd673
TS
48262012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4827
4828 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
4829 __libc_cleanup_region_start argument.
4830
473611b2
JM
48312012-11-01 Joseph Myers <joseph@codesourcery.com>
4832
4833 [BZ #14784]
4834 [BZ #14785]
4835 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
4836 x * y using scaling, not as x * y + z.
4837 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4838 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4839 * math/libm-test.inc (fma_test): Add more tests.
4840 (fma_test_towardzero): Likewise.
4841 (fma_test_downward): Likewise.
4842 (fma_test_upward): Likewise.
4843
4078da3d
TS
48442012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4845
4846 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
4847
903252aa
JM
48482012-10-31 Joseph Myers <joseph@codesourcery.com>
4849
4850 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
4851 New variable.
4852
cbc818d0
TS
48532012-10-31 Thomas Schwinge <thomas@codesourcery.com>
4854
4855 * rt/tst-shm.c (worker): Correct checking for mmap failure.
4856
5a03cb1e
AS
48572012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4858
4859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4860 Fix sort order.
4861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4862 Likewise.
4863
90aff2ff
TMQMF
48642012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4865
4866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4867 Fix the order of the list for glibc 2.17.
4868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4869 Likewise.
4870
1818fcb7
AS
48712012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4872
4873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4874
ef82f4da
JM
48752012-10-31 Joseph Myers <joseph@codesourcery.com>
4876
16a0e2ec
JM
4877 [BZ #14610]
4878 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
4879 for low part of x being zero before using __atanl (y).
4880 * math/libm-test.inc (atan2_test): Add another test.
4881
0eb69512
JM
4882 * manual/install.texi (Configuring and compiling): Document
4883 general use of test-wrapper and test-wrapper-env.
4884 * INSTALL: Regenerated.
4885
ef82f4da
JM
4886 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
4887 (__fma): Do not extract and scale down low bits on after-rounding
4888 systems when result rounded to normal precision would have normal
4889 exponent.
4890 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
4891 (__fmal): Do not extract and scale down low bits on after-rounding
4892 systems when result rounded to normal precision would have normal
4893 exponent.
4894 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
4895 (__fmal): Do not extract and scale down low bits on after-rounding
4896 systems when result rounded to normal precision would have normal
4897 exponent.
4898 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
4899 macro.
4900 (fma_test): Add more tests.
4901 (fma_test_towardzero): Likewise.
4902 (fma_test_downward): Likewise.
4903 (fma_test_upward): Likewise.
4904
954ef0d9
L
49052012-10-30 H.J. Lu <hongjiu.lu@intel.com>
4906
4907 * sysdeps/i386/tininess.h: Renamed to ...
4908 * sysdeps/x86/tininess.h: This.
4909 * sysdeps/x86_64/tininess.h: Removed.
4910
df61ffb2
JM
49112012-10-30 Joseph Myers <joseph@codesourcery.com>
4912
4913 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
4914 input. Use $(build-program-cmd).
4915 ($(objpfx)tst-array1-static.out): Likewise.
4916 ($(objpfx)tst-array2.out): Likewise.
4917 ($(objpfx)tst-array3.out): Likewise.
4918 ($(objpfx)tst-array4.out): Likewise.
4919 ($(objpfx)tst-array5.out): Likewise.
4920 ($(objpfx)tst-array5-static.out): Likewise.
4921
01767843
CM
49222012-10-30 Chris Metcalf <cmetcalf@tilera.com>
4923
47cc1490
CM
4924 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
4925 if defined.
4926
01767843
CM
4927 * nss/nsswitch.h (nss_interface_function): Provide new
4928 macro for use with NSS functions.
4929 * grp/initgroups.c: Use new macro.
4930 * nss/getXXbyYY.c: Likewise.
4931 * nss/getXXbyYY_r.c: Likewise.
4932 * nss/getXXent.c: Likewise.
4933 * nss/getXXent_r.c: Likewise.
4934 * sysdeps/posix/getaddrinfo.c: Likewise.
4935
8321aa97
AJ
49362012-10-30 Andreas Jaeger <aj@suse.de>
4937
4938 * po/ru.po: Update Russion translation from translation project.
4939
2a27fd6d
JM
49402012-10-30 Joseph Myers <joseph@codesourcery.com>
4941
8627a232
JM
4942 [BZ #14152]
4943 [BZ #14783]
4944 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
4945 result and shift together with sticky bit instead of replicating
4946 round-to-nearest rounding.
4947 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4948 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4949 * math/libm-test.inc (fma_test): Add more tests. Do not permit
4950 missing underflow exceptions.
4951 (fma_test_towardzero): Add more tests.
4952 (fma_test_downward): Likewise.
4953 (fma_test_upward): Likewise.
4954
2a27fd6d
JM
4955 [BZ #14047]
4956 * sysdeps/generic/tininess.h: New file.
4957 * sysdeps/i386/tininess.h: Likewise.
4958 * sysdeps/sh/tininess.h: Likewise.
4959 * sysdeps/x86_64/tininess.h: Likewise.
4960 * stdlib/tst-strtod-underflow.c: Likewise.
4961 * stdlib/tst-tininess.c: Likewise.
4962 * stdlib/strtod_l.c: Include <tininess.h>.
4963 (round_and_return): Do not set errno for exact underflow cases.
4964 Force an underflow exception when setting errno for underflow.
4965 Determine underflow based on rounding to normal precision if
4966 TININESS_AFTER_ROUNDING.
4967 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
4968 ERANGE for exact underflow cases.
4969 * stdlib/Makefile (tests): Add tst-tininess and
4970 tst-strtod-underflow.
4971 ($(objpfx)tst-tininess): Use $(link-libm).
4972 ($(objpfx)tst-strtod-underflow): Likewise.
4973
e7170363
AJ
49742012-10-30 Andreas Jaeger <aj@suse.de>
4975
e5088dc6
AJ
4976 [BZ#14767]
4977 * elf/Makefile (tests): Remove conditional for have-initfini-array
4978 since this is now always required and the variable does not exist
4979 anymore.
4980 (tests-static): Likewise.
4981 (modules-names): Likewise.
4982
e7170363 4983 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
4984
4985 * elf/tst-array1.c (fini_array): Make writeable so that it can be
4986 merged with constructor/destructor.
4987 (init_array): Likewise.
4988 * elf/tst-array2dep.c (fini_array): Likewise.
4989 (init_array): Likewise.
4990
60457d8a
MF
49912012-10-29 Mike Frysinger <vapier@gentoo.org>
4992
4993 * manual/message.texi: Delete @cartouche tags.
4994
8bece752
PT
49952012-10-29 Pino Toscano <toscano.pino@tiscali.it>
4996
94ce799f
PT
4997 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
4998 EOPNOTSUPP.
4999 * sysdeps/mach/hurd/fsync.c: Likewise.
5000
8bece752
PT
5001 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
5002 [_POSIX_REALTIME_SIGNALS]: Change condition to
5003 [_POSIX_REALTIME_SIGNALS > 0].
5004
86ebe6b1
AJ
50052012-10-27 Andreas Jaeger <aj@suse.de>
5006
5007 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
5008 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
5009 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
5010 [__WORDSIZE != 64]: Likewise.
5011
54399c08
L
50122012-10-26 H.J. Lu <hongjiu.lu@intel.com>
5013
5014 * iconvdata/tst-table.sh: Remove ${SHELL}.
5015 * iconvdata/tst-tables.sh: Likewise.
5016
e2211bed
DM
50172012-10-25 David S. Miller <davem@davemloft.net>
5018
5019 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5020 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
5021 of strtoull.
5022
f303f97c
DM
5023 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
5024 ifunc-impl-list.c
5025 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5026 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
5027 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
5028 file.
5029
1e9d84cd
RM
50302012-10-25 Roland McGrath <roland@hack.frob.com>
5031
5032 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5033 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
5034 __getdirentries.
5035
df381762
JM
50362012-10-25 Joseph Myers <joseph@codesourcery.com>
5037 Jim Blandy <jimb@codesourcery.com>
5038
5039 * scripts/cross-test-ssh.sh: New file.
5040 * manual/install.texi (Configuring and compiling): Document use of
5041 cross-test-ssh.sh.
5042 * INSTALL: Regenerated.
5043
bff64913
PT
50442012-10-25 Pino Toscano <toscano.pino@tiscali.it>
5045
5046 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
5047 EOPNOTSUPP.
5048
25fe8932
JM
50492012-10-25 Joseph Myers <joseph@codesourcery.com>
5050
5051 * Makeconfig (run-program-prefix): Fix comment.
5052
cc1290d0
JM
50532012-10-24 Joseph Myers <joseph@codesourcery.com>
5054 Jim Blandy <jimb@codesourcery.com>
5055
5056 * Makeconfig (test-wrapper): New variable,
5057 (test-wrapper-env): Likewise.
5058 [$(cross-compiling) = yes && $(test-wrapper) != ""]
5059 (run-built-tests): Define to yes.
5060 (run-program-prefix): Use $(test-wrapper).
5061 (built-program-cmd): Likewise.
5062 * Rules (make-test-out): Use $(test-wrapper-env) and
5063 $(host-built-program-cmd).
5064 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
5065 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
5066 tst-pathopt.sh.
5067 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
5068 $(test-wrapper-env) to tst-rtld-load-self.sh.
5069 ($(objpfx)order2.out): Use $(test-wrapper).
5070 ($(objpfx)tst-initorder.out): Likewise.
5071 ($(objpfx)tst-initorder2.out): Likewise.
5072 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
5073 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
5074 (test_wrapper_env): New variable. Use it to run ld.so.
5075 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
5076 Use it to run ld.so.
5077 (test_wrapper_env): Likewise.
5078 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
5079 $(test-wrapper) to run-iconv-test.sh.
5080 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
5081 (ICONV): Use $test_wrapper.
5082 * posix/Makefile ($(objpfx)globtest.out): Pass
5083 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
5084 globtest.sh, not $(run-program-prefix).
5085 * posix/globtest.sh (run_via_rtld_prefix): New variable.
5086 (test_wrapper): Likewise.
5087 (test_wrapper_env): Likewise. Use it to run globtest with HOME
5088 set together with run_via_rtld_prefix.
5089 (run_program_prefix): Define in terms of test_wrapper and
5090 run_via_rtld_prefix.
5091
6e6249d0
RM
50922012-10-24 Roland McGrath <roland@hack.frob.com>
5093
5094 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
5095 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
5096 Targets removed.
5097
5098 [BZ #14743]
5099 * include/time.h: Remove librt_hidden_proto (clock_gettime).
5100 Declare __clock_getres, __clock_gettime, __clock_settime,
5101 __clock_nanosleep, and __clock_getcpuclockid.
5102 * rt/clock_gettime.c: Define __clock_gettime as an alias.
5103 Remove librt_hidden_def (clock_gettime).
5104 * sysdeps/unix/clock_gettime.c: Likewise.
5105 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
5106 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5107 * rt/clock_getres.c: Define __clock_getres as an alias.
5108 * sysdeps/posix/clock_getres.c: Likewise.
5109 * rt/clock_settime.c: Define __clock_settime as an alias.
5110 * sysdeps/unix/clock_settime.c: Likewise.
5111 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
5112 * sysdeps/unix/clock_nanosleep.c: Likewise.
5113 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5114 * rt/clock-compat.c: New file.
5115 * rt/Makefile (librt-routines): Add clock-compat and move
5116 $(clock-routines) to ...
5117 (routines): ... here, new variable.
5118 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
5119 Don't add get_clockfreq here.
5120 * rt/Versions (libc: GLIBC_2.17): New version set.
5121 Add clock_* symbols here.
5122 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
5123 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
5124 (GLIBC_2.17): Add clock_* symbols.
5125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5127 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5129 Likewise.
5130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5131 Likewise.
5132 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5133 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5136 * NEWS: Mention the move.
5137
5138 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5139 Use __open, __read, __close rather than their public counterparts.
5140 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5141 (__get_clockfreq_via_cpuinfo): Likewise.
5142 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
5143 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
5144
5145 * config.h.in (HAVE_IFUNC): New #undef.
5146 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
5147 was successful.
5148 * configure: Regenerated.
5149
0cae3f4b
MF
51502012-10-24 Mike Frysinger <vapier@gentoo.org>
5151
5152 * configure.in: Move READELF check to start of file.
5153 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
5154 libc_cv_asm_gnu_indirect_function in the process.
5155 * configure: Regenerated.
5156
8175a253
MF
51572012-10-24 Mike Frysinger <vapier@gentoo.org>
5158
5159 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
5160 send the output to /dev/null.
5161 (libc_cv_cc_with_libunwind): Likewise.
5162 (libc_cv_as_noexecstack): Likewise.
5163 * configure: Regenerate.
5164
0708a7d1
JM
51652012-10-24 Joseph Myers <joseph@codesourcery.com>
5166
10b40d85
JM
5167 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
5168
0708a7d1
JM
5169 * posix/globtest.sh (TMPDIR): Do not set.
5170 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
5171 (testout): Likewise.
5172
9fddec1a
AJ
51732012-10-24 Andreas Jaeger <aj@suse.de>
5174
3a8db22f
AJ
5175 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
5176 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
5177 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
5178 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
5179 posix_fadvise64, posix_fallocate64.
5180
9fddec1a
AJ
5181 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
5182 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
5183 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
5184 Likewise.
5185 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
5186 Likewise.
5187 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
5188
5189 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
5190 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
5191 <bits/fcntl-linux.h>.
5192 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
5193
5194 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
5195 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
5196 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
5197 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
5198 [__WORDSIZE != 64]: Likewise.
5199
ebfd1bbd
JM
52002012-10-23 Joseph Myers <joseph@codesourcery.com>
5201
03ac099f
JM
5202 * Makeconfig (run-built-tests): New variable.
5203 * Rules [$(cross-compiling) = yes]: Change condition to
5204 [$(run-built-tests) = no].
5205 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
5206 to [$(run-built-tests) = yes].
5207 * elf/Makefile [$(cross-compiling) = no]: Likewise
5208 * grp/Makefile [$(cross-compiling) = no]: Likewise.
5209 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
5210 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
5211 * intl/Makefile [$(cross-compiling) = no]: Likewise.
5212 * io/Makefile [$(cross-compiling) = no]: Likewise.
5213 * libio/Makefile [$(cross-compiling) = no]: Likewise.
5214 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
5215 * misc/Makefile [$(cross-compiling) = no]: Likewise.
5216 * posix/Makefile [$(cross-compiling) = no]: Likewise.
5217 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
5218 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
5219 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
5220 * string/Makefile [$(cross-compiling) = no]: Likewise.
5221
ebfd1bbd
JM
5222 * posix/Makefile ($(objpfx)globtest.out): Pass
5223 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
5224 $(rtld-installed-name).
5225 * posix/globtest.sh (elf_objpfx): Remove variable.
5226 (rtld_installed_name): Likewise.
5227 (library_path): Likewise.
5228 (run_program_prefix): New variable. Use for running globtest
5229 binary.
5230
166bca24
JB
52312012-10-23 Jim Blandy <jimb@codesourcery.com>
5232 Joseph Myers <joseph@codesourcery.com>
5233
5234 * Makeconfig (host-built-program-cmd): New variable.
5235 * elf/Makefile (tst-stackguard1-ARGS): Use
5236 $(host-built-program-cmd).
5237 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
5238 (tst-spawn-ARGS): Likewise.
5239 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
5240
88866099
JM
52412012-10-23 Joseph Myers <joseph@codesourcery.com>
5242 Jim Blandy <jimb@codesourcery.com>
5243
5244 * Makeconfig (run-via-rtld-prefix): New variable.
5245 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
5246 (built-program-cmd): Likewise.
5247
b4b4c296
AJ
52482012-10-22 Andreas Jaeger <aj@suse.de>
5249
5250 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
5251 __O_RSYNC if it exists, otherwise to O_SYNC.
5252
6fb54a22
JB
52532012-10-22 Jim Blandy <jimb@codesourcery.com>
5254 Joseph Myers <joseph@codesourcery.com>
5255
5256 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
5257 /dev/null.
5258 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
5259 from /dev/null
5260 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
5261 /dev/null.
5262
481b90b9
AJ
52632012-10-22 Andreas Jaeger <aj@suse.de>
5264
2a0e2669
AJ
5265 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
5266 Define always.
5267 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
5268
76e38f9a
AJ
5269 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5270 bits/fcntl-linux.h.
5271
7cd37b43
AJ
5272 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
5273 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
5274
481b90b9
AJ
5275 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
5276 to __O_LARGEFILE.
5277 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
5278 to __O_LARGEFILE.
5279
aba75984
JB
52802012-10-21 Jim Blandy <jimb@codesourcery.com>
5281 Joseph Myers <joseph@codesourcery.com>
5282
5283 * config.make.in (NM): New variable.
5284
88d4247f
AJ
52852012-10-21 Andreas Jaeger <aj@suse.de>
5286
5287 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
5288 definitions and declarations that are provided by
5289 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5290
f2eed205
L
52912012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5292
5293 [BZ #14683]
5294 * elf/Makefile (tests-static): Add tst-leaks1-static.
5295 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
5296 ($(objpfx)tst-leaks1-static): New rule.
5297 ($(objpfx)tst-leaks1-static-mem): Likewise.
5298 (tst-leaks1-static-ENV): New macro.
5299 * elf/dl-open.c (dl_open_worker): Check the main application
5300 only if SHARED is defined.
5301 * elf/tst-leaks1-static.c: New file.
5302
335e6931
AJ
53032012-10-20 Andreas Jaeger <aj@suse.de>
5304
5305 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
5306 generic values for Linux.
5307 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
5308 and declarations that are provided by <bits/fcntl-linux.h> and
5309 include <bits/fcntl-linux.h>.
5310 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5311 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5312
ac5c94d3
RM
53132012-10-20 Roland McGrath <roland@hack.frob.com>
5314
5315 * io/fcntl.h: Move include of <bits/types.h> to the top and
5316 include it unconditionally.
5317
de54b33a
L
53182012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5319
228cfb01
L
5320 * wcsmbs/Makefile (tests-ifunc): New variable.
5321 (tests): Add $(tests-ifunc).
5322 * wcsmbs/test-wcschr-ifunc.c: New file.
5323 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5324 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5325 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5326 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5327 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5328
69f07e5f
L
5329 * string/Makefile (tests-ifunc): New variable.
5330 (tests): Add $(tests-ifunc).
5331 * string/test-memccpy.c (TEST_NAME): New macro.
5332 * string/test-memchr.c (TEST_NAME): Likewise.
5333 * string/test-memcmp.c (TEST_NAME): Likewise.
5334 * string/test-memcpy.c (TEST_NAME): Likewise.
5335 * string/test-memmem.c (TEST_NAME): Likewise.
5336 * string/test-memmove.c (TEST_NAME): Likewise.
5337 * string/test-memset.c (TEST_NAME): Likewise.
5338 * string/test-rawmemchr.c (TEST_NAME): Likewise.
5339 * string/test-stpcpy.c (TEST_NAME): Likewise.
5340 * string/test-stpncpy.c (TEST_NAME): Likewise.
5341 * string/test-strcasecmp.c (TEST_NAME): Likewise.
5342 * string/test-strcasestr.c (TEST_NAME): Likewise.
5343 * string/test-strcat.c (TEST_NAME): Likewise.
5344 * string/test-strchr.c (TEST_NAME): Likewise.
5345 * string/test-strcmp.c(TEST_NAME): Likewise.
5346 * string/test-strcpy.c (TEST_NAME): Likewise.
5347 * string/test-strcspn.c (TEST_NAME): Likewise.
5348 * string/test-strlen.c (TEST_NAME): Likewise.
5349 * string/test-strncasecmp.c (TEST_NAME): Likewise.
5350 * string/test-strncmp.c (TEST_NAME): Likewise.
5351 * string/test-strncpy.c (TEST_NAME): Likewise.
5352 * string/test-strnlen.c (TEST_NAME): Likewise.
5353 * string/test-strpbrk.c (TEST_NAME): Likewise.
5354 * string/test-strrchr.c (TEST_NAME): Likewise.
5355 * string/test-strspn.c (TEST_NAME): Likewise.
5356 * string/test-strstr.c (TEST_NAME): Likewise.
5357 * string/test-bcopy-ifunc.c: New file.
5358 * string/test-bzero-ifunc.c: Likewise.
5359 * string/test-memccpy-ifunc.c: Likewise.
5360 * string/test-memchr-ifunc.c: Likewise.
5361 * string/test-memcmp-ifunc.c: Likewise.
5362 * string/test-memcpy-ifunc.c: Likewise.
5363 * string/test-memmem-ifunc.c: Likewise.
5364 * string/test-memmove-ifunc.c: Likewise.
5365 * string/test-mempcpy-ifunc.c: Likewise.
5366 * string/test-memset-ifunc.c: Likewise.
5367 * string/test-rawmemchr-ifunc.c: Likewise.
5368 * string/test-stpcpy-ifunc.c: Likewise.
5369 * string/test-stpncpy-ifunc.c: Likewise.
5370 * string/test-strcasecmp-ifunc.c: Likewise.
5371 * string/test-strcasestr-ifunc.c: Likewise.
5372 * string/test-strcat-ifunc.c: Likewise.
5373 * string/test-strchr-ifunc.c: Likewise.
5374 * string/test-strchrnul-ifunc.c: Likewise.
5375 * string/test-strcmp-ifunc.c: Likewise.
5376 * string/test-strcpy-ifunc.c: Likewise.
5377 * string/test-strcspn-ifunc.c: Likewise.
5378 * string/test-strlen-ifunc.c: Likewise.
5379 * string/test-strncasecmp-ifunc.c: Likewise.
5380 * string/test-strncat-ifunc.c: Likewise.
5381 * string/test-strncmp-ifunc.c: Likewise.
5382 * string/test-strncpy-ifunc.c: Likewise.
5383 * string/test-strnlen-ifunc.c: Likewise.
5384 * string/test-strpbrk-ifunc.c: Likewise.
5385 * string/test-strrchr-ifunc.c: Likewise.
5386 * string/test-strspn-ifunc.c: Likewise.
5387 * string/test-strstr-ifunc.c: Likewise.
5388
de54b33a
L
5389 * debug/Makefile (tests-ifunc): New variable.
5390 (tests): Add $(tests-ifunc).
5391 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
5392 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
5393 * debug/test-stpcpy_chk-ifunc.c: New file.
5394 * debug/test-strcpy_chk-ifunc.c: Likewise.
5395
88481c16
SP
53962012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5397
5398 [BZ #13601]
5399 * elf/dl-load.c (open_verify): Retry read if the entire ELF
5400 header is not read in.
5401
135948bd
JM
54022012-10-19 Joseph Myers <joseph@codesourcery.com>
5403
89f1c388
JM
5404 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
5405 script to $(SHELL) as $<. Pass $(common-objpfx) to script
5406 directly. Pass built executable to script as
5407 $(built-program-cmd).
5408 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
5409 $testprogram without using LD_LIBRARY_PATH and $ldso.
5410
e40a0d21
JM
5411 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
5412 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
5413 $(rtld-installed-name).
5414 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
5415 (rtld_installed_name): Likewise.
5416 (library_path): Likewise.
5417 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
5418 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
5419 $(run-program-prefix) to tst-tables.sh.
5420 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
5421 it to run tst-table-from and tst-table-to.
5422 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
5423 Pass it to tst-table.sh.
5424 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
5425 $(run-program-prefix) to tst-gettext.sh.
5426 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
5427 tst-translit.sh.
5428 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
5429 tst-gettext2.sh.
5430 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
5431 to run tst-gettext.
5432 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
5433 to run tst-gettext2.
5434 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
5435 to run tst-translit.
5436 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
5437 $(run-program-prefix) to tst-mtrace.sh.
5438 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
5439 to run tst-mtrace.
5440 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
5441 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
5442 $(rtld-installed-name).
5443 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
5444 (rtld_installed_name): Likewise.
5445 (run_program_prefix): New variable. Use it to run wordexp-test.
5446
728e272a
JM
5447 * Makeconfig (ARCH): Remove all definitions.
5448 (machine): Likewise.
5449 [ARCH]: Remove conditional code.
5450 [!objdir]: Give error.
5451 [!objdir] (objpfx): Remove.
5452 [!objdir] (common-objpfx): Likewise.
5453 [!objdir] (common-objdir): Likewise.
5454 * configure.in (config_makefile): Remove. Hardcode Makefile in
5455 AC_CONFIG_FILES call.
5456 * configure: Regenerated.
5457
d528cdcf
JM
5458 [BZ #13888]
5459 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
5460 or TMPDIR.
5461 (testout): Likewise.
5462
135948bd
JM
5463 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
5464 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
5465 $(rtld-installed-name).
5466 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
5467 (rtld_installed_name): Likwise.
5468 (runit): Remove function.
5469 (run_getconf): New variable, Use it for running getconf binary.
5470
38c78296
L
54712012-10-18 H.J. Lu <hongjiu.lu@intel.com>
5472
5473 [BZ #14716]
5474 * string/test-memmem.c (check_result): New function.
5475 (do_one_test): Use it.
5476 (check1): New function.
5477 (test_main): Use it.
5478
d077f65f
MT
54792012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
5480
5481 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
5482
ced52c71
JM
54832012-10-18 Joseph Myers <joseph@codesourcery.com>
5484
5485 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
5486 (_G_LSEEK64): Likewise.
5487 (_G_MMAP64): Likewise.
5488 (_G_FSTAT64): Likewise.
5489 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
5490 (_G_LSEEK64): Likewise.
5491 (_G_MMAP64): Likewise.
5492 (_G_FSTAT64): Likewise.
5493 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
5494 unconditional. Call __mmap64 directly.
5495 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
5496 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
5497 __lseek64 directly.
5498 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
5499 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
5500 __mmap64 directly.
5501 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
5502 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
5503 __lseek64 directly.
5504 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
5505 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
5506 __lseek64 directly.
5507 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
5508 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
5509 __lseek64 directly.
5510 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
5511 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
5512 __fxstat64 directly.
5513 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
5514 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
5515 unconditional.
5516 (freopen64) [!_G_OPEN64]: Remove conditional code.
5517 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
5518 unconditional.
5519 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
5520 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
5521 unconditional.
5522 (ftello64) [!_G_LSEEK64]: Remove conditional code.
5523 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
5524 unconditional.
5525 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5526 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
5527 unconditional.
5528 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
5529 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
5530 unconditional.
5531 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5532 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
5533 unconditional.
5534 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5535 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
5536 unconditional.
5537 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5538
b741de23
SP
55392012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5540
5541 [BZ #12140]
5542 * manual/memory.texi (Malloc Tunable Parameters): Add note
5543 about free list pointers overwriting some perturb bytes.
5544 Wording suggested by Roland McGrath.
5545
f9b9d9c9
JM
55462012-10-17 Joseph Myers <joseph@codesourcery.com>
5547
5548 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
5549 (lgamma_test): Likewise.
5550 (tgamma_test): Likewise.
5551
172a631a
FW
55522012-10-16 Florian Weimer <fweimer@redhat.com>
5553
5554 [BZ #14700]
5555 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
5556 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
5557
e9f37252
MK
55582012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
5559
5560 * NEWS: Mention BZ #14716.
5561 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
5562 when removing AVAILABLE1_USES_J macro.
5563
d394eb74
L
55642012-10-12 H.J. Lu <hongjiu.lu@intel.com>
5565
5566 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
5567 (__bswap_64): __uint64_t for unsigned 64-bit int.
5568
ca38dc17
AS
55692012-10-12 Andreas Schwab <schwab@linux-m68k.org>
5570
5571 * include/string.h (memmem): Declare libc hidden alias.
5572 * string/memmem.c (memmem): Define libc hidden alias.
5573 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
5574 __read, __close instead of open, read, close.
5575
9a387d1f
L
55762012-10-11 H.J. Lu <hongjiu.lu@intel.com>
5577
ac49ecaf
L
5578 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
5579 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
5580 global and hidden.
5581 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
5582 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
5583 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
5584 Likewise.
5585 (__rawmemchr_sse2): Likewise.
5586 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
5587 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
5588 (__strchr_sse2): Likewise.
5589 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
5590 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
5591 (__strcasecmp_sse2): Likewise.
5592 (__strncasecmp_sse2): Likewise.
5593 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
5594 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
5595 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
5596 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
5597 (__strrchr_sse2): Likewise.
5598 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
5599 ifunc-impl-list.c.
5600 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5601 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5602 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5603 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5604 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5605 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5606 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5607 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5608 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
5609 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
5610 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
5611 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
5612 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
5613 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5614 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5615 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5616 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5617 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5618 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
5619 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
5620 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
5621 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
5622 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
5623 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5624 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
5625 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5626 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5627 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5628 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5629 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5630
b090e8ea
L
5631 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
5632 global and hidden.
5633 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
5634 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
5635 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
5636 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
5637 Likewise.
5638 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
5639 Likewise.
5640 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
5641 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
5642 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
5643 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
5644 ifunc-impl-list.c.
5645 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5646 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5647 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5648 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5649 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5650 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5651 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5652 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5653 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5654 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5655 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5656 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5657 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5658 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
5659 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
5660 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5661 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
5662 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
5663 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5664 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5665 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5666 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5667 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5668 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5669 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5670 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
5671 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
5672 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
5673 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
5674 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5675 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
5676 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5677 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5678 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
5679 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5680 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5681 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5682 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5683 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5684 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5685 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
5686
11dd4af6
L
5687 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
5688 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
5689 * include/ifunc-impl-list.h: New file.
5690 * misc/ifunc-impl-list.c: Likewise.
5691 * misc/Makefile (routines): Add ifunc-impl-list.
5692 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
5693 * string/test-string.h: Include <ifunc-impl-list.h>.
5694 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
5695 impl_array): New variables.
5696 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
5697 are defined.
5698 (test_init): Call __libc_ifunc_impl_list to initialize
5699 func_list if TEST_IFUNC and TEST_NAME are defined.
5700
9a387d1f
L
5701 * string/Makefile (strop-tests): Add bcopy and bzero.
5702 * string/test-bcopy.c: New file.
5703 * string/test-bzero.c: Likewise.
5704 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
5705 defined.
5706 * string/test-memset.c: Support bzero test if TEST_BZERO is
5707 defined.
5708 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
5709 __libc_memmove.
5710 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
5711 __libc_memset.
5712 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
5713 of memset.
5714
472371b9
JM
57152012-10-10 Joseph Myers <joseph@codesourcery.com>
5716
1e4a9536
JM
5717 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
5718 * configure: Regenerated.
5719
d173d12e
JM
5720 * Makeconfig (+link-static-before-libc): Don't include
5721 $(link-static-libc).
5722
472371b9
JM
5723 * libio/libio.h (_IO_pos_t): Remove.
5724
89a3ad0b
AO
57252012-10-10 Alexandre Oliva <aoliva@redhat.com>
5726
5727 * NEWS: Add note about FIPS mode. Wording suggested by Roland
5728 McGrath.
5729
e7451425
AO
57302012-10-10 Alexandre Oliva <aoliva@redhat.com>
5731
5732 * crypt/crypt-entry.c: Include fips-private.h.
5733 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
5734 * crypt/md5c-test.c (main): Tolerate disabled MD5.
5735 * sysdeps/unix/sysv/linux/fips-private.h: New file.
5736 * sysdeps/generic/fips-private.h: New file, dummy fallback.
5737
4ba74a35
AO
57382012-10-10 Alexandre Oliva <aoliva@redhat.com>
5739
5740 * crypt/crypt-private.h: Include stdbool.h.
5741 (_ufc_setup_salt_r): Return bool.
5742 * crypt/crypt-entry.c: Include errno.h.
5743 (__crypt_r): Return NULL with EINVAL for bad salt.
5744 * crypt/crypt_util.c (bad_for_salt): New.
5745 (_ufc_setup_salt_r): Check that salt is long enough and within
5746 the specified alphabet.
5747 * crypt/badsalttest.c: New file.
5748 * crypt/Makefile (tests): Add it.
5749 ($(objpfx)badsalttest): New.
5750
f96f1242
MK
57512012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
5752
5753 * NEWS: Add entry for BZ #14602.
5754
0e8e0c1c
JM
57552012-10-09 Joseph Myers <joseph@codesourcery.com>
5756
5757 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
5758 type-generic.
5759 * math/libm-test.inc: Update comment listing what functions and
5760 macros are tested.
5761 (isgreater_test): New function.
5762 (isgreaterequal_test): Likewise.
5763 (isless_test): Likewise.
5764 (islessequal_test): Likewise.
5765 (islessgreater_test): Likewise.
5766 (isunordered_test): Likewise.
5767 (main): Call the new functions.
5768
273edc5e
RM
57692012-10-09 Roland McGrath <roland@hack.frob.com>
5770
b8493de0
RM
5771 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
5772 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
5773 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
5774 * sysdeps/i386/configure: Regenerated.
5775 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
5776 * sysdeps/mach/configure: Regenerated.
5777 * sysdeps/mach/hurd/configure: Regenerated.
5778 * sysdeps/powerpc/configure: Regenerated.
5779 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5780 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5781 * sysdeps/s390/s390-32/configure: Regenerated.
5782 * sysdeps/s390/s390-64/configure: Regenerated.
5783 * sysdeps/sh/configure: Regenerated.
5784 * sysdeps/sparc/configure: Regenerated.
5785 * sysdeps/unix/sysv/linux/configure: Regenerated.
5786 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5787 * sysdeps/x86_64/configure: Regenerated.
5788
273edc5e
RM
5789 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
5790 defined. Don't check if MAP is NULL.
5791
c8450f70
JM
57922012-10-09 Joseph Myers <joseph@codesourcery.com>
5793
5794 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
5795 (_G_stat64): Likewise.
5796 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
5797 (_G_stat64): Likewise.
5798 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
5799 instead of struct _G_stat64.
5800 * libio/fileops.c (mmap_remap_check): Likewise.
5801 (decide_maybe_mmap): Likewise.
5802 (_IO_new_file_seekoff): Likewise.
5803 (_IO_file_stat): Likewise.
5804 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
5805 _G_off64_t.
5806 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
5807 instead of struct _G_stat64.
5808 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5809
57e605ba
MK
58102012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
5811
5812 [BZ #14602]
5813 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5814 Replace with ...
5815 (CHECK_EOL): New macro.
5816 (two_way_short_needle): Check beginning of haystack for EOL. Use
5817 CHECK_EOL.
5818 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5819 Replace with CHECK_EOL.
5820 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5821 Replace with CHECK_EOL.
5822
ef1bb361
JM
58232012-10-08 Joseph Myers <joseph@codesourcery.com>
5824
5825 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
5826 type-generic.
5827 * math/libm-test.inc: Update comment listing what functions and
5828 macros are tested.
5829 (finite_test): New function.
5830 (isinf_test): Likewise.
5831 (isnan_test): Likewise.
5832 (fpclassify_test): Test subnormal input.
5833 (isfinite_test): Likewise.
5834 (isnormal_test): Likewise.
5835 (main): Call the new functions.
5836
55f11534
JN
58372012-10-08 Jonathan Nieder <jrnieder@gmail.com>
5838
5839 [BZ #14660]
5840 * Makerules (%.dynsym): Force C locale when running
5841 $(OBJDUMP) --dynamic-syms.
5842
1ab29350
AS
58432012-10-08 Andreas Schwab <schwab@linux-m68k.org>
5844
5845 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
5846 <stdint.h>.
5847
f1ecb7ef
DM
58482012-10-06 David S. Miller <davem@davemloft.net>
5849
5850 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
5851 upper 32-bits of the length value in %o2 since we use branch-on-register
5852 tests which consider the entire 64-bit register.
5853
5d41d91a
L
58542012-10-06 H.J. Lu <hongjiu.lu@intel.com>
5855
5856 * string/test-strstr.c (check2): Add a test for page boundary.
5857
3baddb72
DM
58582012-10-05 David S. Miller <davem@davemloft.net>
5859
5860 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
5861 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
5862 file.
5863 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5864 sysdep_routines.
5865 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5866 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
5867 and bzero when HWCAP_SPARC_CRYPTO is present.
5868
9cee5585
L
58692012-10-05 H.J. Lu <hongjiu.lu@intel.com>
5870
d7e0dab9
L
5871 [BZ #14602]
5872 * string/test-strstr.c (check2): New function.
5873 (test_main): Call check2.
5874
03759f47
L
5875 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
5876 and bug-strchr1.
5877 * string/bug-strcasestr1.c (do_test): Moved to ...
5878 * string/test-strcasestr.c (check1): Here. New function.
5879 (do_one_test): Break out result checking code into ...
5880 (check_result): This. New function.
5881 (do_one_test): Call check_result.
5882 (test_main): Call check1.
5883 * string/bug-strchr1.c (do_test): Moved to ...
5884 * string/test-strchr.c (check1): Here. New function.
5885 (do_one_test): Break out result checking code into ...
5886 (check_result): This. New function.
5887 (do_one_test): Call check_result.
5888 (test_main): Call check1.
5889 * string/bug-strstr1.c (main): Moved to ...
046f153e 5890 * string/test-strstr.c (check1): Here. New function.
03759f47
L
5891 (do_one_test): Break out result checking code into ...
5892 (check_result): This. New function.
5893 (do_one_test): Call check_result.
5894 (test_main): Call check1.
5895 * string/bug-strcasestr1.c: Removed.
5896 * string/bug-strchr1.c: Likewise.
5897 * string/bug-strstr1.c: Likewise.
5898
53cea63e
L
5899 * elf/Makefile (dl-routines): Add hwcaps.
5900 * elf/dl-support.c (_dl_important_hwcaps): Removed.
5901 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
5902 (_dl_important_hwcaps): Moved to ...
5903 * elf/dl-hwcaps.c: Here. New file.
5904 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
5905
9cee5585 5906 [BZ #14557]
bb859b06
L
5907 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
5908 if IS_IN_rtld isn't defined.
5909
9cee5585
L
5910 * elf/dl-support.c (_dl_sysinfo_map): New.
5911 Include "get-dynamic-info.h" and "setup-vdso.h".
5912 (_dl_non_dynamic_init): Call setup_vdso.
5913 * elf/dynamic-link.h: Don't include <assert.h>.
5914 (elf_get_dynamic_info): Moved to ...
5915 * elf/get-dynamic-info.h: Here. New file.
5916 * elf/dynamic-link.h: Include "get-dynamic-info.h".
5917 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
5918 * elf/setup-vdso.h: Here. New file.
5919 * elf/rtld.c: Include "setup-vdso.h".
5920 (dl_main): Call setup_vdso.
5921
23c31b76
JM
59222012-10-05 Joseph Myers <joseph@codesourcery.com>
5923
28234b07
JM
5924 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
5925 creal in comment listing functions tested. List finite, isinf,
5926 isnan, isless, islessequal, isgreater, isgreaterequal,
5927 islessgreater, isunordered, lgamma_r and pow10 as functions and
5928 macros not tested. Mention which functions not tested are aliases
5929 for other functions. Fix typo. Note that signs of NaNs are not
5930 tested.
5931
23c31b76
JM
5932 * scripts/config.guess: Update from config.git.
5933 * scripts/config.sub: Likewise.
5934
9043e228
RM
59352012-10-04 Roland McGrath <roland@hack.frob.com>
5936
5937 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
5938 * misc/madvise.c (madvise): Renamed to __madvise.
5939 Make madvise a weak alias.
5940 * include/sys/mman.h: Declare __madvise.
5941 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
5942 * sysdeps/unix/syscalls.list
5943 (madvise): Make __madvise the strong name, and madvise a weak alias.
5944 * sysdeps/unix/sysv/linux/syscalls.list
5945 (madvise, mmap): Remove redundant entries.
5946 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
5947 * malloc/malloc.c (mtrim): Likewise.
5948 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
5949
f57f8055
RM
59502012-10-03 Roland McGrath <roland@hack.frob.com>
5951
5952 * sysdeps/mach/hurd/dl-cache.c: File removed.
5953 * config.h.in (USE_LDCONFIG): New #undef.
5954 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
5955 * configure: Regenerated.
5956 * elf/Makefile (dl-routines): Add dl-cache only under
5957 [$(use-ldconfig) = yes].
5958 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
5959 cache on [USE_LDCONFIG].
5960 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
5961 [USE_LDCONFIG].
5962 * elf/rtld.c (dl_main): Likewise.
5963
5bb0c10a
PT
59642012-10-03 Pino Toscano <toscano.pino@tiscali.it>
5965
5966 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
5967 _SC_LEVEL4_CACHE_LINESIZE.
5968
010188c6
RM
59692012-10-03 Roland McGrath <roland@hack.frob.com>
5970
5971 * sysdeps/unix/bsd/confstr.h: File removed.
5972
b6c5ec07
AO
59732012-10-02 Alexandre Oliva <aoliva@redhat.com>
5974
5975 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
5976 sys/sdt-config.h.
5977
408223d4
RM
59782012-10-02 Roland McGrath <roland@hack.frob.com>
5979
5980 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
5981 Make 'mapoff' field ElfW(Off) rather than off_t.
5982
bb9510dc
DL
59832012-10-02 Dmitry V. Levin <ldv@altlinux.org>
5984
fc997c6e
DL
5985 * nscd/Makefile: Remove nscd-cflags and all its users.
5986 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
5987 (CFLAGS-nonlib): Add compiler flags for nscd modules.
5988
bb9510dc
DL
5989 [BZ #10631]
5990 * malloc.c (malloc_printerr): Clarify error message.
5991
05699367
L
59922012-10-02 H.J. Lu <hongjiu.lu@intel.com>
5993
5994 [BZ #14648]
5995 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5996 Set bit_FMA_Usable if FMA is supported.
5997 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
5998 macro.
5999 (bit_FMA4_Usable): Updated.
6000 (index_FMA_Usable): New macro.
6001 (CPUID_FMA): Likewise
6002 (HAS_FMA): Defined with bit_FMA_Usable.
6003
51367701
RM
60042012-10-01 Roland McGrath <roland@hack.frob.com>
6005
6006 * bits/types.h (__swblk_t): Type removed.
6007 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
6008 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
6009 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6010 (__SWBLK_T_TYPE): Likewise.
6011 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6012 (__SWBLK_T_TYPE): Likewise.
6013 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6014 (__SWBLK_T_TYPE): Likewise.
6015 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6016 (__SWBLK_T_TYPE): Likewise.
6017
4d57bf63 60182012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 6019 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
6020
6021 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
6022 (xdr_mapname): Use YPMAXMAP as maxsize.
6023 (xdr_peername): Use YPMAXPEER as maxsize.
6024 (xdr_keydat): Use YPAXRECORD as maxsize.
6025 (xdr_valdat): Use YPMAXRECORD as maxsize.
6026
93c65d43
RM
60272012-10-01 Roland McGrath <roland@hack.frob.com>
6028
497a03d6
RM
6029 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
6030
93c65d43
RM
6031 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
6032 * csu/init-first.c: ... here.
6033 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
6034 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6035 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6036 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6037 * sysdeps/i386/init-first.c: File removed.
6038 * sysdeps/sh/init-first.c: File removed.
6039
bec749fd
JM
60402012-10-01 Joseph Myers <joseph@codesourcery.com>
6041
6042 [BZ #14645]
6043 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
6044 if x * y might underflow to zero and z is zero.
6045 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6046 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6047 * math/libm-test.inc (min_subnorm_value): New variable.
6048 (fma_test): Add more tests.
6049 (fma_test_towardzero): Likewise.
6050 (fma_test_downward): Likewise
6051 (fma_test_upward): Likewise.
6052 (initialize): Set min_subnorm_value.
6053
8ec5b013
JM
60542012-09-29 Joseph Myers <joseph@codesourcery.com>
6055
6056 [BZ #14638]
6057 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
6058 0 + 0.
6059 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
6060 mode for addition resulting in exact zero.
6061 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
6062 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
6063 exact 0 + 0.
6064 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6065 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6066 * math/libm-test.inc (fma_test): Add more tests.
6067 (fma_test_towardzero): New function.
6068 (fma_test_downward): Likewise.
6069 (fma_test_upward): Likewise.
6070 (main): Call the new functions.
6071
b1fa802e
DM
60722012-09-28 David S. Miller <davem@davemloft.net>
6073
6074 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
6075
d3b9fd9e
RM
60762012-09-28 Roland McGrath <roland@hack.frob.com>
6077
ea4d37b3
RM
6078 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
6079 instead of SIGALRM.
6080
ac51c949
RM
6081 * sysdeps/gnu/_G_config.h: Moved to ...
6082 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
6083 * sysdeps/mach/hurd/_G_config.h: Moved to ...
6084 * sysdeps/generic/_G_config.h: ... here.
6085
28c195f7
RM
6086 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
6087
848917f9
RM
6088 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
6089
6bacf05b
RM
6090 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
6091 Conditionalize target on [libnss_test1.so-version].
6092
91363dbb
RM
6093 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
6094
cc87f7d8
RM
6095 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
6096 (elfobjdir): Move out of conditionals.
6097
b1c608fe
RM
6098 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
6099 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
6100 (__nss_lookup_function): Conditionalize label remove_from_tree on
6101 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 6102
1d9a6d96
DM
61032012-09-28 David S. Miller <davem@davemloft.net>
6104
6105 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
6106 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
6107 file.
6108 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6109 sysdep_routines.
6110 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6111 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
6112 when HWCAP_SPARC_CRYPTO is present.
6113
72581615
PT
61142012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6115
6116 * io/tst-mknodat.c: Create a FIFO instead of a socket.
6117
715a900c
JL
61182012-09-28 Andreas Schwab <schwab@linux-m68k.org>
6119
6120 [BZ #6530]
6121 * stdio-common/vfprintf.c (process_string_arg): Revert
6122 2000-07-22 change.
6123
61242011-09-28 Jonathan Nieder <jrnieder@gmail.com>
6125
6126 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
6127 for testcase.
6128 * stdio-common/tst-sprintf.c: Include <locale.h>
6129 (main): Test sprintf's handling of incomplete multibyte
6130 characters.
6131
9bac1d86
L
61322012-09-28 H.J. Lu <hongjiu.lu@intel.com>
6133
6134 * elf/dl-runtime.c (VERSYMIDX): Removed.
6135 * elf/dl-version.c (VERSYMIDX): Likewise.
6136 * elf/do-rel.h (VERSYMIDX): Likewise.
6137 (VALIDX): Likewise.
6138 * elf/dynamic-link.h (VERSYMIDX): Likewise.
6139 * elf/rtld.c (VALIDX): Likewise.
6140 (ADDRIDX): Likewise.
9bac1d86
L
6141 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
6142 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
6143 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
6144 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
6145 (VALIDX): Likewise.
6146 (ADDRIDX): Likewise.
9bac1d86 6147
b31606c0
PT
61482012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6149
6150 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
6151
11541177
JL
61522012-09-28 Dmitry V. Levin <ldv@altlinux.org>
6153
6154 [BZ #11438]
6155 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
6156 to global scope.
6157 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
6158 addresses are in the same scope as 192.0.2/24.
6159 * posix/gai.conf: Document new scope table defaults.
6160
adb26fae
SP
61612012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6162
6163 [BZ #5298]
6164 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
6165 for ftell. Compute offsets from write pointers instead.
6166 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6167
4573c6b0
SP
61682012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6169
6170 [BZ #14543]
6171 * libio/Makefile (tests): New test case tst-fseek.
6172 * libio/tst-fseek.c: New test case to verify that fseek/ftell
6173 combination works in wide mode.
6174 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
6175 state when the external buffer state changes.
6176
aa9bbfe6
DM
61772012-09-27 David S. Miller <davem@davemloft.net>
6178
6179 [BZ #14376]
6180 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
6181 pass reloc->r_addend in as the 'high' argument to
6182 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
6183
784421e7
DM
6184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6185
c39bc8b8
PT
61862012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6187
6188 * rt/tst-aio2.c: Include <pthread.h>.
6189 * rt/tst-aio3.c: Likewise.
6190
1ccc2399
SE
61912012-09-27 Steve Ellcey <sellcey@mips.com>
6192
6193 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
6194
31ed4153
L
61952012-09-27 H.J. Lu <hongjiu.lu@intel.com>
6196
25f5f885
L
6197 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
6198 contents on [SHARED].
31ed4153 6199
b7bfe116
MP
62002012-09-26 Marek Polacek <polacek@redhat.com>
6201
6202 [BZ #14530]
6203 [BZ #13741]
6204 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
6205 for C++ and GCC <4.3 as well as for non GCC compilers.
6206
43c4edba
MT
62072012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6208
6209 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6210
6a1bf82f
RM
62112012-09-25 Roland McGrath <roland@hack.frob.com>
6212
6213 * Makefile.in (all, install): Declare with .PHONY.
6214 Reported by Michael Hope <michael.hope@linaro.org>.
6215
8ad11b9a
TMQMF
62162012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6217
6218 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
6219 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
6220 system header.
6221 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
6222 Likewise.
6223 (sydep_routines): Add the new and the internal functions.
6224 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
6225 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
6226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
6227 (GLIBC_2.17): Add the new function.
6228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6229 (GLIBC_2.17): Likewise.
6230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6231 (GLIBC_2.17): Likewise.
6232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
6233 (GLIBC_2.17): Likewise.
6234 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
6235
7e2fca8d
AM
62362012-09-25 Alan Modra <amodra@gmail.com>
6237
6238 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
6239 Add release barrier before setting once_control to say
6240 initialisation is done. Add hints on lwarx. Use macro in
6241 place of isync.
6242 (clear_once_control): Add release barrier.
6243
b87c4b24
JM
62442012-09-25 Joseph Myers <joseph@codesourcery.com>
6245
d032e0d2
JM
6246 [BZ #13629]
6247 * math/s_clog.c (__clog): Handle more values close to |z| = 1
6248 specially.
6249 * math/s_clog10.c (__clog10): Likewise.
6250 * math/s_clog10f.c (__clog10f): Likewise.
6251 * math/s_clog10l.c (__clog10l): Likewise.
6252 * math/s_clogf.c (__clogf): Likewise.
6253 * math/s_clogl.c (__clogl): Likewise.
6254 * math/Makefile (libm-calls): Add x2y2m1.
6255 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
6256 (__x2y2m1): Likewise.
6257 (__x2y2m1l): Likewise.
6258 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
6259 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
6260 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6261 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6262 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6263 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6264 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
6265 * sysdeps/i386/fpu/libm-test-ulps: Update.
6266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6267
b87c4b24
JM
6268 [BZ #14621]
6269 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
6270 int as type of variable DEPTH.
6271 (glob): Use size_t instead of int as type of variables NEWCOUNT
6272 and OLD_PATHC.
6273
6d3bf199
LD
62742012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6275
22bf5c17
LD
6276 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6277 Add s_sincosf-sse2.
6278 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
6279 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
6280 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
6281 macros for using routine as __sincosf_ia32.
6282 Use macro for function declaration and weak_alias.
6283 * sysdeps/i386/fpu/libm-test-ulps: Update.
6284
6285 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
6286 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6287
6288 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
6289 subnormal argument.
6290 * math/s_cexpf.c (__cexpf): Likewise.
6291 * math/s_csinf.c (__csinf): Likewise.
6292 * math/s_csinhf.c (__csinhf): Likewise.
6293 * math/s_ctanf.c (__ctanf): Likewise.
6294 * math/s_ctanhf.c (__ctanhf): Likewise.
6295 * math/s_ccosh.c (__ccoshf): Likewise.
6296 * math/s_cexp.c (__cexpl): Likewise.
6297 * math/s_csin.c (__csin): Likewise.
6298 * math/s_csinh.c (__csinh): Likewise.
6299 * math/s_ctan.c (__ctan): Likewise.
6300 * math/s_ctanh.c (ctanh): Likewise.
6301 * math/s_ccoshl.c (__ccoshl): Likewise.
6302 * math/s_cexpl.c (__cexpl): Likewise.
6303 * math/s_csinl.c (__csinl): Likewise.
6304 * math/s_csinhl.c (__csinhl): Likewise.
6305 * math/s_ctanl.c (__ctanl): Likewise.
6306 * math/s_ctanhl.c (__ctanhl): Likewise.
6307
203e5603
JM
63082012-09-25 Joseph Myers <joseph@codesourcery.com>
6309
6310 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
6311 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
6312 (_IO_off_t): Define to __off_t, not _G_off_t.
6313 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
6314 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
6315 (_IO_wint_t): Define to wint_t, not _G_wint_t.
6316 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
6317 type of __dummy and __dummy2 fields.
6318 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
6319 (_G_ssize_t): Likewise.
6320 (_G_off_t): Likewise.
6321 (_G_pid_t): Likewise.
6322 (_G_uid_t): Likewise.
6323 (_G_wchar_t): Likewise.
6324 (_G_wint_t): Likewise.
6325 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
6326 (_G_ssize_t): Likewise.
6327 (_G_off_t): Likewise.
6328 (_G_pid_t): Likewise.
6329 (_G_uid_t): Likewise.
6330 (_G_wchar_t): Likewise.
6331 (_G_wint_t): Likewise.
6332 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
6333 (_G_ssize_t): Likewise.
6334 (_G_off_t): Likewise.
6335 (_G_pid_t): Likewise.
6336 (_G_uid_t): Likewise.
6337 (_G_wchar_t): Likewise.
6338 (_G_wint_t): Likewise.
6339
9fab36eb
SP
63402012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6341
6342 * malloc/arena.c: Include malloc-sysdep.h.
6343 (shrink_heap): Use check_may_shrink_heap to decide if madvise
6344 is sufficient to shrink the heap or an unmap is needed.
6345 * sysdeps/generic/malloc-sysdep.h: New file. Define
6346 new function check_may_shrink_heap.
6347 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
6348 new function check_may_shrink_heap.
6349
2b4f00d1
SP
63502012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6351
6352 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
6353 comments.
6354
9a9028b1
DL
63552012-09-24 Dmitry V. Levin <ldv@altlinux.org>
6356
57c69bef
DL
6357 * catgets/test-gencat.sh: Add "set -e".
6358 * elf/tst-pathopt.sh: Likewise.
6359 * grp/tst_fgetgrent.sh: Likewise.
6360 * iconvdata/run-iconv-test.sh: Likewise.
6361 * intl/tst-gettext.sh: Likewise.
6362 * intl/tst-gettext2.sh: Likewise.
6363 * intl/tst-gettext4.sh: Likewise.
6364 * intl/tst-gettext6.sh: Likewise.
6365 * intl/tst-translit.sh: Likewise.
6366 * io/ftwtest-sh: Likewise.
6367 * libio/test-freopen.sh: Likewise.
6368 * malloc/tst-mtrace.sh: Likewise.
6369 * posix/globtest.sh: Likewise.
6370 * posix/tst-getconf.sh: Likewise.
6371 * posix/wordexp-tst.sh: Likewise.
6372 * stdio-common/tst-printf.sh: Likewise.
6373 * stdio-common/tst-unbputc.sh: Likewise.
6374 * stdlib/tst-fmtmsg.sh: Likewise.
6375 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6376 * catgets/Makefile: Do not specify -e option when running
6377 testsuite shell scripts.
6378 * elf/Makefile: Likewise.
6379 * grp/Makefile: Likewise.
6380 * iconvdata/Makefile: Likewise.
6381 * intl/Makefile: Likewise.
6382 * io/Makefile: Likewise.
6383 * libio/Makefile: Likewise.
6384 * malloc/Makefile: Likewise.
6385 * posix/Makefile: Likewise.
6386 * stdio-common/Makefile: Likewise.
6387 * stdlib/Makefile: Likewise.
6388 * sysdeps/x86_64/Makefile: Likewise.
6389
9a9028b1
DL
6390 * io/ftwtest-sh: Add copyright header.
6391 * posix/globtest.sh: Likewise.
6392 * posix/tst-getconf.sh: Likewise.
6393 * posix/wordexp-tst.sh: Likewise.
6394 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6395
ced6f16e
L
63962012-09-24 H.J. Lu <hongjiu.lu@intel.com>
6397
94b32c39
L
6398 [BZ #13679]
6399 * Makeconfig (+link): Defined as $(+link-static) if
6400 $(build-shared) isn't yes.
6401 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
6402 isn't yes.
6403 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
6404
189e935b
L
6405 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
6406
ced6f16e
L
6407 [BZ #14562]
6408 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
6409 new chunk size with MALLOC_ALIGN_MASK.
6410
a9f8e53a
JM
64112012-09-24 Joseph Myers <joseph@codesourcery.com>
6412
6413 [BZ #5044]
6414 * stdio-common/printf_fphex.c: Include <stdbool.h> and
6415 <rounding-mode.h>.
6416 (__printf_fphex): Determine rounding using get_rounding_mode and
6417 round_away.
6418 * stdio-common/tst-printf-round.c (struct hex_test): New
6419 structure.
6420 (hex_tests): New variable.
6421 (test_hex_in_one_mode): New function.
6422 (do_test): Also run tests for hex float output.
6423
43153109
JM
64242012-09-21 Joseph Myers <joseph@codesourcery.com>
6425
6426 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6427 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6428 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
6429 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6430 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6431 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
6432 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6433 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6434
8a26625d
JM
64352012-09-20 Joseph Myers <joseph@codesourcery.com>
6436
6437 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
6438 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
6439 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
6440 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
6441
f3fd569c
DL
64422012-09-19 Dmitry V. Levin <ldv@altlinux.org>
6443
6444 [BZ #14579]
6445 * elf/rtld.c (dl_main): Limit the check for self loading to normal
6446 mode only.
6447 * elf/tst-rtld-load-self.sh: New test.
6448 * elf/Makefile: Run it.
6449
63bbedd4
JM
64502012-09-18 Joseph Myers <joseph@codesourcery.com>
6451
6452 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
6453 (tst-writev-ENV): Remove.
6454 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
6455
626f8b6a
CM
64562012-09-17 Chris Metcalf <cmetcalf@tilera.com>
6457
6458 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
6459
b7aaa4d6
JM
64602012-09-17 Joseph Myers <joseph@codesourcery.com>
6461
6462 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
6463 unconditional.
6464 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
6465 Likewise.
6466 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
6467 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
6468 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
6469 Likewise.
6470
65513990
L
64712012-09-14 H.J. Lu <hongjiu.lu@intel.com>
6472
6473 [BZ #14587]
6474 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
6475 * config.make.in (have-cpp-asm-debuginfo): Removed.
6476 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
6477 * configure: Regenerated.
6478
784761be
JM
64792012-09-14 Joseph Myers <joseph@codesourcery.com>
6480
6481 [BZ #5044]
6482 * stdio-common/printf_fp.c: Include <stdbool.h> and
6483 <rounding-mode.h>.
6484 (___printf_fp): Determine rounding using get_rounding_mode and
6485 round_away.
6486 * stdio-common/tst-printf-round.c: New file.
6487 * stdio-common/Makefile (tests): Add tst-printf-round.
6488 (link-libm): New variable.
6489 ($(objpfx)tst-printf-round): Depend in $(link-libm).
6490
9503345f
L
64912012-09-13 H.J. Lu <hongjiu.lu@intel.com>
6492
6493 [BZ #14576]
6494 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
6495 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
6496 Likewise.
6497 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
6498 Likewise.
6499
ad35fc00
JM
65002012-09-13 Joseph Myers <joseph@codesourcery.com>
6501
6502 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
6503 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6504 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6505 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6506
6c9b0f68
JM
65072012-09-12 Joseph Myers <joseph@codesourcery.com>
6508
6509 [BZ #14518]
6510 * include/rounding-mode.h: New file.
6511 * sysdeps/generic/get-rounding-mode.h: Likewise.
6512 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
6513 * stdlib/strtod_l.c: Include <rounding-mode.h>.
6514 (MAX_VALUE): New macro.
6515 (MIN_VALUE): Likewise.
6516 (overflow_value): New function.
6517 (underflow_value): Likewise.
6518 (round_and_return): Use overflow_value and underflow_value to
6519 determine return values in overflow and underflow cases. Use
6520 round_away to determine rounding depending on rounding mode.
6521 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
6522 determine return values in overflow and underflow cases.
6523 * stdlib/tst-strtod-round.c: Include <fenv.h>.
6524 (struct test_results): New structure.
6525 (struct test): Use struct test_results to store expected results
6526 for all rounding modes.
6527 (TEST): Include expected results for all rounding modes.
6528 (test_in_one_mode): New function.
6529 (do_test): Use test_in_one_mode to compute and check results.
6530 Check results for all rounding modes.
6531 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
6532 $(link-libm).
6533
19fcedd5
AM
65342012-12-09 Allan McRae <allan@archlinux.org>
6535
1e9d84cd 6536 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 6537
8bbfd2f1
JM
65382012-09-11 Joseph Myers <joseph@codesourcery.com>
6539
6540 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
6541 (_G_int32_t): Likewise.
6542 (_G_uint16_t): Likewise.
6543 (_G_uint32_t): Likewise.
6544 (_G_HAVE_BOOL): Likewise.
6545 (_G_HAVE_ATEXIT): Likewise.
6546 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6547 (_G_HAVE_IO_FILE_OPEN): Likewise.
6548 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
6549 (_G_int32_t): Likewise.
6550 (_G_uint16_t): Likewise.
6551 (_G_uint32_t): Likewise.
6552 (_G_HAVE_BOOL): Likewise.
6553 (_G_HAVE_ATEXIT): Likewise.
6554 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6555 (_G_HAVE_IO_FILE_OPEN): Likewise.
6556 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
6557 (_G_int32_t): Likewise.
6558 (_G_uint16_t): Likewise.
6559 (_G_uint32_t): Likewise.
6560 (_G_HAVE_BOOL): Likewise.
6561 (_G_HAVE_ATEXIT): Likewise.
6562 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6563 (_G_HAVE_IO_FILE_OPEN): Likewise.
6564
b1dc5912
L
65652012-09-11 H.J. Lu <hongjiu.lu@intel.com>
6566
6567 * csu/libc-tls.c: Update copyright years.
6568
0e886ef9
JM
65692012-09-10 Joseph Myers <joseph@codesourcery.com>
6570
28361c5e
JM
6571 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
6572 [!_G_USING_THUNKS]: Remove conditional code.
6573 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
6574 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
6575
0e886ef9
JM
6576 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
6577 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
6578 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6579 (_G_VTABLE_LABEL_PREFIX): Likewise.
6580 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6581 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6582 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6583 (_G_VTABLE_LABEL_PREFIX): Likewise.
6584 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6585 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6586 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6587 (_G_VTABLE_LABEL_PREFIX): Likewise.
6588 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6589
bcba7aa2
L
65902012-09-10 H.J. Lu <hongjiu.lu@intel.com>
6591
6592 * libio/Makefile: Include ../Makeconfig before tests.
6593 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
6594 only if $(build-shared) is yes.
6595
06585ee8
L
6596 * iconv/gconv_db.c: Update copyright years.
6597
80ccd52c
LD
65982012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6599
6600 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
6601 unwind info if defined PIC. Fix special cases description.
6602 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
6603
6604 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
6605 DP_HI_MASK entry.
6606 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
6607
691bc9c1
L
66082012-09-07 H.J. Lu <hongjiu.lu@intel.com>
6609
3d9b46b3
L
6610 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
6611
de2139a9
L
6612 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
6613 is NULL.
6614
5ca78dd0
L
6615 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
6616 (LDLIBS-tst-chk4): This.
6617 (LDFLAGS-tst-chk5): Renamed to ...
6618 (LDLIBS-tst-chk5): This.
6619 (LDFLAGS-tst-chk6): Renamed to ...
6620 (LDLIBS-tst-chk6): This.
6621 (LDFLAGS-tst-lfschk4): Renamed to ...
6622 (LDLIBS-tst-lfschk4): This.
6623 (LDFLAGS-tst-lfschk5): Renamed to ...
6624 (LDLIBS-tst-lfschk5): This.
6625 (LDFLAGS-tst-lfschk6): Renamed to ...
6626 (LDLIBS-tst-lfschk6): This.
6627
691bc9c1
L
6628 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
6629 on $(common-objpfx)soversions.mk.
6630
65cafb1c
JM
66312012-09-07 Joseph Myers <joseph@codesourcery.com>
6632
6633 [BZ #10014]
6634 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
6635 example host name.
6636
c78ab094
SP
66372012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6638
6639 * malloc/arena.c (arena_get_retry): New function that gets
6640 another arena for the caller to try its request on.
6641 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
6642 current arena cannot fulfill the request.
6643 (__libc_memalign): Likewise.
6644 (__libc_memalign): Likewise.
6645 (__libc_pvalloc): Likewise.
6646 (__libc_calloc): Likewise.
6647
01f49f59
JT
66482012-09-05 John Tobey <john.tobey@gmail.com>
6649
6650 [BZ #13542]
6651 * manual/arith.texi (Operations on Complex): Fix description
6652 of carg branch cut.
6653
4c23fed5
JM
66542012-09-06 Joseph Myers <joseph@codesourcery.com>
6655
1d3c8572
JM
6656 [BZ #10014]
6657 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
6658 host name.
6659
4c23fed5
JM
6660 [BZ #10038]
6661 * manual/memory.texi (Memory): Make order of menu items match
6662 order of sections.
6663
04570aaa
L
66642012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6665
6666 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
6667 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
6668 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
6669
b80af2f4
L
66702012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6671
6672 * csu/libc-tls.c (static_dtv): Renamed to ...
6673 (_dl_static_dtv): This. Make it global.
6674 (_dl_initial_dtv): Removed.
6675 (__libc_setup_tls): Updated.
6676 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
6677 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
6678 DL_INITIAL_DTV.
6679
2abe9f15
PM
66802012-09-06 Petr Machata <pmachata@redhat.com>
6681
6682 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
6683 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
6684 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
6685 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
6686
0948c3af
L
66872012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6688
6689 [BZ #14545]
6690 * csu/libc-tls.c (_dl_initial_dtv): New variable.
6691 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
6692 freeing dtv[-1].
6693
a5055ad1
L
66942012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6695
6696 [BZ #14544]
6697 * Makeconfig (link-static-before-libc): Replace $(+prector)
6698 with $(+prectorT).
6699 (link-static-after-libc): Replace $(+postctor) with
6700 $(+postctorT).
6701 (link-bounded): Replace $(+prector)/$(+postctor) with
6702 $(+prectorT)/$(+postctorT).
6703 (+prectorT): New macro.
6704 (+postctorT): Likewise.
6705
ed8c2ecd
JM
67062012-09-06 Joseph Myers <joseph@codesourcery.com>
6707
6708 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
6709 (round_str): Handle values above the maximum for IBM long double
6710 as inexact.
6711 * stdlib/tst-strtod-round.c (tests): Regenerated.
6712
14c996c8
AK
67132012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6714
6715 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
6716 assembler flag.
6717 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
6718 zarch_nohighgprs around the zarch optimized routines.
6719 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
6720 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
6721 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
6722 for zarch.
6723
430d6ce6
DM
67242012-09-05 David S. Miller <davem@davemloft.net>
6725
6726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6727
ff04dda4
DM
6728 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
6729 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
6730 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
6731 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6732 entries.
6733
24d4e01b
AO
67342012-09-05 Alexandre Oliva <aoliva@redhat.com>
6735
6736 * malloc/arena.c: Fold copyright years.
6737 * malloc/mcheck.c, malloc/memusage.c: Likewise.
6738
61d58174
AO
67392012-09-05 Alexandre Oliva <aoliva@redhat.com>
6740
6741 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
6742
20196a5e
AO
67432012-09-05 Alexandre Oliva <aoliva@redhat.com>
6744
6745 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
6746
5c447383
AO
67472012-09-05 Alexandre Oliva <aoliva@redhat.com>
6748
6749 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
6750 change internal state upon failure.
6751
fad64255
AO
67522012-09-05 Alexandre Oliva <aoliva@redhat.com>
6753
6754 * malloc/mcheck.c (mcheck_check_all): Fix typo.
6755 * malloc/memusage.c (mmap): Likewise.
6756 (mmap64, mremap): Likewise. Adjust name in comment.
6757
1ffb8c90
SP
67582012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6759
6760 * libio/fileops.c: Fix typos in comments.
6761 * libio/oldfileops.c: Likewise.
6762 * libio/wfileops.c: Likewise.
6763
6ef9cc37
SP
67642012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6765
6766 [BZ #1349]
6767 * malloc/Makefile (tests): Add tst-malloc-usable test case.
6768 (tst-malloc-usable-ENV): Set environment for test case.
6769 * malloc/hooks.c (malloc_check_get_size): New function to get
6770 requested size.
6771 * malloc/malloc.c (musable): Use malloc_check_get_size.
6772 * malloc/tst-malloc-usable.c: New test case.
6773
4d038ae3
AS
67742012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6775
6776 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
6777
c4e85184
AM
67782012-09-05 Allan McRae <allan@archlinux.org>
6779
b9dafc56 6780 [BZ #13966]
c4e85184
AM
6781 * configure.in (CXX_SYSINCLUDES): Use compiler output to
6782 determine header location.
6783 * configure: Regenerated.
6784
e1343020
AS
67852012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6786
6787 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
6788 float format.
6789 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
6790 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
6791 format.
e1343020
AS
6792 (test): Regenerate.
6793
0a9f1987
DM
67942012-09-04 David S. Miller <davem@davemloft.net>
6795
6796 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
6797 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
6798 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
6799
29237804
FW
68002012-09-04 Florian Weimer <fweimer@redhat.com>
6801
6802 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
6803 failures.
6804
edb3cb88
FW
6805 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
6806
60160d83
JM
68072012-09-04 Joseph Myers <joseph@codesourcery.com>
6808
6809 [BZ #9914]
6810 * libio/iogetdelim.c: Include <limits.h>.
6811 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
6812 + len + 1 would overflow.
6813
bcd6c8dc
AJ
68142012-09-03 Andreas Jaeger <aj@suse.de>
6815
6816 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6817 * sysdeps/i386/fpu/libm-test-ulps: Update.
6818
4ffffbd2
LD
68192012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6820
6821 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6822 Add s_sinf-sse2, s_conf-sse2.
6823
6824 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
6825 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
6826 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
6827 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
6828
6829 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
6830 for using routine as __sinf_ia32.
6831 Use macro for function declaration and weak_alias.
6832 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
6833 for using routine as __cosf_ia32.
6834 Use macro for function declaration and weak_alias.
6835
6836 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
6837 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
6838
6839 * sysdeps/x86_64/fpu/s_sinf.S: New file.
6840 * sysdeps/x86_64/fpu/s_cosf.S: New file.
6841 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6842
6843 * math/libm-test.inc (cos_test): Add more test cases.
6844 (sin_test): Likewise.
6845 (sincos_test): Likewise.
6846
511fa286
AK
68472012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6848
6849 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6850 (IFUNC_RESOLVE): Make pointers to the specialized implementations
6851 hidden.
6852 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6853
5f30cfec
L
68542012-09-02 H.J. Lu <hongjiu.lu@intel.com>
6855
6856 [BZ #14538]
6857 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
6858 first element of the GOT.
6859 (elf_machine_load_address): Return the difference between
6860 the runtime address of _DYNAMIC and elf_machine_dynamic ().
6861
0786794f
AM
68622012-09-01 Allan McRae <allan@archlinux.org>
6863
5f30cfec
L
6864 [BZ #13412]
6865 * configure.in (AWK): Require gawk version 3.0 or later.
6866 * configure: Regenerated.
0786794f 6867
26889eac
JM
68682012-09-01 Joseph Myers <joseph@codesourcery.com>
6869
6870 * sysdeps/unix/sysv/linux/kernel-features.h
6871 (__ASSUME_POSIX_CPU_TIMERS): Remove.
6872 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6873 [__NR_clock_getres]: Make code unconditional.
6874 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
6875 (clock_getcpuclockid): Remove code left unreachable by removal of
6876 conditionals.
6877 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
6878 code unconditional.
6879 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6880 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6881 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
6882 Make code unconditional.
6883 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6884 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6885 * sysdeps/unix/sysv/linux/clock_settime.c
6886 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
6887 conditional code.
6888 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
6889 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6890
d22e28b0
L
68912012-08-29 H.J. Lu <hongjiu.lu@intel.com>
6892
6893 [BZ #14476]
6894 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
6895 scripts/test-installation.pl.
6896
6897 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
6898 and $ld_so_version if it is set.
6899
050af9c4
SP
69002012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6901
6902 [BZ #14516]
6903 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
6904 failure if reading from procfs failed.
6905 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
6906
ad845c0b
JM
69072012-08-27 Joseph Myers <joseph@codesourcery.com>
6908
6909 * sysdeps/unix/sysv/linux/kernel-features.h
6910 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
6911 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6912 Remove conditional code.
6913 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6914 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
6915 Remove conditional code.
6916 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6917 * sysdeps/unix/sysv/linux/i386/fxstat.c
6918 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6919 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6920 * sysdeps/unix/sysv/linux/i386/fxstatat.c
6921 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6922 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6923 * sysdeps/unix/sysv/linux/i386/lxstat.c
6924 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6925 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6926 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
6927 Remove conditional code.
6928 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6929 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6930 Remove conditional code.
6931 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6932 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
6933 <kernel-features.h>.
6934 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
6935 Remove.
6936 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
6937 Remove conditional code.
6938 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6939 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
6940 Remove conditional.
6941
5dbf56af
MF
69422012-08-27 Mike Frysinger <vapier@gentoo.org>
6943
6944 [BZ #5400]
6945 * NEWS: Add fixed bug number.
6946
d6e70f43
JM
69472012-08-27 Joseph Myers <joseph@codesourcery.com>
6948
7efb4737
JM
6949 [BZ #14519]
6950 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
6951 underflowing exponent in case of negative sign.
6952 * stdlib/tst-strtod-round-data: Add more tests.
6953 * stdlib/tst-strtod-round.c (tests): Regenerated.
6954
af92131a
JM
6955 [BZ #3479]
6956 * stdlib/strtod_l.c (NDIG): Remove.
6957 (HEXNDIG): Likewise.
6958 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
6959 smallest representable value.
6960 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
6961 lie within an exact representation of 1/2 ulp of the result.
6962 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
6963 unconditionally.
6964 (TENS_P9_IDX): Define unconditionally.
6965 (TENS_P9_SIZE): Likewise.
6966 (TENS_P10_IDX): Likewise.
6967 (TENS_P10_SIZE): Likewise.
6968 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
6969 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
6970 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
6971 entries for 10^2^13 and 10^2^14.
6972 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
6973 (TENS_P13_IDX): Define.
6974 (TENS_P13_SIZE): Likewise.
6975 (TENS_P14_IDX): Likewise.
6976 (TENS_P14_SIZE): Likewise.
6977 (_fpioconst_pow10): Change array size to
6978 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
6979 unconditional.
6980 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
6981 1024]: Add entries for 10^2^13 and 10^2^14.
6982 [LAST_POW10 > _LAST_POW10]: Remove #error.
6983 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
6984 (_fpioconst_pow10): Change array size to
6985 FPIOCONST_POW10_ARRAY_SIZE.
6986 * stdlib/gen-fpioconst.c: New file.
6987 * stdlib/gen-tst-strtod-round.c: Likewise.
6988 * stdlib/tst-strtod-round-data: Likewise.
6989 * stdlib/tst-strtod-round.c: Likewise.
6990 * stdlib/Makefile (tests): Add tst-strtod-round.
6991
d6e70f43
JM
6992 [BZ #14459]
6993 * stdlib/strtod_l.c: Include <stdint.h>.
6994 (NDEBUG): Do not define.
6995 (round_and_return): Change EXPONENT parameter to type intmax_t.
6996 Rearrange calculations to avoid internal overflow possibilities.
6997 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
6998 Rearrange calculations to avoid internal overflow possibilities.
6999 Assert that number fits inside MPNSIZE limbs.
7000 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
7001 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
7002 calculations and add assertions to avoid internal overflow
7003 possibilities. Add casts to avoid signed/unsigned operations.
7004 * stdlib/tst-strtod-overflow.c: New file.
7005 * stdlib/Makefile (tests): Add tst-strtod-overflow.
7006
1f529f7d
MP
70072012-08-25 Marek Polacek <polacek@redhat.com>
7008
7009 * time/time.h: Fix some typos in comments.
7010
59a629f1
RM
70112012-08-23 Roland McGrath <roland@hack.frob.com>
7012
7013 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
7014 * posix/tst-rfc3484-2.c: Likewise.
7015 * posix/tst-rfc3484-3.c: Likewise.
7016
d3bafbc9
SM
70172012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
7018
7019 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
7020 (EF_ARM_ABI_FLOAT_HARD): Likewise.
7021
4efcc022
JM
70222012-08-23 Joseph Myers <joseph@codesourcery.com>
7023
7024 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
7025 #include of fxstatat64.c.
7026
3cc3ef96
RM
70272012-08-22 Roland McGrath <roland@hack.frob.com>
7028
f04e2132
RM
7029 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
7030 * shadow/getspent_r.c: Likewise.
7031 * shadow/getspnam.c: Likewise.
7032 * shadow/getspnam_r.c: Likewise.
7033 * gshadow/getsgent.c: Likewise.
7034 * gshadow/getsgent_r.c: Likewise.
7035 * gshadow/getsgnam.c: Likewise.
7036 * gshadow/getsgnam_r.c: Likewise.
7037 * inet/getnetbyad.c: Likewise.
7038 * inet/getnetbyad_r.c: Likewise.
7039 * inet/getnetbynm.c: Likewise.
7040 * inet/getnetbynm_r.c: Likewise.
7041 * inet/getnetent.c: Likewise.
7042 * inet/getnetent_r.c: Likewise.
7043 * inet/getproto.c: Likewise.
7044 * inet/getproto_r.c: Likewise.
7045 * inet/getprtent.c: Likewise.
7046 * inet/getprtent_r.c: Likewise.
7047 * inet/getprtname.c: Likewise.
7048 * inet/getprtname_r.c: Likewise.
7049 * inet/getrpcbyname.c: Likewise.
7050 * inet/getrpcbyname_r.c: Likewise.
7051 * inet/getrpcbynumber.c: Likewise.
7052 * inet/getrpcbynumber_r.c: Likewise.
7053 * inet/getrpcent.c: Likewise.
7054 * inet/getrpcent_r.c: Likewise.
7055 * inet/getaliasent.c: Likewise.
7056 * inet/getaliasent_r.c: Likewise.
7057 * inet/getaliasname.c: Likewise.
7058 * inet/getaliasname_r.c: Likewise.
7059 * nscd/getgrgid_r.c: Likewise.
7060 * nscd/getgrnam_r.c: Likewise.
7061 * nscd/gethstbyad_r.c: Likewise.
7062 * nscd/gethstbynm3_r.c: Likewise.
7063 * nscd/getpwnam_r.c: Likewise.
7064 * nscd/getpwuid_r.c: Likewise.
7065 * nscd/getsrvbynm_r.c: Likewise.
7066 * nscd/getsrvbypt_r.c: Likewise.
7067 * nscd/gai.c: Likewise.
7068
c53d909c
RM
7069 * configure.in (build_nscd): New substituted variable, set
7070 by --disable-build-nscd and defaults to $use_nscd.
7071 * configure: Regenerated.
7072 * config.make.in (build-nscd): New substituted variable.
7073 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
7074 Change conditional to require [$(build-nscd) = yes] as well.
7075 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
7076
3cc3ef96
RM
7077 [BZ# 13696]
7078 * configure.in (use_nscd): New substituted variable, set by
7079 --disable-nscd. If enabled, define USE_NSCD.
7080 * configure: Regenerated.
7081 * config.h.in: Add USE_NSCD.
7082 * config.make.in (use-nscd): New substituted variable.
7083 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
7084 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
7085 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
7086 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
7087 (CFLAGS-getgrnam_r.c): Likewise.
7088 (CFLAGS-initgroups.c): Likewise.
7089 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
7090 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
7091 Variables removed.
7092 * inet/getnetgrent_r.c
7093 (nscd_setnetgrent): New function, broken out of ...
7094 (setnetgrent): ... here. Call it.
7095 (innetgr): Conditionalize nscd bits on [USE_NSCD].
7096 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
7097 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
7098 * nscd/Makefile (routines, aux): Move definitions after include of
7099 Makeconfig. Conditionalize on [$(use-nscd) != no].
7100 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
7101 Conditionalize on [USE_NSCD].
7102 (is_nscd, nscd_init_cb): Likewise.
7103 (nss_load_library): Conditionalize init callback on [USE_NSCD].
7104 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
7105 * nss/nss_db/db-init.c: Likewise.
7106 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
7107 [USE_NSCD].
7108 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
7109 (make_request): Use it.
7110 (cache_valid_p): New function.
7111 (__check_pf): Use it.
7112 * NEWS: Add item for --disable-nscd.
7113
07e51550
DL
71142012-08-22 Dmitry V. Levin <ldv@altlinux.org>
7115
7116 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
7117 to support sed >= 4.2.1-20-ga9bf076.
7118 * configure: Regenerated.
7119
35a5b08b
RM
71202012-08-22 Roland McGrath <roland@hack.frob.com>
7121
7122 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
7123 Conditionalize whole body on [IREL].
7124
8479f23a
JL
71252012-08-22 Jeff Law <law@redhat.com>
7126
7127 [BZ #14505]
7128 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
7129 if the family is PF_UNSPEC.
7130
48da0b21
MF
71312012-08-22 Mike Frysinger <vapier@gentoo.org>
7132
7133 * Makerules (lib-version): Rename from V.
7134 (install-lib-nosubdir): Change V to lib-version.
7135
15d0da8c
WS
71362012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
7137
7138 [BZ #14252]
7139 * powerpc32/power6/wcschr.c: New file.
7140 * powerpc32/power6/wcscpy.c: New file.
7141 * powerpc32/power6/wcsrchr.c: New file.
7142 * powerpc64/power6/wcschr.c: New file.
7143 * powerpc64/power6/wcscpy.c: New file.
7144 * powerpc64/power6/wcsrchr.c: New file.
7145
bcca0895
MK
71462012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7147
7148 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
7149 (two_way_short_needle): Use it.
5a4aaa33
RM
7150 * string/strstr.c (AVAILABLE1_USES_J): Define.
7151 * string/strcasestr.c: Likewise.
99677e57
MK
7152
7153 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
7154 array references.
7155 * string/strcasestr.c (TOLOWER): Make side-effect safe.
7156
400726de
MK
7157 [BZ #11607]
7158 * NEWS: Add an entry.
7159 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
7160 define their defaults.
7161 (two_way_short_needle): Detect end-of-string on-the-fly.
7162 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
7163 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
7164 * string/bug-strcasestr1.c: New test.
7165 * string/Makefile: Run it.
7166
20a71f2c
MK
71672012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7168
7169 [BZ #11607]
7170 * string/str-two-way.h (two_way_short_needle): Optimize matching of
7171 the first character.
7172
21ad0558
RM
71732012-08-21 Roland McGrath <roland@hack.frob.com>
7174
7175 * csu/elf-init.c (__libc_csu_irel): Function removed.
7176 * csu/libc-start.c (apply_irel): New function.
7177 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
7178
0e1d9911
JM
71792012-08-21 Joseph Myers <joseph@codesourcery.com>
7180
7181 * sysdeps/unix/sysv/linux/kernel-features.h
7182 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
7183 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7184 <kernel-features.h>.
7185 [__NR_fadvise64_64]: Make code unconditional.
7186 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
7187 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7188 !__NR_fadvise64_64)]: Likewise.
7189 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7190 !__NR_fadvise64_64))]: Likewise.
7191 [__NR_fadvise64]: Make code unconditional.
7192 [!__NR_fadvise64]: Remove conditional code.
7193 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
7194 <kernel-features.h>.
7195 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7196 unconditional.
7197 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7198 conditional code.
7199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
7200 not include <kernel-features.h>.
7201 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7202 unconditional.
7203 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7204 conditional code.
7205 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
7206 include <kernel-features.h>.
7207 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7208 unconditional.
7209 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7210 conditional code.
7211
14a50c9d
WS
72122012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7213
7214 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
7215 slight instruction rearrangements per scrollpipe analysis.
7216 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7217
c0f4faf0
RM
72182012-08-20 Roland McGrath <roland@hack.frob.com>
7219
696da859
RM
7220 * manual/syslog.texi (syslog; vsyslog, closelog):
7221 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
7222 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
7223
c0f4faf0
RM
7224 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
7225 DSOCAPS to match condition on defining it.
7226
348363b2
JM
72272012-08-20 Joseph Myers <joseph@codesourcery.com>
7228
a35cbf28
JM
7229 * sysdeps/unix/sysv/linux/kernel-features.h
7230 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
7231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
7232 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7233 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
7235 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7236 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
7238 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7239 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7240
445f7ecd
JM
7241 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
7242 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
7243
348363b2
JM
7244 * sysdeps/unix/sysv/linux/kernel-features.h
7245 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
7246 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
7247 unconditional.
7248 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7249 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
7250 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7251 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7252 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
7253 Make code unconditional.
7254 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7255 (__mmap64) [!__NR_mmap2]: Likewise.
7256 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
7257 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7258 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7259 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
7260 [__NR_mmap2]: Make code unconditional.
7261 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7262 (__mmap64) [!__NR_mmap2]: Likewise.
7263
bc5bc0e5
AK
72642012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7265
7266 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
7267
88d506de
AJ
72682012-08-18 Andreas Jaeger <aj@suse.de>
7269
7270 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
7271
493387d2
MF
72722012-08-18 Mike Frysinger <vapier@gentoo.org>
7273
7274 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
7275 * include/unistd.h (__have_sock_cloexec): Likewise.
7276 (__have_pipe2): Likewise.
7277 (__have_dup3): Likewise.
7278
a277af22
MF
72792012-08-18 Mike Frysinger <vapier@gentoo.org>
7280
7281 [BZ #9685]
7282 * include/unistd.h (__have_pipe2): Change define into an extern int.
7283 (__have_dup3): Likewise.
7284 * socket/have_sock_cloexec.c: Include fcntl.h.
7285 (__have_pipe2): New variable.
7286 (__have_dup3): Likewise.
7287
fdab8fd3
MF
72882012-08-17 Mike Frysinger <vapier@gentoo.org>
7289
7290 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
7291
31035e80
MP
72922012-08-17 Marek Polacek <polacek@redhat.com>
7293
7294 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
7295 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
7296
3bd9e993
RM
72972012-08-17 Roland McGrath <roland@hack.frob.com>
7298
c91c505f
RM
7299 * configure.in: Add AC_SUBST for sysheaders.
7300 * configure: Regenerated.
7301 * config.make.in (sysheaders): New substituted variable.
7302
7c6f9d53
RM
7303 * sysdeps/unix/mkfifo.c: Moved ...
7304 * sysdeps/posix/mkfifo.c: ... here.
7305 * sysdeps/unix/mkfifoat.c: Moved ...
7306 * sysdeps/posix/mkfifoat.c: ... here.
7307
7308 * sysdeps/unix/utime.c: Moved ...
7309 * sysdeps/posix/utime.c: ... here.
7310
7311 * sysdeps/unix/time.c: Moved ...
7312 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
7313 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
7314 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
7315
7316 * sysdeps/unix/nice.c: Moved ...
7317 * sysdeps/posix/nice.c: ... here.
7318
7319 * sysdeps/unix/alarm.c: Moved ...
7320 * sysdeps/posix/alarm.c: ... here.
7321
3bd9e993
RM
7322 * intl/Makefile ($(codeset_mo)): Depend on the input file.
7323
d1f09384
JL
73242012-08-17 Jeff Law <law@redhat.com>
7325
7326 * intl/Makefile (codeset_mo): New variable.
7327 ($(codeset_mo)): New target.
7328 (tst-codeset.out): Depend on that. Remove explicit rule.
7329 (tst-gettext3.out, tst-gettext5.out): Likewise.
7330 (LOCPATH-ENV, tst-codeset-ENV): New variables.
7331 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
7332 * intl/tst-codeset.sh: Remove.
7333 * intl/tst-gettext3.sh: Likewise.
7334 * intl/tst-gettext5.sh: Likewise.
7335
2ae1ae5c
RM
73362012-08-17 Roland McGrath <roland@hack.frob.com>
7337
c31fdb83
RM
7338 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
7339 * sysdeps/unix/syscalls.list: ... here.
7340
a0844057
RM
7341 * sysdeps/posix/getaddrinfo.c
7342 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
7343 (gaiconf_init, gaiconf_reload): Use them.
7344 [!_STATBUF_ST_NSEC]
7345 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
7346 Define using time_t rather than struct timespec.
7347
750c1f2a
RM
7348 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
7349 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
7350 Macros removed.
7351 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
7352 [!NO_THREADS].
7353 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
7354 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
7355 Likewise.
7356
2ae1ae5c
RM
7357 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
7358 __libc_cleanup_push argument.
7359
e66a42f5
RM
7360 * bits/param.h: New file.
7361 * misc/sys/param.h: New file.
7362 * include/sys/param.h: New file.
7363 * misc/Makefile (headers): Add bits/param.h.
7364 * sysdeps/generic/sys/param.h: File removed.
7365 * sysdeps/unix/sysv/linux/bits/param.h: New file.
7366 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
7367 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 7368 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 7369
b7c08a66
RM
7370 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
7371 last change.
7372
b2e1c562
RM
7373 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
7374 [_IO_MTSAFE_IO].
7375 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
7376 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
7377 New macros.
7378
c75ccd4c
RM
7379 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
7380 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
7381 rather than -D_IO_MTSAFE_IO conditionally.
7382 * stdio-common/Makefile (CPPFLAGS): Likewise.
7383 * wcsmbs/Makefile (CPPFLAGS): Likewise.
7384 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
7385 Use $(libio-mtsafe).
7386 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
7387 of -D_IO_MTSAFE_IO.
7388 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
7389 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
7390 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
7391 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
7392 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
7393 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
7394 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
7395 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
7396 (CFLAGS-fread_u_chk.c): Likewise.
7397 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
7398 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
7399 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
7400 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
7401 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
7402 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
7403 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
7404 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
7405 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
7406
7407 * libio/Makefile: Test [$(libc-reentrant) = yes]
7408 instead of [$(filter %REENTRANT, $(defines)) nonempty].
7409
7410 * Makeconfig
7411 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
7412 * sysdeps/pthread/configure: File removed.
7413 * sysdeps/pthread/Makeconfig: New file.
7414 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
7415 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
7416
d9195db8
GB
74172012-08-16 Gary Benson <gbenson@redhat.com>
7418
7419 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
7420 unmapping the first object in a namespace.
7421
86466cd9
RM
74222012-08-16 Roland McGrath <roland@hack.frob.com>
7423
7424 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
7425 (__internal_setnetgrent): ... this. Add internal_function to
7426 definition. Add libc_hidden_def.
7427 (setnetgrent): Update caller.
7428 (internal_endnetgrent): Renamed to ...
7429 (__internal_endnetgrent): ... this. Add internal_function to
7430 definition. Add libc_hidden_def.
7431 (endnetgrent): Update caller.
7432 (internal_getnetgrent_r): Renamed to ...
7433 (__internal_getnetgrent_r): ... this. Add internal_function to
7434 definition. Add libc_hidden_def.
7435 (__getnetgrent_r): Update caller.
7436 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
7437
c3c8283c
JM
74382012-08-16 Joseph Myers <joseph@codesourcery.com>
7439
7440 * stdlib/longlong.h: Update from GCC.
7441
db1ee0a8
RM
74422012-08-16 Roland McGrath <roland@hack.frob.com>
7443
7444 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
7445 on _QL, which is set by umul_ppmm but never used.
7446 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
7447 variables, which are set by GMP macros but never used.
7448 * stdio-common/_itowa.c (_itowa): Likewise.
7449 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
7450 * stdlib/mod_1.c (mpn_mod_1): Likewise.
7451
30f69637
CD
74522012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
7453
7454 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
7455 struct La_sh_regs is not constant.
7456 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
7457 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
7458 and struct La_sparc64_regs are not constant.
7459
93a78ac4
JM
74602012-08-16 Joseph Myers <joseph@codesourcery.com>
7461
7462 * sysdeps/unix/sysv/linux/kernel-features.h
7463 (__ASSUME_POSIX_TIMERS): Remove.
7464 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7465 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7466 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
7467 Make code unconditional.
7468 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7469 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
7470 Make code unconditional.
7471 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7472 * sysdeps/unix/sysv/linux/clock_nanosleep.c
7473 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
7474 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7475 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
7476 Make code unconditional.
7477 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7478 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
7479 (__libc_missing_posix_timers): Remove.
7480
dd924cd7
RM
74812012-08-15 Roland McGrath <roland@hack.frob.com>
7482
4b4f2771
RM
7483 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
7484 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
7485
601c888b
RM
7486 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
7487
176790a7
RM
7488 * elf/dl-sym.c: Include <stdlib.h>.
7489
329bc018
RM
7490 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
7491 constants, which avoids warnings in 32-bit builds.
7492
e04e272d
RM
7493 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
7494 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
7495
952bf94a
RM
7496 * misc/lseek.c: File moved to ...
7497 * io/lseek.c: ... here.
7498
7c99b50a
RM
7499 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
7500
dd924cd7
RM
7501 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
7502 shifting LEN more than 31 bits at once.
7503
b3f479a8
LD
75042012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7505
7506 [BZ #14195]
8c4ae0d4
RM
7507 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
7508 segmentation fault for a case of two empty input strings.
b3f479a8
LD
7509 * string/test-strncasecmp.c (check1): Renamed to...
7510 (bz12205): ...this.
7511 (bz14195): Add new testcase for two empty input strings and N > 0.
7512 (test_main): Call new testcase, adapt for renamed function.
7513
9c55864e
AJ
75142012-08-15 Andreas Jaeger <aj@suse.de>
7515
7516 [BZ #14090]
7517 * crypt/md5test2.c: New test, based on test supplied by Serge
7518 Belyshev <belyshev@depni.sinp.msu.ru>.
7519 * crypt/Makefile (xtests): Add md5test-giant..
7520 * crypt/Makefile ($(objpfx)md5test-giant): Add.
7521
02dcb6c5
PE
75222012-08-15 Paul Eggert <eggert@cs.ucla.edu>
7523
7524 [BZ #14090]
7525 * crypt/md5.c (md5_process_block): Don't assume the buffer
7526 length is less than 2**32.
7527 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
7528 length is less than 2**64.
7529
a3f95dcc
RM
75302012-08-15 Roland McGrath <roland@hack.frob.com>
7531
be75d758
RM
7532 * string/str-two-way.h: Include <sys/param.h>.
7533 (MAX): Macro removed.
7534
7312ca90
RM
7535 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
7536 Move #define and #undef of memmove to just before and after
7537 including <string.h>.
7538
9a0a5486
RM
7539 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
7540 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
7541 and after including <string.h>. Move declarations of
7542 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
7543 to before #include "string/memmove.c".
7544
67cc348d
RM
7545 * include/dirent.h: Declare __getdirentries.
7546
a3f95dcc
RM
7547 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
7548 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
7549
ca98e171
MF
75502012-08-14 Mike Frysinger <vapier@gentoo.org>
7551
7552 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
7553 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
7554 * sysdeps/i386/configure: Regenerated.
7555 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
7556 STABS_CURRENT_FILE, and STABS_FUN.
7557 (END): Remove call to STABS_FUN_END.
7558 (STABS_CURRENT_FILE1): Delete.
7559 (STABS_CURRENT_FILE): Likewise.
7560 (STABS_FUN): Likewise.
7561 (STABS_FUN_END): Likewise.
7562 (STABS_FUN2): Likewise.
7563 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
7564 * sysdeps/x86_64/configure: Regenerated.
7565
5908bf46
RM
75662012-08-14 Roland McGrath <roland@hack.frob.com>
7567
7568 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 7569 * elf/dl-lookup.c: Likewise.
5908bf46 7570
f2c05b9e
JM
75712012-08-14 Joseph Myers <joseph@codesourcery.com>
7572
7573 * sysdeps/unix/sysv/linux/kernel-features.h
7574 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
7575 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
7576 unconditionally.
7577 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
7578 unconditionally.
7579 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
7580 condition on __ASSUME_CLONE_THREAD_FLAGS.
7581
e11f5155
AJ
75822012-08-14 Andreas Jaeger <aj@suse.de>
7583
7584 * sysdeps/i386/fpu/libm-test-ulps: Update.
7585
51a9ba86
MK
75862012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
7587
2fdd4f78
AJ
7588 * include/atomic.h (atomic_exchange_and_add): Split into ...
7589 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
7590 New atomic macros.
51a9ba86 7591
ba6cba9e
MT
75922012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
7593
7594 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7595
42443a47
JL
75962012-08-13 Jeff Law <law@redhat.com>
7597
7598 * manual/stdio.texi (snprintf): Clarify handling of the trailing
7599 null byte in the output string.
7600
121dce05
JM
76012012-08-10 Joseph Myers <joseph@codesourcery.com>
7602
7603 * sysdeps/unix/sysv/linux/kernel-features.h
7604 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
7605 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
7606 (__ASSUME_ARG_MAX_STACK_BASED): Define.
7607 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7608 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
7609 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
7610 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
7611
bf51f568
JL
76122012-08-09 Jeff Law <law@redhat.com>
7613
7614 [BZ #13939]
7615 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
7616 When avoid_arena is set, don't retry in the that arena. Pick the
7617 next one, whatever it might be.
7618 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
7619 (arena_lock): Pass in new parameter to arena_get2.
7620 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
7621 arena_get2.
7622 (__libc_malloc): Unify retrying after main arena failure with
7623 __libc_memalign version.
7624 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
7625
f85fa270
L
76262012-08-09 H.J. Lu <hongjiu.lu@intel.com>
7627
7628 [BZ #14166]
7629 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
7630 to __redirect_strstr.
7631 (__strstr_sse42): Use typeof __redirect_strstr.
7632 (__strstr_ia32): Likewise.
7633 (__libc_strstr): New prototype.
7634 (strstr): Renamed to ...
7635 (__libc_strstr): This.
7636 (strstr): New strong alias of __libc_strstr.
7637 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7638 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
7639 __redirect_time.
7640 Include <time.h>.
7641 (__libc_time): New prototype.
7642 (time_ifunc): Replace time with __libc_time.
7643 (time): New strong alias and hidden definition of __libc_time.
7644 (__GI_time): Remove strong alias.
7645 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
7646 Include <stddef.h>.
7647 (memmove): Redefined to __redirect_memmove.
7648 (__memmove_sse2): Use typeof __redirect_memmove.
7649 (__memmove_ssse3): Likewise.
7650 (__memmove_ssse3_back): Likewise.
7651 (__libc_memmove): New prototype.
7652 (memmove): Renamed to ...
7653 (__libc_memmove): This.
7654 (memmove): New strong alias of __libc_memmove.
7655
33b4a91e
MS
76562012-08-08 Mark Salter <msalter@redhat.com>
7657
7658 * elf/elf.h
7659 (R_MN10300_TLS_GD): Define.
7660 (R_MN10300_TLS_LD): Likewise.
7661 (R_MN10300_TLS_LDO): Likewise.
7662 (R_MN10300_TLS_GOTIE): Likewise.
7663 (R_MN10300_TLS_IE): Likewise.
7664 (R_MN10300_TLS_LE): Likewise.
7665 (R_MN10300_TLS_DTPMOD): Likewise.
7666 (R_MN10300_TLS_DTPOFF): Likewise.
7667 (R_MN10300_TLS_TPOFF): Likewise.
7668 (R_MN10300_SYM_DIFF): Likewise.
7669 (R_MN10300_ALIGN): Likewise.
7670 (R_MN10300_NUM): Update.
7671
b36137f1
JM
76722012-08-08 Joseph Myers <joseph@codesourcery.com>
7673
7674 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
7675 Remove.
7676
cdd915fd
RM
76772012-08-08 Roland McGrath <roland@hack.frob.com>
7678
a2433aac
RM
7679 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
7680
cdd915fd
RM
7681 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
7682 sysdeps/unix -> sysdeps/posix move.
7683 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7684
bf9b740a
AM
76852012-08-07 Allan McRae <allan@archlinux.org>
7686
7687 [BZ #14303]
7688 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
7689 (SUNOS_CPP): Likewise.
7690 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
7691 not found.
7692 (open_input): Call CPP using execvp.
7693
93df14ee
JM
76942012-08-07 Joseph Myers <joseph@codesourcery.com>
7695
7696 * sysdeps/unix/sysv/linux/kernel-features.h
7697 (__ASSUME_PROT_GROWSUPDOWN): Remove.
7698 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7699 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7700 (__ASSUME_WAITID_SYSCALL): Likewise.
7701 * sysdeps/unix/sysv/linux/dl-execstack.c
7702 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
7703 code unconditional.
7704 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
7705 conditional code.
7706 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
7707 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
7708 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
7709 code.
7710 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
7711 unconditional.
7712 [__ASSUME_WAITID_SYSCALL]: Likewise.
7713 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
7714
d34689de
RM
77152012-08-07 Roland McGrath <roland@hack.frob.com>
7716
a281decc
RM
7717 * sysdeps/unix/closedir.c: Renamed to ...
7718 * sysdeps/posix/closedir.c: ... here.
7719 * sysdeps/unix/dirfd.c: Renamed to ...
7720 * sysdeps/posix/dirfd.c: ... here.
7721 * sysdeps/unix/dirstream.h: Renamed to ...
7722 * sysdeps/posix/dirstream.h: ... here.
7723 * sysdeps/unix/fdopendir.c: Renamed to ...
7724 * sysdeps/posix/fdopendir.c: ... here.
7725 * sysdeps/unix/opendir.c: Renamed to ...
7726 * sysdeps/posix/opendir.c: ... here.
7727 * sysdeps/unix/readdir.c: Renamed to ...
7728 * sysdeps/posix/readdir.c: ... here.
7729 * sysdeps/unix/readdir_r.c: Renamed to ...
7730 * sysdeps/posix/readdir_r.c: ... here.
7731 * sysdeps/unix/rewinddir.c: Renamed to ...
7732 * sysdeps/posix/rewinddir.c: ... here.
7733 * sysdeps/unix/seekdir.c: Renamed to ...
7734 * sysdeps/posix/seekdir.c: ... here.
7735 * sysdeps/unix/telldir.c: Renamed to ...
7736 * sysdeps/posix/telldir.c: ... here.
7737 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
7738 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
7739 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
7740 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
7741
22895b47
RM
7742 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
7743 * bits/fcntl.h: ... here.
7744
707a53b6
RM
7745 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
7746 not 0.
7747 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
7748 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
7749 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
7750 (struct flock): Move l_start, l_len to the beginning.
7751 Use __pid_t for l_pid.
7752 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
7753 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
7754 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
7755 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
7756 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
7757 [__USE_LARGEFILE64] (struct flock64): New type.
7758 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
7759
f0bd3e25
RM
7760 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
7761 * bits/dirent.h: ... here.
7762
d34689de
RM
7763 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
7764 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
7765
6dad2c06
JM
77662012-08-07 Joseph Myers <joseph@codesourcery.com>
7767
7768 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7769 Change from 2.6.0 to 2.6.16.
7770 * sysdeps/unix/sysv/linux/configure: Regenerated.
7771 * sysdeps/unix/sysv/linux/kernel-features.h
7772 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
7773 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
7774 version.
7775 (__ASSUME_UTIMES): Likewise.
7776 (__ASSUME_CLONE_STOPPED): Remove.
7777 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
7778 architectures, not kernel version.
7779 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
7780 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7781 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7782 (__ASSUME_WAITID_SYSCALL): Likewise.
7783 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
7784 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
7785 * README: State 2.6.16 as minimum Linux kernel version. Do not
7786 refer to older versions.
7787
03af9520
RM
77882012-08-06 Roland McGrath <roland@hack.frob.com>
7789
8e49df1d
RM
7790 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
7791 Define alphasort64 as an alias.
7792 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
7793 Define versionsort64 as an alias.
7794 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
7795 Define scandir64 as an alias.
7796 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
7797 Define scandirat64 as an alias.
7798 * dirent/alphasort64.c (alphasort64):
7799 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
7800 * dirent/versionsort64.c: Likewise.
7801 * dirent/scandir64.c: Likewise.
7802 * dirent/scandirat64.c: Likewise.
7803 * sysdeps/wordsize-64/alphasort.c: File removed.
7804 * sysdeps/wordsize-64/alphasort64.c: File removed.
7805 * sysdeps/wordsize-64/scandir.c: File removed.
7806 * sysdeps/wordsize-64/scandir64.c: File removed.
7807 * sysdeps/wordsize-64/scandirat.c: File removed.
7808 * sysdeps/wordsize-64/scandirat64.c: File removed.
7809 * sysdeps/wordsize-64/versionsort.c: File removed.
7810 * sysdeps/wordsize-64/versionsort64.c: File removed.
7811 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
7812 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
7813 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
7814 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
7815 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
7816 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
7817 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
7818 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
7819
7820 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
7821 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7822 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
7823 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7824 [defined __arch64__ || defined __sparcv9]
7825 (__INO_T_MATCHES_INO64_T): New macro.
7826 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7827 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
7828 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
7829 * sysdeps/unix/sysv/linux/bits/dirent.h
7830 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
7831 (_DIRENT_MATCHES_DIRENT64): New macro.
7832
03af9520
RM
7833 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
7834 Define lockf64 as an alias.
7835 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
7836 Define fseeko64 as an alias.
7837 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
7838 Define ftello64 as an alias.
7839 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
7840 Define _IO_fgetpos64 and fgetpos64 as aliases.
7841 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
7842 Define _IO_fsetpos64 and fsetpos64 as aliases.
7843 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
7844 Conditionalize body on this.
7845 * libio/fseeko64.c: Likewise.
7846 * libio/ftello64.c: Likewise.
7847 * libio/iofgetpos64.c: Likewise.
7848 * libio/iofsetpos64.c: Likewise.
7849 * sysdeps/wordsize-64/lockf.c: File removed.
7850 * sysdeps/wordsize-64/lockf64.c: File removed.
7851 * sysdeps/wordsize-64/fseeko.c: File removed.
7852 * sysdeps/wordsize-64/fseeko64.c: File removed.
7853 * sysdeps/wordsize-64/ftello.c: File removed.
7854 * sysdeps/wordsize-64/ftello64.c: File removed.
7855 * sysdeps/wordsize-64/iofgetpos.c: File removed.
7856 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
7857 * sysdeps/wordsize-64/iofsetpos.c: File removed.
7858 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
7859 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
7860 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
7861 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
7862 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
7863 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
7864 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
7865 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
7866 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
7867 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
7868 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
7869
7870 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7871 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7872 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
7873 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7874 [defined __arch64__ || defined __sparcv9]
7875 (__OFF_T_MATCHES_OFF64_T): New macro.
7876 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7877 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7878 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7879 (__OFF_T_MATCHES_OFF64_T): New macro.
7880
c5757acd
L
78812012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7882
7883 * stdlib/secure-getenv.c (__secure_getenv): Replace
7884 GLIBC_2_16 with GLIBC_2_17.
7885
3a31811e
L
78862012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7887
7888 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
7889 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7890
faa2bccb
DM
78912012-08-03 David S. Miller <davem@davemloft.net>
7892
7893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7894
85fe1997
JM
78952012-08-03 Joseph Myers <joseph@codesourcery.com>
7896
7897 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
7898 Remove.
7899 (__ASSUME_CORRECT_SI_PID): Likewise.
7900 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
7901 (__ASSUME_TMPFS_NAME): Likewise.
7902 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
7903 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
7904 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
7905 (HAVE_AUX_SECURE): Make definition unconditional.
7906 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
7907 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
7908
4f75b7a0
RM
79092012-08-03 Roland McGrath <roland@hack.frob.com>
7910
7911 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
7912 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
7913 * sysdeps/mach/hurd/eloop-threshold.h: New file.
7914 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7915 __eloop_threshold instead of SYMLOOP_MAX.
7916
7917 * sysdeps/generic/eloop-threshold.h: New file.
7918 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
7919 of MAXSYMLINKS.
7920 * elf/chroot_canon.c (chroot_canon): Likewise.
7921
7aab07e4
JM
79222012-08-03 Joseph Myers <joseph@codesourcery.com>
7923
7924 [BZ #13717]
7925 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7926 Change to 2.6.0 everywhere.
7927 * sysdeps/unix/sysv/linux/configure: Regenerated.
7928 * sysdeps/unix/sysv/linux/kernel-features.h
7929 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
7930 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
7931 kernel versions.
7932 (__ASSUME_POSIX_TIMERS): Define unconditionally.
7933 (__ASSUME_FUTEX_REQUEUE): Remove.
7934 (__ASSUME_STATFS64): Define unconditionally.
7935 (__ASSUME_AT_SECURE): Likewise.
7936 (__ASSUME_CORRECT_SI_PID): Likewise.
7937 (__ASSUME_TGKILL): Define without depending on kernel version for
7938 i386.
7939 (__ASSUME_UTIMES): Likewise.
7940 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
7941 kernel version.
7942 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
7943 (__ASSUME_TMPFS_NAME): Likewise.
7944 * README: Update reference to Linux kernel versions.
7945
b67e9372
MP
79462012-08-02 Marek Polacek <polacek@redhat.com>
7947
1f529f7d 7948 [BZ# 14150]
b67e9372
MP
7949 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
7950 libc_cv_asm_type_prefix with %.
7951 * configure: Regenerated.
d2441631
RM
7952 * include/libc-symbols.h: Remove comment about
7953 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
7954 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
7955 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
7956 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
7957 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
7958 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7959 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
7960 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
7961 * elf/tst-unique2mod1.c: Likewise.
7962 * elf/tst-unique1mod2.c: Likewise.
7963 * elf/tst-unique1mod1.c: Likewise.
7964 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
7965 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
7966 Replace ASM_TYPE_DIRECTIVE with .type.
7967 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7968 * sysdeps/i386/sysdep.h: Likewise.
7969 * sysdeps/x86_64/sysdep.h: Likewise.
7970 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
7971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7972 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 7973 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
7974 * sysdeps/powerpc/powerpc32/sysdep.h:
7975 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
7976 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7977 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7978 * sysdeps/i386/fpu/e_powf.S: Likewise.
7979 * sysdeps/i386/fpu/e_expl.S: Likewise.
7980 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7981 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7982 * sysdeps/i386/fpu/e_pow.S: Likewise.
7983 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7984 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7985 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7986 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7987 * sysdeps/i386/fpu/e_log2.S: Likewise.
7988 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7989 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7990 * sysdeps/i386/fpu/e_powl.S: Likewise.
7991 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7992 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7993 * sysdeps/i386/fpu/e_logl.S: Likewise.
7994 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7995 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7996 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7997 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7998 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7999 * sysdeps/i386/fpu/e_log.S: Likewise.
8000 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8001 * sysdeps/i386/fpu/e_logf.S: Likewise.
8002 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8003 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8004 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8005 * sysdeps/i386/fpu/e_log10.S: Likewise.
8006 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8007 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8008 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8009 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8010 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8011 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
8012 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8013 * sysdeps/i386/i686/strtok.S: Likewise.
8014 * sysdeps/i386/i386-mcount.S: Likewise.
8015 * sysdeps/i386/strtok.S: Likewise.
8016 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
8017 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8018 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8019 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8020 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8021 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8022 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8023 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8024 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8025 * sysdeps/x86_64/_mcount.S: Likewise.
8026 * sysdeps/x86_64/strtok.S: Likewise.
8027 * sysdeps/sh/_mcount.S: Likewise.
8028
2747bf9a
RM
80292012-08-01 Roland McGrath <roland@hack.frob.com>
8030
8031 * libio/iofopen.c: Include <fcntl.h>.
8032 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
8033 (_IO_fopen64, fopen64): Define as aliases.
8034 * libio/iofopen64.c: Include <fcntl.h>.
8035 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
8036 Conditionalize body on this.
8037 * sysdeps/wordsize-64/iofopen.c: File removed.
8038 * sysdeps/wordsize-64/iofopen64.c: File removed.
8039
3fb791b8
MP
80402012-08-01 Marek Polacek <polacek@redhat.com>
8041
8042 * libc/Makeconfig: Use elf in place of binfmt-subdir.
8043 Use dlfcn directly instead of a variable.
8044 (binfmt-subdir): Do not define.
8045 (dlfcn): Likewise.
8046
a9f1039f
JM
80472012-08-01 Joseph Myers <joseph@codesourcery.com>
8048
23bddc06
JM
8049 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
8050 Remove all definitions.
8051 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
8052 <kernel-features.h>.
8053 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8054 (miss_F_GETOWN_EX): Remove all definitions.
8055 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
8056 macro definition.
8057 [!__ASSUME_FCNTL64]: Remove conditional code.
8058 [__ASSUME_FCNTL64]: Make code unconditional.
8059 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
8060 <kernel-features.h>.
8061 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8062 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
8063 (lockf64) [__NR_fcntl64]: Make code unconditional.
8064 (lockf64) [__ASSUME_FCNTL64]: Likewise.
8065
a9f1039f
JM
8066 * sysdeps/unix/sysv/linux/kernel-features.h
8067 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
8068 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
8069 Make code unconditional.
8070 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8071 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
8073 [__NR_vfork]: Make code unconditional.
8074 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8075 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
8077 [__NR_vfork]: Make code unconditional.
8078 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8079 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8080
09c0ee5f
RM
80812012-08-01 Roland McGrath <roland@hack.frob.com>
8082
48aec5b9
RM
8083 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
8084 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
8085
cd97c966
RM
8086 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8087 Define mkstemp64 as an alias.
3f55550c
RM
8088 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8089 Define mkstemps64 as an alias.
cd97c966
RM
8090 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8091 Define mkostemp64 as an alias.
b8625cfc
RM
8092 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8093 Define mkostemps64 as an alias.
cd97c966
RM
8094 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
8095 Conditionalize body on this.
8096 * misc/mkostemp64.c: Likewise.
b8625cfc 8097 * misc/mkostemps64.c: Likewise.
3f55550c 8098 * misc/mkstemps64.c: Likewise.
cd97c966
RM
8099 * sysdeps/wordsize-64/mkstemp64.c: File removed.
8100 * sysdeps/wordsize-64/mkostemp64.c: File removed.
8101 * sysdeps/wordsize-64/mkostemp.c: File removed.
8102 * sysdeps/wordsize-64/mkstemp.c: File removed.
8103 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
8104 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
8105 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
8106 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
8107
09c0ee5f
RM
8108 [BZ #14138]
8109 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
8110 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
8111 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
8112 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
8113
8114 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
8115 compat_symbol macros from <shlib-compat.h> rather than the underlying
8116 default_symbol_version and symbol_version macros, so that DEFAULT
8117 lines in shlib-versions are respected.
8118 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
8119
7e66ee51
FW
81202012-08-01 Florian Weimer <fweimer@redhat.com>
8121
8122 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
8123 Declare with warn_unused_result.
8124 (setgid, setregid, setegid, setresgid): Likewise.
8125 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
8126 Likewise.
8127 * WUR-REPORT: Remove set*id functions.
8128
d2a54255
PT
81292012-07-31 Pino Toscano <toscano.pino@tiscali.it>
8130
8131 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
8132
7ecdb005
RM
81332012-07-31 Roland McGrath <roland@hack.frob.com>
8134
789bd351
RM
8135 * include/sys/socket.h (__libc_accept, __libc_accept4):
8136 Add attribute_hidden.
8137 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
8138
40ce302d
RM
8139 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
8140 use of PTR_MANGLE.
8141 * inet/getnetgrent_r.c (setup): Likewise.
8142
7ecdb005
RM
8143 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
8144
e2eabb2c
DM
81452012-07-31 David S. Miller <davem@davemloft.net>
8146
8147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8148
d0419dbf
JM
81492012-07-31 Joseph Myers <joseph@codesourcery.com>
8150
8151 [BZ #13629]
8152 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
8153 value between 1.0 and 2.0 and smaller part has absolute value less
8154 than 1.0.
8155 * math/s_clog10.c (__clog10): Likewise.
8156 * math/s_clog10f.c (__clog10f): Likewise.
8157 * math/s_clog10l.c (__clog10l): Likewise.
8158 * math/s_clogf.c (__clogf): Likewise.
8159 * math/s_clogl.c (__clogl): Likewise.
8160 * math/libm-test.inc (clog_test): Add more tests.
8161 (clog10_test): Likewise.
8162 * sysdeps/i386/fpu/libm-test-ulps: Update.
8163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8164
2bc13872
FW
81652012-07-31 Florian Weimer <fweimer@redhat.com>
8166
8167 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
8168 Exit with zero in case no suitable GID is found, and write a
8169 message to standard error.
8170
bea9b193
RM
81712012-07-30 Roland McGrath <roland@hack.frob.com>
8172
8173 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
8174 rather than to 1.
8175 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
8176 (MAXPATHLEN): Removed.
8177 (NOGROUP, NODEV): New macros.
8178 (setbit, clrbit, isset, isclr): New macros.
8179 (howmany, roundup, powerof2): New macros.
8180 (DEV_BSIZE): New macro.
8181
8182 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
8183 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
8184
8185 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
8186 definition on [!__NO_LONG_DOUBLE_MATH].
8187
8188 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
8189 PTR_MANGLE and PTR_DEMANGLE.
8190
8191 * socket/accept4.c (accept4): Rename to __libc_accept4.
8192 Define accept4 as a weak alias.
8193
8194 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
8195 on [_DIRENT_HAVE_D_TYPE].
8196 * io/ftw.c (ftw_dir): Likewise.
8197
8198 * io/xmknod.c (__xmknod): Don't check PATH for being null.
8199
8200 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
8201
8202 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
8203 Use the BSD numbers rather than the arbitrary ones we had.
8204 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
8205 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
8206 (SIGXCPU, SIGXFSZ): New macros.
8207 (_NSIG): Now 32.
8208
8209 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
8210 initializer on [_LIBC_REENTRANT].
8211
8212 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
8213 definitions inside [_POSIX_MAPPED_FILES].
8214
8215 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
8216
8217 * dirent/opendir.c: Include <fcntl.h>.
8218
8219 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
8220 (__libc_getspecific): Likewise.
8221 (__libc_key_create): Likewise.
8222
8223 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
8224 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
8225 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
8226 (tmpfile64): Define as alias.
8227 * sysdeps/wordsize-64/tmpfile.c: File removed.
8228 * sysdeps/wordsize-64/tmpfile64.c: File removed.
8229 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
8230 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
8231
8232 * stdio-common/vfscanf.c: Include <stdbool.h>.
8233 * nss/makedb.c: Likewise.
8234 * stdio-common/_i18n_number.h: Likewise.
8235 * argp/argp-help.c: Likewise.
8236 * posix/wordexp.c: Likewise.
8237 * sysdeps/posix/spawni.c: Likewise.
8238 * nss/nss_files/files-initgroups.c: Likewise.
8239 * stdio-common/reg-modifier.c: Include <stdlib.h>.
8240 * nss/nss_files/files-initgroups.c: Likewise.
8241 * nss/nss_db/db-netgrp.c: Likewise.
8242 * nss/nss_db/db-initgroups.c: Likewise.
8243 * io/fchmodat.c: Include <sys/stat.h>.
8244
8245 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
8246 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
8247
8248 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
8249 [HAVE_MMAP].
8250
8251 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
8252 Add multiple inclusion protection.
8253
e5abc686
DM
82542012-07-27 David S. Miller <davem@davemloft.net>
8255
8256 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8257
815e6fa3
GB
82582012-07-27 Gary Benson <gbenson@redhat.com>
8259
8260 [BZ #14298]
8261 * elf/rtld.c: Include <stap-probe.h>.
8262 (dl_main): Added static probes "init_start" and "init_complete".
8263 * elf/dl-load.c: Include <stap-probe.h>.
8264 (lose): Take new parameter "nsid".
8265 Added static probe "map_failed".
8266 (_dl_map_object_from_fd): Pass namespace id to lose.
8267 Added static probe "map_start".
8268 (open_verify): Pass namespace id to lose.
8269 * elf/dl-open.c: Include <stap-probe.h>.
8270 (dl_open_worker) Added static probes "map_complete", "reloc_start"
8271 and "reloc_complete".
8272 * elf/dl-close.c: Include <stap-probe.h>.
8273 (_dl_close_worker): Added static probes "unmap_start" and
8274 "unmap_complete".
8275 * elf/rtld-debugger-interface.txt: New file documenting the above.
8276
9f98c16c
RM
82772012-07-26 Roland McGrath <roland@hack.frob.com>
8278
8279 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
8280 rather than a string variable.
8281 * sunrpc/rpc_main.c (h_output): Likewise.
8282 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
8283
f3c22df3
PT
82842012-07-26 Pino Toscano <toscano.pino@tiscali.it>
8285
8286 * inet/check_native.c: New file.
8287
3129cfc6
JM
82882012-07-26 Joseph Myers <joseph@codesourcery.com>
8289
da865e95
JM
8290 [BZ #13629]
8291 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
8292 if larger part has absolute value 1.0.
8293 * math/s_clog10.c (__clog10): Likewise.
8294 * math/s_clog10f.c (__clog10f): Likewise.
8295 * math/s_clog10l.c (__clog10l): Likewise.
8296 * math/s_clogf.c (__clogf): Likewise.
8297 * math/s_clogl.c (__clogl): Likewise.
8298 * math/libm-test.inc (clog_test): Add more tests.
8299 (clog10_test): Likewise.
8300 * sysdeps/i386/fpu/libm-test-ulps: Update.
8301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8302
3129cfc6
JM
8303 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
8304 (pltexit): Likewise.
8305 (La_regs): Likewise.
8306 (La_retval): Likewise.
8307 (int_retval): Likewise.
8308 Update #error for removed macros to refer only to definitions in
8309 tst-audit.h.
8310 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
8311 macro.
8312 (pltexit): Likewise.
8313 (La_regs): Likewise.
8314 (La_retval): Likewise.
8315 (int_retval): Likewise.
8316 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
8317 macro.
8318 (pltexit): Likewise.
8319 (La_regs): Likewise.
8320 (La_retval): Likewise.
8321 (int_retval): Likewise.
8322 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
8323 macro.
8324 (pltexit): Likewise.
8325 (La_regs): Likewise.
8326 (La_retval): Likewise.
8327 (int_retval): Likewise.
8328 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
8329 macro.
8330 (pltexit): Likewise.
8331 (La_regs): Likewise.
8332 (La_retval): Likewise.
8333 (int_retval): Likewise.
8334 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
8335 macro.
8336 (pltexit): Likewise.
8337 (La_regs): Likewise.
8338 (La_retval): Likewise.
8339 (int_retval): Likewise.
8340 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
8341 macro.
8342 (pltexit): Likewise.
8343 (La_regs): Likewise.
8344 (La_retval): Likewise.
8345 (int_retval): Likewise.
8346 * sysdeps/generic/tst-audit.h: Update comment to refer only to
8347 macro definitions in tst-audit.h.
8348 * sysdeps/i386/tst-audit.h: New file.
8349 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
8350 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
8351 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
8352 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
8353 * sysdeps/sh/tst-audit.h: Likewise.
8354 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
8355 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
8356 * sysdeps/x86_64/tst-audit.h: Likewise.
8357
bfc07087
AJ
83582012-07-26 Andreas Jaeger <aj@suse.de>
8359
b1b2aaf8
AJ
8360 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
8361 ptrace.
8362
8363 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
8364 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
8365 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
8366 PTRACE_O_MASK.
8367 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
8368 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
8369 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
8370
bfc07087
AJ
8371 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
8372 value.
8373
8374 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
8375 _sigsys.
8376 (si_call_addr, si_syscall, si_arch): Define new macro.
8377 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
8378 _sigsys.
8379 (si_call_addr, si_syscall, si_arch): Define new marcro.
8380 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
8381 _sigsys.
8382 (si_call_addr, si_syscall, si_arch): Define new macro.
8383 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
8384 _sigsys.
8385 (si_call_addr, si_syscall, si_arch): Define new macro.
8386
89b4b02f
JM
83872012-07-25 Joseph Myers <joseph@codesourcery.com>
8388
8389 [BZ #13717]
8390 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8391 Change to 2.4.21 where previously 2.4.1.
8392 * sysdeps/unix/sysv/linux/configure: Regenerated.
8393 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
8394 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
8395 Linux kernel version.
8396 (__ASSUME_STD_AUXV): Remove.
8397 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
8398 kernel version.
8399 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
8400 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
8401 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
8402 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
8403 (__ASSUME_NETLINK_SUPPORT): Likewise.
8404 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
8405 (__no_netlink_support): Remove conditional definition.
8406 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
8407 Remove.
8408 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8409 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
8410 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
8411 (if_nameindex_ioctl): Remove.
8412 (if_nameindex_netlink): Do not handle __no_netlink_support.
8413 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8414 code.
8415 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
8416 Remove conditional code.
8417 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8418 code.
8419 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
8420 unconditional.
8421 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8422 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
8423 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
8424 Remove.
8425 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
8426 [!__ASSUME_STD_AUXV]: Remove conditional code.
8427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
8428 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
8429 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
8430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
8431 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
8432 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8433 code.
8434 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8436 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
8437 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8438 conditional code.
8439 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8441 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8442 code.
8443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8444 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8445 conditional code.
8446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
8447 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8448 code unconditional.
8449 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8450 conditional code.
8451 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8452 unconditional.
8453 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8454 conditional code.
8455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8456 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8457 unconditional.
8458 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8459 conditional code.
8460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8461 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8462 code unconditional.
8463 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8464 conditional code.
8465 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8466 unconditional.
8467 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8468 conditional code.
8469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8470 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8471 code unconditional.
8472 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8473 conditional code.
8474 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8475 unconditional.
8476 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8477 conditional code.
8478
842a39cd
AS
84792012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8480
8481 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
8482 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
8483 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8484 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
8485 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
8486 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8487 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8488 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8489 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
8490 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8491 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
8492 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8493 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
8494 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8495 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8496 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
8497 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
8498 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
8499 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
8500 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
8501 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
8502 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8503 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8504
84b3fd84
FW
85052012-07-25 Florian Weimer <fweimer@redhat.com>
8506
8507 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
8508 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
8509 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
8510 Introduce __libc_secure_getenv.
0c7936d5
FW
8511 * stdlib/Versions (2.17): Add secure_getenv
8512 (GLIBC_PRIVATE): Add __libc_secure_getenv.
8513 * stdlib/secure-getenv.c: Rename __secure_getenv to
8514 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
8515 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
8516 * stdlib/tst-secure-getenv.c: New.
8517 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
8518 * manual/startup.texi (Environment Access): Document
8519 secure_getenv.
84b3fd84
FW
8520 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
8521 __libc_secure_getenv.
8522 * inet/ruserpass.c (ruserpass): Likewise.
8523 * malloc/mtrace.c (mtrace): Likewise.
8524 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 8525 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
8526 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
8527 * sysdeps/posix/tempname.c: Likewise. Evaluate
8528 HAVE_SECURE_GETENV.
8529 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 8530 __secure_getenv to __libc_secure_getenv.
84b3fd84 8531 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
8532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8533 Likewise.
8534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8535 Likewise.
8536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8538 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8539 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8540 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8541 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8542 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 8543
56e49b71
JM
85442012-07-25 Joseph Myers <joseph@codesourcery.com>
8545
8546 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
8547 (struct La_i86_retval): Likewise.
8548 (struct La_x86_64_regs): Likewise.
8549 (struct La_x86_64_retval): Likewise.
8550 (struct La_x32_regs): Likewise.
8551 (struct La_x32_retval): Likewise.
8552 (struct La_ppc32_regs): Likewise.
8553 (struct La_ppc32_retval): Likewise.
8554 (struct La_ppc64_regs): Likewise.
8555 (struct La_ppc64_retval): Likewise.
8556 (struct La_sh_regs): Likewise.
8557 (struct La_sh_retval): Likewise.
8558 (struct La_s390_32_regs): Likewise.
8559 (struct La_s390_32_retval): Likewise.
8560 (struct La_s390_64_regs): Likewise.
8561 (struct La_s390_64_retval): Likewise.
8562 (struct La_sparc32_regs): Likewise.
8563 (struct La_sparc32_retval): Likewise.
8564 (struct La_sparc64_regs): Likewise.
8565 (struct La_sparc64_retval): Likewise.
8566 (struct audit_ifaces): Remove architecture-specific pltenter and
8567 pltexit members.
8568 * sysdeps/i386/ldsodefs.h: New file.
8569 * sysdeps/powerpc/ldsodefs.h: Likewise.
8570 * sysdeps/s390/ldsodefs.h: Likewise.
8571 * sysdeps/sh/ldsodefs.h: Likewise.
8572 * sysdeps/sparc/ldsodefs.h: Likewise.
8573 * sysdeps/x86_64/ldsodefs.h: Likewise.
8574
354691b7
MP
85752012-07-25 Marek Polacek <polacek@redhat.com>
8576
8577 [BZ #6808]
8578 * math/libm-test.inc (yn_test): Add another test.
8579 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
8580 to ERANGE when the result is +-Inf.
8581 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8582 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
8583 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
8584 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
8585
bf9e2071
JM
85862012-07-24 Joseph Myers <joseph@codesourcery.com>
8587
8588 * conform/data/time.h-data (NULL): Use macro-constant. Require
8589 equal to 0.
8590 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
8591 clock_t.
8592 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
8593
57633811
TS
85942012-07-23 Thomas Schwinge <thomas@codesourcery.com>
8595
8596 * configure.in <sysdeps resolving>: Correct printing
8597 Implies_before.
8598 * configure: Regenerate.
8599
c23c33b0
TS
86002012-07-22 Thomas Schwinge <thomas@codesourcery.com>
8601
8602 * math/w_ilogb.c: Include <limits.h>.
8603 * math/w_ilogbl.c: Likewise.
8604
b5982523
JM
86052012-07-20 Joseph Myers <joseph@codesourcery.com>
8606
8607 * manual/lang.texi (__va_copy): Document primarily as ISO C99
8608 va_copy. Document allowing for unavailable va_copy only as
8609 pre-C99 compatibility.
8610 * manual/string.texi (Copying and Concatenation): Use va_copy
8611 instead of __va_copy in concat example.
8612
ac4ea442
PT
86132012-07-20 Pino Toscano <toscano.pino@tiscali.it>
8614
8615 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
8616 (__sendto): Use create_address_port. Initialize APORT and deallocate
8617 it if not null.
8618
f98eafbd
PT
8619 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
8620 with O_NOLINK passed to __file_name_lookup.
8621
898c7aab
PT
8622 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
8623 with O_NOLINK passed to __file_name_lookup.
8624
0ced335a
PT
8625 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
8626 negative N or less than NGIDS.
8627
b3404dbd
PT
8628 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
8629 type to string_t. Set ERANGE as errno and return it if NAME is not big
8630 enough. Use memcpy instead of strncpy.
8631
0f48659e
JM
86322012-07-20 Joseph Myers <joseph@codesourcery.com>
8633
8634 * elf/Makefile (check-data): Remove.
8635 (localplt.data): New vpath directive.
8636 ($(objpfx)check-localplt.out): Use localplt.data from vpath
8637 instead of $(check-data).
8638 * scripts/data/localplt-generic.data: Move to ...
8639 * sysdeps/generic/localplt.data: ... here.
8640 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
8641 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
8642 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
8643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8644 ... here.
8645 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
8646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8647 ... here.
8648 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
8649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
8650 ... here.
8651 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
8652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8653 ... here.
8654 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
8655 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
8656 ... here.
8657 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
8658 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
8659 ... here.
8660
d37cbdaa
AZ
86612012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8662
8663 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
8664 PPC32 and PPC64 files.
8665 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
8666 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
8667
46f85fc2
AK
86682012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8669
8670 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
8671 __makecontext_ret to ...
8672 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
8673 ... here and call exit if uc_link is NULL. New file.
8674 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
8675 __makecontext_ret.S.
8676 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
8677 __makecontext_ret to ...
8678 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
8679 ... here and call exit if uc_link is NULL. New file.
8680 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
8681 __makecontext_ret.S.
8682
08f43f9b
AK
86832012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8684
8685 * elf/elf.h (R_390_IRELATIVE): New definition.
8686 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
8687 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
8688 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
8689 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8690 (elf_machine_lazy_rel): Likewise.
8691 * sysdeps/s390/dl-irel.h: New file.
8692 * sysdeps/s390/s390-64/memcpy.S: New asm code.
8693 * sysdeps/s390/s390-64/memset.S: New asm code.
8694 * sysdeps/s390/s390-64/memcmp.S: New asm code.
8695 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
8696 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
8697 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
8698 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
8699 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
8700 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
8701 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
8702 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
8703 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
8704 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
8705 * sysdeps/s390/s390-32/memcpy.S: New asm code.
8706 * sysdeps/s390/s390-32/memset.S: New asm code.
8707 * sysdeps/s390/s390-32/memcmp.S: New asm code.
8708
3b05db33
MP
87092012-07-17 Marek Polacek <polacek@redhat.com>
8710
8711 [BZ #14349]
8712 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
8713 * sysdeps/s390/s390-64/configure.in: Likewise.
8714 * sysdeps/sparc/configure.in: Likewise.
8715 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
8716 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
8717 * sysdeps/i386/configure.in: Likewise.
8718 * sysdeps/x86_64/configure.in: Likewise.
8719 * sysdeps/sh/configure.in: Likewise.
8720 * sysdeps/s390/s390-32/configure: Regenerated.
8721 * sysdeps/s390/s390-64/configure: Likewise.
8722 * sysdeps/x86_64/configure: Likewise.
8723 * sysdeps/sh/configure: Likewise.
8724 * sysdeps/powerpc/powerpc64/configure: Likewise.
8725 * sysdeps/powerpc/powerpc32/configure: Likewise.
8726 * sysdeps/sparc/configure: Likwise.
8727 * sysdeps/i386/configure: Likewise.
8728
a66877c6
MP
8729 * elf/dl-open.c: Comment fixes.
8730
cfc82fd8
JM
87312012-07-17 Joseph Myers <joseph@codesourcery.com>
8732
bd29910a
JM
8733 * Makefile [CXX] (check-data): Remove.
8734 [CXX] (c++-types.data): New vpath directive.
8735 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
8736 vpath. Do not allow for C++ type data being missing.
8737 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
8738 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
8739 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
8740 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
8741 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
8742 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
8743 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
8744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8745 ... here.
8746 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
8747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8748 ... here.
8749 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
8750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
8751 ... here.
8752 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
8753 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
8754 ... here.
8755 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
8756 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
8757 ... here.
8758 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
8759 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
8760 ... here.
8761 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
8762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
8763 ... here.
8764 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
8765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
8766
cfc82fd8
JM
8767 * elf/tls-macros.h (TLS_LE): Move architecture-specific
8768 definitions to architecture-specific files.
8769 (TLS_IE): Likewise.
8770 (TLS_LD): Likewise.
8771 (TLS_GD): Likewise.
8772 * sysdeps/i386/tls-macros.h: New file.
8773 * sysdeps/powerpc/tls-macros.h: Likewise.
8774 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
8775 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
8776 * sysdeps/sh/tls-macros.h: Likewise.
8777 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
8778 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
8779 * sysdeps/x86_64/tls-macros.h: Likewise.
8780
f7db3170
TS
87812012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8782
07cbfc23
TS
8783 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
8784 zero value for regular exit case.
8785
f7db3170
TS
8786 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8787 (__start_context): Preserve zero value for regular exit case.
8788
dc97c227
TS
87892012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8790 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8791
8792 * manual/setjmp.texi (setcontext): Clarify normal process
8793 termination when uc_link is the null pointer.
8794 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
8795 exit call.
8796
d0cd7d02
AS
87972012-07-16 Andreas Schwab <schwab@linux-m68k.org>
8798
8799 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
8800 preprocessor. Test for each exception mask separately.
8801
dd318934
AJ
88022012-07-16 Andreas Jaeger <aj@suse.de>
8803
8804 * po/ru.po: Update from translation team.
8805
8048311a
JM
88062012-07-15 Joseph Myers <joseph@codesourcery.com>
8807
8808 * conform/data/string.h-data (NULL): Use macro-constant. Require
8809 equal to 0.
8810 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8811 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8812 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
8813 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
8814 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8815
b637d46e
AJ
88162012-07-13 Andreas Jaeger <aj@suse.de>
8817
8818 * po/fr.po: Update from translation team.
8819
541428fe
MP
88202012-07-12 Marek Polacek <polacek@redhat.com>
8821
8822 [BZ #14173]
8823 * math/libm-test.inc (yn_test): Add test for BZ #14173.
8824 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
8825 loop condition.
8826
ec332e94
JM
88272012-07-12 Joseph Myers <joseph@codesourcery.com>
8828
8829 [BZ #13717]
8830 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8831 Change to 2.4.1 where previously 2.4.0.
8832 * sysdeps/unix/sysv/linux/configure: Regenerated.
8833 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
8834 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
8835 version.
8836 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
8837 (__ASSUME_AT_CLKTCK): Remove.
8838 (__ASSUME_AT_PAGESIZE): Likewise.
8839 (__ASSUME_AT_XID): Likewise.
8840 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
8841 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
8842 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
8843 unconditionally.
8844 (HAVE_AUX_PAGESIZE): Likewise.
8845 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
8846 [__ASSUME_AT_CLKTCK]: Make code unconditional.
8847 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
8848
7b6e99be
JB
88492012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
8850
8851 [BZ #14307]
8852 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
8853 the temporary buffer used to invoke __gethostbyname2_r,
8854 __gethostbyaddr_r and gethostbyname4_r to make room for struct
8855 host_data / struct gaih_addrtuple.
8856 * resolv/nss_dns/dns-host.c (global scope): Move definition of
8857 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
8858 header file nss/nsswitch.h.
8859 * nss/nsswitch.h (global scope): Add definition of implementation
8860 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
8861 resolv/nss_dns/dns-host.c).
8862
608404eb
AJ
88632012-07-11 Andreas Jaeger <aj@suse.de>
8864
8865 * po/fr.po: Update from translation team.
8866
71220aca
AJ
8867 * po/sv.po: Update from translation team
8868 * po/fr.po: Another update from translation team.
8869
28cfe843
AZ
88702012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8871
8872 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
8873 for subnormals or multiply small sinh result by itself.
8874 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8876
6b90f981
DM
88772012-07-11 David S. Miller <davem@davemloft.net>
8878
8879 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8880
c6825772
AS
88812012-07-10 Andreas Schwab <schwab@linux-m68k.org>
8882
8883 [BZ #14347]
8884 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
8885 (INTERNAL_MARK): Shift it here.
8886
7b8e0d49
MP
88872012-07-10 Marek Polacek <polacek@redhat.com>
8888
8889 [BZ #14151]
8890 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
8891 libc_cv_asm_global_directive with .globl.
8892 * configure: Regenerated.
8893 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
8894 with .globl.
8895 * sysdeps/i386/configure: Regenerated.
8896 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
8897 with .globl.
8898 * sysdeps/x86_64/configure: Regenerated.
8899 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
8900 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
8901 * elf/tst-unique2mod2.c: Likewise.
8902 * elf/tst-unique2mod1.c: Likewise.
8903 * elf/tst-unique1mod2.c: Likewise.
8904 * elf/tst-unique1mod1.c: Likewise.
8905 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8906 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8907 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8908 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8909 * sysdeps/mach/sysdep.h: Likewise.
8910 * sysdeps/i386/sysdep.h: Likewise.
8911 * sysdeps/i386/i386-mcount.S: Likewise.
8912 * sysdeps/x86_64/_mcount.S: Likewise.
8913 * sysdeps/x86_64/sysdep.h: Likewise.
8914 * sysdeps/sh/_mcount.S: Likewise.
8915 * sysdeps/sh/sysdep.h: Likewise.
8916 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
8917 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
8918 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
8919 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8920 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
8921 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
8922 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
8923 * locale/localeinfo.h: Likewise.
8924 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
8925 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
8926
6c55cda3
RM
89272012-07-09 Roland McGrath <roland@hack.frob.com>
8928
8929 [BZ #14336]
8930 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
8931 system".
8932 * manual/message.texi (The Uniforum approach): Likewise.
8933 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
8934 (glibc iconv Implementation): Likewise.
8935
638a572e
JM
89362012-07-09 Joseph Myers <joseph@codesourcery.com>
8937
8938 [BZ #14337]
8939 * math/s_clog.c (__clog): Avoid scaling a value down where that
8940 could result in underflow.
8941 * math/s_clog10.c (__clog10): Likewise.
8942 * math/s_clog10f.c (__clog10f): Likewise.
8943 * math/s_clog10l.c (__clog10l): Likewise.
8944 * math/s_clogf.c (__clogf): Likewise.
8945 * math/s_clogl.c (__clogl): Likewise.
8946 * math/libm-test.inc (clog_test): Add more tests.
8947 (clog10_test): Likewise.
8948 * sysdeps/i386/fpu/libm-test-ulps: Update.
8949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8950
261f4859
AS
89512012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8952
0abaf3e4
AS
8953 [BZ #14283]
8954 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
8955 by 7 not 8 to examine high bit of fractional part.
8956
261f4859
AS
8957 [BZ #14042]
8958 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
8959 for call to __mcount_internal.
8960 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
8961 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
8962 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
8963
f17ac40d
JM
89642012-07-06 Joseph Myers <joseph@codesourcery.com>
8965
9ad63c23
JM
8966 [BZ #14154]
8967 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
8968 approximation for values within 0x1p-13f of an odd multiple of
8969 pi/4.
8970 * math/libm-test.inc (tan_test): Do not allow spurious underflow
8971 exception. Add more tests.
8972 * sysdeps/i386/fpu/libm-test-ulps: Update.
8973
f17ac40d
JM
8974 [BZ #6778]
8975 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
8976 inputs and return -1 for them. Do not check for +Inf in case not
8977 reachable for +Inf.
8978 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8979 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
8980 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8981 and return -1 for them. Do not check for +Inf in case not
8982 reachable for +Inf.
8983 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
8984 define.
8985 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8986 and return -1 for them. Do not check for +Inf in case not
8987 reachable for +Inf.
8988 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
8989 spurious underflow.
8990 * sysdeps/i386/fpu/libm-test-ulps: Update.
8991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8992
fb21f89b
MF
89932012-07-06 Mike Frysinger <vapier@gentoo.org>
8994
8995 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
8996
cdfe2c5e
JM
89972012-07-05 Joseph Myers <joseph@codesourcery.com>
8998
8999 [BZ #14157]
9000 [BZ #14331]
9001 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
9002 could result in spurious underflow. Scale down values above
9003 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
9004 * math/s_csqrtf.c (__csqrtf): Likewise.
9005 * math/s_csqrtl.c (__csqrtl): Likewise.
9006 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
9007 spurious underflow.
9008 * sysdeps/i386/fpu/libm-test-ulps: Update.
9009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9010
70d35b67
AS
90112012-07-04 Andreas Schwab <schwab@linux-m68k.org>
9012
704bc459
AS
9013 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
9014 xopen-msg.sed.
9015 * catgets/xopen-msg.awk: New file.
9016 * catgets/xopen-msg.sed: Removed.
9017
70d35b67
AS
9018 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
9019 po2text.sed.
9020 * intl/po2test.awk: New file.
9021 * intl/po2test.sed: Removed.
9022
ca61cf32
JM
90232012-07-04 Joseph Myers <joseph@codesourcery.com>
9024
9025 [BZ #14328]
9026 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
9027 or multiply small sinh result by itself.
9028 * math/s_ctanf.c (__ctanf): Likewise.
9029 * math/s_ctanh.c (__ctanh): Likewise.
9030 * math/s_ctanhf.c (__ctanhf): Likewise.
9031 * math/s_ctanhl.c (__ctanhl): Likewise.
9032 * math/s_ctanl.c (__ctanl): Likewise.
9033 * math/libm-test.inc (ctan_test_tonearest): New function.
9034 (ctan_test_towardzero): Likewise.
9035 (ctan_test_downward): Likewise.
9036 (ctan_test_upward): Likewise.
9037 (ctanh_test_tonearest): Likewise.
9038 (ctanh_test_towardzero): Likewise.
9039 (ctanh_test_downward): Likewise.
9040 (ctanh_test_upward): Likewise.
9041 (main): Call these new functions.
9042 * sysdeps/i386/fpu/libm-test-ulps: Update.
9043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9044
ca48a46a
MF
90452012-07-03 Mike Frysinger <vapier@gentoo.org>
9046
9047 * .gitignore: Delete /ports entry.
9048
9d63d37d
AJ
90492012-07-03 Andreas Jaeger <aj@suse.de>
9050
9051 * po/bg.po: Update from translation team.
9052 * po/cs.po: Likewise.
9053 * po/de.po: Likewise.
9054 * po/hr.po: Likewise.
9055 * po/nl.pl: Likewise.
9056 * po/pl.po: Likewise.
9057 * po/vi.po: Likewise.
9058
370ca3d2
JM
90592012-07-03 Joseph Myers <joseph@codesourcery.com>
9060
95f5a9a8
JM
9061 * Makeconfig [!+link] (+link-before-libc): New variable.
9062 [!+link] (+link-after-libc): Likewise.
9063 [!+link] (+link-tests): Likewise.
9064 [!+link] (+link): Define in terms of $(+link-before-libc) and
9065 $(+link-after-libc).
9066 [!+link-static] (+link-static-before-libc): New variable.
9067 [!+link-static] (+link-static-after-libc): Likewise.
9068 [!+link-static] (+link-static-tests): Likewise.
9069 [!+link-static] (+link-static): Define in terms of
9070 $(+link-static-before-libc) and $(+link-static-after-libc).
9071 [build-shared] (link-libc-before-gnulib): New variable.
9072 [build-shared] (link-libc-tests): Likewise.
9073 [build-shared] (link-libc): Define in terms of
9074 $(link-libc-before-gnulib).
9075 [!build-shared] (link-libc-tests): New variable.
9076 (link-libc-static-tests): New variable.
9077 [!gnulib] (gnulib-arch): New variable.
9078 [!gnulib] (gnulib-tests): Likewise.
9079 [!gnulib] (static-gnulib-arch): Likewise.
9080 [!gnulib] (static-gnulib-tests): Likewise.
9081 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
9082 Define with "=" instead of ":=".
9083 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
9084 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
9085 * Rules (binaries-all-notests): New variable.
9086 (binaries-all-tests): Likewise.
9087 (binaries-static-notests): Likewise.
9088 (binaries-static-tests): Likewise.
9089 (binaries-all): Define using $(binaries-all-notests) and
9090 $(binaries-all-tests).
9091 (binaries-static): Define using $(binaries-static-notests) and
9092 $(binaries-static-tests).
9093 (binaries-shared-tests): New variable.
9094 (binaries-shared-notests): Likewise.
9095 (binaries-shared): Remove variable.
9096 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
9097 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
9098 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
9099 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
9100 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
9101 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
9102 * elf/Makefile (sln-modules): New variable.
9103 (extra-objs): Add $(sln-modules:=.o).
9104 (ldconfig-modules): Add static-stubs.
9105 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
9106 * elf/static-stubs.c: New file.
9107
7a845b2c
JM
9108 [BZ #14283]
9109 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
9110 by 7 not 8 to examine high bit of fractional part. Use volatile
9111 variables when splitting into final array of floats if
9112 __FLT_EVAL_METHOD__ != 0.
9113 * math/libm-test.inc (cos_test): Add another test.
9114 (sin_test): Likewise.
9115 * sysdeps/i386/fpu/libm-test-ulps: Update.
9116
e2283f38
JM
9117 [BZ #14273]
9118 * math/libm-test.inc (cosh_test): Add more tests.
9119
370ca3d2
JM
9120 * version.h (RELEASE): Set to "development".
9121 (VERSION): Set to "2.16.90".
9122
ee9247c3
CD
91232012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
9124
9125 * NEWS: Update copyright. Remove last-updated date.
9126 Mention math library bug fixes and timezone data changes.
9127 * README: Mention GNU/Hurd, x32, and HPPA support status.
9128
4648c381
TS
91292012-06-28 Thomas Schwinge <thomas@codesourcery.com>
9130
9131 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
9132
aac78a43
AJ
91332012-06-27 Andreas Jaeger <aj@suse.de>
9134
9135 * manual/contrib.texi (Contributors): Add Samuel Thibault.
9136
ed3dbfad
AJ
91372012-06-25 Andreas Jaeger <aj@suse.de>
9138
9139 * sysdeps/s390/fpu/libm-test-ulps: Update.
9140
4d0ee855
AS
91412012-06-23 Andreas Schwab <schwab@linux-m68k.org>
9142 Thomas Schwinge <thomas@codesourcery.com>
9143
9144 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
9145 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
9146 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
9147 fanotify_mark.
9148
af1bce34
TS
91492012-06-23 Thomas Schwinge <thomas@codesourcery.com>
9150
a9fa33ba
TS
9151 * sysdeps/mach/start.c: Remove file.
9152 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
9153 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
9154 * sysdeps/sh/init-first.c: Likewise.
9155
58f902b8
TS
9156 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
9157 registers for frame unwinding purposes, add CFI directives.
9158 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9159 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
9160 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
9161 Likewise.
9162
1518f58b
TS
9163 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
9164 __fortify_fail returning.
9165 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9166
db9b5059
TS
9167 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
9168 sysdeps/sh/____longjmp_chk.S.
9169 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
9170 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
9171 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
9172 (gen-as-const-headers): Append sigaltstack-offsets.sym.
9173
967705fe
TS
9174 * sysdeps/sh/abort-instr.h: New file.
9175 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
9176 process in case exit returns.
9177
a9def8c4
TS
9178 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
9179 initialize the GOT register before use.
9180
2a649725
TS
9181 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
9182 calculation of ARGC > 4.
9183
af1bce34
TS
9184 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
9185 meaningful names to some local labels.
9186
d230f50a
KK
91872012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9188 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9189
9190 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
9191 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
9192 (__arch_compare_and_exchange_val_16_acq): Likewise.
9193 (__arch_compare_and_exchange_val_32_acq): Likewise.
9194 (atomic_exchange_and_add): Fix gUSA sequence.
9195 (atomic_add): Likewise.
9196 (atomic_add_negative): Likewise.
9197 (atomic_add_zero): Likewise.
9198 (atomic_bit_test_set): Likewise.
9199
0479b305
AS
92002012-06-22 Andreas Schwab <schwab@redhat.com>
9201
9202 [BZ #13579]
9203 * include/link.h (struct link_map): Add l_free_initfini.
9204 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
9205 l_initfini.
9206 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
9207 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
9208 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
9209 set.
9210
0e3933b9
CD
92112012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
9212
9213 * configure.in: Use AC_LANG_SOURCE.
9214 * configure: Regenerate.
9215
4248b1b1
RM
92162012-06-22 Roland McGrath <roland@hack.frob.com>
9217
9218 * configure.in (libc_cv_localstatedir): New substituted variable.
9219 * configure: Regenerated.
9220 * config.make.in (localstatedir): New variable, substituted from
9221 libc_cv_localstatedir.
9222 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
9223 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
9224 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
9225 * sysdeps/gnu/configure: Regenerated.
9226
006dd861
JL
92272012-06-21 Jeff Law <law@redhat.com>
9228
9229 [BZ #14277]
9230 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
9231 free. Simplify list management for _LIBC case.
9232
79662d42
JM
92332012-06-21 Joseph Myers <joseph@codesourcery.com>
9234
b7abb4bf
JM
9235 [BZ #14273]
9236 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9237 Clear sign bit of 64-bit integer value before comparing against
9238 overflow value.
9239
79662d42
JM
9240 * sysdeps/mach/configure: Regenerated.
9241
1f150908
L
92422012-06-21 H.J. Lu <hongjiu.lu@intel.com>
9243
9244 [BZ #14278]
9245 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
9246
28363bbf
JL
92472012-06-21 Jeff Law <law@redhat.com>
9248
9249 [BZ #13882]
9250 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
9251 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 9252 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
9253 * elf/dl-open.c (dl_open_worker): Likewise.
9254
09615db4
CD
92552012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
9256
9257 * scripts/list-sources.sh: Scan PORTS for translations.
9258 * po/libc.pot: Regenerated.
9259
2174c6dd
AJ
92602012-06-21 Andreas Jaeger <aj@suse.de>
9261
9262 [BZ #12194]
9263 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
9264 warning.
9265 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
9266 * bits/byteswap-16.h (__bswap_16): Likewise.
9267 * bits/byteswap.h (__bswap_constant_16): Likewise.
9268
3ee947b1
L
92692012-06-18 H.J. Lu <hongjiu.lu@intel.com>
9270
9271 [BZ #14117]
a2f34833
L
9272 * sysdeps/i386/fpu_control.h: Removed.
9273 * sysdeps/x86_64/fpu_control.h: Moved to ...
9274 * sysdeps/x86/fpu_control.h: Here.
9275
3ee947b1
L
9276 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
9277 (_FPU_SETCW): Likewise.
9278
ed1825f8
L
92792012-06-15 H.J. Lu <hongjiu.lu@intel.com>
9280
25f1282a
L
9281 [BZ #14117]
9282 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
9283 * sysdeps/x86/fpu/bits/mathinline.h: This.
9284 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
9285
ed1825f8
L
9286 [BZ #14050]
9287 [BZ #14117]
9288 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
9289 functions if __x86_64__ is defined.
9290
36d54b74
CLT
92912012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
9292
9293 * string/endian.h: Add !__ASSEMBLER__ condition for including
9294 conversion interfaces.
9295
10285c21
JM
92962012-06-15 Joseph Myers <joseph@codesourcery.com>
9297
9298 [BZ #14241]
9299 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
9300 of ABS(x) in calculating zero to negative powers other than odd
9301 integers.
9302 * math/libm-test.inc (pow_test): Add more tests.
9303
06c5abbd
AJ
93042012-06-15 Andreas Jaeger <aj@suse.de>
9305
9306 * manual/contrib.texi (Contributors): Update entry of Liubov
9307 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
9308 Machado Filho.
9309
a3aeac40
CH
93102012-06-15 Cyril Hrubis <metan@ucw.cz>
9311
9312 * string/string.h: Add __wur to GNU version of strerror_r.
9313
49bdf4c1
L
93142012-06-14 H.J. Lu <hongjiu.lu@intel.com>
9315
9316 [BZ #14229]
9317 * string/Makefile (tests): Add tst-strtok_r.
9318 * string/tst-strtok_r.c: New file.
9319 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
9320 RAX_LP/RDX_LP on SAVE_PTR.
9321
834f9b8d
RM
93222012-06-14 Roland McGrath <roland@hack.frob.com>
9323
9324 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
9325
75fa1921
JM
93262012-06-14 Joseph Myers <joseph@codesourcery.com>
9327
9328 * libm_test.inc (csqrt_test): Allow more spurious underflow
9329 exceptions.
9330 (j0_test): Likewise.
9331 (j1_test): Likewise.
9332 (y0_test): Likewise.
9333 (y1_test): Likewise.
9334
771766df
CD
93352012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
9336
9337 * po/Makefile (libc.pot): Use UTF-8 charset.
9338
ceb9e56b
PP
93392012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
9340
9341 [BZ #14210]
9342 Suppress sign-conversion warning from FD_SET.
9343 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
9344 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
9345 not unsigned long int.
9346 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
9347
ddb28975
L
93482012-06-12 H.J. Lu <hongjiu.lu@intel.com>
9349
9350 [BZ #14050]
9351 [BZ #14117]
9352 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
9353 __extern_always_inline instead of __extern_inline.
9354 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
9355 (__signbit): Likewise.
9356 (__signbitl): Support C++ namespace.
9357 (lrintf): New inline function.
9358 (lrint): Likewise.
9359 (llrintf): Likewise.
9360 (llrint): Likewise.
9361 (fmaxf): Likewise.
9362 (fmax): Likewise.
9363 (fminf): Likewise.
9364 (fmin): Likewise.
9365 (rint): Likewise.
9366 (rintf): Likewise.
9367 (ceil): Likewise.
9368 (ceilf): Likewise.
9369 (floor): Likewise.
9370 (floorf): Likewise.
9371 (nearbyint): Likewise.
9372 (nearbyintf): Likewise.
9373
d7b4fb26
TS
93742012-06-12 Thomas Schwinge <thomas@codesourcery.com>
9375
9376 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
9377 non-default versions.
9378
eb55f5c2
RM
93792012-06-11 Roland McGrath <roland@hack.frob.com>
9380
9381 [BZ #14218]
9382 * manual/argp.texi (Argp): Reword argp_parse description slightly.
9383
366af02c
TS
93842012-06-09 Thomas Schwinge <thomas@codesourcery.com>
9385
99ff6e5c
TS
9386 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
9387 (FE_UPWARD, FE_DOWNWARD): Don't define.
9388 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
9389 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9390
366af02c
TS
9391 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
9392 reading it.
9393 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9394 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9395
793ea851
KK
93962012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9397
9398 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9399 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
9400 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
9401 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
9402
a728a38f
L
94032012-06-06 H.J. Lu <hongjiu.lu@intel.com>
9404
9405 [BZ #14117]
c08010c7
L
9406 * sysdeps/i386/fpu/bits/fenv.h: Removed.
9407 * sysdeps/i386/fpu/Implies: New file.
9408 * sysdeps/x86_64/fpu/Implies: Likewise.
9409 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
9410 * sysdeps/x86/fpu/bits/fenv.h: This.
9411
a728a38f
L
9412 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
9413 __SSE_MATH__.
9414
6e230d11
SP
94152012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9416
9417 [BZ #14134]
9418 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
9419 character 0xffff that matches the last element of the
9420 conversion table.
9421
1b671feb
AZ
94222012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9423
9424 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
9425 fmodl commit.
9426
6043738b
AZ
94272012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9428
9429 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
9430 values higher than 25.6283.
9431
34ae0b32
AZ
94322012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9433
9434 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
9435 subnormal exponent extraction and add some __builtin_expect.
9436 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
9437 Fix for subnormal mantissa calculation.
9438
1214ec8f
MF
94392012-06-04 Mike Frysinger <vapier@gentoo.org>
9440
9441 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
9442 cpu2 is -1 and errno is not ENOSYS.
9443
f3d1f93c
L
94442012-06-04 H.J. Lu <hongjiu.lu@intel.com>
9445
9446 [BZ #14117]
0e4a3cd7
L
9447 * sysdeps/i386/i486/bits/string.h: Renamed to ...
9448 * sysdeps/x86/bits/string.h: This.
9449 * sysdeps/x86_64/bits/string.h: Removed.
9450
6704c645
L
9451 * sysdeps/i386/i486/bits/string.h: Define inline functions only
9452 if not compiling for x86-64, but compiling for >= i486.
9453
48495318
L
9454 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
9455 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
9456
14adcbfc
L
9457 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
9458 New macro from Linux kernel 3.4.0.
9459 (FP_XSTATE_MAGIC2): Likewise.
9460 (FP_XSTATE_MAGIC2_SIZE): Likewise.
9461 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
9462 (struct _fpx_sw_bytes): New struct.
9463 (struct _xsave_hdr): Likewise.
9464 (struct _ymmh_state): Likewise.
9465 (struct _xstate): Likewise.
9466
68e408ab
L
9467 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
9468 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
9469 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
9470 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
9471 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
9472 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
9473
f3d1f93c
L
9474 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
9475 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
9476 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
9477 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
9478 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
9479 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
9480
d9dc34cd
TMQMF
94812012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9482
9483 [BZ #13743]
9484 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
9485 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
9486 (sysdep_headers): Include sys/platform/ppc.h.
9487 * sysdeps/powerpc/test-gettimebase.c: Test for
9488 __ppc_get_timebase() to catch future ISA opcode/insn changes.
9489 * manual/Makefile (appendices): Include platform.texi.
9490 * manual/contrib.texi (Contributors): Update @node pointers.
9491 * manual/maint.texi (Maintenance): Likewise.
9492 (Platform): New node.
9493 * manual/platform.texi: New file. Document the new features.
9494
4af3879c
SP
94952012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9496 Jakub Jelinek <jakub@redhat.com>
9497
9498 [BZ #14188]
9499 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
9500 where __builtin_expect is unavailable.
9501
2fd6ff13
DM
95022012-06-03 David S. Miller <davem@davemloft.net>
9503
9504 * stdlib/longlong.h: Updated from GCC.
9505
173f7220
AS
95062012-06-02 Andreas Schwab <schwab@linux-m68k.org>
9507
9508 [BZ #14042]
9509 * sysdeps/powerpc/powerpc32/mcount.c: New file.
9510 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
9511 __mcount_internal.
9512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9513 (GLIBC_2.16): Likewise.
9514
f34a1c6f
L
95152012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9516
9517 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
9518
88a4576f
JM
95192012-06-01 Joseph Myers <joseph@codesourcery.com>
9520
ea32bcdd
JM
9521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9522 (default-abi): New variable.
9523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
9524 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
9525 variable.
9526 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
9527 Likewise.
9528 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
9529 Likewise.
9530 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
9531 Likewise.
9532
88a4576f
JM
9533 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
9534 definition. Document in comment.
9535
402fe938
DM
95362012-06-01 David S. Miller <davem@davemloft.net>
9537
9538 * stdlib/longlong.h: Updated from GCC.
9539
3553723f
L
95402012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9541
9542 [BZ #14117]
3bd872c4
L
9543 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
9544 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
9545 sys/debugreg.h sys/io.h here.
9546 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
9547 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
9548 sys/io.h.
9549 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
9550 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
9551 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
9552 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
9553 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
9554 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
9555
3553723f
L
9556 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
9557 Define only if __x86_64__ is defined.
9558
4842e4fe
JM
95592012-06-01 Joseph Myers <joseph@codesourcery.com>
9560
c5bfe3d5
JM
9561 [BZ #14048]
9562 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
9563 Use int64_t for variable i.
9564 * math/libm-test.inc (fmod_test): Add more tests.
9565
4842e4fe
JM
9566 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
9567 z computation is not scheduled after fetestexcept.
9568 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
9569 Use math_force_eval instead of asm to ensure calculation scheduled
9570 before exception test.
9571 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
9572 Ensure a1 + u.d computation is not scheduled after fetestexcept.
9573
efb73488
AJ
95742012-06-01 Aurelien Jarno <aurelien@aurel32.net>
9575
9576 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
9577 computation is not scheduled after fetestexcept.
9578
29bcce7c
L
95792012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9580
9581 [BZ #14117]
9582 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
9583 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
9584
73a68f94
AZ
95852012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9586
9587 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
9588 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9589
67b6df78
L
95902012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9591
edf2933a 9592 [BZ #14117]
ebc64a18
L
9593 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
9594 <bits/wordsize.h>.
9595 (__WCHAR_MIN): Support __WORDSIZE == 64.
9596 (__WCHAR_MAX): Likewise.
9597
edf2933a
L
9598 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
9599 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
9600
57c6cf40
L
9601 [BZ #14183]
9602 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
9603 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
9604
67b6df78 9605 [BZ #14117]
8eb6281e
L
9606 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
9607 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
9608
aac639f4
L
9609 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
9610 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
9611
67b6df78
L
9612 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
9613 Defined to 1 if __x86_64__ isn't defined.
9614 (_STAT_VER_LINUX_OLD): New.
9615 (st_atime): Remove duplicate.
9616 (st_mtime): Likewise.
9617 (st_ctime): Likewise.
9618
1c2cfe81
DM
96192012-05-31 David S. Miller <davem@davemloft.net>
9620
9621 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
9622 entries.
9623
5be8418c
AS
96242012-06-01 Andreas Schwab <schwab@linux-m68k.org>
9625
e7725326
AS
9626 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
9627 gen-libm-test.pl.
9628
5be8418c
AS
9629 [BZ #14132]
9630 * elf/dl-reloc.c: Include <_itoa.h>.
9631 (_dl_reloc_bad_type): Remove use of INTUSE.
9632 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
9633 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
9634 * stdio-common/psiginfo.c (psiginfo): Likewise.
9635 * stdio-common/psignal.c (psignal): Likewise.
9636 * string/strsignal.c (strsignal): Likewise.
9637 * include/signal.h (_sys_siglist): Declare hidden proto.
9638 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
9639 INTVARDEF with libc_hidden_data_def.
9640 * stdio-common/itoa-udigits.c: Likewise.
9641 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
9642 (_itoa_lower_digits_internal): Remove declaration.
9643 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
9644 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
9645 (_sys_sigabbrev_internal): Remove aliases.
9646 (_sys_siglist): Define hidden alias.
9647
507352f1
MT
96482012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
9649
9650 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9651 bits/sysctl.h.
9652
42bbb1c3
L
96532012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9654
9655 [BZ #14117]
6bd784b6
L
9656 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
9657 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
9658
8bca20f0
L
9659 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
9660 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
9661 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
9662 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
9663 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
9664 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
9665
f9e890a9
L
9666 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
9667 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
9668 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
9669
471101a1
L
9670 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
9671 with __addr.
9672 (insw): Likewise.
9673 (insl): Likewise.
9674 (outsb): Likewise.
9675 (outsw): Likewise.
9676 (outsl): Likewise.
9677
6451c862
L
9678 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
9679 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
9680 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
9681
a254b8c9
L
9682 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
9683 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
9684 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
9685 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
9686 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
9687 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
9688
b8dfdd92
L
9689 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
9690 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
9691
578cd270
L
9692 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
9693 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
9694
de662f5f
L
9695 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
9696 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
9697 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
9698
25653439
L
9699 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
9700 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
9701 to ...
9702 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
9703
6bad24a0
L
9704 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
9705 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
9706 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
9707
42bbb1c3
L
9708 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
9709 for x86-64.
9710 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
9711
2d10d547
JM
97122012-05-31 Joseph Myers <joseph@codesourcery.com>
9713
9714 * math/math.h (M_El): Use two more decimal places.
9715 (M_LOG2El): Likewise.
9716 (M_LOG10El): Likewise.
9717 (M_LN2l): Likewise.
9718 (M_LN10l): Likewise.
9719 (M_PIl): Likewise.
9720 (M_PI_2l): Likewise.
9721 (M_PI_4l): Likewise.
9722 (M_1_PIl): Likewise.
9723 (M_2_PIl): Likewise.
9724 (M_2_SQRTPIl): Likewise.
9725 (M_SQRT2l): Likewise.
9726 (M_SQRT1_2l): Likewise.
9727
f230c29b
DM
97282012-05-31 David S. Miller <davem@davemloft.net>
9729
9730 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
9731 values between float registers.
9732 * sysdeps/sparc/sparc64/memset.S: Likewise.
9733 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9734
fed806c3
MF
97352012-05-31 Mike Frysinger <vapier@gentoo.org>
9736
9737 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
9738 -D_FORTIFY_SOURCE=1.
9739 (CPPFLAGS-tst-longjmp_chk.c): Define.
9740 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
9741 (CPPFLAGS-tst-longjmp_chk2.c): Define.
9742 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
9743 CFLAGS-tst-wchar-h.c.
9744
30917259
MP
97452012-05-31 Marek Polacek <polacek@redhat.com>
9746
9747 [BZ #14132]
9748 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
9749 __endmntent_internal): Remove declaration.
9750 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
9751 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
9752 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
9753
1c58d5dc
DM
97542012-05-30 David S. Miller <davem@davemloft.net>
9755
9756 * sysdeps/sparc/sparc32/soft-fp/q_util.c
9757 (___Q_simulate_exceptions): Use real FP ops rather than writing
9758 into the %fsr.
9759 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
9760 Likewise.
9761
7dc00e0d
L
97622012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9763
9764 [BZ #14117]
0bd53985
L
9765 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
9766 * sysdeps/x86/bits/xtitypes.h: This.
9767
3a257e66
L
9768 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
9769 * sysdeps/x86/bits/wordsize.h: This.
9770
62f62904
L
9771 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
9772 * sysdeps/x86/bits/huge_vall.h: This.
9773
404fe9d9
L
9774 * sysdeps/i386/bits/select.h: Removed.
9775 * sysdeps/x86_64/bits/select.h: Renamed to ...
9776 * sysdeps/x86/bits/select.h: This.
9777
d48d0446
L
9778 * sysdeps/i386/bits/setjmp.h: Removed.
9779 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
9780 * sysdeps/x86/bits/setjmp.h: This.
9781
7dc00e0d
L
9782 * sysdeps/i386/bits/mathdef.h: Removed.
9783 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
9784 * sysdeps/x86/bits/mathdef.h: This.
9785
03277f8f
AS
97862012-05-30 Andreas Schwab <schwab@linux-m68k.org>
9787
9788 [BZ #14132]
9789 * include/sys/socket.h (__connect_internal)
9790 (__libc_sa_len_internal): Remove declaration.
9791 (__connect, __libc_sa_len): Declare hidden_proto.
9792 (SA_LEN): Remove use of INTUSE.
9793 * socket/connect.c: Add libc_hidden_def.
9794 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
9795 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
9796 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
9797 alias.
9798 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9799 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
9800 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
9801 of adding _internal alias.
9802
13764867
L
98032012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9804
9805 [BZ #14117]
6bd97696
L
9806 * sysdeps/i386/bits/link.h: Removed.
9807 * sysdeps/i386/bits/linkmap.h: Likewise.
9808 * sysdeps/x86_64/bits/link.h: Renamed to ...
9809 * sysdeps/x86/bits/link.h: This.
9810 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
9811 * sysdeps/x86/bits/linkmap.h: This.
9812
f726f0bb
L
9813 * sysdeps/i386/bits/endian.h: Removed.
9814 * sysdeps/x86_64/bits/endian.h: Renamed to ...
9815 * sysdeps/x86/bits/endian.h: This.
9816
13764867
L
9817 * sysdeps/i386/bits/byteswap.h: Removed.
9818 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9819 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
9820 * sysdeps/x86/bits/byteswap.h: This.
9821 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
9822 * sysdeps/x86/bits/byteswap-16.h: This.
9823 * sysdeps/i386/Implies: Add x86.
9824 * sysdeps/x86_64/Implies: Likewise.
9825
ae251b0b
DM
98262012-05-30 David S. Miller <davem@davemloft.net>
9827
9828 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
9829 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
9830 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9831 (FP_TRAPPING_EXCEPTIONS): Define.
9832 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9833 (FP_TRAPPING_EXCEPTIONS): Define.
9834 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
9835 subnormals only when inexact has been signalled or underflow
9836 exceptions are enabled.
9837 (_FP_PACK_CANONICAL): Likewise.
9838
d5c90867
L
98392012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9840
9841 [BZ #14183]
9842 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
9843 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
9844
63f1549e
RH
98452012-05-30 Richard Henderson <rth@twiddle.net>
9846
8d8f2279
RH
9847 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
9848 with #ifndef NOT_IN_libc.
9849
63f1549e
RH
9850 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
9851 marked to avoid plt entry.
9852
0ab0291b
L
98532012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9854
9855 [BZ #14112]
9856 * Makeconfig (default-abi): New macro.
9857 (abi-includes): Likewise.
9858 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
9859 $(abi-$(default-abi)-lib-soname) for soname if defined.
9860 ($(common-objpfx)gnu/lib-names.stmp): Generate from
9861 abi-variants.
9862 * Makefile (installed-stubs): Likewise.
9863 * include/stubs-biarch.h: Removed.
9864 * scripts/lib-names.awk: Only handle one library at a time.
9865 * scripts/soversions.awk: Remove WORDSIZE support.
9866 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
9867 entries.
9868 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
9869 Removed.
9870 (syscall-list-default-condition): Likewise.
9871 (syscall-list-default-condition): Likewise.
9872 (syscall-list-includes): Likewise.
9873 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
9874 syscall-list-* with abi-*. Handle undefined abi-variants.
9875 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
9876 * sysdeps/unix/sysv/linux/i386/Implies: New file.
9877 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
9878 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
9879 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
9880 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
9881 Removed.
9882 (syscall-list-32-options): Likewise.
9883 (syscall-list-32-condition): Likewise.
9884 (syscall-list-64-options): Likewise.
9885 (syscall-list-64-condition): Likewise.
9886 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
9887 macro.
9888 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
9889 Renamed to ...
9890 (abi-*): This.
9891 (abi-64-ld-soname): New macro.
9892 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
9893 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
9894 Renamed to ...
9895 (abi-*): This.
9896 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
9897 * sysdeps/x86_64/x32/shlib-versions: Likewise.
9898
4da0431d
JM
98992012-05-30 Joseph Myers <joseph@codesourcery.com>
9900
3a85279c
JM
9901 * sysdeps/unix/sysv/linux/kernel-features.h
9902 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
9903 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
9904 include <kernel-features.h>.
9905 [!__NR_ftruncate64]: Remove conditional code.
9906 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9907 [__NR_ftruncate64]: Make code unconditional.
9908 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9909 * sysdeps/unix/sysv/linux/truncate64.c: Do not
9910 include <kernel-features.h>.
9911 [!__NR_ftruncate64]: Remove conditional code.
9912 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9913 [__NR_ftruncate64]: Make code unconditional.
9914 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
9916 include <kernel-features.h>.
9917 [!__NR_ftruncate64]: Remove conditional code.
9918 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9919 [__NR_ftruncate64]: Make code unconditional.
9920 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9922 include <kernel-features.h>.
9923 [!__NR_ftruncate64]: Remove conditional code.
9924 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9925 [__NR_ftruncate64]: Make code unconditional.
9926 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9927
4da0431d
JM
9928 * configure.in (libc_cv_fpie): Weaken to a compile test using
9929 LIBC_TRY_CC_OPTION.
9930 * configure: Regenerated.
9931
11ef492c
AK
99322012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9933
9934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
9935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
9936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
9937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9938 Refreshed.
9939 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
9940 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
9941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
9942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
9943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
9944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9945 Refreshed.
9946
d66ef399
DM
99472012-05-27 David S. Miller <davem@davemloft.net>
9948
9949 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
9950 (___Q_zero): New.
9951 (__Q_simulate_exceptions): Return void. Change to simulate
9952 exceptions by writing into the %fsr.
9953 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
9954 (__Qp_handle_exceptions): Likewise.
9955 (numbers): Delete.
9956 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
9957 __Qp_handle_exceptions.
9958 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
9959 __Qp_handle_exceptions.
9960 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9961 as unused and give dummy FP_RND_NEAREST initializer.
9962 (FP_INHIBIT_RESULTS): Define.
9963 (___Q_simulate_exceptions): Update declaration.
9964 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
9965 formatting.
9966 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9967 as unused and give dummy FP_RND_NEAREST initializer.
9968 (__Qp_handle_exceptions): Update declaration.
9969 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
9970 formatting.
9971
04fb54b5
TS
99722012-05-27 Thomas Schwinge <thomas@codesourcery.com>
9973
9974 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
9975 the temporary FPU control word.
9976 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9977 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
9978 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9979 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9980 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9981 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9982 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9983 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9984 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9985 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9986 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9987
3f99608f
KK
99882012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9989
9990 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
9991 fields.
9992
65a4de4e
CLT
99932012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
9994
9995 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
9996 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
9997 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
9998 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
9999 Likewise.
10000 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
10001 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
10002 Likewise.
10003
15749d40
UD
100042012-05-27 Ulrich Drepper <drepper@gmail.com>
10005
10006 * po/h.po: Update from translation team.
10007
25dbcb27
AS
100082012-05-26 Andreas Schwab <schwab@linux-m68k.org>
10009
3d3f8e55
AS
10010 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
10011
25dbcb27
AS
10012 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
10013 handling of denormals.
10014 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10015 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10016 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10017 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10018 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10019 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
10020 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
10021 Likewise.
10022
7ad47a80 100232012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
10024
10025 [BZ #14152]
10026 * math/libm-test.inc (fma_test): Don't always expect underflow
10027 exception.
10028
9c6ea9fa
SP
100292012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10030
10031 [BZ #12416]
10032 * elf/tst-execstack.c: Include stackinfo.h.
10033 (do_test): Adjust test case to ensure that pthread_getattr_np
10034 behaviour remains the same after marking stack executable.
10035
a8239222
JM
100362012-05-25 Joseph Myers <joseph@codesourcery.com>
10037
10038 * sysdeps/unix/sysv/linux/kernel-features.h
10039 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
10040 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
10041 kernel-features.h.
10042 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10043 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10044 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
10045 kernel-features.h.
10046 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10047 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10048
918b5606
L
100492012-05-25 H.J. Lu <hongjiu.lu@intel.com>
10050
10051 * configure.in: Define the default includes to being none.
10052 * configure: Regenerated.
10053
3a097cc7
RM
100542012-05-25 Roland McGrath <roland@hack.frob.com>
10055
8422c9a5
RM
10056 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
10057 * sysdeps/x86_64/setjmp.S: Likewise.
10058 * sysdeps/i386/bsd-setjmp.S: Likewise.
10059 * sysdeps/i386/bsd-_setjmp.S: Likewise.
10060 * sysdeps/i386/setjmp.S: Likewise.
10061 * sysdeps/i386/__longjmp.S: Likewise.
10062 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10063 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
10064
3a097cc7
RM
10065 * include/stap-probe.h: New file.
10066 * configure.in: Handle --enable-systemtap.
10067 * configure: Regenerated.
10068 * config.h.in (USE_STAP_PROBE): New #undef.
10069 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
10070 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
10071 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10072
21708942
JM
100732012-05-25 Joseph Myers <joseph@codesourcery.com>
10074
10075 [BZ #13717]
10076 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10077 to 2.4.0 where earlier.
10078 * sysdeps/unix/sysv/linux/configure: Regenerated.
10079 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10080 <kernel-features.h>.
10081 [__ASSUME_32BITUIDS]: Make code unconditional.
10082 [!__ASSUME_32BITUIDS]: Remove conditional code.
10083 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
10084 <kernel-features.h>.
10085 [__ASSUME_32BITUIDS]: Make code unconditional.
10086 [!__ASSUME_32BITUIDS]: Remove conditional code.
10087 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
10088 [__ASSUME_32BITUIDS]: Make code unconditional.
10089 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
10090 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
10091 <kernel-features.h>.
10092 [__ASSUME_32BITUIDS]: Make code unconditional.
10093 [!__ASSUME_32BITUIDS]: Remove conditional code.
10094 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
10095 <kernel-features.h>.
10096 [__ASSUME_32BITUIDS]: Make code unconditional.
10097 [!__ASSUME_32BITUIDS]: Remove conditional code.
10098 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
10099 <kernel-features.h>.
10100 [__ASSUME_32BITUIDS]: Make code unconditional.
10101 [!__ASSUME_32BITUIDS]: Remove conditional code.
10102 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
10103 <kernel-features.h>.
10104 [__ASSUME_32BITUIDS]: Make code unconditional.
10105 [!__ASSUME_32BITUIDS]: Remove conditional code.
10106 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10107 <kernel-features.h>.
10108 [__ASSUME_32BITUIDS]: Make code unconditional.
10109 [!__ASSUME_32BITUIDS]: Remove conditional code.
10110 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10111 <kernel-features.h>.
10112 [__ASSUME_32BITUIDS]: Make code unconditional.
10113 [!__ASSUME_32BITUIDS]: Remove conditional code.
10114 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
10115 <kernel-features.h>.
10116 [__ASSUME_32BITUIDS]: Make code unconditional.
10117 [!__ASSUME_32BITUIDS]: Remove conditional code.
10118 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10119 <kernel-features.h>.
10120 [__ASSUME_32BITUIDS]: Make code unconditional.
10121 [!__ASSUME_32BITUIDS]: Remove conditional code.
10122 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10123 <kernel-features.h>.
10124 [__ASSUME_32BITUIDS]: Make code unconditional.
10125 [!__ASSUME_32BITUIDS]: Remove conditional code.
10126 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
10127 <kernel-features.h>.
10128 [__ASSUME_32BITUIDS]: Make code unconditional.
10129 [!__ASSUME_32BITUIDS]: Remove conditional code.
10130 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
10131 <kernel-features.h>.
10132 [__NR_setresgid] (__setresgid): Do not declare.
10133 [__ASSUME_32BITUIDS]: Make code unconditional.
10134 [!__ASSUME_32BITUIDS]: Remove conditional code.
10135 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
10136 <kernel-features.h>.
10137 [__NR_setresuid] (__setresuid): Do not declare.
10138 [__ASSUME_32BITUIDS]: Make code unconditional.
10139 [!__ASSUME_32BITUIDS]: Remove conditional code.
10140 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
10141 <kernel-features.h>.
10142 [__ASSUME_32BITUIDS]: Make code unconditional.
10143 [!__ASSUME_32BITUIDS]: Remove conditional code.
10144 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
10145 <kernel-features.h>.
10146 [__ASSUME_32BITUIDS]: Make code unconditional.
10147 [!__ASSUME_32BITUIDS]: Remove conditional code.
10148 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
10149 <kernel-features.h>.
10150 [__ASSUME_32BITUIDS]: Make code unconditional.
10151 [!__ASSUME_32BITUIDS]: Remove conditional code.
10152 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
10153 <kernel-features.h>.
10154 [__ASSUME_32BITUIDS]: Make code unconditional.
10155 [!__ASSUME_32BITUIDS]: Remove conditional code.
10156 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
10157 <kernel-features.h>.
10158 [__ASSUME_32BITUIDS]: Make code unconditional.
10159 [!__ASSUME_32BITUIDS]: Remove conditional code.
10160 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
10161 <kernel-features.h>.
10162 [__ASSUME_32BITUIDS]: Make code unconditional.
10163 [!__ASSUME_32BITUIDS]: Remove conditional code.
10164 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
10165 <kernel-features.h>.
10166 [__ASSUME_32BITUIDS]: Make code unconditional.
10167 [!__ASSUME_32BITUIDS]: Remove conditional code.
10168 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
10169 <kernel-features.h>.
10170 [__ASSUME_32BITUIDS]: Make code unconditional.
10171 [!__ASSUME_32BITUIDS]: Remove conditional code.
10172 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
10173 <kernel-features.h>.
10174 [__ASSUME_32BITUIDS]: Make code unconditional.
10175 [!__ASSUME_32BITUIDS]: Remove conditional code.
10176 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10177 <kernel-features.h>.
10178 [__ASSUME_32BITUIDS]: Make code unconditional.
10179 [!__ASSUME_32BITUIDS]: Remove conditional code.
10180 * sysdeps/unix/sysv/linux/kernel-features.h
10181 (__ASSUME_SETRESUID_SYSCALL): Remove.
10182 (__ASSUME_SETRESGID_SYSCALL): Likewise.
10183 (__ASSUME_32BITUIDS): Likewise.
10184 (__ASSUME_LDT_WORKS): Likewise.
10185 (__ASSUME_O_DIRECTORY): Likewise.
10186 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
10187 architecture but not kernel version.
10188 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10189 (__ASSUME_MMAP2_SYSCALL): Likewise.
10190 (__ASSUME_STAT64_SYSCALL): Likewise.
10191 (__ASSUME_IPC64): Likewise.
10192 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
10193 <kernel-features.h>.
10194 [__ASSUME_32BITUIDS]: Make code unconditional.
10195 [!__ASSUME_32BITUIDS]: Remove conditional code.
10196 * sysdeps/unix/sysv/linux/opendir.c: Do not include
10197 <kernel-features.h>.
10198 [__ASSUME_O_DIRECTORY]: Make code unconditional.
10199 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
10200 132096]: Remove conditional code.
10201 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
10202 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10203 <kernel-features.h>.
10204 [__ASSUME_32BITUIDS]: Make code unconditional.
10205 [!__ASSUME_32BITUIDS]: Remove conditional code.
10206 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10207 <kernel-features.h>.
10208 [__ASSUME_32BITUIDS]: Make code unconditional.
10209 [!__ASSUME_32BITUIDS]: Remove conditional code.
10210 * sysdeps/unix/sysv/linux/setegid.c: Do not include
10211 <kernel-features.h>.
10212 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
10213 unconditional.
10214 (__setresgid): Do not declare.
10215 [__ASSUME_32BITUIDS]: Make code unconditional.
10216 [!__ASSUME_32BITUIDS]: Remove conditional code.
10217 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
10218 <kernel-features.h>.
10219 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
10220 unconditional.
10221 (__setresuid): Do not declare.
10222 [__ASSUME_32BITUIDS]: Make code unconditional.
10223 [!__ASSUME_32BITUIDS]: Remove conditional code.
10224 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10225 <kernel-features.h>.
10226 [__ASSUME_32BITUIDS]: Make code unconditional.
10227 [!__ASSUME_32BITUIDS]: Remove conditional code.
10228 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
10229 <kernel-features.h>.
10230 [__ASSUME_32BITUIDS]: Make code unconditional.
10231 [!__ASSUME_32BITUIDS]: Remove conditional code.
10232
a386f1cc
RH
102332012-05-25 Richard Henderson <rth@twiddle.net>
10234
10235 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
10236 dl_hwcap to ifunc resolver.
10237 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
10238 elf_ifunc_invoke.
10239 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
10240 dl_hwcap to ifunc resolver.
10241 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
10242
b6550497
JM
102432012-05-24 Joseph Myers <joseph@codesourcery.com>
10244
10245 [BZ #14153]
10246 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
10247 for |x| <= 2**-26, not 2**-57.
10248 * math/libm-test.inc (acos_test): Do not allow spurious underflow
10249 exception.
10250
b0bc23a1
JL
102512012-05-24 Jeff Law <law@redhat.com>
10252
10253 * stdio-common/Makefile (tests): Add bug25.
10254 * stdio-common/bug25.c: New test.
10255
347c92e9
L
102562012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10257
10258 [BZ #13576]
10259 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
10260 multiple of MALLOC_ALIGNMENT in size.
10261 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
10262
6bcc8b3f
JM
102632012-05-24 Joseph Myers <joseph@codesourcery.com>
10264
10265 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
10266 Require >= 256.
10267 (FILENAME_MAX): Use macro-int-constant.
10268 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
10269 (_IOFBF): Use macro-int-constant.
10270 (_IOLBF): Likewise.
10271 (_IONBF): Likewise.
10272 (SEEK_CUR): Likewise.
10273 (SEEK_END): Likewise.
10274 (SEEK_SET): Likewise.
10275 (TMP_MAX): Likewise.
10276 (EOF): Use macro-int-constant. Require < 0.
10277 (NULL): Use macro-constant. Require == 0.
10278 (stdin): Require type to be FILE *.
10279 (stdout): Likewise.
10280 (stderr): Likewise.
10281 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
10282 macro-int-constant.
10283 (EXIT_SUCCESS): Likewise.
10284 (NULL): Use macro-constant. Require == 0.
10285 (RAND_MAX): Use macro-int-constant.
10286 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
10287 [C99-based standards] (strtof): Require function.
10288 [C99-based standards] (strtold): Likewise.
10289 [C99-based standards] (strtoll): Likewise.
10290 [C99-based standards] (strtoull): Likewise.
10291 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10292 [ISO || ISO99 || ISO11] (limits.h): Likewise.
10293 [ISO || ISO99 || ISO11] (math.h): Likewise.
10294 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
10295 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10296 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10297
d18ea0c5
AS
102982012-05-24 Andreas Schwab <schwab@linux-m68k.org>
10299
10300 [BZ #14132]
56d25bb8
AS
10301 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
10302 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
10303 * intl/dgettext.c (DCGETTEXT): Likewise.
10304 * intl/gettext.c (DCGETTEXT): Likewise.
10305 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
10306 * posix/regex_internal.h (gettext): Likewise.
10307 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
10308 Remove declaration.
10309 * include/argz.h (__argz_count_internal)
10310 (__argz_stringify_internal): Remove declaration.
10311 (__argz_count, __argz_stringify): Declare hidden proto.
10312 * intl/dcgettext.c: Remove use of INTDEF.
10313 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
10314 * string/argz-stringify.c: Likewise.
10315 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10316 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10317 Declare hidden proto.
d18ea0c5
AS
10318 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10319 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10320 Declare hidden proto.
10321 * include/stdio.h (__asprintf_internal): Don't declare.
10322 (__asprintf): Don't define as macro. Declare hidden proto.
10323 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
10324 (__fsetlocking): Declare hidden proto.
10325 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
10326 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
10327 hidden proto.
10328 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
10329 (_IO_setlinebuf): Remove use of INTUSE.
10330 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
10331 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
10332 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
10333 Remove declaration.
10334 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
10335 (_IO_do_flush): Remove use of INTUSE.
10336 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
10337 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
10338 (_IO_adjust_column, _IO_least_wmarker)
10339 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
10340 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
10341 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
10342 (_IO_default_doallocate, _IO_wdefault_doallocate)
10343 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
10344 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
10345 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
10346 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
10347 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
10348 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
10349 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
10350 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
10351 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
10352 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
10353 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
10354 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
10355 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
10356 proto.
10357 (_IO_flush_all_internal, _IO_adjust_column_internal)
10358 (_IO_default_uflow_internal, _IO_default_finish_internal)
10359 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
10360 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
10361 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
10362 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
10363 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
10364 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
10365 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
10366 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
10367 (_IO_file_close_internal, _IO_file_close_it_internal)
10368 (_IO_file_underflow_internal, _IO_file_overflow_internal)
10369 (_IO_file_init_internal, _IO_file_attach_internal)
10370 (_IO_file_fopen_internal, _IO_file_read_internal)
10371 (_IO_file_sync_internal, _IO_file_seek_internal)
10372 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
10373 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
10374 (_IO_str_underflow_internal, _IO_str_overflow_internal)
10375 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
10376 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
10377 (_IO_list_all_internal, _IO_link_in_internal)
10378 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
10379 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
10380 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
10381 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
10382 (_IO_do_write_internal, _IO_padn_internal)
10383 (_IO_getline_info_internal, _IO_getline_internal)
10384 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
10385 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
10386 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
10387 (_IO_vfscanf_internal, _IO_vfprintf_internal)
10388 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
10389 (_IO_init_internal, _IO_un_link_internal): Don't declare.
10390 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
10391 with libc_hidden_ver, remove use of INTUSE.
10392 * libio/genops.c: Likewise.
10393 * libio/freopen.c: Likewise.
10394 * libio/freopen64.c: Likewise.
10395 * libio/iofclose.c: Likewise.
10396 * libio/iofdopen.c: Likewise.
10397 * libio/iofflush.c: Likewise.
10398 * libio/iofflush_u.c: Likewise.
10399 * libio/iofgets.c: Likewise.
10400 * libio/iofgets_u.c: Likewise.
10401 * libio/iofopen.c: Likewise.
10402 * libio/iofopncook.c: Likewise.
10403 * libio/iofread.c: Likewise.
10404 * libio/iofread_u.c: Likewise.
10405 * libio/ioftell.c: Likewise.
10406 * libio/iofwrite.c: Likewise.
10407 * libio/iogetline.c: Likewise.
10408 * libio/iogets.c: Likewise.
10409 * libio/iogetwline.c: Likewise.
10410 * libio/iopadn.c: Likewise.
10411 * libio/iopopen.c: Likewise.
10412 * libio/ioseekoff.c: Likewise.
10413 * libio/ioseekpos.c: Likewise.
10414 * libio/iosetbuffer.c: Likewise.
10415 * libio/iosetvbuf.c: Likewise.
10416 * libio/ioungetc.c: Likewise.
10417 * libio/ioungetwc.c: Likewise.
10418 * libio/iovdprintf.c: Likewise.
10419 * libio/iovsprintf.c: Likewise.
10420 * libio/iovsscanf.c: Likewise.
10421 * libio/memstream.c: Likewise.
10422 * libio/obprintf.c: Likewise.
10423 * libio/oldfileops.c: Likewise.
10424 * libio/oldiofclose.c: Likewise.
10425 * libio/oldiofdopen.c: Likewise.
10426 * libio/oldiofopen.c: Likewise.
10427 * libio/oldiopopen.c: Likewise.
10428 * libio/oldstdfiles.c: Likewise.
10429 * libio/putc.c: Likewise.
10430 * libio/setbuf.c: Likewise.
10431 * libio/setlinebuf.c: Likewise.
10432 * libio/stdfiles.c: Likewise.
10433 * libio/strops.c: Likewise.
10434 * libio/vasprintf.c: Likewise.
10435 * libio/vscanf.c: Likewise.
10436 * libio/vsnprintf.c: Likewise.
10437 * libio/vswprintf.c: Likewise.
10438 * libio/wfiledoalloc.c: Likewise.
10439 * libio/wfileops.c: Likewise.
10440 * libio/wgenops.c: Likewise.
10441 * libio/wmemstream.c: Likewise.
10442 * libio/wstrops.c: Likewise.
10443 * libio/__fpurge.c: Likewise.
10444 * libio/__fsetlocking.c: Likewise.
10445 * assert/assert.c: Likewise.
10446 * debug/fgets_chk.c: Likewise.
10447 * debug/fgets_u_chk.c: Likewise.
10448 * debug/fread_chk.c: Likewise.
10449 * debug/fread_u_chk.c: Likewise.
10450 * debug/gets_chk.c: Likewise.
10451 * debug/obprintf_chk.c: Likewise.
10452 * debug/vasprintf_chk.c: Likewise.
10453 * debug/vdprintf_chk.c: Likewise.
10454 * debug/vsnprintf_chk.c: Likewise.
10455 * debug/vsprintf_chk.c: Likewise.
10456 * malloc/mtrace.c: Likewise.
10457 * misc/error.c: Likewise.
10458 * misc/syslog.c: Likewise.
10459 * stdio-common/asprintf.c: Likewise.
10460 * stdio-common/fxprintf.c: Likewise.
10461 * stdio-common/getw.c: Likewise.
10462 * stdio-common/isoc99_fscanf.c: Likewise.
10463 * stdio-common/isoc99_scanf.c: Likewise.
10464 * stdio-common/isoc99_vfscanf.c: Likewise.
10465 * stdio-common/isoc99_vscanf.c: Likewise.
10466 * stdio-common/isoc99_vsscanf.c: Likewise.
10467 * stdio-common/printf-prs.c: Likewise.
10468 * stdio-common/printf_fp.c: Likewise.
10469 * stdio-common/printf_fphex.c: Likewise.
10470 * stdio-common/printf_size.c: Likewise.
10471 * stdio-common/putw.c: Likewise.
10472 * stdio-common/scanf.c: Likewise.
10473 * stdio-common/sprintf.c: Likewise.
10474 * stdio-common/tmpfile.c: Likewise.
10475 * stdio-common/vfprintf.c: Likewise.
10476 * stdio-common/vfscanf.c: Likewise.
10477 * stdlib/strfmon_l.c: Likewise.
10478 * sunrpc/openchild.c: Likewise.
10479 * sunrpc/xdr_stdio.c: Likewise.
10480 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10481 * sysdeps/mach/hurd/tmpfile.c: Likewise.
10482
d6c33fda
RM
104832012-05-24 Roland McGrath <roland@hack.frob.com>
10484
c1487492
RM
10485 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10486
10487 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
10488 in the third column, to generate for the shared library an IFUNC
10489 that uses _dl_vdso_vsym.
10490 * Makerules (COMPILE.c, compile-stdin.c): New variables.
10491 * Makeconfig (object-suffixes-noshared): New variable.
10492
10493 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
10494 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
10495 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
10496 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
10497
d6c33fda
RM
10498 [BZ #14132]
10499 * include/sys/time.h (__gettimeofday): Remove macro.
10500 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
10501 * time/gettimeofday.c (__gettimeofday): Remove #undef.
10502 Remove INTDEF.
10503 (__gettimeofday): Add libc_hidden_def.
10504 (gettimeofday): Add libc_hidden_weak.
10505 * sysdeps/mach/gettimeofday.c: Likewise.
10506 * sysdeps/posix/gettimeofday.c: Likewise.
10507 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10508 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10509 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
10510 (__gettimeofday_internal): Remove strong_alias.
10511 (__gettimeofday): Add libc_hidden_def.
10512 (gettimeofday): Add libc_hidden_weak.
10513 * sysdeps/unix/syscalls.list (gettimeofday):
10514 Remove __gettimeofday_internal alias.
10515
b5a2bbe6
L
105162012-05-24 Daniel Jacobowitz <drow@false.org>
10517 H.J. Lu <hongjiu.lu@intel.com>
10518
10519 [BZ #12495]
10520 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
10521 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
10522 (largebin_index_32_big): New.
10523 (largebin_index): Use it for 16-byte alignment.
10524 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
10525 correction with front_misalign.
10526
cfba4fda
L
105272012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10528
7f907421
L
10529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
10530 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10531 Likewise.
10532 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
10533 Likewise.
10534 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10535 Likewise.
10536 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
10537 Likewise.
10538 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
10539 Likewise.
10540 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
10541 Likewise.
10542 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
10543 Likewise.
10544 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10545 Likewise.
10546 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
10547 Likewise.
10548 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
10549 Likewise.
10550 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10551 Likewise.
10552 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
10553 Likewise.
10554
cfba4fda
L
10555 * scripts/data/c++-types-x32-linux-gnu.data: New file.
10556 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
10557
80bad0cc
JM
105582012-05-24 Joseph Myers <joseph@codesourcery.com>
10559
7a25eb06
JM
10560 [BZ #10846]
10561 [BZ #14036]
10562 * math/libm-test.inc (exp_test): Add test from bug 14036.
10563 (pow_test): Add test from bug 10846.
10564
795405f9
JM
10565 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
10566 and other flags.
10567 (special_function): Do not include flags in test name.
10568 (parse_args): Likewise.
10569 * sysdeps/i386/fpu/libm-test-ulps: Update.
10570 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10571 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10572 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10574
80bad0cc
JM
10575 * math/gen-libm-test.pl (%beautify): Add entries for underflow
10576 exceptions.
10577 * math/libm-test.inc ("Philosophy"): Update comment about
10578 exception testing.
10579 (UNDERFLOW_EXCEPTION): New macro.
10580 (UNDERFLOW_EXCEPTION_OK): Likewise.
10581 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
10582 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
10583 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
10584 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
10585 (INVALID_EXCEPTION_OK): Update value.
10586 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10587 (OVERFLOW_EXCEPTION_OK): Likewise.
10588 (IGNORE_ZERO_INF_SIGN): Likewise.
10589 (test_exceptions): Handle underflow exceptions.
10590 (acos_test): Update for underflow exception expectations.
10591 (cexp_test): Likewise.
10592 (clog_test): Likewise.
10593 (clog10_test): Likewise.
10594 (csqrt_test): Likewise.
10595 (ctan_test): Likewise.
10596 (ctanh_test): Likewise.
10597 (exp_test): Likewise.
10598 (exp10_test): Likewise.
10599 (exp2_test): Likewise.
10600 (expm1_test): Likewise.
10601 (fma_test): Likewise.
10602 (j0_test): Likewise.
10603 (jn_test): Likewise.
10604 (nexttoward_test): Likewise.
10605 (pow_test): Likewise.
10606 (scalbn_test): Likewise.
10607 (scalbln_test): Likewise.
10608 (tan_test): Likewise.
10609 (y1_test): Likewise.
10610 * sysdeps/i386/fpu/libm-test-ulps: Update.
10611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10612
9e0e3d0b
DM
106132012-05-23 David S. Miller <davem@davemloft.net>
10614
10615 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10616 (__libc_sigaction): Remove unused local variables.
10617
ccd0a08f
L
106182012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10619
10620 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
10621
62bdf9a6
PE
106222012-05-23 Paul Eggert <eggert@cs.ucla.edu>
10623
f8591f80
PE
10624 mktime: avoid signed integer overflow
10625 * time/mktime.c (__mktime_internal): Do not mishandle the case
10626 where diff == INT_MIN.
10627
94c7d826
PE
10628 mktime: simplify computation of average
10629 * time/mktime.c (ranged_convert): Use new time_t_avg function
10630 instead of rolling our own (probably-slower) code.
10631
ce73d683
PE
10632 mktime: do not assume signed right shift propagates sign bit
10633 * time/mktime.c (isdst_differ): New static function.
10634 (__mktime_internal): No need to normalize tm_isdst now.
10635 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
10636 tm_isdst values.
10637
72a22e59
PE
10638 mktime: merge another wrapv change from gnulib
10639 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
10640 from some compilers.
10641
68605433
PE
10642 mktime: remove incorrect attempt at unusual arithmetics
10643 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
10644 The code didn't really work on such machines anyway.
10645 (TYPE_MINIMUM): Assume two's complement.
10646 (twos_complement_arithmetic): Verify that long_int and time_t
10647 are two's complement (or unsigned, in the latter case).
10648
03cf7fe3
PE
10649 mktime: check signed shifts on long_int and time_t, too
10650 * time/mktime.c (SHR): Check that shifts work as desired
10651 on the types long_int and time_t too, as SHR is used on
10652 such types.
10653
f04dfbc2
PE
10654 mktime: do not assume 'long' is wide enough
10655 * time/mktime.c (verify): Move decl up.
10656 (long_int): New type.
10657 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
10658 to remove assumption in the code that 'long' is wide enough to
10659 store year values. This assumption is not true on x32 and on
10660 some non-glibc platforms.
10661
62bdf9a6
PE
10662 mktime: merge wrapv change from gnulib
10663 * time/mktime.c (WRAPV): New macro.
10664 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
10665 (guess_time_tm, __mktime_internal): Do not assume that signed
10666 integer overflow wraps around; modern compilers generate code
10667 where this assumption is no longer valid.
10668
5e292e4f
L
106692012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10670
10671 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10672 Replace "jmp L(pseudo_end)" with "ret".
10673 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
10674 Likewise.
10675
8caf8c87
AJ
106762012-05-23 Andreas Jaeger <aj@suse.de>
10677
10678 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
10679 * sysdeps/unix/sysv/linux/poll.c: Remove file.
10680
1a09dc56
AJ
106812012-05-23 Andreas Jaeger <aj@suse.de>
10682 Maximilian Attems <max@stro.at>
10683
10684 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
10685 New macros.
10686
1c87aba0
L
106872012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10688
10689 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
10690 code so that pseudo_end is just ret and the stack pointer is
10691 correct also for static library in error case.
10692
40e45bd5
JM
106932012-05-23 Joseph Myers <joseph@codesourcery.com>
10694
c2670533
JM
10695 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
10696 move to syscalls.list.
10697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10701
40e45bd5
JM
10702 * manual/install.texi (Running make install): Do not mention Linux
10703 kernel version for which pt_chown is not needed.
10704 (Linux): Do not mention problems with nscd with 2.0 kernels.
10705 * INSTALL: Regenerated.
10706
be08eda5
AJ
107072012-05-23 Andreas Jaeger <aj@suse.de>
10708
10709 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
10710 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
10711 macro.
10712 * sysdeps/unix/sysv/linux/s390/bits/mman.h
10713 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10714 * sysdeps/unix/sysv/linux/sh/bits/mman.h
10715 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10716 * sysdeps/unix/sysv/linux/i386/bits/mman.h
10717 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10718 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
10719 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10720 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
10721 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10722 * sysdeps/unix/sysv/linux/bits/in.h
10723 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
10724
a6a056bb
RM
107252012-05-22 Roland McGrath <roland@hack.frob.com>
10726
10727 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
10728 (PREPARE_VERSION): Just use assert instead, it will be elided
10729 under [NDEBUG] anyway.
10730
c9009328
L
107312012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10732
10733 * sysdeps/unix/sysv/linux/Makefile: Include
10734 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 10735 (sysdep_routines): Remove sysctl.
c9009328
L
10736 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
10737 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
10738 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
10739 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
10740 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
10741
73338355
AJ
107422012-05-22 Andreas Jaeger <aj@suse.de>
10743
10744 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
10745 that pseudo_end is just ret and the stack pointer is correct also
10746 for static library in error case.
10747
d44638b0
PP
107482012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
10749
10750 [BZ #14122]
10751 * nss/nsswitch.c (defconfig_entries): New variable.
10752 (__nss_database_lookup): Don't leak defconfig entries.
10753 (nss_parse_service_list): Don't leak on error paths.
10754 (free_database_entries): New function.
10755 (free_defconfig): New function.
10756 (free_mem): Move common code to free_database_entries.
10757
31a39bd8
L
107582012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10759
da0331a8
L
10760 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
10761 Add arch_prctl.
10762 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
10763
31a39bd8
L
10764 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10765 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
10766 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
10767 New macro.
10768 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
10769 (INTERNAL_SYSCALL_TYPES): Likewise.
10770 (LOAD_ARGS_TYPES_[1-6]): Likewise.
10771 (LOAD_REGS_TYPES_[1-6]): Likewise.
10772 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
10773 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
10774
45470df3
AZ
107752012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10776
10777 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
10778 copysignl for GLIBC_2_0.
10779 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
10780 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
10781 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
10782 logbl for GLIBC_2_0.
10783 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10784 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10785
98a61bcb
L
107862012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10787
a4f6e481
L
10788 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
10789 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10790
f63d5db6
L
10791 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10792 Use "neg %eax".
10793
98a61bcb
L
10794 * time/mktime.c: Update copyright years.
10795
95770f14
PE
107962012-05-22 Paul Eggert <eggert@cs.ucla.edu>
10797
6226efbd
PE
10798 mktime: merge comment-quoting-style change from gnulib
10799 * time/mktime.c: Quote 'like this' in comments.
10800 The GNU coding standards suggest that we no longer quote `like this',
10801 as "`" and "'" are typically rendered asymmetrically nowadays.
10802 The typical gnulib style is to quote 'like this' when quoting
10803 code, and "like this" when quoting English.
10804
b99e4f78
PE
10805 * time/mktime.c (compile-command): Add "-I.".
10806
643e01e6
PE
10807 mktime: merge mktime-internal.h change from gnulib
10808 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
10809
2554247d
PE
10810 mktime: merge time_r change from gnulib
10811 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
10812
826dd0ab
PE
10813 mktime: merge DEBUG change from gnulib
10814 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
10815 case system <time.h> has a #define.
10816
bd83aabe
PE
10817 mktime: merge <sys/types.h> change from gnulib
10818 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
10819 since <time.t> is now guaranteed to define time_t.
10820
95770f14
PE
10821 mktime: merge HAVE_CONFIG_H change from gnulib
10822 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
10823
5e1a27a9
L
108242012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10825
0e44a77e
L
10826 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10827 Use "neg %eax".
10828
5e1a27a9
L
10829 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
10830 __rlim_t cast.
10831 (struct rusage): Use anonymous union to pad each field to
10832 __syscall_slong_t.
10833
46259bec
DM
108342012-05-21 David S. Miller <davem@davemloft.net>
10835
10836 * Makefules (o-iterator): Remove .s cases.
10837 (compile-command.s): Delete.
10838 (COMPILE.s): Delete.
10839 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
10840
59f0c22e
JM
108412012-05-21 Joseph Myers <joseph@codesourcery.com>
10842
10843 * configure.in (libc_cv_predef_stack_protector): Only consider
10844 "foobar" and "__stack_chk_fail" lines in libc_undefs.
10845 * configure: Regenerated.
10846
20c07380
L
108472012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10848
bbb3154b
L
10849 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10850 New macro. Use R*LP on int and pointer.
10851 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
10852 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
10853 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
10854 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
10855
20c07380
L
10856 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
10857 [__WORDSIZE_TIME64_COMPAT32] instead of
10858 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
10859 (struct utmp): Likewise.
10860 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
10861 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
10862 Renamed to ...
10863 (__WORDSIZE_TIME64_COMPAT32): This.
10864 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
10865 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
10866 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
10867 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
10868 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
10869 (__WORDSIZE_TIME64_COMPAT32): New macro.
10870
d8d1017e
AJ
108712012-05-21 Andreas Jaeger <aj@suse.de>
10872
10873 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
10874 only if [SHARED]. Add prototype for __wcschr_ia32.
10875
6c7fb145
RM
108762012-05-21 Roland McGrath <roland@hack.frob.com>
10877
10878 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
10879 of %rbp unmolested in the jmp_buf while mangling the low bits.
10880 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
10881 unmolested high bits of %rbp while demangling the low bits.
10882 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10883
66274218
AJ
108842012-05-21 Andreas Jaeger <aj@suse.de>
10885
07c58f8f
AJ
10886 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
10887 * sunrpc/svc_simple.c: Use it for registerrpc.
10888 * sunrpc/xcrypt.c: Use it for passwd2des.
10889
66274218
AJ
10890 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
10891
61f65140
L
108922012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10893
10894 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
10895 Don't define if [__SYSCALL_WORDSIZE != 32].
10896 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
10897 New macro.
10898
5fefb436
AJ
108992012-05-21 Bruno Haible <bruno@clisp.org>
10900 Andreas Jaeger <aj@suse.de>
10901
10902 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
10903 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
10904 inptr and inend for must_buffer_ch.
10905 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
10906 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
10907 * stdio-common/Makefile (tests): Remove bug15.
10908 (bug15-ENV): Remove macro.
10909 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
10910 anymore.
10911
d8e272ab
AJ
109122012-05-19 Andreas Jaeger <aj@suse.de>
10913 Roland McGrath <roland@hack.frob.com>
10914
10915 * manual/contrib.texi: Completely rewritten. It contains now an
10916 alphabetical list of contributors and their contributions.
10917
4a56a162
RH
109182012-05-21 Richard Henderson <rth@twiddle.net>
10919
10920 * misc/getauxval.c (__getauxval): Use unsigned long int.
10921 * misc/sys/auxv.h: Include <sys/cdefs.h>.
10922 (getauxval): Use unsigned long int.
10923
d024d23c
L
109242012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10925
10926 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10927
cbc00a03
RM
109282012-05-21 Roland McGrath <roland@hack.frob.com>
10929
10930 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
10931 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
10932 __alignof__ (long double).
10933
478143fa
AZ
109342012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10935
10936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10937
c7683a6d
RH
109382012-05-20 Richard Henderson <rth@twiddle.net>
10939
10940 * misc/getauxval.c: New file.
10941 * misc/sys/auxv.h: New file.
10942 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
10943 (routines): Add getauxval.
10944 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
10945 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
10946 * elf/dl-sysdep.c (_dl_auxv): Remove.
10947 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
10948 * elf/dl-support.c (_dl_auxv): New variable.
10949 (_dl_aux_init): Initialize it.
10950 * manual/startup.texi (Auxiliary Vector): New node.
10951 * sysdeps/generic/bits/hwcap.h: New file.
10952 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
10953 * sysdeps/powerpc/sysdep.h: ... here. Include it.
10954 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
10955 * sysdeps/sparc/sysdep.h: ... here. Include it.
10956 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
10957 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
10958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10959 Update.
c7683a6d
RH
10960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
10961 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
10962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
10963 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
10964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10965 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10966 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
10967 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
10968
a6f1845d
AZ
109692012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10970
10971 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10972
cbcbe830
DM
109732012-05-19 David S. Miller <davem@davemloft.net>
10974
10975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10976
e0b16cc2
JM
109772012-05-19 Joseph Myers <joseph@codesourcery.com>
10978
10979 [BZ #14123]
10980 * math/s_ccosh.c: Include <float.h>
10981 (__ccosh): Avoid internal overflow calculating sinh and cosh
10982 values before multiplying by sin and cos values.
10983 * math/s_ccoshf.c: Likewise.
10984 * math/s_ccoshl.c: Likewise.
10985 * math/s_csin.c: Likewise.
10986 * math/s_csinf.c: Likewise.
10987 * math/s_csinl.c: Likewise.
10988 * math/s_csinh.c: Likewise.
10989 * math/s_csinhf.c: Likewise.
10990 * math/s_csinhl.c: Likewise.
10991 * math/libm-test.inc (ccos_test): Add more tests.
10992 (ccosh_test): Likewise.
10993 (csin_test): Likewise.
10994 (csinh_test): Likewise.
10995 * sysdeps/i386/fpu/libm-test-ulps: Update.
10996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10997
6ad13e08
L
109982012-05-19 H.J. Lu <hongjiu.lu@intel.com>
10999
f66f0ce8
L
11000 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
11001 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11002
6ad13e08
L
11003 * sysdeps/x86_64/x32/_itoa.h: Add comment.
11004
b1d072a7
JM
110052012-05-19 Joseph Myers <joseph@codesourcery.com>
11006
11007 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
11008 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
11009 * sysdeps/powerpc/soft-fp/Versions: Likewise.
11010 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
11011 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
11012 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
11013 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
11014 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
11015 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
11016 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
11017 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
11018 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
11019 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
11020 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
11021 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
11022 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
11023 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
11024 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
11025 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
11026 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
11027 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
11028 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
11029 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
11030 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
11031 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
11032 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
11033 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
11034 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
11035 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
11036 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
11037 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
11038
9eae47cb
AJ
110392012-05-18 Andreas Jaeger <aj@suse.de>
11040
11041 * csu/.gitignore: Delete.
11042
bb07f69f
L
110432012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11044
11045 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
11046 (timex): Use __syscall_slong_t.
11047
e6bdb741
AJ
110482012-05-18 Andreas Jaeger <aj@suse.de>
11049 Carlos O'Donell <carlos_odonell@mentor.com>
11050
11051 * manual/install.texi (Configuring and compiling): Update
11052 description about files modified in the source directory.
d6c33fda 11053 * INSTALL: Regenerated.
e6bdb741 11054
1b74487e
L
110552012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11056
11057 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
11058 value. Use "or" to set return value to -1.
11059 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
11060 negate return value.
11061
a88b64b9
TMQMF
110622012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11063
11064 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
11065 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
11066 failure if the compiler has Graphite support disabled.
11067 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
11068 Likewise.
11069 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
11070 CFLAGS-memmove.c): Likewise.
11071 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
11072 Likewise.
11073
3707636e
L
110742012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11075
610b8622
L
11076 * sysdeps/x86_64/x32/_itoa.h: New file.
11077
7cd195df
L
11078 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
11079 getdents system call only if kernel and user dirents have the
11080 same d_ino and d_off.
11081
94b07d20
L
11082 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11083 LLONG_MAX != LONG_MAX.
11084 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11085 (_fitoa_word): Likewise.
11086
18298070
L
11087 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
11088 years.
11089 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
11090 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
11091 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
11092
553c7ea4
L
11093 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
11094 include <bits/wordsize.h>. Check __x86_64__ instead of
11095 __WORDSIZE.
11096 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
11097 if __x86_64__ is defined. Use anonymous union on fpstate.
11098
3707636e
L
11099 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
11100 anonymous union.
11101
b53ef01a
AS
111022012-05-18 Andreas Schwab <schwab@linux-m68k.org>
11103
37fb1dc0
AS
11104 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11105 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
11106 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
11107 Refer to _rtld_local_ro instead of _rtld_global_ro.
11108 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
11109 Likewise.
11110 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
11111 Likewise.
11112 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
11113 Likewise.
11114 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
11115 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
11116 of _rtld_global, and rtld_progname instead of _dl_argv[0].
11117
b53ef01a
AS
11118 * sysdeps/powerpc/powerpc32/dl-machine.c
11119 (__elf_machine_runtime_setup) [PROF]: Don't reference
11120 _dl_prof_resolve.
11121
7a185db2
AJ
111222012-05-18 Andreas Jaeger <aj@suse.de>
11123
11124 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
11125 function only available for GCCs before 3.4 since GCC 3.4
11126 introduced a builtin.
11127 (lrint): Likewise.
11128 (llrintf): Likewise.
11129 (llrint): Likewise.
11130 (fmaxf): Likewise.
11131 (fmax): Likewise.
11132 (fminf): Likewise.
11133 (fmin): Likewise.
11134 (rint): Likewise.
11135 (rintf): Likewise.
11136 (nearbyint): Likewise.
11137 (nearbyintf): Likewise.
11138 (ceil): Likewise.
11139 (ceilf): Likewise.
11140 (floor): Likewise.
11141 (floorf): Likewise.
11142
3e5aef87
L
111432012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11144
428bd707
L
11145 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
11146 on both fields and cast pointer to __syscall_ulong_t.
11147
3e5aef87
L
11148 * bits/types.h (__fsword_t): New type.
11149 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
11150 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
11151 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11152 (__FSWORD_T_TYPE): Likewise.
11153 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11154 (__FSWORD_T_TYPE): Likewise.
11155 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11156 (__FSWORD_T_TYPE): Likewise.
11157 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
11158 (__FSWORD_T_TYPE): Likewise.
11159 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
11160 __SWORD_TYPE with __fsword_t.
11161 (statfs64): Likewise.
11162
1ba7c3dc
DM
111632012-05-17 David S. Miller <davem@davemloft.net>
11164
11165 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
11166
59910343
AJ
111672012-05-17 Andreas Jaeger <aj@suse.de>
11168
11169 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
11170 warning.
11171
2e4c1e9e
L
111722012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11173
11174 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
11175
de7f5ce7
AJ
111762012-05-17 Andreas Jaeger <aj@suse.de>
11177
11178 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
11179 when it is used.
11180
286abc3d
CM
111812012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11182
11183 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
11184
477cc68e
L
111852012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11186
11187 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
11188 * sysdeps/x86_64/tst-mallocalign1.c: New file.
11189
1a0994f5
CD
111902012-05-17 Andreas Jaeger <aj@suse.de>
11191 Carlos O'Donell <carlos_odonell@mentor.com>
11192
11193 [BZ #14059]
11194 * sysdeps/x86_64/multiarch/init-arch.h
11195 (bit_YMM_Usable): Rename to...
11196 (bit_AVX_Usable): ... this.
11197 (bit_FMA4_Usable): New macro.
11198 (bit_XMM_state): New macro.
11199 (bit_YMM_state): New macro.
11200 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
11201 [__ASSEMBLER__] (index_AVX_Usable): ... this.
11202 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
11203 (CPUID_OSXSAVE): New macro.
11204 (CPUID_AVX): New macro.
11205 (CPUID_FMA4): New macro.
11206 (index_YMM_Usable): Rename to...
11207 (index_AVX_Usable): ... this.
11208 (HAS_AVX): Use HAS_ARCH_FEATURE.
11209 (HAS_FMA4): Likewise.
11210 (HAS_YMM_USABLE): Remove.
11211 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11212 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
11213 are present.
11214 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
11215 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
11216 * sysdeps/x86_64/multiarch/Makefile: Likewise.
11217 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
11218 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
11219
0af797de
CM
112202012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11221
11222 * math/libm-test.c: Support platforms without multiple rounding modes.
11223 * math/bug-nextafter.c: Support platforms without FP exceptions.
11224 * math/bug-nexttoward.c: Likewise.
11225 * math/test-fenv.c: Likewise.
11226 * math/test-misc.c: Likewise.
11227 * stdlib/bug-getcontext.c: Likewise.
11228
e39745ff
AJ
112292012-05-17 Andreas Jaeger <aj@suse.de>
11230
11231 * manual/examples/search.c (critter_cmp): Change signature to
11232 avoid warnings.
11233 * manual/string.texi (Collation Functions): Likewise.
11234
48970aba
L
112352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11236
11237 * bits/types.h: Fold copyright years.
11238 * bits/typesizes.h: Likewise.
11239 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
11240 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11241 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
11242 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
11243 * time/time.h: Likewise.
11244
bedee953
PP
112452012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
11246
11247 [BZ #208]
11248 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
11249 in instead of returning them. Return void.
11250 (__libc_mallinfo): Accumulate over all arenas.
11251 (__malloc_stats): Adjust for change in int_mallinfo interface.
11252
61653dfb
RM
112532012-05-16 Roland McGrath <roland@hack.frob.com>
11254
30b99d79
RM
11255 [BZ #10375]
11256 * configure.in (NM): Add AC_CHECK_TOOL for it.
11257 (libc_extra_cflags): New substituted variable.
11258 Check for -fstack-protector being used implicitly.
11259 * configure: Regenerated.
11260 * config.make.in (config-extra-cflags): New variable,
11261 gets @libc_extra_cflags@.
11262 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
11263
61653dfb
RM
11264 [BZ #10375]
11265 * configure.in: Check for _FORTIFY_SOURCE being predefined.
11266 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
11267 * configure: Regenerated.
11268 * config.make.in (CPPUNDEFS): New substituted variable.
11269 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
11270 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
11271 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
11272
661768bb
L
112732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11274
11275 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
11276 (mq_attr): Use __syscall_slong_t.
11277
d4261567
L
112782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11279
11280 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
11281 Check __x86_64__ instead of __WORDSIZE.
11282 (_STAT_VER_LINUX): Likewise.
11283 (stat): Check __x86_64__ instead of __WORDSIZE. Use
11284 __syscall_ulong_t and __syscall_slong_t.
11285 (stat64): Likewise.
11286
cf3ff365
L
112872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11288
11289 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
11290
76cf3e4d
L
112912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11292
11293 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
11294
a637753a
L
112952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11296
11297 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
11298 __syscall_ulong_t.
11299
d5e05119
L
11300 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
11301 include <bits/wordsize.h>. Check __x86_64__ instead of
11302 __WORDSIZE.
11303 (greg_t): Use "__extension__ long long int" if __x86_64__ is
11304 defined.
11305 (mcontext_t): Replace "unsigned long" with "unsigned long long".
11306
f62ee380
L
11307 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
11308 include <bits/wordsize.h>. Check __x86_64__ instead of
11309 __WORDSIZE.
11310 (user_regs_struct): Use "__extension__ unsigned long long"
11311 instead of "unsigned long" if __x86_64__ is defined.
11312 (user): Likewise. Pad after pointer field if __ILP32__ is
11313 defined.
11314
4e124ced
JM
113152012-05-16 Joseph Myers <joseph@codesourcery.com>
11316
6a3951a0
JM
11317 * configure.in (makeinfo): Require version 4.5 or later. Allow
11318 versions 5 to 9.
11319 * configure: Regenerated.
11320 * manual/install.texi (texinfo): Increase version requirement to
11321 4.5 or later.
11322 * INSTALL: Regenerated.
11323
4e124ced
JM
11324 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
11325
953ca31a
L
113262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11327
11328 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
11329
617aca05
L
11330 * sysdeps/x86_64/x32/ffs.c: New file.
11331
5762f7ae
L
11332 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
11333 __syscall_ulong_t.
11334 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
11335 defined. Use __syscall_ulong_t.
11336 (shminfo): Use __syscall_ulong_t.
11337 (shm_info): Likewise.
11338
a26b6856
L
11339 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
11340 __syscall_ulong_t.
11341
cb2b9ef7
L
11342 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
11343 <bits/wordsize.h>.
11344 (msgqnum_t): Use __syscall_ulong_t.
11345 (msglen_t): Likewise.
11346 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
11347 __syscall_ulong_t.
11348
34683bb0
L
11349 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
11350 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11351
84a68786
L
11352 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
11353
48baa5f1
L
11354 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
11355 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
11356
180be88b
L
11357 * sysvipc/sys/msg.h (msgbuf): Replace long int with
11358 __syscall_slong_t.
11359
5e90c8ad
L
11360 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
11361 include <bits/wordsize.h>. Check __x86_64__ instead of
11362 __WORDSIZE.
11363
23dfb58b
L
11364 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
11365 "unsigned long long int" if __x86_64__ is defined.
11366 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
11367
ce5d54b0
L
11368 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
11369 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11370 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
11371
13dc9eac
L
11372 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
11373 <stdint.h>.
11374 (GET_PC): Cast to uintptr_t first.
11375 (GET_FRAME): Likewise.
11376 (GET_STACK): Likewise.
11377
a7895d15
L
11378 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
11379 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
11380 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
11381 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
11382 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
11383 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
11384 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
11385 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
11386 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11387 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
11388 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
11389 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
11390 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11391 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
11392 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
11393 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
11394 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
11395 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
11396 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
11397 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
11398 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
11399 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
11400 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
11401 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
11402 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
11403 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
11404 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
11405 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
11406 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
11407
656416c9
AS
114082012-05-16 Andreas Schwab <schwab@linux-m68k.org>
11409
5bd66283
AS
11410 * Makerules (+depfiles): Also collect depfiles from .oS in
11411 $(extra-objs).
11412 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
11413 .oS, $(libnldbl-routines)).
11414
656416c9
AS
11415 * Makerules (native-compile-mkdep-flags): Define.
11416 * sunrpc/Makefile (extra-objs): Add $(addprefix
11417 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
11418 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
11419 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
11420 calling $(make-target-directory).
11421
a46f2169
L
114222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11423
11424 * bits/types.h (__snseconds_t): Removed.
11425 * time/time.h (struct timespec): Replace __snseconds_t with
11426 __syscall_slong_t.
11427 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
11428 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
11429 Likewise.
11430 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11431 (__SNSECONDS_T_TYPE): Likewise.
11432 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11433 (__SNSECONDS_T_TYPE): Likewise.
11434 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11435 (__SNSECONDS_T_TYPE): Likewise.
11436
6af6528b
L
114372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11438
11439 * sysdeps/mach/hurd/bits/typesizes.h
11440 (__SYSCALL_SLONG_TYPE): New macro.
11441 (__SYSCALL_ULONG_TYPE): Likewise.
11442
de986b56
L
114432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11444
11445 * bits/types.h (__syscall_slong_t): New type.
11446 (__syscall_ulong_t): Likewise.
11447
11448 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
11449 (__SYSCALL_ULONG_TYPE): Likewise.
11450 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11451 (__SYSCALL_SLONG_TYPE): Likewise.
11452 (__SYSCALL_ULONG_TYPE): Likewise.
11453 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11454 (__SYSCALL_SLONG_TYPE): Likewise.
11455 (__SYSCALL_ULONG_TYPE): Likewise.
11456 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11457 (__SYSCALL_SLONG_TYPE): Likewise.
11458 (__SYSCALL_ULONG_TYPE): Likewise.
11459
85736dc7
L
114602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11461
11462 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
11463 Add sigaltstack-offsets.sym.
11464 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11465 <sigaltstack-offsets.h>.
11466 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
11467 longjmp_msg pointer.
11468 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
11469 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
11470 signal stack.
11471 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
11472
cc03b296
JM
114732012-05-15 Joseph Myers <joseph@codesourcery.com>
11474
a9538892
JM
11475 * elf/stackguard-macros.h: Remove file.
11476 * sysdeps/generic/stackguard-macros.h: New file.
11477 * sysdeps/i386/stackguard-macros.h: Likewise.
11478 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11479 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11480 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11481 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11482 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11483 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11484 * sysdeps/x86_64/stackguard-macros.h: Likewise.
11485 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
11486 <elf/stackguard-macros.h>.
11487
cc03b296
JM
11488 [BZ #14109]
11489 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
11490 __aligned__ in attribute.
11491 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
11492 (gregset_t): Likewise.
11493
93171016
L
114942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11495
11496 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
11497 * sysdeps/x86_64/64/Implies-after: Here. New file.
11498 * sysdeps/x86_64/x32/Implies-after: New file.
11499
d86813a0
L
115002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11501
11502 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
11503 and access return value for _dl_profile_fixup. Use R10_LP to
11504 load frame size.
11505
2953ec75
L
115062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11507
11508 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
11509
3b550e9e
L
115102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11511
11512 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
11513 * sysdeps/x86_64/x32/sysdep.h: New file.
11514
eda41706
L
115152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11516
11517 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
11518 * sysdeps/x86_64/setjmp.S: Likewise.
11519
9ea01d93
AZ
115202012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11521
11522 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
11523 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
11524 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
11525 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
11526 remove unused global constant.
11527
02a91938
CM
115282012-05-15 Chris Metcalf <cmetcalf@tilera.com>
11529
11530 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
11531 include of <not-cancel.h>.
11532
6540185f
RM
115332012-05-15 Roland McGrath <roland@hack.frob.com>
11534
11535 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
11536
509072a0
AJ
115372012-05-15 Jeff Law <law@redhat.com>
11538 Andreas Jaeger <aj@suse.de>
11539
11540 [BZ #13594]
11541 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
11542 out from...
11543 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
11544 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
11545 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
11546 code changing __hst_map_handle.map.
11547
ba75122d
RM
115482012-05-15 Roland McGrath <roland@hack.frob.com>
11549
11550 * configure.in (sysnames): Look for Implies-before and Implies-after
11551 files.
11552 * configure: Regenerated.
11553
890d8bd8
L
115542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11555
11556 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
11557 8-byte data alignment with LP_SIZE alignment.
11558
f6ee6623
L
115592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11560
11561 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
11562 into R10_LP.
11563
ea2626f6
L
115642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11565
11566 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
11567
085f715e
L
115682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11569
11570 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
11571 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
11572 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
11573 Likewise.
11574 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11575
be8498fc
L
115762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11577
11578 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
11579 (stackinfo_sub_sp): Likewise.
11580
70bc83b9
L
115812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11582
11583 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
11584 RAX_LP.
11585
9bc0b730
L
115862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11587
11588 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
11589 into R*_LP.
11590
6d2850e7
L
115912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11592
11593 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
11594 sizes into R*_LP.
11595
3cb84561
L
115962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11597
11598 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
11599
54e2ed81
L
116002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11601
11602 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
11603 into R11_LP and load __x86_64_shared_cache_size_half into
11604 R8_LP.
11605
8a17f349
L
116062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11607
11608 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
11609 R8_LP.
11610
777b1eea
AZ
116112012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11612
11613 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
11614 logb for POWER7.
11615 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
11616 logbf for POWER7.
11617 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
11618 logbl for POWER7.
11619 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
11620 powerpc32/power7/fpu/s_logb.c via #include.
11621 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
11622 powerpc32/power7/fpu/s_logbf.c via #include.
11623 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
11624 powerpc32/power7/fpu/s_logbl.c via #include.
11625
d20d4ac2
JM
116262012-05-15 Joseph Myers <joseph@codesourcery.com>
11627
11628 * README.libm: Remove file.
11629
6cdef1ab
L
116302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11631
11632 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
11633 count for x32. Use R*_LP and omit operand-size suffix.
11634
0b254d8f
L
116352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11636
11637 * shlib-versions: Move x86_64-.*-linux.* entries to ...
11638 * sysdeps/x86_64/64/shlib-versions: Here. New file.
11639 * sysdeps/x86_64/x32/shlib-versions: New file.
11640
ceb809dc
RM
116412012-05-14 Roland McGrath <roland@hack.frob.com>
11642
11643 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
11644 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
11645 Use _dl_fatal_printf instead.
11646
37f1abd4
JM
116472012-05-14 Joseph Myers <joseph@codesourcery.com>
11648
11649 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
11650 set if not set by the user. Do not allow for being unset.
11651 * sysdeps/unix/sysv/linux/configure: Regenerated.
11652
11de3a33
L
116532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11654
11655 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
11656 the `q' suffix from lea and replace .quad with ASM_ADDR.
11657
e02f153a
L
116582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11659
11660 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
11661 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
11662 instead of $17.
11663 (PTR_DEMANGLE): Likewise.
11664
520ae0fd
L
116652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11666
11667 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
11668 (LP_OP): Likewise.
11669 (ASM_ADDR): Likewise.
11670 (RAX_LP): Likewise.
11671 (RBP_LP): Likewise.
11672 (RBX_LP): Likewise.
11673 (RCX_LP): Likewise.
11674 (RDI_LP): Likewise.
11675 (RSI_LP): Likewise.
11676 (RSP_LP): Likewise.
11677 (R8_LP): Likewise.
11678 (R9_LP): Likewise.
11679 (R10_LP): Likewise.
11680 (R10_LP): Likewise.
11681 (R11_LP): Likewise.
11682 (R12_LP): Likewise.
11683 (R13_LP): Likewise.
11684 (R14_LP): Likewise.
11685 (R15_LP): Likewise.
11686
b985be81
L
116872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11688
11689 * sysdeps/x86_64/x32/dl-machine.h: New file.
11690
6a4888ff
AJ
116912012-05-14 Andreas Jaeger <aj@suse.de>
11692
11693 * manual/Makefile (subdir): Remove export of subdir.
11694 (all): Remove target.
11695 (.PHONY): Remove all from list.
11696 (mkinstalldirs): Remove.
11697 (.PHONY): Remove installdirs from list.
11698 ($(inst_infodir)/libc.info): Use make-target-directory.
11699 (installdirs): Remove.
11700 (subdir_%): Remove.
11701 (glibc-targets): Remove.
11702 (lib): Remove.
11703 (stubs): Remove.
11704 ($(objpfx)stubs ../po/manual.pot): Remove.
11705 ($(objpfx)stamp%): Remove.
11706 (make-target-directory): Remove.
11707 (subdir_install): Remove.
11708 (routines): Remove.
11709 (aux): Remove.
11710 (sources): Remove.
11711 (objects): Remove.
11712 (headers): Remove.
11713
11714 [BZ #13750]
11715 * manual/.gitignore: Remove, it's not needed anymore.
11716 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
11717 all files in it.
11718 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
11719 directory.
11720 (texis): Renamed to $(objpfx)texis.
11721 (texis-path): New, contains path to generated files.
11722 (chapters.%): Use texis-path for complete path, add extra argument
11723 libc-texinfo.sh.
11724 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
11725 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
11726 (summary,texi, stamp-summary): Use complete path of
11727 files. Generate files in build dir.
11728 (dir-add.texi): Build in build dir.
11729 (libm-err.texi,stamp-libm-err): Likewise.
11730 (version.texi, stamp-version): Likewise.
11731 (.%c.texi): Likewise.
11732 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
11733 (mostlyclean): Remove target.
11734 (realclean): Remove target.
11735 (generated): Add new variable with contents from mostlyclean and
11736 realclean, remove entries duplicated in common-mostlyclean, add
11737 stamp-libm-err and stamp-version.
11738 (generated-dirs): Add libc directory.
11739 ($(inst_infodir)/libc.info): Install files from build dir.
11740
11741 * manual/install.texi (Configuring and compiling): Adjust since
11742 the info files are not part of the tar ball anymore.
11743
7ac77294
AJ
117442012-05-14 Andreas Jaeger <aj@suse.de>
11745
11746 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
11747 variable.
11748
ffb7875d
JM
117492012-05-14 Joseph Myers <joseph@codesourcery.com>
11750
11751 [BZ #13717]
11752 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11753 to 2.2.0 where earlier.
11754 * sysdeps/unix/sysv/linux/configure: Regenerated.
11755 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
11756 Remove conditional code.
11757 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
11758 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
11759 Remove conditional code.
11760 [!__NR_lchown]: Likewise.
11761 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11762 [__NR_lchown]: Likewise.
11763 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
11764 comment referencing __ASSUME_LCHOWN_SYSCALL.
11765 * sysdeps/unix/sysv/linux/i386/sigaction.c
11766 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11767 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11768 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
11769 Remove conditional code.
11770 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
11771 (__protocol_available): Remove #if 0 code.
11772 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
11773 conditional code.
11774 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
11775 * sysdeps/unix/sysv/linux/kernel-features.h
11776 (__ASSUME_GETCWD_SYSCALL): Don't define.
11777 (__ASSUME_REALTIME_SIGNALS): Likewise.
11778 (__ASSUME_PREAD_SYSCALL): Likewise.
11779 (__ASSUME_PWRITE_SYSCALL): Likewise.
11780 (__ASSUME_POLL_SYSCALL): Likewise.
11781 (__ASSUME_LCHOWN_SYSCALL): Likewise.
11782 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
11783 non-SPARC.
11784 (__ASSUME_SIOCGIFNAME): Don't define.
11785 (__ASSUME_MSG_NOSIGNAL): Likewise.
11786 (__ASSUME_SENDFILE): Define unconditionally.
11787 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
11788 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
11789 conditional code.
11790 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
11791 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
11792 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11793 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11794 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
11795 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11796 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
11798 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11799 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11801 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11802 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
11804 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11805 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11807 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11808 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
11810 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11811 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
11813 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11814 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
11816 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11817 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
11819 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11820 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11821 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
11822 Remove conditional code.
11823 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11824 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11825 Remove conditional code.
11826 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11827 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
11828 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
11829 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11830 Remove conditional code.
11831 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11832 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
11833 Remove conditional code.
11834 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11835 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
11836 Remove conditional code.
11837 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11838 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11839 Remove conditional code.
11840 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11841 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11842 Remove conditional code.
11843 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11844 * sysdeps/unix/sysv/linux/sh/pwrite64.c
11845 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11846 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11847 * sysdeps/unix/sysv/linux/sigaction.c
11848 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11849 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11850 * sysdeps/unix/sysv/linux/sigpending.c
11851 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11852 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11853 * sysdeps/unix/sysv/linux/sigprocmask.c
11854 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11855 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11856 * sysdeps/unix/sysv/linux/sigsuspend.c
11857 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11858 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11859 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11860 (__libc_missing_rt_sigs): Remove.
11861 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
11862 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
11863 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
11864 Remove conditional code.
11865 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
11866 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
11867 return 1.
11868 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
11869 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
11870 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
11871 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
11872
1bfb7291
AJ
118732012-05-14 Andreas Jaeger <aj@suse.de>
11874
caae5a81
AJ
11875 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
11876 it's not used in glibc.
11877 (__coshm1): Likewise.
11878 (__acosh1p): Likewise.
11879 (__sgn): Likewise.
11880
1bfb7291
AJ
11881 * manual/string.texi (Copying and Concatenation): Add missing
11882 variable in concat example.
11883 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11884
c044d724
L
118852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11886
144c5467 11887 [BZ #14103]
c044d724
L
11888 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
11889 __builtin_clzl with __builtin_clzll.
11890
2523c62b
L
118912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11892
11893 [BZ #14104]
11894 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
11895 libc_freeres_ptr.
11896
d7bb4c42
LD
118972012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11898
11899 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
11900 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
11901 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
11902 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
11903
9dc4e1fb
MF
119042012-05-14 Mike Frysinger <vapier@gentoo.org>
11905
11906 * NEWS: Update ia64 info.
11907
c7df0112
AS
119082012-05-12 Andreas Schwab <schwab@linux-m68k.org>
11909
11910 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
11911 used as bcopy.
11912
dc70356c
TS
119132012-05-12 Thomas Schwinge <thomas@codesourcery.com>
11914
11915 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
11916 * sysdeps/unix/syscalls.list (dup3): Likewise.
11917 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
11918 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
11919
9fb1a21f
L
119202012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11921
11922 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
11923 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
11924
4822a2a5
L
119252012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11926
11927 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
11928 thread pointer.
11929 (TLS_IE): Use mov/add instead of movq/addq to load thread
11930 pointer.
11931 (TLS_GD_PREFIX): New.
11932 (TLS_GD): Use it.
11933
842b81d6
DM
119342012-05-11 David S. Miller <davem@davemloft.net>
11935
11936 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
11937 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
11938 (_FPU_SETCW): Likewise.
11939
1cf463cd
L
119402012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11941
11942 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
11943 is 32-byte aligned.
11944
60cc4a18
AS
119452012-05-11 Andreas Schwab <schwab@linux-m68k.org>
11946
11947 [BZ #11837]
11948 * iconvdata/gb18030.c: Update tables.
11949 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
11950 characters specially.
11951 (BODY for TO_LOOP): Add encoding of missing ranges.
11952
febb44a4
TS
119532012-05-11 Thomas Schwinge <thomas@codesourcery.com>
11954
11955 [BZ #13673]
11956 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
11957 * sysdeps/mach/hurd/dup3.c: Likewise.
11958 * sysdeps/mach/hurd/readlinkat.c: Likewise.
11959 * sysdeps/powerpc/memmove.c:: Likewise.
11960
0a10fb9e
L
119612012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11962
11963 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
11964 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
11965
df8a552f
L
119662012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11967
11968 * elf/elf.h (R_X86_64_RELATIVE64): New.
11969 (R_X86_64_NUM): Updated.
11970 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11971 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
11972 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
11973 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
11974 tst-quad1pie tst-quad2pie
11975 (modules-names): Add tst-quadmod1 tst-quadmod2.
11976 ($(objpfx)tst-quad1): New dependency.
11977 ($(objpfx)tst-quad2): Likewise.
11978 ($(objpfx)tst-quad1pie): Likewise.
11979 ($(objpfx)tst-quad2pie): Likewise.
11980 * sysdeps/x86_64/tst-quad1.c: New file.
11981 * sysdeps/x86_64/tst-quad1pie.c: New file.
11982 * sysdeps/x86_64/tst-quad2.c: Likewise.
11983 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
11984 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
11985 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
11986 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
11987 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
11988
f34d6f84
ST
119892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11990
f42d41d1
ST
11991 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
11992 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
11993 * streams/stropts.h (t_scalar_t): Define type.
11994
3c3571fc
ST
11995 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
11996 (_PATH_PRESERVE): Set to "/var/lib".
11997 (_PATH_RWHODIR): Set to "/var/spool/rwho".
11998
61f06bd3
ST
11999 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
12000 instead of int.
12001
918d4d71
ST
12002 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
12003 if __dir_mkfile succeeded.
12004
f34d6f84
ST
12005 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
12006 checking for _hurd_dtablesize. Unlock it right after having
12007 finished _hurd_dtable allocation.
12008
10589b4a
TS
120092012-05-10 Thomas Schwinge <thomas@schwinge.name>
12010
674cdbc7
TS
12011 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
12012 * sysdeps/mach/hurd/configure: Regenerated.
12013 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
12014 special-casing to...
12015 * sysdeps/gnu/configure.in: ... this new file.
12016 * sysdeps/unix/sysv/linux/configure: Regenerated.
12017 * sysdeps/gnu/configure: New generated file.
12018
8e41b99f
TS
12019 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
12020 for Linux: use nsec instead of usec, as well as:
12021 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
12022 members of type struct timespec.
12023 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
12024 New macros.
12025 (struct stat64): Likewise.
12026 (_STATBUF_ST_NSEC): New macro.
12027 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
12028
10589b4a
TS
12029 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12030 __strtoul_internal rather than strtoul.
12031
63643c85
PT
120322012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12033
12034 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
12035 and reject them.
12036
3faebe6a
ST
120372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12038
12039 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
12040 which preserves existing values.
12041 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
12042
c6474b07
PT
120432012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12044
12045 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
12046 TIMEOUT values. Return EINVAL for NFDS values either negative or
12047 greater than FD_SETSIZE.
12048
1043890b
ST
120492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12050
12051 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
12052 allocated, call __vm_protect to finish enabling the existing space, and
12053 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
12054 allocate the remainder.
12055
37ed8b9b
PT
120562012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12057
12058 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
12059 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
12060
db653660
ST
120612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12062
37ed8b9b
PT
12063 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
12064 sysdeps/mach/hurd/readlink.c.
b29d4053 12065
db653660
ST
12066 * posix/tst-sysconf.c (posix_options): Only use
12067 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
12068 _POSIX_SYNCHRONIZED_IO when they are defined
12069 * sysdeps/mach/hurd/bits/posix_opt.h:
12070 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
12071 (_XOPEN_REALTIME): Undefine macro.
12072 (_XOPEN_REALTIME_THREADS): Undefine macro.
12073 (_XOPEN_SHM): Undefine macro.
12074 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
12075 macro to -1.
12076 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
12077 macro to -1.
12078 (_POSIX_ASYNC_IO): Undefine macro.
12079 (_POSIX_PRIORITIZED_IO): Undefine macro.
12080 (_POSIX_SPIN_LOCKS): Define macro to -1.
12081
ee16e894
ST
12082 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
12083 SA_NODEFER, SA_RESETHAND.
12084 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
12085 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
12086 F_DUPFD_CLOEXEC.
12087
6103ae3b
TS
120882012-05-10 Thomas Schwinge <thomas@schwinge.name>
12089
12090 * elf/Makefile (pldd-modules): Define unconditionally.
12091
80b4e5f3
TS
120922012-05-10 Thomas Schwinge <thomas@schwinge.name>
12093
12094 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
12095
edadcbd6
ST
120962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12097
12098 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
12099 Return ENOENT when name is empty.
12100 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
12101
80694780
TS
121022012-05-10 Thomas Schwinge <thomas@schwinge.name>
12103
1792c087
TS
12104 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
12105
80694780
TS
12106 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
12107
6b645f0d
ST
121082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12109
80694780
TS
12110 Fix mlock in all cases except non-readable pages.
12111 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
12112 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 12113
6b645f0d
ST
12114 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
12115 (__mkdir): When path is `/', just fail with EEXIST.
12116 * sysdeps/mach/hurd/mkdirat.c: Likewise.
12117
e468f8a3
TS
121182012-05-10 Thomas Schwinge <thomas@schwinge.name>
12119
12120 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
12121 <sys/uio.h> (for writev).
12122 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
12123 and <sys/param.h> (for MIN).
12124
a4186cff
PT
121252012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12126
12127 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
12128 REQUESTED_TIME. Properly set the remaining time and return EINTR
12129 if interrupted.
12130
510bbf14
TS
121312012-05-10 Thomas Schwinge <thomas@schwinge.name>
12132
12133 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
12134 Depend on against $(link-rpcuserlibs).
12135
5d5722e8
ST
121362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12137
a4186cff
PT
12138 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
12139 (__libc_stack_end): Do not use attribute_relro.
12140 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
12141 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 12142 to libthread-provided value.
a4186cff
PT
12143 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
12144 attribute_relro.
5d5722e8 12145
37233df9
TS
121462012-05-10 Thomas Schwinge <thomas@schwinge.name>
12147
be971a2b
TS
12148 [BZ #3748]
12149 * bits/libc-lock.h (__libc_once_get): New macro.
12150 * sysdeps/mach/bits/libc-lock.h: Likewise.
12151 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
12152 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
12153 instead of using implementation details.
12154
37233df9
TS
12155 * libio/fileops.c: Unconditionally include <kernel-features.h>.
12156 * libio/freopen.c: Likewise.
12157 * libio/freopen64.c: Likewise.
12158 * misc/syslog.c: Likewise.
12159 * nscd/connections.c: Likewise.
12160 * nscd/netgroupcache.c: Likewise.
12161 * sysdeps/posix/getcwd.c: Likewise.
12162
38de94a5
RM
121632012-05-10 Roland McGrath <roland@hack.frob.com>
12164
12165 * math/w_ilogbf.c: Add #include <limits.h>.
12166
67530489
ST
121672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12168
a4186cff 12169 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
12170 path instead of returning without unlocking.
12171
67530489
ST
12172 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
12173 immediate-write ioctls.
12174 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
12175
5aa3a74a
TS
121762012-05-10 Thomas Schwinge <thomas@schwinge.name>
12177
18bad2ae
TS
12178 * sysdeps/mach/hurd/i386/init-first.c (init): Use
12179 __builtin_frame_address instead of making assumptions about the
12180 location of the return address relative to DATA. Force early load of
12181 the return address.
12182 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
12183 __builtin_frame_address.
12184
5aa3a74a
TS
12185 dup3 for GNU Hurd.
12186 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
12187 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
12188 implement dup3 and do some further code clean-ups.
12189 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
12190 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
12191
ecd0de9a
ST
121922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12193
cd9fa985
ST
12194 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
12195
a4186cff
PT
12196 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
12197 HURD_CRITICAL_END around holding _hurd_dtable_lock.
12198 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
12199 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
12200 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
12201 d->port.lock.
802ca5a5 12202
a4186cff
PT
12203 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
12204 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
12205 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 12206
bcf55240
TS
122072012-05-10 Thomas Schwinge <thomas@schwinge.name>
12208
6960eb42
TS
12209 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
12210 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
12211 definitions.
12212
eb43375f
TS
12213 accept4 for GNU Hurd.
12214 * include/sys/socket.h (__libc_accept4): New prototype.
12215 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
12216 to implement __libc_accept4.
12217 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
12218 __libc_accept4.
12219 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
12220
bcf55240
TS
12221 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
12222 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
12223 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
12224 signal-defines.sym.
12225
6178c55b
ST
122262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12227
a4186cff 12228 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 12229
6f080c2f
TS
122302012-05-10 Thomas Schwinge <thomas@schwinge.name>
12231
12232 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
12233 assertion on O_CLOEXEC flag.
12234 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
12235 * hurd/intern-fd.c: Likewise.
12236 * hurd/port2fd.c: Likewise.
12237
bcfe3a54
ST
122382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12239
12240 [BZ #3906]
12241 * bits/in.h (IPV6_PKTINFO): Define new macro.
12242 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
12243
89c9aa49
AZ
122442012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12245
12246 [BZ #13954]
12247 [BZ #13955]
12248 [BZ #13956]
12249 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
12250 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12251 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
12252 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12253 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12254 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12255 * math/libm-test.inc (logb_test) : Additional logb tests.
12256
021db4be
AJ
122572012-05-09 Andreas Schwab <schwab@linux-m68k.org>
12258 Andreas Jaeger <aj@suse.de>
12259
12260 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
12261 * configure: Regenerated.
12262 * config.h.in (LINK_OBSOLETE_RPC): New macro.
12263 * config.make.in (link-obsolete-rpc): New substituted variable.
12264 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
12265 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
12266 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12267 (shared-only-routines): Don't set it under [link-obsolete-rpc],
12268 so that libc.a contains the symbols.
12269 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12270 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
12271 * sunrpc/auth_none.c: Likewise.
12272 * sunrpc/auth_unix.c: Likewise.
12273 * sunrpc/authdes_prot.c: Likewise.
12274 * sunrpc/authuxprot.c: Likewise.
12275 * sunrpc/clnt_gen.c: Likewise.
12276 * sunrpc/clnt_perr.c: Likewise.
12277 * sunrpc/clnt_raw.c: Likewise.
12278 * sunrpc/clnt_simp.c: Likewise.
12279 * sunrpc/clnt_tcp.c: Likewise.
12280 * sunrpc/clnt_udp.c: Likewise.
12281 * sunrpc/clnt_unix.c: Likewise.
12282 * sunrpc/des_crypt.c: Likewise.
12283 * sunrpc/des_soft.c: Likewise.
12284 * sunrpc/get_myaddr.c: Likewise.
12285 * sunrpc/key_call.c: Likewise.
12286 * sunrpc/key_prot.c: Likewise.
12287 * sunrpc/netname.c: Likewise.
12288 * sunrpc/pm_getmaps.c: Likewise.
12289 * sunrpc/pm_getport.c: Likewise.
12290 * sunrpc/pmap_clnt.c: Likewise.
12291 * sunrpc/pmap_prot.c: Likewise.
12292 * sunrpc/pmap_prot2.c: Likewise.
12293 * sunrpc/pmap_rmt.c: Likewise.
12294 * sunrpc/publickey.c: Likewise.
12295 * sunrpc/rpc_cmsg.c: Likewise.
12296 * sunrpc/rpc_common.c: Likewise.
12297 * sunrpc/rpc_dtable.c: Likewise.
12298 * sunrpc/rpc_prot.c: Likewise.
12299 * sunrpc/rpc_thread.c: Likewise.
12300 * sunrpc/rtime.c: Likewise.
12301 * sunrpc/svc.c: Likewise.
12302 * sunrpc/svc_auth.c: Likewise.
12303 * sunrpc/svc_raw.c: Likewise.
12304 * sunrpc/svc_run.c: Likewise.
12305 * sunrpc/svc_tcp.c: Likewise.
12306 * sunrpc/svc_udp.c: Likewise.
12307 * sunrpc/svc_unix.c: Likewise.
12308 * sunrpc/svcauth_des.c: Likewise.
12309 * sunrpc/xcrypt.c: Likewise.
12310 * sunrpc/xdr.c: Likewise.
12311 * sunrpc/xdr_array.c: Likewise.
12312 * sunrpc/xdr_float.c: Likewise.
12313 * sunrpc/xdr_intXX_t.c: Likewise.
12314 * sunrpc/xdr_mem.c: Likewise.
12315 * sunrpc/xdr_rec.c: Likewise.
12316 * sunrpc/xdr_ref.c: Likewise.
12317 * sunrpc/xdr_sizeof.c: Likewise.
12318 * sunrpc/xdr_stdio.c: Likewise.
12319
b5c086a2
RM
123202012-05-10 Roland McGrath <roland@hack.frob.com>
12321
12322 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
12323 change. Update copyright years.
12324
6d74dd09
JM
123252012-05-10 Joseph Myers <joseph@codesourcery.com>
12326
12327 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
12328
28e72501
MK
123292012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
12330 Joseph Myers <joseph@codesourcery.com>
12331 Paul Pluzhnikov <ppluzhnikov@google.com>
12332
12333 [BZ #14012]
12334 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
12335 requiring rpcgen.
12336 [cross-compiling] (extra-libs): Likewise.
12337 [cross-compiling] (extra-libs-others): Likewise.
12338 [cross-compiling] (librpcsvc-routines): Likewise.
12339 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
12340 [cross-compiling] (omit-deps): Likewise.
12341 (sunrpc-CPPFLAGS): New variable.
12342 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
12343 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
12344 (cross-rpcgen-objs): New variable.
12345 (extra-objs): Append $(cross-rpcgen-objs).
12346 ($(cross-rpcgen-objs)): New rule.
12347 ($(objpfx)cross-rpcgen): Likewise.
12348 (rpcgen-cmd): Define to use $(built-program-file). Expand
12349 comment.
12350 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
12351 ($(objpfx)x%.stmp): Likewise.
12352 * sunrpc/proto.h [IS_IN_build] (_): Define.
12353 [IS_IN_build] (_libc_intl_domainname): Likewise.
12354
c8c59454
L
123552012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12356
12357 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
12358 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
12359 and R_X86_64_TPOFF64.
12360
6f27cd16
JM
123612012-05-10 Joseph Myers <joseph@codesourcery.com>
12362
12363 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
12364 sysdeps/unix/sysv/syscalls.list.
12365 (stime): Likewise.
12366 (utime): Likewise.
12367 * sysdeps/unix/sysv/syscalls.list: Remove file.
12368
02467e1c
PE
123692012-05-10 Paul Eggert <eggert@cs.ucla.edu>
12370
12371 [BZ #3440]
12372 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
12373 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
12374 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
12375 (__LC_IDENTIFICATION): Make these macros useful in #if
12376 expressions, as required by C99.
12377
da392631
AS
123782012-05-10 Andreas Schwab <schwab@linux-m68k.org>
12379
12380 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
12381 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
12382 after this.
12383
8115f29b
L
123842012-05-09 H.J. Lu <hongjiu.lu@intel.com>
12385
12386 * stdlib/longlong.h: Updated from GCC.
12387
bdd74070
AJ
123882012-05-09 Andreas Jaeger <aj@suse.de>
12389
edfe0dbe
AJ
12390 * nscd/nscd.c (run_modes): Make named enum, reorder so that
12391 default is first entry.
12392 (run_mode): Set type.
12393 (main): Remove informal message about syslog.
12394 (options): Fix typo.
12395
bcfe3a54
ST
12396 [BZ #14053]
12397 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 12398 to asm.
bcfe3a54
ST
12399 (lrint): Likewise.
12400 (llrintf): Likewise.
12401 (llrint): Likewise.
12402 (rint): Likewise.
12403 (rintf): Likewise.
12404 (nearbyint): Likewise.
12405 (nearbyintf): Likewise.
bdd74070 12406
91d8d69e
AJ
124072012-05-09 Andreas Jaeger <aj@suse.de>
12408 Pedro Alves <palves@redhat.com>
12409
12410 * nscd/nscd.c (run_mode): Use enum.
12411 (main): Cleanup coding style issue.
12412
bb90b80b
AJ
124132012-05-09 Alexandre Oliva <aoliva@redhat.com>
12414 Andreas Jaeger <aj@suse.de>
12415
bcfe3a54
ST
12416 * nscd/nscd.c (go_background): Replaced with...
12417 (run_mode): ... this.
bb90b80b 12418 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
12419 (options): Add -F --foreground.
12420 (main): Implement it.
12421 (parse_opt): Parse it.
bb90b80b 12422
1a4b75a1
AJ
124232012-05-09 Andreas Jaeger <aj@suse.de>
12424
12425 [BZ #14083]
12426 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
12427 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
12428 -Wconversion warning.
12429 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
12430 Likewise.
12431
b1cc2472
JM
124322012-05-09 Joseph Myers <joseph@codesourcery.com>
12433
12434 * conform/data/locale.h-data (NULL): Use macro-constant. Require
12435 == 0.
12436 (LC_ALL): Use macro-int-constant.
12437 (LC_COLLATE): Likewise.
12438 (LC_CTYPE): Likewise.
12439 (LC_MESSAGES): Likewise.
12440 (LC_MONETARY): Likewise.
12441 (LC_NUMERIC): Likewise.
12442 (LC_TIME): Likewise.
12443 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
12444 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12445 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12446 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
12447 Specify type.
12448 [C99-based standards] (float_t): Expect type.
12449 [C99-based standards] (double_t): Expect type.
12450 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
12451 type.
12452 [C99-based standards] (HUGE_VALL): Likewise.
12453 [C99-based standards] (INFINITY): Likewise.
12454 [C99-based standards] (NAN): Likewise.
12455 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
12456 [C99-based standards] (FP_NAN): Likewise.
12457 [C99-based standards] (FP_NORMAL): Likewise.
12458 [C99-based standards] (FP_SUBNORMAL): Likewise.
12459 [C99-based standards] (FP_ZERO): Likewise.
12460 [C99-based standards] (FP_FAST_FMA): Use
12461 optional-macro-int-constant. Specify type. Require == 1.
12462 [C99-based standards] (FP_FAST_FMAF): Likewise.
12463 [C99-based standards] (FP_FAST_FMAL): Likewise.
12464 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
12465 [C99-based standards] (FP_ILOGBNAN): Likewise.
12466 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
12467 Specify type.
12468 [C99-based standards] (MATH_ERREXCEPT): Likewise.
12469 [C99-based standards] (math_errhandling): Specify type.
12470 [ISO99 || ISO11] (signgam): Do not allow.
12471 [non-C99-based standards] (copysignf): Do not allow.
12472 [non-C99-based standards] (exp2f): Likewise.
12473 [non-C99-based standards] (log2f): Likewise.
12474 [non-C99-based standards] (modff): Allow.
12475 [non-C99-based standards] (erff): Do not allow.
12476 [non-C99-based standards] (erfcf): Likewise.
12477 [non-C99-based standards] (gammaf): Likewise.
12478 [non-C99-based standards] (hypotf): Likewise.
12479 [non-C99-based standards] (j0f): Likewise.
12480 [non-C99-based standards] (j1f): Likewise.
12481 [non-C99-based standards] (jnf): Likewise.
12482 [non-C99-based standards] (lgammaf): Likewise.
12483 [non-C99-based standards] (tgammaf): Likewise.
12484 [non-C99-based standards] (y0f): Likewise.
12485 [non-C99-based standards] (y1f): Likewise.
12486 [non-C99-based standards] (ynf): Likewise.
12487 [non-C99-based standards] (isnanf): Likewise.
12488 [non-C99-based standards] (acoshf): Likewise.
12489 [non-C99-based standards] (asinhf): Likewise.
12490 [non-C99-based standards] (atanhf): Likewise.
12491 [non-C99-based standards] (cbrtf): Likewise.
12492 [non-C99-based standards] (expm1f): Likewise.
12493 [non-C99-based standards] (ilogbf): Likewise.
12494 [non-C99-based standards] (log1pf): Likewise.
12495 [non-C99-based standards] (logbf): Likewise.
12496 [non-C99-based standards] (nextafterf): Likewise.
12497 [non-C99-based standards] (remainderf): Likewise.
12498 [non-C99-based standards] (rintf): Likewise.
12499 [non-C99-based standards] (scalbf): Likewise.
12500 [non-C99-based standards] (copysignl): Likewise.
12501 [non-C99-based standards] (exp2l): Likewise.
12502 [non-C99-based standards] (log2l): Likewise.
12503 [non-C99-based standards] (modfl): Allow.
12504 [non-C99-based standards] (erfl): Do not allow.
12505 [non-C99-based standards] (erfcl): Likewise.
12506 [non-C99-based standards] (gammal): Likewise.
12507 [non-C99-based standards] (hypotl): Likewise.
12508 [non-C99-based standards] (j0l): Likewise.
12509 [non-C99-based standards] (j1l): Likewise.
12510 [non-C99-based standards] (jnl): Likewise.
12511 [non-C99-based standards] (lgammal): Likewise.
12512 [non-C99-based standards] (tgammal): Likewise.
12513 [non-C99-based standards] (y0l): Likewise.
12514 [non-C99-based standards] (y1l): Likewise.
12515 [non-C99-based standards] (ynl): Likewise.
12516 [non-C99-based standards] (isnanl): Likewise.
12517 [non-C99-based standards] (acoshl): Likewise.
12518 [non-C99-based standards] (asinhl): Likewise.
12519 [non-C99-based standards] (atanhl): Likewise.
12520 [non-C99-based standards] (cbrtl): Likewise.
12521 [non-C99-based standards] (expm1l): Likewise.
12522 [non-C99-based standards] (ilogbl): Likewise.
12523 [non-C99-based standards] (log1pl): Likewise.
12524 [non-C99-based standards] (logbl): Likewise.
12525 [non-C99-based standards] (nextafterl): Likewise.
12526 [non-C99-based standards] (remainderl): Likewise.
12527 [non-C99-based standards] (rintl): Likewise.
12528 [non-C99-based standards] (scalbl): Likewise.
12529 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12530 [non-C99-based standards] (FP_*): Do not allow.
12531 [C99-based standards] (FP_*): Change to
12532 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12533 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12534 allow.
12535 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
12536 (SIG_ERR): Likewise.
12537 [X/Open-based standards] (SIG_HOLD): Likewise.
12538 (SIG_IGN): Likewise.
12539 (SIGABRT): Use macro-int-constant. Specify type. Require
12540 positive value.
12541 (SIGFPE): Likewise.
12542 (SIGILL): Likewise.
12543 (SIGINT): Likewise.
12544 (SIGSEGV): Likewise.
12545 (SIGTER): Likewise.
12546 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
12547 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
12548 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
12549 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
12550 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
12551 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
12552 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
12553 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
12554 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
12555 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
12556 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
12557 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
12558 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
12559 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
12560 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
12561 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
12562 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
12563 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
12564 [X/Open-based standards] (SIGTRAP): Likewise.
12565 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
12566 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
12567 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
12568 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
12569 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12570 allow.
12571
b9f1922d
IW
125722012-05-08 Ian Wienand <ianw@vmware.com>
12573
12574 [BZ #14080]
12575 * time/tzset.c (__tzset_parse_tz): Update default rules for
12576 daylight time changes in the Energy Policy Act of 2005.
12577
1db86e88
AJ
125782012-05-09 Andreas Jaeger <aj@suse.de>
12579
12580 [BZ #13983]
12581 * elf/ldconfig.c (parse_conf): Change string to make clear that
12582 ldconfig only issued a warning if ld.so.conf does not exist.
12583
dee4a4e3
DM
125842012-05-08 David S. Miller <davem@davemloft.net>
12585
ee0db190
DM
12586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
12587 movxtod instead of popping the value on the stack.
12588
dee4a4e3
DM
12589 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12590
6a43ec98
CD
125912012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
12592
12593 * config.h.in: Add HAVE_ARM_PCS_VFP.
12594
05c2c961
RMG
125952012-05-08 Roland Mc Grath <roland@hack.frob.com>
12596
bcfe3a54
ST
12597 [BZ #13979]
12598 * include/features.h: Warn if user requests __FORTIFY_SOURCE
12599 checking but the checks are disabled for any reason.
05c2c961 12600
4b30f61a
L
126012012-05-08 H.J. Lu <hongjiu.lu@intel.com>
12602
12603 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
12604 and ELF64_R_TYPE with ELFW(R_TYPE).
12605
eee2bc67
JM
126062012-05-08 Joseph Myers <joseph@codesourcery.com>
12607
7ea5391a
JM
12608 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
12609 (ulimit): Likewise.
12610
eee2bc67
JM
12611 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
12612 (settimeofday): Likewise.
12613
abb66a67
MF
126142012-05-08 Mike Frysinger <vapier@gentoo.org>
12615
12616 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
12617 a struct th_u2 inside the union, and move tu_block/tu_code into
12618 a new th_u3 union of tu_block/tu_code inside of that. Move
12619 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
12620 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
12621 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
12622 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
12623 (th_stuff): Change to th_u1.tu_stuff.
12624 (th_data): Define.
12625 (th_msg): Change to th_u1.th_u2.tu_data.
12626
7f18b530
DM
126272012-05-07 David S. Miller <davem@davemloft.net>
12628
05760585
DM
12629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12630
7f18b530
DM
12631 [BZ #14074]
12632 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
12633 (SETUP_PIC_REG): Use it.
12634 (SETUP_PIC_REG_LEAF): Use it.
12635
495fd99f
JM
126362012-05-07 Joseph Myers <joseph@codesourcery.com>
12637
12638 [BZ #13885]
12639 [BZ #13923]
12640 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12641 USE_AS_EXPM1L.
12642 (EXPL_FINITE): Likewise.
12643 (FLDLOG): Likewise.
12644 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12645 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12646 e_expl.S.
12647 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12648 USE_AS_EXPM1L.
12649 (EXPL_FINITE): Likewise.
12650 (FLDLOG): Likewise.
12651 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12652 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12653 e_expl.S.
12654 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
12655 test of -max_value argument for long double.
12656 * sysdeps/i386/fpu/libm-test-ulps: Update.
12657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12658
6693d694
DM
126592012-05-06 David S. Miller <davem@davemloft.net>
12660
12661 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
12662 quad soft-float symbols whose references which are compiler
12663 generated.
12664 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12665
6c23e11c
JM
126662012-05-06 Joseph Myers <joseph@codesourcery.com>
12667
d8b82cad
JM
12668 [BZ #13884]
12669 [BZ #13914]
12670 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12671 USE_AS_EXP10L.
12672 (EXPL_FINITE): Likewise.
12673 (FLDLOG): Likewise.
12674 (c0): Likewise.
12675 (c1): Likewise.
12676 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12677 Adjust comments for base varying.
12678 (__expl_finite): Change alias to EXPL_FINITE.
12679 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
12680 e_expl.S.
12681 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
12682 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12683 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12684 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
12685 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12686 USE_AS_EXP10L.
12687 (EXPL_FINITE): Likewise.
12688 (FLDLOG): Likewise.
12689 (c0): Likewise.
12690 (c1): Likewise.
12691 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12692 Adjust comments for base varying.
12693 (__expl_finite): Change alias to EXPL_FINITE.
12694 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
12695 tests for bugs.
12696 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12697
6c23e11c
JM
12698 [BZ #14064]
12699 * math/libm-test.inc (check_float_internal): Correct ulp
12700 calculation for subnormal expected results.
12701
29ba805c
AJ
127022012-05-06 Andreas Jaeger <aj@suse.de>
12703
12704 * Makeconfig (+math-flags): New, set to -frounding-math.
12705 (+cflags): Add +math-flags so that all of glibc gets compiled with
12706 it.
12707
12708 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
12709
7b17aeda
JM
127102012-05-05 Joseph Myers <joseph@codesourcery.com>
12711
5779f134
JM
12712 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
12713 Disable one test.
12714
41498f4d
JM
12715 [BZ #13787]
12716 [BZ #13922]
12717 [BZ #14036]
12718 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
12719 (__ieee754_expl): Allow for and saturate large arguments.
12720 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
12721 (u_threshold): Likewise.
12722 (__exp): Call __ieee754_exp before checking for overflow and
12723 underflow.
12724 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
12725 (u_threshold): Likewise.
12726 (__expf): Call __ieee754_expf before checking for overflow and
12727 underflow.
12728 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
12729 (u_threshold): Likewise.
12730 (__expl): Call __ieee754_expl before checking for overflow and
12731 underflow.
12732 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
12733 (__ieee754_expl): Allow for and saturate large arguments.
12734 * math/libm-test.inc (exp_test): Add another test. Do not allow
12735 missing overflow exception on overflow.
12736 (expm1_test): Do not allow missing overflow exception on overflow.
12737
6698b8bf
JM
12738 * sysdeps/i386/fpu/e_expl.c: Move to ...
12739 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
12740 rather than using inline asm.
12741 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
12742 * sysdeps/x86_64/fpu/e_expl.S: Copy from
12743 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
12744
7b17aeda
JM
12745 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
12746 (nice): Likewise.
12747 (poll): Likewise.
12748 (signal): Likewise.
12749 (time): Likewise.
12750 (times): Likewise.
12751
f7c85819
JM
127522012-05-04 Joseph Myers <joseph@codesourcery.com>
12753
12754 * sysdeps/unix/syscalls.list (adjtime): Add entry from
12755 sysdeps/unix/common/syscalls.list.
12756 (fchmod): Likewise.
12757 (fchown): Likewise.
12758 (ftruncate): Likewise.
12759 (getrusage): Likewise.
12760 (gettimeofday): Likewise.
12761 (setpgid): Likewise.
12762 (setregid): Likewise.
12763 (setreuid): Likewise.
12764 (sigaction): Likewise.
12765 (truncate): Likewise.
12766 (vhangup): Likewise.
12767 * sysdeps/unix/common/syscalls.list: Remove file.
12768 * sysdeps/unix/bsd/Implies: Don't include unix/common.
12769 * sysdeps/unix/sysv/linux/Implies: Likewise.
12770
336270d0
L
127712012-05-04 H.J. Lu <hongjiu.lu@intel.com>
12772
12773 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
12774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
12775 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
12776 Moved to ...
12777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12778 Here.
12779 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
12780 to ...
12781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
12782 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
12783 to ...
12784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
12785 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
12786 to ...
12787 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
12788 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
12789 to ...
12790 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
12791 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
12792 to ...
12793 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
12794 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
12795 to ...
12796 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
12797 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
12798 to ...
12799 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12800 Here.
12801 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
12802 to ...
12803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
12804 Here.
12805 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
12806 to ...
12807 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
12808 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
12809 Moved to ...
12810 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
12811 Here.
12812 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
12813 to ...
12814 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
12815
d128e450
JM
128162012-05-04 Joseph Myers <joseph@codesourcery.com>
12817
fa8ee516
JM
12818 * sysdeps/unix/common/bits/dirent.h: Remove file.
12819 * sysdeps/unix/common/bits/fcntl.h: Likewise.
12820
d128e450
JM
12821 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
12822 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
12823 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
12824 * sysdeps/unix/bsd/isatty.c: Likewise.
12825 * sysdeps/unix/bsd/tcdrain.c: Likewise.
12826 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
12827 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
12828
ff8faaf0 128292012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 12830
62881be4 12831 [BZ #13563]
31dc8730
AZ
12832 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
12833 long double comparison inaccuracies.
12834 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12836
6fef930c
AS
128372012-05-04 Andreas Schwab <schwab@linux-m68k.org>
12838
12839 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
12840 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
12841
8f203e6c
JM
128422012-05-04 Joseph Myers <joseph@codesourcery.com>
12843
12844 [BZ #14049]
12845 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
12846 nonzero digits before rounding a hex value.
12847 * stdlib/tst-strtod.c (tests): Add another test.
12848
5197d9c2
AK
128492012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12850
12851 * sysdeps/s390/fpu/libm-test-ulps: Update.
12852
f0c1dedf
AJ
128532012-05-03 Andreas Jaeger <aj@suse.de>
12854
12855 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
12856 does not get optimized out.
12857 (malloc_opt_barrier): New.
12858
a65ef2ae 128592012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 12860 Roland McGrath <roland@hack.frob.com>
a65ef2ae 12861
2b942cb7 12862 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 12863 intermediate file deletion.
2b942cb7 12864 (generated): Add .symlist files.
a65ef2ae 12865
54b71e02
JM
128662012-05-03 Joseph Myers <joseph@codesourcery.com>
12867
12868 [BZ #13775]
12869 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
12870 Redirect under this condition.
12871 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12872 [__USE_GNU] (__dprintf_chk): Not under this condition.
12873 [__USE_GNU] (__vdprintf_chk): Likewise.
12874 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
12875 under this condition.
12876 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12877 [__USE_XOPEN2K8] (dprintf): Define under this condition.
12878 [__USE_XOPEN2K8] (vdprintf): Likewise.
12879 [__USE_GNU] (__dprintf_chk): Not under this condition.
12880 [__USE_GNU] (__vdprintf_chk): Likewise.
12881 [__USE_GNU] (dprintf): Likewise.
12882 [__USE_GNU] (vdprintf): Likewise.
12883
d3dfcc41
RM
128842012-05-03 Roland McGrath <roland@hack.frob.com>
12885
12886 * elf/Makefile (common-generated): Set this instead of generated for
12887 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
12888 $(all-built-dso)-derived lists.
12889
7ac30cc5
AJ
128902012-05-03 Andreas Jaeger <aj@suse.de>
12891
0c51e550
AJ
12892 * sysdeps/i386/fpu/libm-test-ulps: Update.
12893
7ac30cc5
AJ
12894 * FAQ: Removed.
12895 * FAQ.in: Likewise.
12896 * scripts/gen-FAQ.pl: Likewise.
12897 * manual/install.texi (Installation): Point to online location of
12898 FAQ.
12899 * Makefile (files-for-dist): Remove FAQ.
12900 (FAQ): Remove.
12901
d4c2917f
AM
129022012-05-02 Allan McRae <allan@archlinux.org>
12903
12904 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
12905 (LDFLAGS-reldepmod5.so): Likewise.
12906 (LDFLAGS-reldep6mod1.so): Likewise.
12907 (LDFLAGS-reldep6mod4.so): Likewise.
12908 (LDFLAGS-reldep8mod3.so): Likewise.
12909 (LDFLAGS-unload4mod1.so): Likewise.
12910 (LDFLAGS-unload4mod2.so): Likewise.
12911 (LDFLAGS-tst-initorder): Likewise.
12912 (LDFLAGS-tst-initordera2.so): Likewise.
12913 (LDFLAGS-tst-initordera3.so): Likewise.
12914 (LDFLAGS-tst-initordera4.so): Likewise.
12915 (LDFLAGS-tst-initorderb2.so): Likewise.
12916 (LDFLAGS-noload): Likewise.
12917 (LDFLAGS-next): Likewise.
12918 (LDFLAGS-order2mod1.so): Likewise.
12919 (LDFLAGS-order2mod2.so): Likewise.
12920 (LDFLAGS-tst-initorder2): Likewise.
12921 (LDFLAGS-tst-initorder2a.so): Likewise.
12922 (LDFLAGS-tst-initorder2b.so): Likewise.
12923 (LDFLAGS-tst-initorder2c.so): Likewise.
12924 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
12925
d77f993f
DM
129262012-05-02 David S. Miller <davem@davemloft.net>
12927
12928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12929
171a70b4
PP
129302012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
12931
12932 [BZ #14055]
12933 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
12934
0be196ad
AJ
129352012-05-02 Andreas Jaeger <aj@suse.de>
12936
12937 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
12938 since we manipulate rounding mode.
12939 (CPPFLAGS-test-idouble.c): Likewise.
12940 (CPPFLAGS-test-ifloat.c): Likewise.
12941 (CFLAGS-test-ldouble.c): Likewise.
12942 (CFLAGS-test-double.c): Likewise.
12943 (CFLAGS-test-float.c): Likewise.
12944 (CFLAGS-test-misc.c): Likewise.
12945 (CFLAGS-test-test-fenv.c): Likewise.
12946
4f9d04aa
AZ
129472012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12948
2b942cb7
RM
12949 [BZ #2550]
12950 [BZ #2570]
12951 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
12952 comparisons to determine direction to adjust input.
4f9d04aa 12953
82a79e7d
RM
129542012-05-01 Roland McGrath <roland@hack.frob.com>
12955
f5a01ca9
RM
12956 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
12957 output to the target.
12958
90fe4186
RM
12959 * scripts/localplt.awk: New file.
12960 * elf/Makefile ($(objpfx)check-localplt): Target removed.
12961 (check-localplt-CFLAGS): Variable removed.
12962 ($(all-built-dso:=.jmprel)): New static pattern rule.
12963 (generated): Add those targets.
12964 (localplt-built-dso): New variable.
12965 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
12966
12967 * elf/check-localplt.c: File removed.
12968
82397ed6
RM
12969 * scripts/check-execstack.awk: New file.
12970 * elf/Makefile ($(objpfx)check-execstack): Target removed.
12971 (check-execstack-CFLAGS): Variable removed.
12972 ($(objpfx)check-execstack.h): Target removed.
12973 ($(objpfx)execstack-default): New target.
12974 (generated): Add that instead of check-execstack.h.
12975 ($(all-built-dso:=.phdr)): New static pattern rule.
12976 (generated): Add those targets.
12977 * elf/check-execstack.c: File removed.
12978
82a79e7d
RM
12979 * scripts/check-textrel.awk: New file.
12980 * elf/Makefile ($(objpfx)check-textrel): Target removed.
12981 (check-textrel-CFLAGS): Variable removed.
12982 (all-built-dso): Use := to define.o
12983 ($(all-built-dso:=.dyn)): New static pattern rule.
12984 (generated): Add those targets.
12985 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
12986 * config.make.in (READELF): New substituted variable.
12987 * elf/check-textrel.c: File removed.
12988
62fde54f 129892012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 12990
615605c9
JM
12991 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12992 allow.
12993 * conform/data/ctype.h-data [C99-based standards] (isblank):
12994 Expect function.
12995 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
12996 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
12997 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12998 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
12999 Specify type. Require positive value.
13000 (EILSEQ): Likewise.
13001 (ERANGE): Likewise.
13002 [ISO || POSIX] (EILSEQ): Do not expect.
13003 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
13004 Specify type. Require positive value.
13005 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
13006 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
13007 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
13008 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
13009 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
13010 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
13011 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
13012 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
13013 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
13014 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
13015 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
13016 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
13017 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
13018 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
13019 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
13020 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
13021 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
13022 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
13023 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
13024 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
13025 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
13026 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
13027 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
13028 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
13029 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
13030 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
13031 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
13032 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
13033 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
13034 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
13035 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
13036 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
13037 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
13038 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
13039 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
13040 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
13041 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
13042 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
13043 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
13044 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
13045 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
13046 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
13047 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
13048 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
13049 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
13050 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
13051 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
13052 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
13053 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
13054 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
13055 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
13056 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
13057 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
13058 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
13059 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
13060 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
13061 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
13062 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
13063 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
13064 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
13065 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
13066 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
13067 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
13068 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
13069 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
13070 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
13071 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
13072 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
13073 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
13074 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
13075 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
13076 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
13077 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
13078 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
13079 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
13080 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
13081 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
13082 Require >= 2.
13083 (FLT_ROUNDS): Expect as macro, not constant.
13084 (FLT_MANT_DIG): Use macro-int-constant.
13085 (DBL_MANT_DIG): Likewise.
13086 (LDBL_MANT_DIG): Likewise.
13087 (FLT_DIG): Likewise.
13088 (DBL_DIG): Likewise.
13089 (LDBL_DIG): Likewise.
13090 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
13091 (DBL_MIN_EXP): Likewise.
13092 (LDBL_MIN_EXP): Likewise.
13093 (FLT_MAX_EXP): Use macro-int-constant.
13094 (DBL_MAX_EXP): Likewise.
13095 (LDBL_MAX_EXP): Likewise.
13096 (FLT_MAX_10_EXP): Likewise.
13097 (DBL_MAX_10_EXP): Likewise.
13098 (LDBL_MAX_10_EXP): Likewise.
13099 (FLT_MAX): Use macro-constant.
13100 (DBL_MAX): Likewise.
13101 (LDBL_MAX): Likewise.
13102 (FLT_EPSILON): Use macro-constant. Give upper bound.
13103 (DBL_EPSILON): Likewise.
13104 (LDBL_EPSILON): Likewise.
13105 (FLT_MIN): Likewise.
13106 (DBL_MIN): Likewise.
13107 (LDBL_MIN): Likewise.
13108 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
13109 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
13110 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
13111 [ISO11] (FLT_HAS_SUBNORM): Likewise.
13112 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
13113 [ISO11] (DBL_DECIMAL_DIG): Likewise.
13114 [ISO11] (FLT_DECIMAL_DIG): Likewise.
13115 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
13116 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
13117 [ISO11] (FLT_TRUE_MIN): Likewise.
13118 [ISO11] (LDBL_TRUE_MIN): Likewise.
13119 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13120 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
13121 (SCHAR_MIN): Use macro-int-constant. Specify type.
13122 (SCHAR_MAX): Likewise.
13123 (UCHAR_MAX): Likewise.
13124 (CHAR_MIN): Likewise.
13125 (CHAR_MAX): Likewise.
13126 (MB_LEN_MAX): Use macro-int-constant.
13127 (SHRT_MIN): Use macro-int-constant. Specify type.
13128 (SHRT_MAX): Likewise.
13129 (USHRT_MAX): Likewise.
13130 (INT_MAX): Likewise.
13131 (INT_MIN): Use macro-int-constant. Specify type. Make upper
13132 bound negative.
13133 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
13134 bound with "U".
13135 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13136 bound with "L".
13137 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
13138 bound negative. Suffix upper bound with "L".
13139 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13140 bound with "UL".
13141 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
13142 Specify type.
13143 [C99-based standards] (LLONG_MAX): Likewise.
13144 [C99-based standards] (ULLONG_MAX): Likewise.
13145 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
13146 == 0.
13147 [ISO11] (max_align_t): Require type.
13148 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13149
c9140a62
JM
13150 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
13151 from $CFLAGS, without defining away __attribute__ calls.
13152 (checknamespace): Use $CFLAGS_namespace.
13153
9af0bf29
JM
13154 * conform/conformtest.pl (@keywords): Only include C99 keywords
13155 for standards based on C99 or C11.
13156
343222a2
JM
13157 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
13158 Disable tests.
13159 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
13160 UNIX98]: Likewise.
13161
661f8cf0
JM
13162 * conform/conformtest.pl: Handle "macro-int-constant" and test for
13163 usability of symbols in #if.
13164
ee74b9cb
JM
13165 * conform/conformtest.pl: If macro or constant types start
13166 "promoted:", expect the symbol to be of the following type
13167 promoted by the integer promotions.
62fde54f 13168
aafc49b3
JM
13169 * conform/conformtest.pl: Parse all "constant" and "macro" lines
13170 in one place. Also handle "macro-constant".
13171
fefdf574
JM
13172 * conform/conformtest.pl: Only accept expected macro values with
13173 "==". Parse all "macro" lines in one place.
13174 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
13175
f2d922fe
JM
13176 * conform/conformtest.pl: Handle braced types on "constant" lines
13177 instead of handling "typed-constant".
13178 * conform/data/signal.h-data: Use "constant" instead of
13179 "typed-constant".
13180
d22956c9
JM
13181 * conform/conformtest.pl: Handle "optional-" at start of lines in
13182 one place rather than duplicating several cases. Handle each
13183 format of "macro" line with initial "optional-".
13184
028e2e38
JM
13185 * conform/conformtest.pl: Only accept expected constant or
13186 optional-constant values with "==". Parse all "constant" lines in
13187 one place. Parse all "optional-constant" lines in one place.
13188 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
13189 * conform/data/fmtmsg.h-data: Likewise.
13190 * conform/data/netinet/in.h-data: Likewise.
13191 * conform/data/tar.h-data: Likewise.
13192 * conform/data/limits.h-data: Use "==" form on "constant" and
13193 "optional-constant" lines.
13194
1b8f2850
JM
13195 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
13196 Use -std=c99 for XOPEN2K.
13197 (@knownproblems): Remove.
13198 (newtoken): Don't check %isknown.
13199
a05a144b
JM
13200 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
13201 Do not expect macro.
13202 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
13203 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
13204 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
13205 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
13206 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
13207 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
13208 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
13209 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
13210 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
13211 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
13212 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
13213 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
13214 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
13215 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
13216 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
13217 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
13218 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
13219 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
13220 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
13221 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
13222 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
13223 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
13224 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
13225 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
13226 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
13227 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
13228 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
13229 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
13230 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
13231 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
13232 [XPG3] (acosh): Likewise.
13233 [XPG3] (asinh): Likewise.
13234 [XPG3] (atanh): Likewise.
13235 [XPG3] (cbrt): Likewise.
13236 [XPG3] (expm1): Likewise.
13237 [XPG3] (ilogb): Likewise.
13238 [XPG3] (log1p): Likewise.
13239 [XPG3] (logb): Likewise.
13240 [XPG3] (nextafter): Likewise.
13241 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
13242 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
13243 [XPG3] (remainder): Likewise.
13244 [XPG3] (rint): Likewise.
13245 [XPG3 || XPG4 || UNIX98] (round): Likewise.
13246 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
13247 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
13248 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
13249 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
13250 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
13251 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
13252 [UNIX98 || XOPEN2K] (scalb): Expect.
13253 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
13254 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
13255 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
13256 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
13257 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
13258 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
13259 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
13260 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
13261 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
13262 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
13263 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
13264 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
13265 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
13266 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
13267 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
13268 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
13269 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
13270 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
13271 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
13272 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
13273 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
13274 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
13275 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
13276 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
13277 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
13278 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
13279 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
13280 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
13281 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
13282 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
13283 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
13284 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
13285 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
13286 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
13287 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
13288 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
13289 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
13290 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
13291 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
13292 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
13293 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
13294 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
13295 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
13296 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
13297 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
13298 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
13299 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
13300 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
13301 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
13302 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
13303 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
13304 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
13305 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
13306 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
13307 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
13308 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
13309 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
13310 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
13311 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
13312 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
13313 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
13314 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
13315 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
13316 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
13317 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
13318 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
13319 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
13320 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
13321 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
13322 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
13323 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
13324 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
13325 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
13326 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
13327 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
13328 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
13329 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
13330 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
13331 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
13332 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
13333 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
13334 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
13335 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
13336 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
13337 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
13338 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
13339 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
13340 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
13341 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
13342 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
13343 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
13344 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
13345 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
13346 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
13347 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
13348 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
13349 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
13350 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
13351 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
13352 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
13353 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
13354 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
13355 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
13356 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
13357 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
13358 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
13359 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
13360 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
13361 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
13362 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
13363 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
13364 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
13365 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
13366 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
13367 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
13368 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
13369 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
13370 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
13371 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
13372 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
13373 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
13374 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
13375 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
13376 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
13377 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
13378 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
13379 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
13380 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
13381 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
13382 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
13383 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
13384 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
13385 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
13386 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
13387 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
13388 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
13389 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
13390
73c5ebe3
JM
13391 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
13392 _XOPEN_SOURCE_EXTENDED for XPG4.
13393
39c33b6c
JM
13394 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
13395
62fde54f
JM
13396 * Makeconfig (localtime): Remove variable.
13397 (inst_localtime-file): Likewise.
13398
0741d64c
AS
133992012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13400
13401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13402 Update.
13403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13404 Update.
13405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13406 Update.
13407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13408 Update.
13409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13410 Update.
13411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
13412 Update.
13413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13414 Update.
13415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
13416 Update.
13417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13418 Update.
13419
7cb029ee
JM
134202012-05-01 Joseph Myers <joseph@codesourcery.com>
13421
13422 [BZ #2550]
13423 [BZ #2570]
13424 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
13425 comparisons to determine direction to adjust input.
13426 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13427 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
13428 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13429 Likewise.
13430 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13431 Likewise.
13432 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13433 Likewise.
13434 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13435 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13436 Likewise.
13437 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13438 Likewise.
13439 * math/libm-test.inc (nexttoward_test): Add more tests.
13440
412bd966
AS
134412012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13442
13443 [BZ #14040]
13444 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
13445 in version GLIBC_2.1, not GLIBC_2.0.
13446 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
13447 Likewise.
13448
9568c0c2
JM
134492012-04-30 Joseph Myers <joseph@codesourcery.com>
13450
adfbc8ac
JM
13451 [BZ #13942]
13452 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
13453 (1 - x) * (1 + x).
13454 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13455 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
13456 * math/libm-test.inc (acos_test): Add more tests.
13457 (asin_test): Likewise.
13458 * sysdeps/i386/fpu/libm-test-ulps: Update.
13459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13460
5ba3cc69
JM
13461 [BZ #14034]
13462 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
13463 of square root.
13464 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
13465 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13466 * math/libm-test.inc (acos_test_tonearest): New function.
13467 (acos_test_towardzero): Likewise.
13468 (acos_test_downward): Likewise.
13469 (acos_test_upward): Likewise.
13470 (asin_test_tonearest): Likewise.
13471 (asin_test_towardzero): Likewise.
13472 (asin_test_downward): Likewise.
13473 (asin_test_upward): Likewise.
13474 (main): Call the new functions.
13475 * sysdeps/i386/fpu/libm-test-ulps: Update.
13476 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13477
9568c0c2
JM
13478 [BZ #13884]
13479 [BZ #13924]
13480 * math/e_exp10.c: Include <float.h>.
13481 (__ieee754_exp10): Handle underflow here rather than multiplying
13482 large negative argument by M_LN10.
13483 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
13484 of __ieee754_expf.
13485 * math/e_exp10l.c: Include <float.h>.
13486 (__ieee754_exp10l): Handle underflow here rather than multiplying
13487 large negative argument by M_LN10l.
13488 * math/libm-test.inc (exp10_test): Add another test. Do not allow
13489 spurious overflow exception on underflow.
13490
5ac3ea17
MP
134912012-04-29 Marek Polacek <polacek@redhat.com>
13492
13493 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
13494 (__fortify_function): New macro.
13495 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
13496 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
13497 __extern_always_inline.
13498 * libio/bits/stdio2.h: Likewise.
13499 * libio/bits/stdio.h: Likewise.
13500 * string/string.h: Likewise.
13501 * string/bits/string3.h: Likewise.
13502 * include/stdio.h: Likewise.
13503 * stdlib/bits/stdlib.h: Likewise.
13504 * stdlib/stdlib.h: Likewise.
13505 * rt/bits/mqueue2.h: Likewise.
13506 * rt/mqueue.h: Likewise.
13507 * posix/bits/unistd.h: Likewise.
13508 * posix/unistd.h: Likewise.
13509 * io/bits/poll2.h: Likewise.
13510 * io/bits/fcntl2.h: Likewise.
13511 * io/fcntl.h: Likewise.
13512 * io/sys/poll.h: Likewise.
13513 * misc/bits/syslog.h: Likewise.
13514 * misc/bits/syslog-ldbl.h: Likewise.
13515 * misc/sys/syslog.h: Likewise.
13516 * socket/bits/socket2.h: Likewise.
13517 * socket/sys/socket.h: Likewise.
13518 * debug/tst-chk1.c: Likewise.
13519 * wcsmbs/bits/wchar2.h: Likewise.
13520 * wcsmbs/bits/wchar-ldbl.h: Likewise.
13521 * wcsmbs/wchar.h: Likewise.
13522
ecf0ebfb
AJ
135232012-04-29 Andreas Jaeger <aj@suse.de>
13524
13525 * Makerules (tests): Remove enable-check-abi protection.
13526 (check-abi-warn): Remove.
13527 (check-abi-%): Remove check-abi-warn usage.
13528
13529 * configure.in: Remove check-abi configure option.
13530 * configure: Regenerated.
13531 * config.make.in (enable-check-abi): Remove.
13532
6d5c57fa
AS
135332012-04-28 Andreas Schwab <schwab@linux-m68k.org>
13534
24c5d07e 13535 [BZ #14033]
ded5180a
AS
13536 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
13537 double functions to double *_finite functions.
13538
7e0d315d
AS
13539 [BZ #13941]
13540 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
13541 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
13542 LDBL_MIN_EXP.
13543 * stdio-common/Makefile (tests): Add tst-sprintf3.
13544 * stdio-common/tst-sprintf3.c: New file.
13545
6d5c57fa
AS
13546 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
13547 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
13548
0749ff8b
JM
135492012-04-28 Joseph Myers <joseph@codesourcery.com>
13550
13551 * conform/conformtest.pl: Remove duplicate typed-constant
13552 handling.
13553
8dbd5d7b
DM
135542012-04-28 David S. Miller <davem@davemloft.net>
13555
13556 * Makerules (%.abilist): Add vpath on sysdep_dirs.
13557 (check-abi-%): Remove AWK script prerequisite and explicit
13558 abilist directory.
13559 (check-abi): Rewrite to just diff the symlist with the abilist.
13560 (config-tls, config-abi-config): Delete, no longer used.
13561 (update-abi-%): Remove AWK script and explicit abilist directory.
13562 (update-abi): Rewrite to simply compare and conditionally copy the
13563 symlist and the sysdep abilist file. Remove update-abi-config
13564 checks.
13565 * abilist/ld.abilist: Remove.
13566 * abilist/libBrokenLocale.abilist: Remove.
13567 * abilist/libanl.abilist: Remove.
13568 * abilist/libcrypt.abilist: Remove.
13569 * abilist/libdl.abilist: Remove.
13570 * abilist/librt.abilist: Remove.
13571 * abilist/libthread_db.abilist: Remove.
13572 * abilist/libutil.abilist: Remove.
13573 * scripts/extract-abilist.awk: Remove.
13574 * scripts/merge-abilist.awk: Remove.
13575 * sysdeps/generic/libcidn.abilist: New file.
13576 * sysdeps/generic/libnss_compat.abilist: New file.
13577 * sysdeps/generic/libnss_db.abilist: New file.
13578 * sysdeps/generic/libnss_dns.abilist: New file.
13579 * sysdeps/generic/libnss_files.abilist: New file.
13580 * sysdeps/generic/libnss_hesiod.abilist: New file.
13581 * sysdeps/generic/libnss_nis.abilist: New file.
13582 * sysdeps/generic/libnss_nisplus.abilist: New file.
13583 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
13584 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
13585 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
13586 file.
13587 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
13588 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
13589 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
13590 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
13591 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
13592 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
13593 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
13594 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
13595 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
13596 file.
13597 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
13598 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
13599 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
13600 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
13601 file.
13602 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
13603 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
13604 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
13605 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
13606 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
13607 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
13608 file.
13609 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
13610 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
13611 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
13612 file.
13613 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
13614 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
13615 New file.
13616 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
13617 New file.
13618 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
13619 New file.
13620 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
13621 New file.
13622 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
13623 New file.
13624 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
13625 New file.
13626 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
13627 New file.
13628 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
13629 New file.
13630 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
13631 New file.
13632 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
13633 New file.
13634 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
13635 New file.
13636 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
13637 New file.
13638 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
13639 New file.
13640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
13641 file.
13642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13643 New file.
13644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13645 New file.
13646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
13647 file.
13648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13649 New file.
13650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13651 New file.
13652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
13653 file.
13654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13655 New file.
13656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13657 New file.
13658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13659 New file.
13660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13661 New file.
13662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13663 New file.
13664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13665 New file.
13666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
13667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
13668 file.
13669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13670 New file.
13671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
13672 file.
13673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
13674 file.
13675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
13676 file.
13677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
13678 file.
13679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
13680 file.
13681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13682 New file.
13683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
13684 file.
13685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
13686 file.
13687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13688 New file.
13689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
13690 file.
13691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
13692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
13693 file.
13694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13695 New file.
13696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
13697 file.
13698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
13699 file.
13700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
13701 file.
13702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
13703 file.
13704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
13705 file.
13706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13707 New file.
13708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
13709 file.
13710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
13711 file.
13712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13713 New file.
13714 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
13715 file.
13716 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
13717 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
13718 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
13719 file.
13720 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
13721 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
13722 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
13723 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
13724 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
13725 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
13726 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
13727 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
13728 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
13729 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
13730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
13731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
13732 file.
13733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
13734 New file.
13735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
13736 file.
13737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
13738 file.
13739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
13740 file.
13741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
13742 file.
13743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
13744 file.
13745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13746 New file.
13747 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
13748 New file.
13749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
13750 file.
13751 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
13752 New file.
13753 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
13754 file.
13755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
13756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
13757 file.
13758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
13759 New file.
13760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
13761 file.
13762 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
13763 file.
13764 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
13765 file.
13766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
13767 file.
13768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
13769 file.
13770 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13771 New file.
13772 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13773 New file.
13774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
13775 file.
13776 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13777 New file.
13778 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
13779 file.
13780
41d73a1b
JM
137812012-04-28 Joseph Myers <joseph@codesourcery.com>
13782
13783 * conform/conformtest.pl: Fix typo in handling typed-constant from
13784 allow-header.
13785
28aeeda4
JM
137862012-04-27 Joseph Myers <joseph@codesourcery.com>
13787
adae8f5e
JM
13788 * README: Cut down references to pre-2.6 Linux kernels and
13789 Linuxthreads. Update lists of configurations in libc and ports
13790 and sort alphabetically. Say "or newer" with Linux kernel version
13791 requirements.
13792
28aeeda4
JM
13793 * config.h.in [IS_IN_build]: Allow compiling without optimization.
13794
a462cb63
RA
137952012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13796
13797 [BZ #887]
13798 * math/libm-test.inc (logb_test_downward): New test to expose
13799 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
13800 rounding mode.
13801
6ad3493e
JM
138022012-04-27 Joseph Myers <joseph@codesourcery.com>
13803
13804 [BZ #14027]
13805 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
13806 to be done.
13807 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
13808 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
13809
2ce4f015
JM
138102012-04-26 Joseph Myers <joseph@codesourcery.com>
13811
5aeb141a
JM
13812 * sysdeps/unix/i386/brk.S: Remove file.
13813 * sysdeps/unix/i386/dl-brk.S: Likewise.
13814 * sysdeps/unix/i386/pipe.S: Likewise.
13815 * sysdeps/unix/i386/sigreturn.S: Likewise.
13816 * sysdeps/unix/i386/syscall.S: Likewise.
13817 * sysdeps/unix/i386/vfork.S: Likewise.
13818 * sysdeps/unix/i386/wait.S: Likewise.
13819
7143acae
JM
13820 * sysdeps/unix/common/tcsendbrk.c: Move to ...
13821 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
13822
2ce4f015
JM
13823 * configure.in (arm*-none*): Do not allow without
13824 --enable-hacker-mode.
13825 (netbsd*): Remove case setting base_os.
13826 (386bsd*): Likewise.
13827 (freebsd*): Likewise.
13828 (bsdi*): Likewise.
13829 (osf*): Likewise.
13830 (sunos*): Likewise.
13831 (ultrix*): Likewise.
13832 (newsos*): Likewise.
13833 (dynix*): Likewise.
13834 (*bsd*): Likewise.
13835 (sysv*): Likewise.
13836 (isc*): Likewise.
13837 (esix*): Likewise.
13838 (sco*): Likewise.
13839 (minix*): Likewise.
13840 (irix4*): Likewise.
13841 (irix6*): Likewise.
13842 (solaris[2-9]*): Likewise.
13843 (none): Likewise.
13844 * configure: Regenerated.
13845
0ac229c8
AZ
138462012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13847
13848 [BZ #11521]
13849 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
13850 overflow or cancellation in calculating denominator.
13851 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
13852 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
13853 down expression to avoid unexpected rounding in newer GCCs.
13854 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
13855
33f244f4
DM
138562012-04-26 David S. Miller <davem@davemloft.net>
13857
13858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
13859 long-double compat symbols.
13860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
13864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
13866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
13867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
13868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
13869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
13871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
13872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13873
cfa1f3e8
DM
138742012-04-25 David S. Miller <davem@davemloft.net>
13875
13876 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
13877 HWCAP_* values only after the memory barriers have been defined.
13878 (atomic_full_barrier): Define.
13879 (atomic_read_barrier): Define.
13880 (atomic_write_barrier): Define.
13881
6e236b92
SP
138822012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13883
13884 * shlib-versions: Add libgcc_s version information.
13885 * sysdeps/generic/libgcc_s.h: Remove.
13886 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
13887 libgcc_s.h.
13888 * sysdeps/gnu/unwind-resume.c: Likewise.
13889 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
13890
aab39a09
DM
138912012-04-25 David S. Miller <davem@davemloft.net>
13892
13893 * sysdeps/unix/sparc/brk.S: Delete.
13894 * sysdeps/unix/sparc/dl-brk.S: Delete.
13895 * sysdeps/unix/sparc/pipe.S: Delete.
13896 * sysdeps/unix/sparc/sysdep.S: Delete.
13897 * sysdeps/unix/sparc/sysdep.h: Delete.
13898 * sysdeps/unix/sparc/vfork.S: Delete.
13899 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
13900 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
13901 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
13902 ret_ERRVAL, r0, r1, MOVE): Define.
13903 (JUMPTARGET): Remove.
13904 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
13905 sysdeps/unix/sparc/sysdep.h
13906 (ENTRY, END): Remove.
13907 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13908
a3cc4f48
JM
139092012-04-25 Joseph Myers <joseph@codesourcery.com>
13910
2ed8cda2
JM
13911 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
13912 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
13913 -DIS_IN_build.
13914
35d76d59
JM
13915 * timezone/README: Update upstream location and email address for
13916 tzcode and tzdata.
13917 * timezone/zdump.c: Update from tzcode 2012b.
13918 * timezone/zic.c: Likewise.
13919
a3cc4f48
JM
13920 * configure.in (libc_cv_as_needed): Remove test.
13921 * configure: Regenerated.
13922 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
13923 conditional definition.
13924 [$(have-as-needed) != yes] (no-as-needed): Likewise.
13925 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
13926 * config.make.in (have-as-needed): Remove variable.
13927
ceab42c3
SP
139282012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13929 Paul Pluzhnikov <ppluzhnikov@google.com>
13930
13931 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
13932 strings correctly.
13933
3ce2865f
CLT
139342012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
13935
13936 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
13937 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
13938 * sysdeps/sh/strlen.S: Likewise.
13939
f37e0d68
JM
139402012-04-24 Joseph Myers <joseph@codesourcery.com>
13941
ae186e9a
JM
13942 * sysdeps/unix/fork.S: Remove file.
13943 * sysdeps/unix/i386/fork.S: Likewise.
13944 * sysdeps/unix/sparc/fork.S: Likewise.
13945
b96914af
JM
13946 * sysdeps/unix/system.c: Remove file.
13947 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
13948
f37e0d68
JM
13949 * sysdeps/unix/getegid.S: Remove file.
13950 * sysdeps/unix/geteuid.S: Likewise.
13951
87ef29ca
RM
139522012-04-24 Roland McGrath <roland@hack.frob.com>
13953
83bcd236
RM
13954 * scripts/check-localplt.awk: New file.
13955 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
13956 of diff.
13957 * scripts/data/localplt-generic.data: Add a comment.
13958
87ef29ca
RM
13959 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
13960 NODE when __dir_mkfile failed.
13961 * sysdeps/mach/hurd/symlinkat.c: Likewise.
13962 Reported by Ludovic Courtès <ludo@gnu.org>.
13963
e5a6e567
AJ
139642012-04-24 Andreas Jaeger <aj@suse.de>
13965
13966 * Makerules (common-clean): Also remove gen-as-const-headers
13967 files.
13968
c1820385
JM
139692012-04-24 Joseph Myers <joseph@codesourcery.com>
13970
13971 * Makerules (native-compile): Do not change working directory for
13972 build. Use $(OUTPUT_OPTION) in command.
13973 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
13974
94e02fc4
AZ
139752012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13976
13977 [BZ #13886]
13978 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
13979 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
13980 * math/libm-test.inc (floor_test): Add more tests.
13981 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
13982
3a533ca3
JM
139832012-04-24 Joseph Myers <joseph@codesourcery.com>
13984
940ab4b3
JM
13985 * sysdeps/unix/getdents.c: Remove file.
13986 * sysdeps/unix/sysv/getdents.c: Likewise.
13987 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
13988
90e037bd
JM
13989 * sysdeps/unix/syscalls.list (madvise): Add syscall from
13990 sysdeps/unix/mman/syscalls.list.
13991 (mmap): Likewise.
13992 (mprotect): Likewise.
13993 (msync): Likewise.
13994 (munmap): Likewise.
13995 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
13996 * sysdeps/unix/mman/syscalls.list: Remove.
13997 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
13998
3a533ca3
JM
13999 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
14000 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
14001 * configure: Regenerated.
14002 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
14003 $(libgcc_s_suffix).
14004 * config.make.in (libgcc_s_suffix): Remove variable.
14005
1ad743de
JM
140062012-04-23 Joseph Myers <joseph@codesourcery.com>
14007
4ad451e2
JM
14008 * sysdeps/unix/sysv/gethostname.c: Move to ...
14009 * sysdeps/posix/gethostname.c: ... here.
14010
5e37ce39
JM
14011 * sysdeps/unix/execve.S: Remove file.
14012
1ad743de
JM
14013 * sysdeps/unix/_exit.S: Remove file.
14014
4e681b5b
AJ
140152012-04-23 Andreas Jaeger <aj@suse.de>
14016
14017 [BZ #13739]
14018 * manual/Makefile: Remove make dist support, there's no
14019 need for a stand-alone documentation tar ball.
14020 (TEXI2DVI): Define always, it's not in Makeconfig.
14021 (dist): Removed.
14022 (tar-it): Removed.
14023 (edition): Removed.
14024 (glibc-doc-$(edition).tar): Removed
14025 (%.Z): Removed.
14026 (%.gz): Removed.
14027 (%.uu): Removed.
14028 (ETAGS): Remove, it's in Makeconfig.
14029 (move-if-change): Remove, it's in Makeconfig.
14030
38686a03 140312012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
14032
14033 [BZ #13970]
14034 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
14035 (strtod, strtof, strtold, strtol, strtoul, strtoq)
14036 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
14037 (strtod_l, strtof_l, strtold_l): Remove __wur.
14038 It is not necessarily an error to ignore strtol's return value.
14039 One can reliably look at the stored endptr to decide whether
14040 the number had valid syntax.
14041
7c0616fa
AJ
140422012-04-21 Andreas Jaeger <aj@suse.de>
14043
803cb6b7 14044 [BZ #13739]
7c0616fa
AJ
14045 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
14046
b0fe253f
JM
140472012-04-21 Joseph Myers <joseph@codesourcery.com>
14048
14049 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
14050 * sysdeps/unix/sysv/Versions: Remove file.
14051
8280f22d
MT
140522012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
14053
14054 [BZ #13927]
14055 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14056
75ce411f 140572012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
14058
14059 [BZ #7064]
14060 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
14061 version from __vm86.
14062
097d59fa
JM
140632012-04-20 Joseph Myers <joseph@codesourcery.com>
14064
a90f3bcb
JM
14065 * sysdeps/unix/common/lxstat.c: Remove file.
14066 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
14067
edc7ea78
JM
14068 * sysdeps/unix/sysv/Makefile: Remove file.
14069
cb78c221
JM
14070 * sysdeps/unix/sysv/direct.h: Remove file.
14071
efa6a45f
JM
14072 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
14073 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
14074 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
14075 * sysdeps/unix/sysv/bits/signum.h: Likewise.
14076 * sysdeps/unix/sysv/bits/stat.h: Likewise.
14077 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
14078 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
14079
9c9f2d0c
JM
14080 * sysdeps/unix/sysv/setrlimit.c: Remove file.
14081
4541c83b
JM
14082 * sysdeps/unix/xmknod.c: Remove file.
14083 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
14084
f5d153a0
JM
14085 * sysdeps/unix/sysv/settimeofday.c: Remove file.
14086
aa746595
JM
14087 * sysdeps/unix/sysv/i386/time.S: Remove file.
14088
cce5905e
JM
14089 * sysdeps/unix/fxstat.c: Remove file.
14090 * sysdeps/unix/xstat.c: Likewise.
14091 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
14092
37fa3841
JM
14093 * sysdeps/unix/sysv/sigaction.c: Remove file.
14094
ff1962a3
JM
14095 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
14096 (sysdep_headers): Remove variable.
14097 [termio.h not in sysdep_headers] (generated): Likewise.
14098 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
14099 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
14100 * sysdeps/unix/sysv/tcdrain.c: Likewise.
14101 * sysdeps/unix/sysv/tcflow.c: Likewise.
14102 * sysdeps/unix/sysv/tcflush.c: Likewise.
14103 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
14104 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
14105 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
14106 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
14107 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
14108
e7740d31
JM
14109 * sysdeps/unix/siglist.c: Remove file.
14110
ee06f18b
JM
14111 * sysdeps/unix/getppid.S: Remove file.
14112
097d59fa
JM
14113 * sysdeps/unix/mkdir.c: Remove file.
14114 * sysdeps/unix/rmdir.c: Likewise.
14115
ff3d51ec
AS
141162012-04-19 Andreas Schwab <schwab@linux-m68k.org>
14117
14118 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
14119 ERR_MAX value.
14120 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
14121 errlist-compat value.
14122
50f81fd7
DM
141232012-04-18 David S. Miller <davem@davemloft.net>
14124
14125 * sysdeps/generic/memcopy.h (reg_char): Delete.
14126 * debug/strcat_chk.c: Use char, not reg_char.
14127 * debug/strcpy_chk.c: Likewise.
14128 * debug/strncat_chk.c: Likewise.
14129 * debug/strncpy_chk.c: Likewise.
14130 * string/memchr.c: Likewise.
14131 * string/memrchr.c: Likewise.
14132 * string/rawmemchr.c: Likewise.
14133 * string/strcat.c: Likewise.
14134 * string/strchr.c: Likewise.
14135 * string/strchrnul.c: Likewise.
14136 * string/strcmp.c: Likewise.
14137 * string/strcpy.c: Likewise.
14138 * string/strncat.c: Likewise.
14139 * string/strncmp.c: Likewise.
14140 * string/strncpy.c: Likewise.
14141
8ff41c46
WS
141422012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14143
14144 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
14145 __builtin_memcopy is called when src and dest ranges are known to not
14146 overlap.
14147
6b652f46
WS
141482012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14149
14150 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
14151 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
14152 fwd_align_merge macro call.
14153 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
14154 bwd_align_merge macro call.
14155 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14156
b282631e
WS
141572012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14158
14159 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
14160 bwd_align_merge macros.
14161 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
14162 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
14163 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14164
95aa737c
DM
141652012-04-18 David S. Miller <davem@davemloft.net>
14166
14167 * sysdeps/sparc/sparc64/memcopy.h: Delete.
14168
7a99a614
AJ
141692012-04-18 Andreas Jaeger <aj@suse.de>
14170
14171 [BZ# 6794]
14172 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
14173 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
14174 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14175
14176 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
14177 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
14178 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14179
14180 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
14181 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
14182 Adjust for changed ldbl-128 files.
14183
14184 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
14185 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
14186 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14187
e5270c23
DM
141882012-04-17 David S. Miller <davem@davemloft.net>
14189
14190 * sysdeps/sparc/sparc32/memcopy.h: Delete.
14191
fb5e92c9
AS
141922012-04-17 Andreas Schwab <schwab@linux-m68k.org>
14193
14194 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
14195 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
14196 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
14197 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
14198 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14199 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
14200
76da7265
AZ
142012012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14202
14203 [BZ #6794]
14204 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
14205 * math/libm-test.inc: Add ilogb errno and exception tests.
14206 * math/w_ilogb.c: New file: ilogb wrapper.
14207 * math/w_ilogbf.c: New file: ilogbf wrapper.
14208 * math/w_ilogbl.c: New file: ilogbl wrapper.
14209 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
14210 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
14211 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
14212 exception being thrown with 0.0 as argument.
14213 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
14214 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
14215 exception being thrown with 0.0 as argument.
14216 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
14217 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14218 exception being thrown with 0.0 as argument.
14219 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
14220 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14221 exception being thrown with 0.0 as argument.
14222 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
14223 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 14224 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
14225 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
14226 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
14227 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
14228 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
14229 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
14230 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
14231
0396e69d
PB
142322012-04-17 Petr Baudis <pasky@ucw.cz>
14233
14234 * include/sys/uio.h: Change __vector to __iovec to avoid clash
14235 with altivec.
14236
750b5926
MP
142372012-04-16 Marek Polacek <polacek@redhat.com>
14238
14239 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
14240
751728a1
MP
142412012-04-16 Marek Polacek <polacek@redhat.com>
14242
14243 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
14244 operands of fdivp instruction.
14245
34a27407
L
142462012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14247
14248 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
14249 * elf/tst-auditmod3b.c: Likewise.
14250 * elf/tst-auditmod4b.c: Likewise.
14251 * elf/tst-auditmod5b.c: Likewise.
14252 * elf/tst-auditmod6b.c: Likewise.
14253 * elf/tst-auditmod6c.c: Likewise.
14254 * elf/tst-auditmod7b.c: Likewise.
14255 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
14256 * sysdeps/x86_64/preconfigure.in: Likewise.
14257 * sysdeps/x86_64/preconfigure: Regenerated.
14258
7e73e17d
L
142592012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14260
14261 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
14262 __ILP32__.
14263
c7a6ab72
AB
142642012-04-13 Antoine Balestrat <merkil33@gmail.com>
14265
14266 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14267 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
14268
a9e8e0e0
CL
142692012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
14270
14271 [BZ #13973]
14272 * locale/iso-639.def: Fix gl language name. Spotted by
14273 Yaron Shahrabani.
14274
ec98af7d
RM
142752012-04-12 Roland McGrath <roland@hack.frob.com>
14276
14277 [BZ #2074]
14278 * libio/libio.h (__io_write_fn): Update comment.
14279
247c3ede
PB
142802012-04-12 Petr Baudis <pasky@ucw.cz>
14281
14282 [BZ #2074]
14283 * stdio.texi (Hook Functions): The user provided writer function
14284 is not allowed to return -1.
14285
55939d6d
DM
142862012-04-11 David S. Miller <davem@davemloft.net>
14287
14288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14289
90020f5a
MF
142902012-04-11 Mike Frysinger <vapier@gentoo.org>
14291
14292 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
14293 Add a leading slash to rtkaio.
14294
288f9098
JM
142952012-04-11 Jim Meyering <meyering@redhat.com>
14296
90020f5a
MF
14297 [BZ #11959]
14298 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
14299 It is not necessarily an error to ignore fwrite's return
14300 value. One can reliably use ferror to test for errors after
14301 the fact.
288f9098 14302
4be2b570
L
143032012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14304
14305 * bits/types.h (__snseconds_t): New type.
14306 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
14307
14308 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
14309 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14310 (__SNSECONDS_T_TYPE): Likewise.
14311 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14312 (__SNSECONDS_T_TYPE): Likewise.
14313 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14314 (__SNSECONDS_T_TYPE): Likewise.
14315
288f9098 143162012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
14317
14318 [BZ #2636]
14319 * manual/time.texi (Processor Time): Return type of times is
14320 elapsed real time since an arbitrary point in the past.
14321 (CPU Time): Move CLK_TCK from here...
14322 (Processor Time): ...to here. Correct description.
14323 * manual/conf.texi (Constants for Sysconf): Correct description of
14324 _SC_CLK_TCK.
14325
d7dd4413
DM
143262012-04-10 David S. Miller <davem@davemloft.net>
14327
14328 [BZ #13967]
14329 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
14330 where the is a gap between DT_REL(A) and DT_JMPREL.
14331
b46068fc
L
143322012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14333
14334 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
14335 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14336 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14337
73d65cc3
SP
143382012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14339
14340 * elf/dl-support.c (_dl_inhibit_cache): New variable.
14341 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
14342 (dl_main): Handle --inhibit-cache.
14343 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
14344 _dl_inhibit_cache.
14345 * elf/dl-load.c (_dl_map_object): Use it.
14346 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
14347
bcc8d661
JM
143482012-04-09 Joseph Myers <joseph@codesourcery.com>
14349
8f9a2fae
JM
14350 [BZ #13872]
14351 * sysdeps/i386/fpu/e_powl.S (p78): New object.
14352 (__ieee754_powl): Saturate large exponents rather than testing for
14353 overflow of y*log2(x).
14354 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14355 * math/libm-test.inc (pow_test): Do not permit spurious overflow
14356 exceptions.
14357
bcc8d661
JM
14358 [BZ #11521]
14359 * math/s_ctan.c: Include <float.h>.
14360 (__ctan): Avoid internal overflow or cancellation in calculating
14361 denominator.
14362 * math/s_ctanf.c: Likewise.
14363 * math/s_ctanl.c: Likewise.
14364 * math/s_ctanh.c: Likewise.
14365 * math/s_ctanhf.c: Likewise.
14366 * math/s_ctanhl.c: Likewise.
14367 * math/libm-test.inc (ctan_test): Add more tests.
14368 (ctanh_test): Likewise.
14369 * sysdeps/i386/fpu/libm-test-ulps: Update.
14370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14371
823fbbb4
AJ
143722012-04-09 Andreas Jaeger <aj@suse.de>
14373
03879793
AJ
14374 [BZ #6894]
14375 * manual/filesys.texi (Directory Entries): Mention that d_namlen
14376 is an optional BSD extension.
14377
823fbbb4
AJ
14378 [BZ #10254]
14379 * manual/stdio.texi (Opening Streams): Document additional fopen
14380 parameters.
14381
8de131cb
RM
143822012-04-09 Roland McGrath <roland@hack.frob.com>
14383
14384 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
14385 %eax without telling the compiler.
14386
c0ed9d7d
CD
143872012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
14388
14389 [BZ # 13963]
14390 * manual/install.texi: Use sourceware.org.
14391
c483f6b4
JM
143922012-04-09 Joseph Myers <joseph@codesourcery.com>
14393
d7dd9453
JM
14394 [BZ #13873]
14395 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
14396 (__ieee754_pow): Generate overflow and underflow using huge*huge
14397 and tiny*tiny rather than just returning constant infinity or zero
14398 for large exponents.
14399 * math/libm-test.inc (pow_test): Require overflow exceptions for
14400 applicable cases of large exponents.
14401
c483f6b4
JM
14402 [BZ #706]
14403 * sysdeps/i386/fpu/e_pow.S (p10): New object.
14404 (__ieee754_pow): Use iterative multiplication algorithm only for
14405 integer exponents with absolute value below 1024. Check for odd
14406 integer exponents when using algorithm for real exponents.
14407 * math/libm-test.inc (pow_test): Add more tests.
14408 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14409
d2de7579
JM
144102012-04-08 Joseph Myers <joseph@codesourcery.com>
14411
14412 [BZ #13705]
14413 * math/libm-test.inc (exp_test): Do not allow overflow exception
14414 on underflow test.
14415
f77f1232
AJ
144162012-04-08 Aurelien Jarno <aurelien@aurel32.net>
14417
14418 [BZ #13705]
14419 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
14420 instead of __kernel_standard_f.
14421
3884932b
MF
144222012-04-08 Mike Frysinger <vapier@gentoo.org>
14423
14424 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
14425 * sysdeps/x86_64/memset_chk.S: Likewise.
14426
54472e9c
AJ
144272012-04-08 Andreas Jaeger <aj@suse.de>
14428
6ab0fbfc
AJ
14429 [BZ #10153]
14430 * manual/startup.texi (Environment Access): Describe return value
14431 for putenv and setenv.
14432
61efba8c
AJ
14433 [BZ #6895]
14434 * manual/filesys.texi (Directory Entries): Add description for
14435 DT_LNK.
14436
95c3f29a
AJ
14437 [BZ #6890]
14438 * manual/filesys.texi (Directory Entries): Clarify that it's file
14439 system not operating system in the description of DT_UNKNOWN.
14440
54472e9c
AJ
14441 [BZ #6578]
14442 * manual/syslog.texi (closelog): Fix reference, it's openlog.
14443
624254b1
SC
144442012-04-08 Stephen Compall <s11@member.fsf.org>
14445
14446 [BZ #6649]
14447 * manual/llio.texi (Opening and Closing Files): Add cross
14448 reference to explain mode argument.
14449
1e4920e0
MF
144502012-04-07 Mike Frysinger <vapier@gentoo.org>
14451
14452 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
14453 * sysdeps/x86_64/memset_chk.S: Likewise.
14454
5ed848f3
DM
144552012-04-07 David S. Miller <davem@davemloft.net>
14456
14457 * elf/elf.h (R_SPARC_WDISP10): Define.
14458 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
14459 R_SPARC_SIZE32.
14460 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
14461 R_SPARC_SIZE64 and R_SPARC_H34.
14462
96154cd8
CD
144632012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
14464
14465 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
14466 conditions and remove no longer applicable assertion.
14467
9904dc47
L
144682012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14469
14470 * bits/byteswap.h: Include <features.h>.
14471 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14472 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14473
f8887d0a
L
144742012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14475
14476 * bits/byteswap.h (__bswap_16): Removed.
14477 Include <bits/byteswap-16.h> to get __bswap_16.
14478 * sysdeps/i386/bits/byteswap.h: Likewise.
14479 * sysdeps/s390/bits/byteswap.h: Likewise.
14480 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14481 * bits/byteswap-16.h: New file.
14482 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14483 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14484 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
14485 * string/Makefile (headers): Add bits/byteswap-16.h.
14486
62470f60
PP
144872012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14488
14489 [BZ #13895]
14490 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
14491 extra indirection.
14492 * nss/Makefile (tests-static, tests): Add tst-nss-static.
14493 * nss/tst-nss-static.c: New.
14494
4dad7bab
RM
144952012-04-06 Robert Millan <rmh@gnu.org>
14496
14497 [BZ #6486]
14498 * manual/llio.texi (File Position Primitive): lseek
14499 refers to WHENCE when it really means OFFSET.
14500
e9142a17
AJ
145012012-04-06 Andreas Jaeger <aj@suse.de>
14502
2c040eff
AJ
14503 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
14504 strncmp declarations.
14505
e9142a17
AJ
14506 * abilist/libc.abilist: Add __poll and __ppoll.
14507
ff9f1c5f
DM
145082012-04-05 David S. Miller <davem@davemloft.net>
14509
dcd2ae90
DM
14510 * scripts/check-local-headers.sh: Accept a host triplet in the
14511 path matched by the exclude regexp.
14512
993eb054
DM
14513 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
14514 definition.
14515 * sysdeps/powerpc/powerpc32/dl-machine.h
14516 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
14517 * sysdeps/s390/s390-32/dl-machine.h
14518 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14519 * sysdeps/sparc/sparc32/dl-machine.h
14520 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14521 * sysdeps/sparc/sparc64/dl-machine.h
14522 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14523
ff9f1c5f
DM
14524 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
14525 lazy binding.
48e2e132 14526 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
14527 undefined symbol errors.
14528
48e2e132 14529 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
14530 DT_NEEDED entries.
14531
e80d6f94
MM
145322012-04-05 Michael Matz <matz@suse.de>
14533
14534 [BZ #13592]
14535 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
14536
349fa79f
AJ
145372012-04-05 Andreas Jaeger <aj@suse.de>
14538
14539 [BZ #13908]
14540 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
14541 comment.
14542
f402708f
KK
145432012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14544
14545 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
14546 which ROUND is no valid rounding mode.
14547
2ecccfc9
KK
145482012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14549
14550 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
14551 read again.
14552 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
14553
8a53f50f
KK
145542012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14555
14556 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
14557 an exception using FPU order intentionally.
14558
145592012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14560
14561 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
14562 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
14563 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
14564 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
14565
d653abb7
SJ
145662012-04-05 Simon Josefsson <simon@josefsson.org>
14567
14568 [BZ #12340]
14569 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
14570 EINVAL when BUFLEN is too smal.
14571
c3b1bf7d
TS
145722012-04-05 Thomas Schwinge <thomas@codesourcery.com>
14573
14574 [BZ #13553]
14575 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
14576 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
14577
b1aa60f3
AJ
145782012-04-03 Andreas Jaeger <aj@suse.de>
14579
c3b1bf7d 14580 [BZ #13938]
67f60a26
AJ
14581 * manual/setjmp.texi (System V contexts): Fix sentence.
14582
b1aa60f3
AJ
14583 [BZ #13926]
14584 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
14585 New macro for this case.
14586 [!__GNUC__] (__bswap_64): New inline function for this case.
14587 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14588 * bits/byteswap.h: Likewise.
14589 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
14590 ull, guard with __GLIBC_HAVE_LONG_LONG.
14591
14592 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
14593 __GLIBC_HAVE_LONG_LONG.
14594
14595 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
14596 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
14597
39c59c35
TMQMF
145982012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14599
14600 [BZ #13691]
14601 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
14602 inptr and inend, rather than using last_ch.
14603
135ffda8
DM
146042012-04-02 David S. Miller <davem@davemloft.net>
14605
14606 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
14607 * stdio-common/printf-parse.h (read_int): Change return type to
14608 'int', return -1 on INT_MAX overflow.
14609 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
14610 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
14611 overflows INT_MAX. Check for overflow of in-format-string precision
14612 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
14613 SIZE_MAX not INT_MAX for integer overflow test.
14614 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
14615 skip the construct in the format string but do not record anything.
14616 * stdio-common/bug22.c: Adjust to test both width/prevision
14617 INT_MAX overflow as well as total length INT_MAX overflow. Check
14618 explicitly for proper errno values.
14619
228c019e
TS
146202012-04-02 Thomas Schwinge <thomas@codesourcery.com>
14621
302cadd3
TS
14622 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
14623 CHAR_MAX.
14624 * string/test-strcmp.c [! WIDE]: Likewise.
14625 * time/tst-mktime2.c: Likewise for INT_MAX.
14626 * string/test-string.h: #include <sys/param.h> for MIN.
14627
228c019e
TS
14628 * csu/init-first.c (__libc_init_first): Call __ctype_init.
14629 * sysdeps/i386/init-first.c (init): Likewise.
14630 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
14631 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
14632 * sysdeps/sh/init-first.c (init): Likewise.
14633
cfa633f5
UD
146342012-04-01 Ulrich Drepper <drepper@gmail.com>
14635
14636 * po/ru.po: Update from translation team.
d1635ef8 14637 * po/vi.po: Likewise.
cfa633f5 14638
6cd0a5ea
SP
146392012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14640
14641 * resolv/nss_dns/dns-host.c: Merge copyright years.
14642
4b43400f
LD
146432012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14644
14645 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14646 Optimize memcpy with prefetch if
14647 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
14648 src, dst pointers have unequal 16 byte alignments.
14649
48c41d04
SP
146502012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14651
14652 [BZ #13928]
14653 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
14654 from a CNAME entry and return the minimum ttl for the query.
14655 (gaih_getanswer_slice): Likewise.
14656
b8dc394d
JL
146572012-03-30 Jeff Law <law@redhat.com>
14658
14659 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
14660 due to long keys.
14661 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
14662 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14663
2f5a5ed0
JL
14664 * resolv/nss_dns/dns-host.c: Update copyright year.
14665
1d39e359
UD
146662012-03-30 Ulrich Drepper <drepper@gmail.com>
14667
c030f70c 14668 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 14669 requests to save a system call. Fix check that all bytes are sent.
c030f70c 14670
1d39e359
UD
14671 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
14672 comments for sendmmsg.
14673
146742012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
14675
14676 [BZ #13691]
14677 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
14678 with only 1 character between 0x0041 and 0x01b0.
14679 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
14680 * wcsmbs/tst-mbsnrtowcs.c: New file.
14681
20fde227
DM
146822012-03-29 David S. Miller <davem@davemloft.net>
14683
14684 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
14685 small copies by hand.
14686
984a4237
JL
146872012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14688
14689 [BZ #13761]
14690 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
14691 _nss_compat_initgroups_dyn): Fall back to malloc/free
14692 for large group memberships.
14693
18c9d62b
DM
146942012-03-28 David S. Miller <davem@davemloft.net>
14695
88d85d4f
DM
14696 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
14697 that branches into memcpy.
14698 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14699 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
14700 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14701 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
14702 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
14703 bits.
14704 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
14705 implementation too.
14706 * sysdeps/sparc/mempcpy.S: New file.
14707
e5aa83e1
DM
14708 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
14709 the IFUNC routine in the libc case.
14710 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14711
88570753
DM
14712 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
14713 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
14714 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
14715 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
14716 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
14717 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
14718 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
14719 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
14720
249d7567
DM
14721 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
14722 loop to 256 bytes instead of 64 bytes and fix test signedness.
14723
18c9d62b
DM
14724 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
14725 * sysdeps/sparc/sparc32/Makefile: rather than here...
14726 * sysdeps/sparc/sparc64/Makefile: and here.
14727
05f3d1f6
UD
147282012-03-28 Ulrich Drepper <drepper@gmail.com>
14729
14730 * malloc/mallocbug.c: Avoid warnings about unused variables.
14731
86ae07a8
JL
147322012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14733
14734 [BZ #13760]
14735 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
14736 in the right place. Discard and retry query if response is
14737 larger than input buffer size.
14738
41bf21a1
JM
147392012-03-28 Joseph Myers <joseph@codesourcery.com>
14740
d6270972
JM
14741 [BZ #369]
14742 [BZ #2678]
14743 [BZ #3866]
14744 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
14745 x for large integer exponent.
14746 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14747 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
14748 sign of result as needed afterwards.
14749 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14750 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
14751 result for underflowing pow the same as for overflow.
14752 (__kernel_standard_l): Handle powl overflow and underflow here
14753 rather than calling __kernel_standard.
14754 * math/libm-test.inc (pow_test): Add more tests.
14755
414fca03 14756 [BZ #3868]
41bf21a1
JM
14757 [BZ #13879]
14758 [BZ #13910]
14759 [BZ #13911]
14760 [BZ #13912]
14761 [BZ #13913]
14762 [BZ #13915]
14763 [BZ #13916]
14764 [BZ #13917]
14765 [BZ #13918]
14766 [BZ #13919]
14767 [BZ #13920]
14768 [BZ #13921]
14769 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
14770 * sysdeps/ieee754/k_standard.c: Include <float.h>.
14771 (__kernel_standard_l): New function.
14772 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
14773 __kernel_standard.
14774 * math/w_acosl.c (__acosl): Likewise.
14775 * math/w_asinl.c (__asinl): Likewise.
14776 * math/w_atan2l.c (__atan2l): Likewise.
14777 * math/w_atanhl.c (__atanhl): Likewise.
14778 * math/w_coshl.c (__coshl): Likewise.
14779 * math/w_exp10l.c (__exp10l): Likewise.
14780 * math/w_exp2l.c (__exp2l): Likewise.
14781 * math/w_fmodl.c (__fmodl): Likewise.
14782 * math/w_hypotl.c (__hypotl): Likewise.
14783 * math/w_j0l.c (__j0l, __y0l): Likewise.
14784 * math/w_j1l.c (__j1l, __y1l): Likewise.
14785 * math/w_jnl.c (__jnl, __ynl): Likewise.
14786 * math/w_lgammal.c (__lgammal): Likewise.
14787 * math/w_log10l.c (__log10l): Likewise.
14788 * math/w_log2l.c (__log2l): Likewise.
14789 * math/w_logl.c (__logl): Likewise.
14790 * math/w_powl.c (__powl): Likewise.
14791 * math/w_remainderl.c (__remainderl): Likewise.
14792 * math/w_scalbl.c (sysv_scalbl): Likewise.
14793 * math/w_sinhl.c (__sinhl): Likewise.
14794 * math/w_sqrtl.c (__sqrtl): Likewise.
14795 * math/w_tgammal.c (__tgammal): Likewise.
14796 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
14797 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
14798 * math/libm-test.inc (acos_test): Add more tests.
14799 (acosh_test): Likewise.
14800 (asin_test): Likewise.
14801 (atanh_test): Likewise.
14802 (exp_test): Likewise.
14803 (exp10_test): Likewise.
14804 (exp2_test): Likewise.
14805 (expm1_test): Likewise.
14806 (lgamma_test): Likewise.
14807 (log_test): Likewise.
14808 (log10_test): Likewise.
14809 (log1p_test): Likewise.
14810 (log2_test): Likewise.
14811 (pow_test): Do not allow some spurious overflow exceptions.
14812 (sqrt_test): Add more tests.
14813 (tgamma_test): Likewise.
14814 (y0_test): Likewise.
14815 (y1_test): Likewise.
14816 (yn_test): Likewise.
14817
dd62fda6
AB
148182012-03-27 Anton Blanchard <anton@samba.org>
14819
14820 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
14821 MAP_HUGETLB.
14822 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14823 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14824 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14825
1e3cdfda
AJ
148262012-03-27 David S. Miller <davem@davemloft.net>
14827
b855ab85
DM
14828 * conform/Makefile: Run run-conformtest.sh using $(BASH).
14829
1e3cdfda
AJ
14830 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
14831 have-as-vis3 check.
14832
148332012-03-27 Andreas Jaeger <aj@suse.de>
14834
14835 * sysdeps/x86_64/elf/configure.in: Moved to ...
14836 * sysdeps/x86_64/configure.in: ... here.
14837 * sysdeps/x86_64/elf/start.S: Moved to ...
14838 * sysdeps/x86_64/start.S: ... here.
14839 * sysdeps/x86_64/elf/configure: Delete.
14840
14841 * sysdeps/x86_64/configure.in: Merge contents from
14842 sysdeps/i386/configure.in (without i686 check).
14843
14844 * sysdeps/i386/elf/Versions: Merge into ...
14845 * sysdeps/i386/Versions: ... this.
14846 * sysdeps/i386/elf/Versions: Delete file.
14847 * sysdeps/i386/elf/start.S: Moved to ...
14848 * sysdeps/i386/start.S: ...here.
14849 * sysdeps/i386/elf/configure.in: Merge into...
14850 * sysdeps/i386/configure.in: ...here.
14851 * sysdeps/i386/elf/configure.in: Delete file.
14852 * sysdeps/i386/elf/configure: Delete file.
14853
14854 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
14855 * debug/backtracesyms.c: ... here.
14856 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
14857 * debug/backtracesymsfd.c: ... here.
14858 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
14859 * sysdeps/generic/ifunc-sel.h: ... here.
14860
14861 * sysdeps/unix/i386/start.c: Delete file.
14862 * sysdeps/unix/sparc/start.c: Delete file.
14863 * sysdeps/unix/start.c: Delete file.
14864
14865 * sysdeps/sh/elf/configure.in: Moved to ...
14866 * sysdeps/sh/configure.in: ... here.
14867 * sysdeps/sh/elf/start.S: Moved to ...
14868 * sysdeps/sh/start.S: ... here.
14869 * sysdeps/sh/elf/configure: Delete file.
14870
14871 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
14872 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
14873 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
14874 * sysdeps/powerpc/powerpc64/entry.h: ... here.
14875 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
14876 * sysdeps/powerpc/powerpc64/start.S: here.
14877 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
14878 * sysdeps/powerpc/powerpc64/Makefile: ... this.
14879 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
14880 * sysdeps/powerpc/powerpc64/configure.in: ... this.
14881 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
14882
14883 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
14884 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
14885 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
14886 * sysdeps/powerpc/powerpc32/start.S: ... here.
14887 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
14888 * sysdeps/powerpc/powerpc32/configure.in: ... this.
14889 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
14890
14891 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
14892 * sysdeps/powerpc/ifunc-sel.h: ... here.
14893 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
14894 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
14895
14896 * sysdeps/sparc/elf/configure.in: Moved to ...
14897 * sysdeps/sparc/configure.in: ... here.
14898 * sysdeps/sparc/elf/configure: Delete file.
14899 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
14900 * sysdeps/sparc/sparc32/start.S: ... here.
14901 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
14902 * sysdeps/sparc/sparc64/start.S: ... here.
14903 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
14904 * sysdeps/sparc/sparc32/Makefile: ... this.
14905 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
14906 * sysdeps/sparc/sparc64/Makefile: ... this.
14907
14908 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
14909 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
14910 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
14911 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
14912 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
14913 * sysdeps/s390/s390-32/setjmp.S: ... here.
14914 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
14915 * sysdeps/s390/s390-32/configure.in: ... here.
14916 * sysdeps/s390/s390-32/elf/configure: Delete file.
14917 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
14918 * sysdeps/s390/s390-32/start.S: ... here.
14919
14920 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
14921 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
14922 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
14923 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
14924 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
14925 * sysdeps/s390/s390-64/setjmp.S: ... here.
14926 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
14927 * sysdeps/s390/s390-64/configure.in: ... here
14928 * sysdeps/s390/s390-64/elf/configure: Delete file.
14929 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
14930 * sysdeps/s390/s390-64/start.S: ... here.
14931 * sysdeps/s390/s390-64/elf/configure: Delete.
14932
14933 * configure.in: Remove support for elf directories in sysdeps.
14934
14935 * configure: Regenerated.
14936 * sysdeps/i386/configure: Regenerated.
14937 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14938 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14939 * sysdeps/s390/s390-32/configure: Regenerated.
14940 * sysdeps/s390/s390-64/configure: Regenerated.
14941 * sysdeps/sh/configure: Regenerated.
14942 * sysdeps/sparc/configure: Regenerated.
14943 * sysdeps/x86_64/configure: Regenerated.
14944
a3f61311
AS
149452012-03-26 Andreas Schwab <schwab@linux-m68k.org>
14946
c876e002
AS
14947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14948
a3f61311
AS
14949 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
14950 denormal result into account.
14951
ac4c54f0
RM
149522012-03-25 Roland McGrath <roland@hack.frob.com>
14953
14954 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
14955 Reported by Allan McRae <allan@archlinux.org>.
14956
6a9b9c02
JL
149572012-03-23 Jeff Law <law@redhat.com>
14958
14959 * nss/getnssent.c (__nss_getent): Fix typo.
14960
4c42a0c1
DM
149612012-03-23 David S. Miller <davem@davemloft.net>
14962
14963 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14964
1532c7ac
L
149652012-03-23 H.J. Lu <hongjiu.lu@intel.com>
14966
14967 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
14968 to pad to uint64_t for each field.
14969 (dl_tls_index): Replace unsigned long with uint64_t.
14970
3ff42526
PP
149712012-03-23 Daniel Jacobowitz <dmj@google.com>
14972 Paul Pluzhnikov <ppluzhnikov@google.com>
14973
14974 [BZ #6528]
14975 * grp/Makefile (otherlibs): Don't set it.
14976 * inet/Makefile (otherlibs): Likewise.
14977 * login/Makefile (otherlibs): Likewise.
14978 * nscd/Makefile (otherlibs): Likewise.
14979 * posix/Makefile (otherlibs): Likewise.
14980 * pwd/Makefile (otherlibs): Likewise.
14981 * rt/Makefile (otherlibs): Likewise.
14982 * sunrpc/Makefile (otherlibs): Likewise.
14983 * nss/Makefile (otherlibs): Likewise.
14984 Add libnss_files to routines and static-only-routines.
14985 ($(objpfx)getent): Remove rule.
14986 * resolv/Makefile: Add libnss_dns and libresolv to routines and
14987 static-only-routines.
14988
7c69cd14
JM
149892012-03-22 Joseph Myers <joseph@codesourcery.com>
14990
14991 [BZ #13892]
14992 * math/s_cexp.c: Include <float.h>.
14993 (__cexp): Handle exp result overflowing not necessarily
14994 overflowing both real and imaginary parts of result.
14995 * math/s_cexpf.c: Likewise.
14996 * math/s_cexpl.c: Likewise.
14997 * math/libm-test.inc (cexp_test): Add more tests.
14998 * sysdeps/i386/fpu/libm-test-ulps: Update.
14999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15000
81b035fe
L
150012012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15002
15003 * include/link.h (ELFW): New macro.
15004 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
15005 Replace ELF64_R_TYPE with ELFW(R_TYPE).
15006
1da7940c
L
150072012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15008
15009 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
15010 with uint64_t.
15011
b749dbb9
L
150122012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15013
15014 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
15015 declaration.
15016 (struct La_x32_retval): Likewise.
15017
2ff87f3f
L
150182012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15019
15020 * sysdeps/x86_64/preconfigure.in: New file.
15021 * sysdeps/x86_64/preconfigure: New generated file.
15022
c0df8e69
JM
150232012-03-22 Joseph Myers <joseph@codesourcery.com>
15024
48e44791
JM
15025 [BZ #13824]
15026 * math/e_exp2l.c: Include <float.h>.
15027 (__ieee754_exp2l): Handle overflow and underflow cases
15028 separately. Only pass fractional part of argument to
15029 __ieee754_expl.
15030 * math/libm-test.inc (exp2_test): Add more tests.
15031
c0df8e69
JM
15032 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
15033 negating x to take absolute value.
15034 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15035 Likewise.
15036 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15037 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15038 Likewise.
15039 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
15040 computing low part if x was negated.
15041 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15042
c8e43ba7
L
150432012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15044
15045 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
15046 la_x32_gnu_pltexit.
15047 (pltexit): Cast int_retval to ptrdiff_t.
15048 * elf/tst-auditmod3b.c: Likewise.
15049 * elf/tst-auditmod4b.c: Likewise.
15050 * elf/tst-auditmod5b.c: Likewise.
15051 * elf/tst-auditmod6b.c: Likewise.
15052 * elf/tst-auditmod6c.c: Likewise.
15053 * elf/tst-auditmod7b.c: Likewise.
15054
15055 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
15056 and x32_gnu_pltexit.
15057
15058 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
15059 __ELF_NATIVE_CLASS.
15060 (La_x32_regs): New macro.
15061 (La_x32_retval): Likewise.
15062 (la_x32_gnu_pltenter): New function prototype.
15063 (la_x32_gnu_pltexit): Likewise.
15064
7998fa78
AS
150652012-03-21 Andreas Schwab <schwab@linux-m68k.org>
15066
dcb33988
AS
15067 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
15068 exponent.
15069
233fc563
AS
15070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15071
7998fa78
AS
15072 * configure.in (libc_cv_cc_nofma): Check for option to disable
15073 generation of FMA instructions.
15074 * configure: Regenerate.
15075 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
15076 * sysdeps/ieee754/dbl-64/Makefile: New file.
15077 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15078 Remove brandred-fma4.
15079 (CFLAGS-brandred-fma4.c): Remove.
15080 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
15081 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
15082 define.
15083 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
15084 define.
15085
8e95c99a
L
150862012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15087
15088 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15089 LLONG_MAX != LONG_MAX.
15090 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15091 (_fitoa_word): Likewise.
15092 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
15093 LLONG_MAX != LONG_MAX.
15094 * stdio-common/_itowa.h: Include <_itoa.h>.
15095 (_itowa_word): Use _ITOA_WORD_TYPE on value.
15096 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
15097 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
15098 only if not defined.
15099 (_ITOA_WORD_TYPE): Likewise.
15100 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15101 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
15102
6f4db457
DM
151032012-03-21 David S. Miller <davem@davemloft.net>
15104
15105 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15106
7785fe5a
L
151072012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15108
15109 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
15110 of x86_64 when setting libc_cv_slibdir, libdir and
15111 libc_cv_localedir.
15112 * sysdeps/unix/sysv/linux/configure: Regenerated.
15113
4535cd55
JM
151142012-03-21 Joseph Myers <joseph@codesourcery.com>
15115
15116 * manual/lang.texi (Old Varargs): Remove section.
15117 (How Variadic): Update menu.
15118 (va_start): Do not mention varargs.h.
15119
17228132
TS
151202012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15121 Joseph Myers <joseph@codesourcery.com>
15122
15123 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
15124 link test.
15125 * configure: Regenerated.
15126
8149f976
TS
151272012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15128
05f3d1f6
UD
15129 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
15130 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
15131 conformtest.pl
8149f976 15132
1a4ac776
JM
151332012-03-21 Joseph Myers <joseph@codesourcery.com>
15134
be22ce65
JM
15135 * NOTES: Remove.
15136 * Makefile (files-for-dist): Remove NOTES.
15137 (NOTES): Remove rule.
15138 * README: Don't refer to NOTES.
15139 * manual/creature.texi: Don't include macros.texi.
15140 * manual/intro.texi (creature.texi): Remove comment referring to
15141 NOTES.
15142
40b601fb
JM
15143 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
15144 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
15145 * configure: Regenerated.
15146 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
15147 LIBC_TRY_CC_OPTION.
15148 (libc_cv_as_i686): Likewise.
15149 (libc_cv_cc_avx): Likewise.
15150 (libc_cv_cc_sse2avx): Likewise.
15151 (libc_cv_cc_fma4): Likewise.
15152 (libc_cv_cc_novzeroupper): Likewise.
15153 * sysdeps/i386/configure: Regenerated.
15154
1a4ac776
JM
15155 [BZ #13883]
15156 * sysdeps/i386/fpu/s_cexp.S: Remove.
15157 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15158 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15159 * math/libm-test.inc (cexp_test): Add more tests.
15160 * sysdeps/i386/fpu/libm-test-ulps: Update.
15161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15162
a458e7fe
AM
151632012-03-21 Allan McRae <allan@archlinux.org>
15164
15165 * timezone/Makefile: Do not install iso3166.tab and zone.tab
15166
0cb7efc5
JM
151672012-03-21 Joseph Myers <joseph@codesourcery.com>
15168
15169 [BZ #13871]
15170 * math/w_exp2.c: Do not include <float.h>.
15171 (o_threshold, u_threshold): Remove.
15172 (__exp2): Calculate result before checking finiteness and calling
15173 __kernel_standard.
15174 * math/w_exp2f.c: Likewise.
15175 * math/w_exp2l.c: Likewise.
15176 * math/libm-test.inc (exp2_test): Require overflow exception for
15177 1e6 input.
2460d3aa
JM
15178
15179 [BZ #3866]
15180 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
15181 range of signed 64-bit integers before using fistpll. Remove
15182 checks for whether integers fit in mantissa bits.
15183 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
15184 the range of signed 32-bit integers before using fistpl. Remove
15185 checks for whether integers fit in mantissa bits.
15186 * sysdeps/i386/fpu/e_powl.S (p64): New object.
15187 (__ieee754_powl): Test for y outside the range of signed 64-bit
15188 integers before using fistpll. Reduce 64-bit values to 63-bit
15189 ones as needed.
15190 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
15191 divide-by-zero is raised for zero to large negative powers.
15192 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
15193 (__ieee754_powl): Test for y outside the range of signed 64-bit
15194 integers before using fistpll. Reduce 64-bit values to 63-bit
15195 ones as needed.
15196 * math/libm-test.inc (pow_test): Add more tests.
15197
eb96ffb0
L
151982012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15199
15200 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
15201 <stdio-common/_itoa.h>.
15202 * debug/segfault.c: Likewise.
15203 * elf/dl-cache.c: Likewise.
15204 * elf/dl-minimal.c: Likewise.
15205 * elf/dl-misc.c: Likewise.
15206 * elf/dl-sysdep.c: Likewise.
15207 * elf/dl-version.c: Likewise.
15208 * elf/rtld.c: Likewise.
15209 * hurd/hurdsock.c: Likewise.
15210 * hurd/lookup-retry.c: Likewise.
15211 * malloc/malloc.c: Likewise.
15212 * malloc/mtrace.c: Likewise.
15213 * nscd/nscd_getgr_r.c: Likewise.
15214 * nscd/nscd_getpw_r.c: Likewise.
15215 * nscd/nscd_getserv_r.c: Likewise.
15216 * posix/getopt_init.c: Likewise.
15217 * posix/wordexp.c: Likewise.
15218 * stdio-common/_itoa.c: Likewise.
15219 * stdio-common/printf_fphex.c: Likewise.
15220 * stdio-common/vfprintf.c: Likewise.
15221 * string/_strerror.c: Likewise.
15222 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
15223 * sysdeps/i386/i686/hp-timing.h: Likewise.
15224 * sysdeps/mach/_strerror.c: Likewise.
15225 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
15226 * sysdeps/mach/hurd/sethostid.c: Likewise.
15227 * sysdeps/mach/hurd/xmknodat.c: Likewise.
15228 * sysdeps/mach/xpg-strerror.c: Likewise.
15229 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15230 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15231 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
15232 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
15233 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15234 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
15235 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15236 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15237 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
15238 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
15239 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
15240 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15241 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
15242 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15243 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15244 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
15245 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
15246 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
15247 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15248 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15249 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
15250
15251 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
15252
15253 * stdio-common/_itoa.h: Moved to ...
15254 * sysdeps/generic/_itoa.h: Here.
15255
15256 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
15257
15258 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
15259 instead of "_itoa.h" and "_itowa.h".
15260 * stdio-common/vfprintf.: Likewise.
15261
d1af992d
L
152622012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15263
15264 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
15265 <bits/wordsize.h>.
15266 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
15267 (__signbit): Likwise.
15268 (llrintf): Likwise.
15269 (llrint): Likwise.
15270
114883e0
L
152712012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15272
15273 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
15274 __WORDSIZE != 64.
15275
c135cc1b
JM
152762012-03-20 Joseph Myers <joseph@codesourcery.com>
15277
15278 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
15279 OVERFLOW_EXCEPTION_OK.
15280 * math/libm-test.inc ("Philosophy"): Update comment about
15281 exception testing.
15282 (OVERFLOW_EXCEPTION): Define.
15283 (OVERFLOW_EXCEPTION_OK): Likewise.
15284 (INVALID_EXCEPTION_OK): Renumber.
15285 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15286 (IGNORE_ZERO_INF_SIGN): Likewise.
15287 (test_exceptions): Handle FE_OVERFLOW.
15288 (exp10_test): Expect overflow exceptions.
15289 (exp2_test): Likewise.
15290 (expm1_test): Likewise.
15291 (nextafter_test): Likewise.
15292 (pow_test): Likewise.
15293 (scalbn_test): Likewise.
15294 (scalbln_test): Likewise.
15295
95443d88
L
152962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15297
15298 * sysdeps/x86_64/bits/atomic.h
15299 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
15300 64bit integer.
15301 (atomic_exchange_acq): Likewise.
15302 (__arch_exchange_and_add_body): Likewise.
15303 (__arch_add_body): Likewise.
15304 (atomic_add_negative): Likewise.
15305 (atomic_add_zero): Likewise.
15306
490df6c4
L
153072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15308
c2722551 15309 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
15310 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
15311
5e52b189
L
153122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15313
15314 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
15315 Check __x86_64__ instead of __WORDSIZE.
15316
a9879d4c
L
153172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15318
15319 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
15320
5df98260
DM
153212012-03-19 David S. Miller <davem@davemloft.net>
15322
e1497744
DM
15323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15324
5df98260
DM
15325 * sysdeps/sparc/fpu/fenv_private.h: New file.
15326 * sysdeps/sparc/fpu/math_private.h: Use it.
15327 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
15328 Remove.
15329 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
15330 (libc_feholdexcept_setroundl): Remove.
15331 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
15332 Remove.
15333 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
15334 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
15335
b4c35121
L
153362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15337
15338 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
15339 int64_t instead of long int.
15340 (INSERT_WORDS64): Likwise.
15341
56965fd7
L
153422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15343
15344 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
15345 _Unwind_GetCFA return to _Unwind_Ptr first.
15346
83d1aec8
JM
153472012-03-19 Joseph Myers <joseph@codesourcery.com>
15348
1897ad44
JM
15349 [BZ #13629]
15350 * math/s_clog.c: Include <float.h>.
15351 (__clog): Scale large or subnormal inputs.
15352 * math/s_clogf.c: Likewise.
15353 * math/s_clogl.c: Likewise.
15354 * math/s_clog10.c: Include <float.h>.
15355 (M_LOG10_2): Define.
15356 (__clog10): Scale large or subnormal inputs.
15357 * math/s_clog10f.c: Likewise.
15358 * math/s_clog10l.c: Likewise.
15359 * math/libm-test.inc (clog_test): Add more tests.
15360 (clog10_test): Likewise.
15361 * sysdeps/i386/fpu/libm-test-ulps: Update.
15362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15363
7726d6a9
JM
15364 [BZ #11451]
15365 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
15366 x and y.
15367 * math/libm-test.inc (atan2_test): Add another test.
15368
83d1aec8
JM
15369 * Makerules (common-objdir-compile): Remove.
15370 * sysdeps/unix/Makefile (config-generated): Do not add
15371 $(unix-generated) to variable.
15372 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
15373 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
15374 Remove rule.
15375 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
15376 Likewise.
15377 [generic bits/local_lim.h] (before-compile): Do not append to
15378 variable.
15379 [generic bits/local_lim.h] (common-generated): Likewise.
15380 [generic sys/param.h] (before-compile): Do not append to variable.
15381 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
15382 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
15383 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
15384 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
15385 include.
15386 [generic sys/param.h] (sys/param.h-includes): Remove variable.
15387 [generic sys/param.h] (sys/param.h-includes): Remove rule.
15388 [generic sys/param.h] ($(addprefix
15389 $(common-objpfx),$(sys/param.h-includes))): Likewise.
15390 [generic sys/param.h] (common-generated): Do not append to
15391 variable.
15392 [generic sys/param.h] (sysdep_headers): Likewise.
15393 [generic bits/errno.h] (before-compile): Do not append to
15394 variable.
15395 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
15396 rule.
15397 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
15398 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
15399 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
15400 [generic bits/errno.h] (common-generated): Do not append to
15401 variable.
15402 [generic bits/ioctls.h] (before-compile): Do not append to
15403 variable.
15404 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
15405 rule.
15406 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
15407 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
15408 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
15409 rule.
15410 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
15411 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
15412 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
15413 [generic bits/ioctls.h] (common-generated): Do not append to
15414 variable.
15415 [generic sys/syscall.h] (syscall.h): Remove variable.
15416 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
15417 rule.
15418 [generic sys/syscall.h] (before-compile): Do not append to
15419 variable.
15420 [generic sys/syscall.h] (common-generated): Likewise.
15421 * sysdeps/unix/errnos-tmpl.c: Remove file.
15422 * sysdeps/unix/errnos.awk: Likewise.
15423 * sysdeps/unix/ioctls-tmpl.c: Likewise.
15424 * sysdeps/unix/ioctls.awk: Likewise.
15425 * sysdeps/unix/mk-local_lim.c: Likewise.
15426 * sysdeps/unix/snarf-ioctls: Likewise.
15427
4851a949
RH
154282012-03-19 Richard Henderson <rth@twiddle.net>
15429
bd37f2ee
RH
15430 * sysdeps/i386/fpu/fenv_private.h: New file.
15431 * sysdeps/i386/fpu/math_private.h: Use it.
15432 (math_opt_barrier, math_force_eval): Remove.
15433 (libc_feholdexcept_setround_53bit): Remove.
15434 (libc_feupdateenv_53bit): Remove.
15435 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15436 (math_opt_barrier, math_force_eval): Remove.
15437 (libc_feholdexcept): Remove.
15438 (libc_feholdexcept_setround): Remove.
15439 (libc_fetestexcept, libc_fesetenv): Remove.
15440 (libc_feupdateenv_test): Remove.
15441 (libc_feupdateenv, libc_feholdsetround): Remove.
15442 (libc_feresetround): Remove.
15443
d0adc922
RH
15444 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
15445 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15446
0fe0f1f8
RH
15447 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
15448 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
15449 (libc_feupdateenv_testl): New.
15450 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
15451 (libc_feupdateenv_testf): New.
15452 (libc_feupdateenv): Use libc_feupdateenv_test.
15453 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
15454 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
15455
eb92c487
RH
15456 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
15457 (libc_feholdsetroundf, libc_feholdsetroundl): New.
15458 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
15459 (libc_feresetround_noex): New.
15460 (libc_feresetround_noexf): New.
15461 (libc_feresetround_noexl): New.
15462 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
15463 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
15464 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
15465 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
15466 SET_RESTORE_ROUND.
15467 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15468 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
15469 (__cos): Likewise.
15470 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
15471 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15472 SET_RESTORE_ROUND_NOEX.
15473 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
15474 SET_RESTORE_ROUND_NOEXF.
15475 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
15476 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
15477 (libc_feholdsetroundf): New.
15478 (libc_feresetround, libc_feresetroundf): New.
15479
7d2e8012
RH
15480 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
15481 (libc_feholdexcept_setround_53bit): Convert from macro to function.
15482 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
15483
b4dabbb4
RH
15484 * sysdeps/generic/math_private.h: Include <fenv.h>.
15485 (default_libc_feholdexcept): New.
15486 (default_libc_feholdexcept_setround): New.
15487 (default_libc_fesetenv, default_libc_feupdateenv): New.
15488 (libc_feholdexcept): Only define if undefined.
15489 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
15490 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
15491 (libc_feholdexcept_setroundl): Likewise.
15492 (libc_feholdexcept_setround_53bit): Likewise.
15493 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
15494 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
15495 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
15496 (libc_feupdateenv_53bit): Likewise.
15497 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
15498 (libc_feholdexcept): Convert from macro to inline function.
15499 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
15500 (libc_fesetenv, libc_feupdateenv): Likewise.
15501
4851a949
RH
15502 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
15503 not previously defined.
15504 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
15505 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
15506 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
15507 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
15508 * sysdeps/ieee754/flt-32/math_private.h: New file.
15509 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
15510 math_private.h below SET_FLOAT_WORD.
15511 (__isnan, __isinf_ns, __finite): Remove.
15512 (__isnanf, __isinf_nsf, __finitef): Remove.
15513
e79d442e
AS
155142012-03-18 Andreas Schwab <schwab@linux-m68k.org>
15515
15516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15517
90b80344
DM
155182012-03-17 David S. Miller <davem@davemloft.net>
15519
15520 [BZ #6471]
15521 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
15522 for 2.16.
15523
edc21804
DM
155242012-03-16 David S. Miller <davem@davemloft.net>
15525
77e927af
DM
15526 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
15527 warnings.
15528
374976dd
DM
15529 [BZ #6471]
15530 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
15531 properly.
15532 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
15533 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
15534 sysdep_routines when subdir is sysvipc.
15535 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
15536 __getshmlba helper.
15537
edc21804
DM
15538 * sysdeps/sparc/fpu/libm-test/ulps: Update.
15539
473c3ef3
L
155402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15541
15542 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
15543 [__LP64__].
15544
eb0f39b6
L
155452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15546
15547 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
15548 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
15549 (__lround): Renamed to ...
15550 (__llround): This. Replace long int with long long int.
15551 Define lround functions as aliases of llround functions.
15552 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
15553
6b6cd74b
L
155542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15555
15556 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
15557 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
15558 adresses to uintptr_t. Replace "long int" and "unsigned long
15559 int" with "greg_t" on va_arg.
15560
f1a77b01
L
155612012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15562
15563 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
15564 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
15565
15566 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
15567 Move e_machine check before EI_CLASS check. Handle x32
15568 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
15569 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
15570 SKIP_EM_IA_64 and include
15571 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
15572
15573 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
15574 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
15575 (add_system_dir): New macro.
15576
15577 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
15578 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
15579
11b90b9f
JM
155802012-03-16 Joseph Myers <joseph@codesourcery.com>
15581
c36e1d23
JM
15582 [BZ #2551]
15583 [BZ #2552]
15584 [BZ #2553]
15585 [BZ #2554]
15586 [BZ #2562]
15587 [BZ #2563]
15588 [BZ #2565]
15589 [BZ #2566]
15590 [BZ #2576]
15591 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
15592 (y0): Likewise.
15593 * math/w_j0f.c (j0f): Likewise.
15594 (y0f): Likewise.
15595 * math/w_j0l.c (__j0l): Likewise.
15596 (__y0l): Likewise.
15597 * math/w_j1.c (j1): Likewise.
15598 (y1): Likewise.
15599 * math/w_j1f.c (j1f): Likewise.
15600 (y1f): Likewise.
15601 * math/w_j1l.c (__j1l): Likewise.
15602 (__y1l): Likewise.
15603 * math/w_jn.c (jn): Likewise.
15604 (yn): Likewise.
15605 * math/w_jnf.c (jnf): Likewise.
15606 (ynf): Likewise.
15607 * math/w_jnl.c (__jnl): Likewise.
15608 (__ynl): Likewise.
15609 * math/libm-test.inc (j0_test): Add more tests.
15610 (j1_test): Likewise.
15611 (jn_test): Likewise. Add trailing semicolon to existing test.
15612 (y0_test): Likewise.
15613 (y1_test): Likewise.
15614 * sysdeps/i386/fpu/libm-test-ulps: Update.
15615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15616
11b90b9f
JM
15617 [BZ #13851]
15618 [BZ #13854]
15619 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
15620 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
15621 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
15622 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
15623 (__tanl): Set errno for infinite argument.
15624 * sysdeps/i386/fpu/mptan.c: Remove.
15625 * sysdeps/i386/fpu/s_tan.S: Likewise.
15626 * sysdeps/i386/fpu/s_tanl.S: Likewise.
15627 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
15628 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
15629 * math/libm-test.inc (tan_test): Add more tests and enable more
15630 tests for double and long double.
15631 * sysdeps/i386/fpu/libm-test-ulps: Update.
15632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15633
6a1bd2a1
JK
156342012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15635
15636 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
15637 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
15638
10a803e0
RM
156392012-03-16 Roland McGrath <roland@hack.frob.com>
15640
15641 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
15642 * configure.in: Use it for both main tree and add-ons.
15643 * configure: Regenerated.
15644
f196c7f7
L
156452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15646
15647 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
15648
8848d99d
JM
156492012-03-16 Joseph Myers <joseph@codesourcery.com>
15650
96cbe7f4
JM
15651 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
15652 in comment.
15653
8848d99d
JM
15654 [BZ #13851]
15655 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
15656 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
15657 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
15658 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
15659 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
15660 infinite argument.
15661 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
15662 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
15663 != 0 for prec == 2.
15664 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
15665 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
15666 * sysdeps/i386/fpu/s_cosl.S: Likewise.
15667 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
15668 * sysdeps/i386/fpu/s_sinl.S: Likewise.
15669 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
15670 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
15671 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
15672 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
15673 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
15674 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
15675 * math/libm-test.inc (cos_test): Add more tests and enable more
15676 tests for long double.
15677 (sin_test): Likewise.
15678 (sincos_test): Likewise.
15679 * sysdeps/i386/fpu/libm-test-ulps: Update.
15680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15681
dd7f4703
DM
156822012-03-16 David S. Miller <davem@davemloft.net>
15683
15684 * sysdeps/sparc/fpu/math_private.h: New file.
15685
006f1daa
DM
156862012-03-15 David S. Miller <davem@davemloft.net>
15687
c0c83bc8
DM
15688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
15689 file.
e6a62e18 15690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
15691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
15692 file.
e6a62e18
DM
15693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
15694 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
15695 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
15696 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
15697 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
15698 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
15699 sysdep routines.
15700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15701
88cb87d9
DM
15702 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
15703 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
15704
006f1daa 15705 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
15706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
15707 sparc-ifunc.h
006f1daa 15708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
15709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
15710 Likewise.
15711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
15712 Likewise.
006f1daa
DM
15713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
15714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
15715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
15716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15717 Likewise.
006f1daa
DM
15718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
15720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
15722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
15723 Likewise.
15724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
15725 Likewise.
006f1daa
DM
15726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
15728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
15729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
15730 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15731 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15732 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
15733 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
15734 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15735 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15736 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
15737 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
15738 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
15739 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
15740 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
15741 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
15742 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
15743 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
15744 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
15745 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
15746 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
15747 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
15748 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
15749 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
15750
11e0098e
AS
157512012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15752
15753 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
15754 scaling.
15755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15756
e85b09d0
AJ
157572012-03-15 Andreas Jaeger <aj@suse.de>
15758
15759 [BZ #13852]
15760 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
15761 ieee754/flt-32 implementation for sin, cos and sincos.
15762 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
15763 * sysdeps/i386/fpu/s_cosf.S: Likewise.
15764 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
15765 * sysdeps/i386/fpu/s_sinf.S: Likewise.
15766 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
15767 ieee754/flt-32 implementation for tan.
15768
15769 * math/libm-test.inc (cos_test): Enable some large input tests for
15770 float as well
15771 (sin_test): Likewise.
15772 (sincos_test): Likewise.
15773 (tan_test): Add tests for large input.
15774
15775 * sysdeps/i386/fpu/libm-test-ulps: Update.
15776
81c64153
AJ
157772012-03-15 Andreas Jaeger <aj@suse.de>
15778
15779 [BZ #13658]
15780 * math/libm-test.inc (cos_test): Add more test cases.
15781 (sin_test): Likewise.
15782 (sincos_test): Likewise.
15783
7bbfa5c6
AJ
157842012-03-15 Andreas Jaeger <aj@suse.de>
15785
15786 [BZ #13837]
15787 * math/libm-test.inc (cos_test): Add a test case for large input
15788 value.
15789 (sin_test): Likewise.
15790 (sincos_test): Likewise.
15791
157922012-03-15 Andreas Jaeger <aj@suse.de>,
15793 Joseph Myers <joseph@codesourcery.com>
15794
15795 [BZ #13658]
0671f479 15796 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
15797 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
15798 * sysdeps/i386/fpu/branred.c: Likewise.
15799 * sysdeps/i386/fpu/dosincos.c: Likewise.
15800 * sysdeps/i386/fpu/mpa.c: Likewise.
15801 * sysdeps/i386/fpu/s_cos.S: Likewise.
15802 * sysdeps/i386/fpu/s_sin.S: Likewise.
15803 * sysdeps/i386/fpu/s_sincos.S: Likewise.
15804 * sysdeps/i386/fpu/sincos32.c: Likewise.
15805
15806 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
15807 Define.
15808 (libc_feupdateenv_53bit): Define.
15809 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
15810 Define.
15811 (libc_feupdateenv_53bit): Define.
15812
15813 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
15814 53 bit (without extend i386 double precision).
15815
15816 * math/libm-test.inc (sincos_test): Add tests for large input.
15817 (sin): Likewise.
15818 (cos): Likewise.
15819
15820 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15821
9cad04ea
AS
158222012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15823
15824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15825
f7062b9a
DM
158262012-03-15 David S. Miller <davem@davemloft.net>
15827
15828 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
15829 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
15830 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
15831 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
15832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
15833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
15834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
15835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
15836 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
15837 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
15838 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
15839 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
15840 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
15841 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
15842 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
15843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
15844 file.
f7062b9a 15845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
15846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
15847 file.
f7062b9a 15848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
15849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
15850 file.
f7062b9a 15851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
15852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
15853 file.
f7062b9a
DM
15854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
15855 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
15856 fmin/fmax sysdep routines.
15857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15858
7bd951ff
DM
158592012-03-14 David S. Miller <davem@davemloft.net>
15860
559398ab
DM
15861 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
15862 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
15863 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
15864 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
15865 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
15866 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
15867 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
15868 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
15869 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
15870 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
15871 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
15872 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
15873 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
15874 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
15875 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
15876 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
15877 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
15878 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
15879 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
15880 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
15881 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
15882 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
15883 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
15884 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
15885 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
15886 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
15887 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
15888 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
15889 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
15890 routines.
15891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
15892 file.
559398ab 15893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
15894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
15895 file.
559398ab 15896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
15897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
15898 file.
559398ab 15899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
15900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
15901 file.
559398ab 15902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
15903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
15904 file.
559398ab 15905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
15906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
15907 file.
15908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
15909 file.
15910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
15911 file.
15912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
15913 file.
15914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
15915 New file.
15916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
15917 file.
15918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
15919 file.
559398ab 15920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
15921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
15922 file.
559398ab 15923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
15924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
15925 file.
559398ab 15926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
15927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
15928 file.
559398ab 15929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
15930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
15931 VIS3 routines.
559398ab
DM
15932
15933 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15934 New file.
15935
5a1c1e32
DM
15936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15937
eae47a36
DM
15938 * sysdeps/sparc/configure.in: New file.
15939 * sysdeps/sparc/configure: Generate.
15940 * configure.in (libc_cv_sparc_as_vis3): Substitute.
15941 * configure: Regenerate.
15942 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
15943 * config.make.in (have-as-vis3): New.
15944 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
15945 available use -Av9d instead of -Av9a.
15946 * sysdeps/sparc/sparc64/Makefile: Likewise.
15947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
15948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
15949 New file.
15950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
15951 file.
15952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
15953 New file.
15954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
15955 file.
eae47a36
DM
15956 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
15957 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
15958 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
15959 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
15960 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
15961
c0c83bc8
DM
15962 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
15963 fzeros/fnegs to load 0x80000000 into a float register instead of
15964 using the stack.
7bd951ff
DM
15965 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
15966
bd951ccb
JM
159672012-03-14 Joseph Myers <joseph@codesourcery.com>
15968
15969 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15970 bits/syscall.h.
15971 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
15972 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
15973 ($(inst_includedir)/bits/syscall.h): Remove rule.
15974 ($(objpfx)bits/syscall.d): Include instead of
15975 $(objpfx)syscall-list.d.
15976 (generated): Change syscall-list.h and syscall-list.d to
15977 bits/syscall.h and bits/syscall.d.
15978
bb4e6db2
RM
159792012-03-14 Roland McGrath <roland@hack.frob.com>
15980
15981 [BZ #13846]
15982 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
15983
aa4a2ae1
JM
159842012-03-14 Joseph Myers <joseph@codesourcery.com>
15985
e456826d
JM
15986 [BZ #13841]
15987 * math/s_csqrt.c: Include <float.h>.
15988 (__csqrt): Scale large or subnormal inputs.
15989 * math/s_csqrtf.c: Likewise.
15990 * math/s_csqrtl.c: Likewise.
15991 * math/libm-test.inc (csqrt_test): Add more tests.
15992 * sysdeps/i386/fpu/libm-test-ulps: Update.
15993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15994
aa4a2ae1
JM
15995 [BZ #13840]
15996 * math/libm-test.inc (hypot_test): Add more tests.
15997
7c10fd35
DM
159982012-03-13 David S. Miller <davem@davemloft.net>
15999
16000 [BZ #13840]
16001 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
16002 double-precision for the calculation instead of scaling.
16003
f453b98b
JM
160042012-03-13 Joseph Myers <joseph@codesourcery.com>
16005
16006 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
16007 manipulate bits before adding and subtracting TWO52[sx].
16008 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
16009 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
16010 Likewise.
16011 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
16012
09a3453f
DM
160132012-03-13 David S. Miller <davem@davemloft.net>
16014
8e59da90
DM
16015 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
16016 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
16017 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
16018 rtld-global-offsets.h
16019 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16020
2a8ab7f2
DM
16021 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
16022 large parameters.
16023
10f62770
DM
16024 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
16025
5f0bdb18
DM
16026 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
16027 'err' in the ifdef scope in which it is actually used.
16028
09a3453f
DM
16029 * nss/nss_db/db-init.c: Include string.h
16030
b4b2eb5e
DM
160312012-03-12 David S. Miller <davem@davemloft.net>
16032
98bb2f1c
DM
16033 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16034 masking out of the most significant byte of random value used.
16035 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16036 Fix coding style in previous change.
16037
b4b2eb5e
DM
16038 * sysdeps/unix/sysv/linux/kernel-features.h
16039 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
16040 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
16041 expression.
16042 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
16043 later.
16044
6e226b09
DM
160452012-03-11 David S. Miller <davem@davemloft.net>
16046
a1bcbd40
DM
16047 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16048 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
16049 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
16050 for 'resultvar' otherwise things get truncated on 64-bit.
16051
cb9d6174
DM
16052 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16053 Fix masking out of the most significant byte of random value used.
16054
6e226b09
DM
16055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16056
058c132d
AS
160572012-03-10 Andreas Schwab <schwab@linux-m68k.org>
16058
16059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16060
2d2cd515
DM
160612012-03-09 David S. Miller <davem@davemloft.net>
16062
16063 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
16064 variables with appropriate CPP guards.
16065 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
16066 frame pointer, not the stack pointer. Correct layout comments. Fix test
16067 on resulting framesize and the management of the outregs buffer for pltexit.
16068 Preserve floating point return values across _dl_call_pltexit call.
16069 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
16070 framesize and the management of the outregs buffer for pltexit.
16071 Preserve floating point return values across _dl_call_pltexit
16072 call.
16073 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
16074 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
16075 (print_exit): Fix format string for return register value.
16076
9a07f9d0
JM
160772012-03-10 Joseph Myers <joseph@codesourcery.com>
16078
16079 * sunrpc/Makefile (others): Add rpcgen.
16080 ($(objpfx)rpcgen): Remove special build rule and dependency on
16081 libc.
16082 * sunrpc/rpcgen.c: New file.
16083
547b5e30
PE
160842012-03-09 Paul Eggert <eggert@cs.ucla.edu>
16085
c524201a
PE
16086 [BZ #13673]
16087 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
16088 * stdio-common/bug-vfprintf-nargs.c: Likewise.
16089 * sysdeps/i386/crti.S: Likewise.
16090 * sysdeps/i386/crtn.S: Likewise.
16091 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
16092 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
16093 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
16094 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
16095 * sysdeps/sh/crti.S: Likewise.
16096 * sysdeps/sh/crtn.S: Likewise.
16097 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16098
7b6235f2
PE
16099 [BZ #13673]
16100 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
16101 with URL.
16102 * locale/programs/locfile-kw.gperf: Likewise.
16103 * locale/programs/charmap-kw.h: Regenerated.
16104 * locale/programs/locfile-kw.h: Likewise.
16105
547b5e30
PE
16106 [BZ #13673]
16107 * intl/plural.y: Replace FSF snail mail address with URL.
16108 * intl/plural.c: Regenerated.
16109
5f0a5dae
RH
161102012-03-09 Richard Henderson <rth@twiddle.net>
16111
16112 * include/math_private.h: Remove file.
16113 * math/math_private.h: Move file ...
16114 * sysdeps/generic/math_private.h: ... here.
16115
b8c03620
RH
16116 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
16117 * sysdeps/powerpc/fpu/math_private.h: Likewise.
16118 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16119
4e234f5d 16120 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
16121 and <math_private.h>.
16122 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16123 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16124 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16125 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16126 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16127 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
16128 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16129 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16130 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16131 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16132 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16133 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16134 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16135 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16136 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16137 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16138 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16139 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16140 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16141 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16142 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16143 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16144 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16145 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16146 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16147 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16148 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16149 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16150 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16151 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16152 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16153 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16154 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16155 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16156 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16157 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16158 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16159 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16160 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16161 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16162 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
16163 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16164 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16165 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16166 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16167 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16168 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
16169 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16170 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16171 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16172 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16173 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
16174 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16175 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16176 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16177 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16178 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16179 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16180 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16181 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
16182 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16183 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16184 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16185 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16186 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
16187 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16188 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16189 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16190 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
16191 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
16192 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16193 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16194 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16195 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16196 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
16197 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
16198 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
16199 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16200 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
16201 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
16202 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16203 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16204 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16205 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16206 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16207 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16208 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
16209 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16210 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16211 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16212 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16213 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16214 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16215 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16216 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16217 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16218 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16219 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16220 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16221 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16222 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16223 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16224 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16225 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16226 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16227 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16228 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16229 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16230 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16231 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16232 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16233 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16234 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16235 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16236 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
16237 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16238 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16239 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16240 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16241 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16242 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16243 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16244 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16245 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
16246 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16247 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16248 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16249 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
16250 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16251 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16252 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
16253 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16254 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16255 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16256 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
16257 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16258 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16259 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16260 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
16261 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16262 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16263 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16264 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16265 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
16266 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
16267 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16268 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16269 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16270 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16271 * sysdeps/ieee754/k_standard.c: Likewise.
16272 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16273 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16274 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16275 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16276 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16277 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16278 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16279 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16280 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16281 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16282 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16283 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16284 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16285 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16286 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16287 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16288 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16289 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16290 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16291 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16292 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16293 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16294 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16295 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16296 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16297 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16298 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16299 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16300 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16301 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16302 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16303 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16304 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16305 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16306 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16307 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16308 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16309 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
16310 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16311 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16312 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16313 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16314 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16315 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16316 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16317 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16318 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16319 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16320 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16321 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16322 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16323 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16324 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16325 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16326 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16327 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16328 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
16329 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16330 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16331 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16332 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16333 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16334 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16335 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16336 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16337 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16338 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16339 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16340 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16341 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16342 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16343 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16344 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16345 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16346 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16347 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16348 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
16349 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16350 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16351 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16352 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16353 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16354 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16355 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16356 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16357 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16358 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16359 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16360 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16361 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16362 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
16363 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16364 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16365 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16366 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16367 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16368 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
16369 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16370 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16371 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
16372 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16373 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16374 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16375 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16376 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
16377 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16378 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16379 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16380 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
16381 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16382 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16383 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16384 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16385 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16386 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16387 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16388 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16389 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16390 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16391 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16392 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16393 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16394 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16395 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16396 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16397 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
16398 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16399 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16400 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16401 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16402 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16403 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16404 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16405 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16406 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16407 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16408 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
16409 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16410 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16411 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
16412 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
16413 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16414 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
16415 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
16416 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16417 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16418 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16419 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16420 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16421 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
16422 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16423 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16424 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16425 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16426 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
16427 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
16428 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16429 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16430 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16431 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16432 * sysdeps/ieee754/s_lib_version.c: Likewise.
16433 * sysdeps/ieee754/s_matherr.c: Likewise.
16434 * sysdeps/ieee754/s_signgam.c: Likewise.
16435 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16436 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16437 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
16438 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
16439 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
16440 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16441 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
16442 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
16443 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
16444 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
16445 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16446 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
16447 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16448 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16449 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
16450 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16451 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16452 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16453 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16454 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16455 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 16456
1991fa03
JM
164572012-03-09 Joseph Myers <joseph@codesourcery.com>
16458
16459 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
16460 * sunrpc/rpc_main.c: Likewise.
16461 * sunrpc/rpc_svcout.c: Likewise.
16462
60d6f5a6
DM
164632012-03-09 David S. Miller <davem@davemloft.net>
16464
16465 * include/math_private.h: New file.
16466
4962050e
JM
164672012-03-09 Joseph Myers <joseph@codesourcery.com>
16468
02a6f887
JM
16469 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
16470 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
16471 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
16472 from <bits/socket_type.h>.
16473 (enum __socket_type): Don't define here.
16474 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
16475 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16476 bits/socket_type.h.
16477
c6e013c1
JM
16478 [BZ #13566]
16479 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
16480 checking __USE_GNU.
16481
4962050e
JM
16482 * Makerules ($(inst_includedir)/%.h): New rule.
16483 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
16484 (install-others): Remove variable setting.
16485 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
16486
38842f45
RH
164872012-03-08 Richard Henderson <rth@twiddle.net>
16488
67bb6da6
RH
16489 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
16490 from macro to inline function; merge with the
16491 !__LIBC_INTERNAL_MATH_INLINES version.
16492 (__ieee754_sqrtf): Likewise.
16493
15194b4b
RH
16494 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
16495 to inline function.
16496 (__rintf, __floor, __floorf): Likewise.
16497
64e21ede
RH
16498 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
16499 macro to inline function.
16500 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
16501
38842f45
RH
16502 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
16503 not <math/math_private.h>.
16504
c64bf5fe
DM
165052012-03-08 David S. Miller <davem@davemloft.net>
16506
16507 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
16508 copyright year.
16509 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16510
82d86f28
TS
165112012-03-08 Thomas Schwinge <thomas@codesourcery.com>
16512
16513 * resolv/gai_misc.c (handle_requests): Fix struct timespec
16514 normalization.
16515 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
16516 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16517
aea5d727
UD
165182012-03-08 Ulrich Drepper <drepper@gmail.com>
16519
16520 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
16521 be defined individually, they must be defined as a block. Define
16522 S for printing a string instead of hidint the different by using a
16523 macro for adding the 'l'.
16524 * stdio-common/tst-fphex-wide.c: Adjust.
16525
70bca0a3
MP
165262012-03-07 Marek Polacek <polacek@redhat.com>
16527
16528 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
16529
65b81130
MP
165302012-03-08 Marek Polacek <polacek@redhat.com>
16531
16532 [BZ #13806]
16533 * stdio-common/Makefile (tests): Add tst-fphex-wide.
16534 * stdio-common/tst-fphex.c: Define a few macros to make the
16535 test reusable. Use them.
16536 * stdio-common/tst-fphex-wide.c: New file.
16537
07037eeb
JM
165382012-03-08 Joseph Myers <joseph@codesourcery.com>
16539
a7a93d50
JM
16540 [BZ #6911]
16541 * manual/macros.texi (gnusystems): New macro.
16542 (nongnusystems): Likewise.
16543 (gnulinuxhurdsystems): Likewise.
16544 (gnuhurdsystems): Likewise..
16545 (gnulinuxsystems): Likewise.
16546 * manual/charset.texi: Use new macros or @theglibc{} to refer to
16547 variants of the GNU system, not "GNU system".
16548 * manual/conf.texi: Likewise.
16549 * manual/errno.texi: Likewise. Update example of errno macro
16550 expansion.
16551 * manual/filesys.texi: Likewise.
16552 (getumask): Document as specific to GNU/Hurd.
16553 * manual/install.texi: Likewise. Reword some references to
16554 GNU/Linux.
16555 * manual/intro.texi: Likewise.
16556 * manual/io.texi: Likewise.
16557 (File Name Portability): Detail which constraints are inapplicable
16558 to all GNU systems and which are only inapplicable to GNU/Hurd.
16559 * manual/job.texi: Likewise.
16560 * manual/llio.texi: Likewise.
16561 (O_NOCTTY): Document as present on GNU/Linux.
16562 * manual/maint.texi: Likewise.
16563 * manual/memory.texi: Likewise.
16564 * manual/pattern.texi: Likewise.
16565 * manual/pipe.texi: Likewise.
16566 * manual/process.texi: Likewise.
16567 * manual/resource.texi: Likewise.
16568 (RUSAGE_CHILDREN): Remove statement about specifying a particular
16569 child on GNU/Hurd.
16570 * manual/setjmp.texi: Likewise.
16571 * manual/signal.texi: Likewise.
16572 * manual/startup.texi: Likewise.
16573 * manual/stdio.texi: Likewise.
16574 * manual/terminal.texi: Likewise.
16575 (ONLCR): Document as POSIX.
16576 (OXTABS): Document availability on GNU/Linux as XTABS.
16577 (ONOEOT): Document availability separately from other bits.
16578 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
16579 * manual/time.texi: Likewise.
16580 * manual/users.texi: Likewise.
16581 * INSTALL: Regenerated.
16582 * sysdeps/gnu/errlist.c: Regenerated.
16583
07037eeb
JM
16584 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
16585 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
16586 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
16587 puts.
16588 * configure: Regenerated.
16589
d1d3431a
JM
165902012-03-07 Joseph Myers <joseph@codesourcery.com>
16591
af6a1e37
JM
16592 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
16593 default includes instead of AC_HEADER_CHECK.
16594 * sysdeps/i386/configure: Regenerated.
16595
d1d3431a
JM
16596 [BZ #10716]
16597 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
16598 * math/s_cacoshf.c (__cacoshf): Likewise.
16599 * math/s_cacoshl.c (__cacoshl): Likewise.
16600 * math/s_casinh.c (__casinh): Set signs of result from argument.
16601 * math/s_casinhf.c (__casinhf): Likewise.
16602 * math/s_casinhl.c (__casinhl): Likewise.
16603 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
16604 (casinh_test): Add more tests.
16605 * sysdeps/i386/fpu/libm-test-ulps: Update.
16606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16607
482ff4da
UD
166082012-03-07 Ulrich Drepper <drepper@gmail.com>
16609
872fda05
UD
16610 * po/zh_TW.po: Update from translation team.
16611
a4300c7a
UD
16612 * login/Makefile (distribute): Remove variable.
16613 * catgets/Makefile: Likewise.
16614 * mach/Makefile: Likewise.
16615 * malloc/Makefile: Likewise.
16616 * misc/Makefile: Likewise.
16617 * iconv/Makefile: Likewise.
16618 * nscd/Makefile: Likewise.
16619 * hurd/Makefile: Likewise.
16620 * manual/Makefile: Likewise.
16621 * locale/Makefile: Likewise.
16622 * intl/Makefile: Likewise.
16623 * conform/Makefile: Likewise.
16624 * nss/Makefile: Likewise.
16625 * time/Makefile: Likewise.
16626 * soft-fp/Makefile: Likewise.
16627 * dirent/Makefile: Likewise.
16628 * gmon/Makefile: Likewise.
16629 * po/Makefile: Likewise.
16630 * rt/Makefile: Likewise.
16631 * socket/Makefile: Likewise.
16632 * math/Makefile: Likewise.
16633 * signal/Makefile: Likewise.
16634 * debug/Makefile: Likewise.
16635 * elf/Makefile: Likewise.
16636 * timezone/Makefile: Likewise.
16637 * stdlib/Makefile: Likewise.
16638 * iconvdata/Makefile: Likewise.
16639 * sunrpc/Makefile: Likewise.
16640 * io/Makefile: Likewise.
16641 * argp/Makefile: Likewise.
16642 * inet/Makefile: Likewise.
16643 * hesiod/Makefile: Likewise.
16644 * grp/Makefile: Likewise.
16645 * csu/Makefile: Likewise.
16646 * wctype/Makefile: Likewise.
16647 * crypt/Makefile: Likewise.
16648 * libio/Makefile: Likewise.
16649 * string/Makefile: Likewise.
16650 * nis/Makefile: Likewise.
16651 * resolv/Makefile: Likewise.
16652 * stdio-common/Makefile: Likewise.
16653 * wcsmbs/Makefile: Likewise.
16654 * dlfcn/Makefile: Likewise.
16655 * posix/Makefile: Likewise.
16656
3b7c4e74 16657 [BZ #6959]
482ff4da
UD
16658 * timezone/Makefile: Don't install timezone files, just the programs
16659 and scripts.
16660
f72ed77d
UD
166612012-03-06 Ulrich Drepper <drepper@gmail.com>
16662
a000466f
UD
16663 * nss/databases.def: Add missing gshadow entry.
16664
f72ed77d
UD
16665 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
16666
a53b7a4e
MP
166672012-03-06 Marek Polacek <polacek@redhat.com>
16668
16669 [BZ #13726]
16670 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
16671 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16672 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
16673 * stdio-common/tst-long-dbl-fphex.c: New file.
16674
e9258400
DM
166752012-03-06 David S. Miller <davem@davemloft.net>
16676
16677 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16678 (set_obp_int): New function.
16679 (get_obp_int): New function.
16680 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
16681 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
16682 Avoid unused variable warnings on 'val' and use builtin_expect.
16683 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
16684 __builtin_expect.
e9258400
DM
16685 (INLINE_CLONE_SYSCALL): Likewise.
16686
3bd2c723
DM
166872012-03-05 David S. Miller <davem@davemloft.net>
16688
16689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16690
bbb78d03
AS
166912012-03-05 Andreas Schwab <schwab@linux-m68k.org>
16692
884c5db4
AS
16693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16694
bbb78d03
AS
16695 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
16696 only for |x| >= 40.
16697 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16698
1c9f702a 166992012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
16700
16701 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
16702 Replace gettimeofday with __vdso_gettimeofday.
16703
7be16f82
RM
16704 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16705 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
16706 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
16707
16708 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
16709 time with __vdso_time.
16710
ed58a00f
JM
167112012-03-05 Joseph Myers <joseph@codesourcery.com>
16712
16713 * manual/lang.texi (size_t): Note types to which size_t may be
16714 equivalent with the GNU C Library, but do not describe when
16715 differences between them are significant.
16716
30ee4ced
AJ
167172012-03-05 Andreas Jaeger <aj@suse.de>
16718
16719 * sysdeps/i386/fpu/libm-test-ulps: Update.
16720
b7cd39e8
JM
167212012-03-05 Joseph Myers <joseph@codesourcery.com>
16722
16723 [BZ #3976]
16724 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
16725 (__ieee754_pow): Save and restore rounding mode and use
16726 round-to-nearest for main computations.
16727 * math/libm-test.inc (pow_test_tonearest): New function.
16728 (pow_test_towardzero): Likewise.
16729 (pow_test_downward): Likewise.
16730 (pow_test_upward): Likewise.
16731 (main): Call the new functions.
16732 * sysdeps/i386/fpu/libm-test-ulps: Update.
16733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
16734
16735 [BZ #3976]
16736 * math/libm-test.inc (cosh_test_tonearest): New function.
16737 (cosh_test_towardzero): Likewise.
16738 (cosh_test_downward): Likewise.
16739 (cosh_test_upward): Likewise.
16740 (sinh_test_tonearest): Likewise.
16741 (sinh_test_towardzero): Likewise.
16742 (sinh_test_downward): Likewise.
16743 (sinh_test_upward): Likewise.
16744 (main): Call the new functions.
16745 * sysdeps/i386/fpu/libm-test-ulps: Update.
16746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16747
6c6a98c9
TV
167482012-03-05 Tom de Vries <tom@codesourcery.com>
16749
16750 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
16751 default stack guard is set in last bytes.
16752 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
16753
21bb2d2e 167542012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 16755
21bb2d2e 16756 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 16757
21bb2d2e
AJ
16758 [BZ #13656]
16759 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
16760 possibly allocate from heap instead of stack.
16761 * stdio-common/bug-vfprintf-nargs.c: New file.
16762 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 16763
c6922934
AS
167642012-03-03 Andreas Schwab <schwab@linux-m68k.org>
16765
16766 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16767
bc957d53
MP
167682012-03-03 Marek Polacek <polacek@redhat.com>
16769
16770 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
16771 * math/math_private.h: Likewise.
16772 * stdlib/tst-strtod.c: Likewise.
16773 * sysdeps/i386/i486/bits/atomic.h: Likewise.
16774 * sysdeps/x86_64/bits/atomic.h: Likewise.
16775
6358490d
DM
167762012-03-02 David S. Miller <davem@davemloft.net>
16777
16778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
16779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
16780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
16781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
16782 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
16783 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
16784 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
16785 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
16786
01ae168d
RM
167872012-03-02 Roland McGrath <roland@hack.frob.com>
16788
d9a17c07
RM
16789 [BZ #13792]
16790 * manual/examples/README: New file, says the example source files
16791 can be used under GPL>=2.
16792 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
16793 line containing just "*/".
16794 * manual/examples/add.c: Add copyright header (GPL>=2).
16795 * manual/examples/argp-ex1.c: Likewise.
16796 * manual/examples/argp-ex2.c: Likewise.
16797 * manual/examples/argp-ex3.c: Likewise.
16798 * manual/examples/argp-ex4.c: Likewise.
16799 * manual/examples/atexit.c: Likewise.
16800 * manual/examples/db.c: Likewise.
16801 * manual/examples/dir.c: Likewise.
16802 * manual/examples/dir2.c: Likewise.
16803 * manual/examples/execinfo.c: Likewise.
16804 * manual/examples/filecli.c: Likewise.
16805 * manual/examples/filesrv.c: Likewise.
16806 * manual/examples/fmtmsgexpl.c: Likewise.
16807 * manual/examples/genpass.c: Likewise.
16808 * manual/examples/inetcli.c: Likewise.
16809 * manual/examples/inetsrv.c: Likewise.
16810 * manual/examples/isockad.c: Likewise.
16811 * manual/examples/longopt.c: Likewise.
16812 * manual/examples/memopen.c: Likewise.
16813 * manual/examples/memstrm.c: Likewise.
16814 * manual/examples/mkfsock.c: Likewise.
16815 * manual/examples/mkisock.c: Likewise.
16816 * manual/examples/mygetpass.c: Likewise.
16817 * manual/examples/pipe.c: Likewise.
16818 * manual/examples/popen.c: Likewise.
16819 * manual/examples/rprintf.c: Likewise.
16820 * manual/examples/search.c: Likewise.
16821 * manual/examples/select.c: Likewise.
16822 * manual/examples/setjmp.c: Likewise.
16823 * manual/examples/sigh1.c: Likewise.
16824 * manual/examples/sigusr.c: Likewise.
16825 * manual/examples/stpcpy.c: Likewise.
16826 * manual/examples/strdupa.c: Likewise.
16827 * manual/examples/strftim.c: Likewise.
16828 * manual/examples/strncat.c: Likewise.
16829 * manual/examples/subopt.c: Likewise.
16830 * manual/examples/swapcontext.c: Likewise.
16831 * manual/examples/termios.c: Likewise.
16832 * manual/examples/testopt.c: Likewise.
16833 * manual/examples/testpass.c: Likewise.
16834 * manual/examples/timeval_subtract.c: Likewise.
16835
01ae168d
RM
16836 [BZ #13792]
16837 * manual/time.texi (Elapsed Time): Move timeval_subtract example
16838 function to ...
16839 * manual/timeval_subtract.c.texi: ... here, new file.
16840
49efa33d
DM
168412012-03-02 David S. Miller <davem@davemloft.net>
16842
16843 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
16844
28afd92d
JM
168452012-03-02 Joseph Myers <joseph@codesourcery.com>
16846
804360ed
JM
16847 [BZ #3976]
16848 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
16849 (__sin): Save and restore rounding mode and use round-to-nearest
16850 for all computations.
16851 (__cos): Save and restore rounding mode and use round-to-nearest
16852 for all computations.
16853 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
16854 <fenv.h>.
16855 (tan): Save and restore rounding mode and use round-to-nearest for
16856 all computations.
16857 * math/libm-test.inc (cos_test_tonearest): New function.
16858 (cos_test_towardzero): Likewise.
16859 (cos_test_downward): Likewise.
16860 (cos_test_upward): Likewise.
16861 (sin_test_tonearest): Likewise.
16862 (sin_test_towardzero): Likewise.
16863 (sin_test_downward): Likewise.
16864 (sin_test_upward): Likewise.
16865 (tan_test_tonearest): Likewise.
16866 (tan_test_towardzero): Likewise.
16867 (tan_test_downward): Likewise.
16868 (tan_test_upward): Likewise.
16869 (main): Call the new functions.
16870 * sysdeps/i386/fpu/libm-test-ulps: Update.
16871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16872
a6d06d7b
JM
16873 [BZ #10135]
16874 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
16875 small n, then large n, before computing and testing k+n.
16876 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16877 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
16878 Likewise.
16879 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
16880 Likewise.
16881 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
16882 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
16883 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
16884 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
16885 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16886 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16887 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
16888 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
16889 * math/libm-test.inc (scalbn_test): Add more tests.
16890 (scalbln_test): Likewise.
16891
07e12bb3
JM
16892 * manual/filesys.texi (mode_t): Describe constraints on size and
16893 signedness, not exact equivalence to a particular type.
16894 (ino_t): Likewise.
16895 (ino64_t): Likewise.
16896 (dev_t): Likewise.
16897 (nlink_t): Likewise.
16898 (blkcnt_t): Likewise.
16899 (blkcnt64_t): Likewise.
16900 * manual/llio.texi (off_t): Likewise.
16901
28afd92d
JM
16902 [BZ #3976]
16903 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
16904 (__ieee754_exp): Save and restore rounding mode and use
16905 round-to-nearest for all computations.
16906 * math/libm-test.inc (exp_test_tonearest): New function.
16907 (exp_test_towardzero): Likewise.
16908 (exp_test_downward): Likewise.
16909 (exp_test_upward): Likewise.
16910 (main): Call the new functions.
16911 * sysdeps/i386/fpu/libm-test-ulps: Update.
16912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16913
b1eeb65d
CD
169142012-03-01 Chris Demetriou <cgd@google.com>
16915
16916 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
16917 have predictable order.
16918
53362a4b
DM
169192012-03-01 David S. Miller <davem@davemloft.net>
16920
3c969083
DM
16921 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
16922
759707de
DM
16923 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
16924 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
16925 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
16926 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
16927
dfdb8ff2
DM
16928 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
16929 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
16930 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
16931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
16932 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
16933 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
16934 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
16935 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
16936 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
16937
ead89f96
DM
16938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16939
7f66bd07
DM
16940 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
16941 * sysdeps/sparc/fpu/libm-test-ulps: to here.
16942 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
16943
53362a4b
DM
16944 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
16945 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16946 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16947 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
16948 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
16949 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
16950 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
16951 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16952 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16953 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
16954 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
16955 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16956 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16957 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16958 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16959 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16960 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
16961 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
16962 * sysdeps/sparc/elf/configure: Regenerated.
16963
7b1902cb
JM
169642012-03-01 Joseph Myers <joseph@codesourcery.com>
16965
bec039bc
JM
16966 * configure.in (AS, LD): Require binutils 2.20 or later.
16967 * configure: Regenerated.
16968 * manual/install.texi (Tools for Compilation): Give binutils 2.20
16969 as required minimum version.
16970 * INSTALL: Regenerated.
16971
7b1902cb
JM
16972 [BZ #2541]
16973 [BZ #4108]
16974 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
16975 before squaring exponent.
16976 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
16977 bottom long double and 27 bits of top long double before squaring
16978 exponent.
16979 * math/libm-test.inc (erfc_test): Add more tests.
16980 * sysdeps/i386/fpu/libm-test-ulps: Update.
16981 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16983
f775c276
KT
169842012-03-01 Kai Tietz <ktietz@redhat.com>
16985
16986 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
16987 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
16988 containing bit-fields.
16989 * soft-fp/extended.h (_FP_UNION_E): Likewise.
16990 * soft-fp/single.h (_FP_UNION_S): Likewise.
16991 * soft-fp/double.h (_FP_UNION_D): Likewise.
16992
5b8a4d4a
JM
169932012-02-29 Joseph Myers <joseph@codesourcery.com>
16994
0bab47b6
JM
16995 [BZ #13786]
16996 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
16997 not include ../strcmp.S.
16998 [USE_AS_STRNCASECMP_L]: Likewise.
16999 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
17000 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
17001 * sysdeps/i386/i686/multiarch/strncase_l-c.c
17002 (__strncasecmp_l_ia32): Define as alias to
17003 __strncasecmp_l_nonascii.
17004
0fcad3e2
JM
17005 [BZ #5794]
17006 * math/libm-test.inc (expm1_test): Add test for bug 5794.
17007 * sysdeps/i386/fpu/libm-test-ulps: Update.
17008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17009
5b8a4d4a
JM
17010 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
17011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17012
8fdceb2e
JL
170132012-02-29 Jeff Law <law@redhat.com>
17014
17015 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
17016 out of bounds read.
17017
1f393a11
MP
170182012-02-29 Marek Polacek <polacek@redhat.com>
17019
17020 [BZ #13706]
17021 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
17022 * elf/Makefile: Add rules to run tst-unused-dep.out.
17023
8847f037
DM
170242012-02-28 David S. Miller <davem@davemloft.net>
17025
17026 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
17027 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
17028 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
17029 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
17030 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
17031 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
17032
169d7f11
JM
170332012-02-29 Joseph Myers <joseph@codesourcery.com>
17034
17035 * math/libm-test.inc (llround_test): Move one test from
17036 lround_test. Use TEST_f_L in moved test.
17037 (lround_test): Move misplaced test to llround_test. Add testcase
17038 from bug 2561.
17039
39adf059
UD
170402012-02-28 Ulrich Drepper <drepper@gmail.com>
17041
17042 * sysdeps/x86_64/fpu/e_expf.S: New file.
17043 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
17044
71b5d1c5
SB
170452012-02-28 Stanislav Brabec <sbrabec@suse.cz>
17046
17047 [BZ #13637]
17048 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
17049 of remain_len that may cause incomplete multi-byte character and
17050 false match.
17051 * posix/bug-regex33.c: New file.
17052 * posix/Makefile (tests): Add bug-regex33.
17053
1f77f049
JM
170542012-02-28 Joseph Myers <joseph@codesourcery.com>
17055
17056 * manual/macros.texi: New file.
17057 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
17058 * manual/libc.texinfo: Include macros.texi.
17059 * manual/creatute.texi: Likewise.
17060 * manual/install.texi: Likewise.
17061 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
17062 @glibcadj{} in references to the GNU C Library.
17063 * manual/charset.texi: Likewise.
17064 * manual/conf.texi: Likewise.
17065 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
17066 when not using those macros.
17067 * manual/creature.texi: Likewise.
17068 * manual/crypt.texi: Likewise.
17069 * manual/errno.texi: Likewise.
17070 * manual/filesys.texi: Likewise.
17071 * manual/header.texi: Likewise.
17072 * manual/install.texi: Likewise.
17073 * manual/intro.texi: Likewise.
17074 * manual/io.texi: Likewise.
17075 * manual/job.texi: Likewise.
17076 * manual/lang.texi: Likewise.
17077 * manual/libc.texiinfo: Likewise.
17078 * manual/llio.texi: Likewise.
17079 * manual/locale.texi: Likewise.
17080 * manual/maint.texi: Likewise.
17081 * manual/math.texi: Likewise.
17082 * manual/memory.texi: Likewise.
17083 * manual/message.texi: Likewise.
17084 * manual/nss.texi: Likewise.
17085 * manual/pattern.texi: Likewise.
17086 * manual/process.texi: Likewise.
17087 * manual/resource.texi: Likewise.
17088 * manual/search.texi: Likewise.
17089 * manual/setjmp.texi: Likewise.
17090 * manual/signal.texi: Likewise.
17091 * manual/socket.texi: Likewise.
17092 * manual/startup.texi: Likewise.
17093 * manual/stdio.texi: Likewise.
17094 * manual/string.texi: Likewise.
17095 * manual/sysinfo.texi: Likewise.
17096 * manual/syslog.texi: Likewise.
17097 * manual/terminal.texi: Likewise.
17098 * manual/time.texi: Likewise.
17099 * manual/users.texi: Likewise.
17100 * INSTALL: Regenerated.
17101 * NOTES: Regenerated.
d40c5d54 17102 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 17103
450bf206
AS
171042012-02-28 Andreas Schwab <schwab@linux-m68k.org>
17105
17106 * include/dirent.h: Include <dirstream.h> before
17107 <dirent/dirent.h>.
17108
741a235b
DM
171092012-02-28 David S. Miller <davem@davemloft.net>
17110
17111 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
17112 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
17113 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
17114 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
17115
d6b5aa58
DM
171162012-02-27 David S. Miller <davem@davemloft.net>
17117
1aff59a3
DM
17118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
17119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
17120 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
17121 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
17122
d6b5aa58
DM
17123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
17124 frame pointer instead of stack pointer relative arg slot.
17125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17126 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17127 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17128
433f48bf
CD
171292012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
17130
17131 [BZ #3992]
17132 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
17133
d674b76d
DM
171342012-02-27 David S. Miller <davem@davemloft.net>
17135
17136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
17137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
17140 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17141 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17142 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
17143 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
17144
0e7727f7
JM
171452012-02-27 Joseph Myers <joseph@codesourcery.com>
17146
17147 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
17148 later. Allow versions 5-9.
43be4ca2 17149 * configure: Regenerated.
0e7727f7
JM
17150 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
17151 required minimum version and 4.6 as recommended version. Do not
17152 mention bugs in GCC 2.7 and 2.8.
43be4ca2 17153 * INSTALL: Regenerated.
0e7727f7 17154
a78bc654
DM
171552012-02-27 David S. Miller <davem@davemloft.net>
17156
428d5830
DM
17157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
17158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
17159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
17160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
17161 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
17162 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
17163 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
17164 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
17165
a78bc654
DM
17166 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
17167 manipulate bits before adding and subtracting TWO112[sx].
17168 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17169
4579f81c
RM
171702012-02-27 Roland McGrath <roland@hack.frob.com>
17171
36c8acb4
RM
17172 [BZ #13775]
17173 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
17174 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
17175 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
17176 being in POSIX, because they are in 1003.1-2008.
17177
84ad622b
RM
17178 * rt/tst-aio.c: Include <fcntl.h>.
17179 * rt/tst-aio7.c: Likewise.
17180 * rt/tst-aio64.c: Likewise.
17181
4579f81c
RM
17182 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
17183
abd923db
JM
171842012-02-27 Joseph Myers <joseph@codesourcery.com>
17185
17186 * manual/install.texi (--with-headers): Describe headers as
17187 interface headers, not private headers.
17188 (Specific advice for GNU/Linux systems): Describe use of headers
17189 from "make headers_install", not private headers from older
17190 kernels.
43be4ca2 17191 * INSTALL: Regenerated.
abd923db
JM
17192 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
17193 Change to 2.6.19.
17194 * sysdeps/unix/sysv/linux/configure: Regenerated.
17195
6664049b
JM
17196 * manual/llio.texi (fclean): Remove documentation.
17197
bb8b6697
JM
17198 * manual/Makefile (libc-texi-generated): New variable. Include
17199 version.texi.
17200 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
17201 $(libc-texi-generated), not duplicated list of files.
17202 (version.texi, stamp-version): New rules.
17203 (realclean): Remove $(libc-texi-generated), not individual files
17204 from that list. Do not remove dir-add.texinfo.
17205 * manual/libc.texinfo: Comment out uses of edition numbers and
17206 references to printed manual. Remove last-updated dates.
17207 (EDITION): Comment out.
17208 (ISBN): Likewise.
17209 (VERSION, UPDATED): Remove.
17210 (version.texi): Include.
17211
12e5c3b9
AS
172122012-02-27 Andreas Schwab <schwab@linux-m68k.org>
17213
17214 * sysdeps/posix/spawni.c: Include <signal.h>.
17215 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
17216 * sysdeps/pthread/aio_fsync.c: Likewise.
17217
4efeffc1 172182012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 17219
ba63ba08
UD
17220 * conform/Makefile (tests): Run only when not cross-compiling and
17221 when fast-check is not defined.
17222
d94a4670
UD
17223 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
17224 * conform/data/limits.h-data: Fixes for POSIX2008.
17225 * conform/run-conformtest.sh: Run all tests.
17226 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
17227 headers.
17228 * include/bits/dlfcn.h: Likewise.
17229 * include/langinfo.h: Likewise.
17230 * include/monetary.h: Likewise.
17231 * include/sys/poll.h: Likewise.
17232
17233 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
17234 for __USE_GNU.
17235 * posix/spawn.h: Define __need_sigset_t.
17236 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
17237 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
17238 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
17239 to get sigevent_t only.
17240 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
17241 only for __USE_GNU.
17242 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17243 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17244 process_vm_writev only for __USE_GNU.
17245 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
17246
17247 * conform/Makefile: For now ignore errors from run-conformtest.
17248 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
17249 POSIX to avoid namespace pollution. Don't prepend headers.
17250 * conform/data/aio.h-data: Fixes for POSIX testing.
17251 * conform/data/fcntl.h-data: Likewise.
17252 * conform/data/glob.h-data: Likewise.
17253 * conform/data/grp.h-data: Likewise.
17254 * conform/data/pthread.h-data: Likewise.
17255 * conform/data/pwd.h-data: Likewise.
17256 * conform/data/signal.h-data: Likewise.
17257 * conform/data/spawn.h-data: Likewise.
17258 * conform/data/stdio.h-data: Likewise.
17259 * conform/data/stdlib.h-data: Likewise.
17260 * conform/data/stropts.h-data: Likewise.
17261 * conform/data/sys/mman.h-data: Likewise.
17262 * conform/data/sys/stat.h-data: Likewise.
17263 * conform/data/sys/types.h-data: Likewise.
17264 * conform/data/sys/wait.h-data: Likewise.
17265 * conform/data/time.h-data: Likewise.
17266 * conform/data/unistd.h-data: Likewise.
17267 * conform/data/utime.h-data: Likewise.
17268
17269 * io/sys/stat.h: fchmod was always in POSIX.
17270 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
17271 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
17272 * rt/aio.h: Define __need_timespec before including <time.h>.
17273 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
17274 struct. Add forward declaration of pthread_attr_t and use it in
17275 sigevent.
17276 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17277 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17278 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
17279 always remove CLK_TCK definition.
17280
c20105c3
AS
172812012-02-26 Andreas Schwab <schwab@linux-m68k.org>
17282
17283 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
17284
7a270350
UD
172852012-02-25 Ulrich Drepper <drepper@gmail.com>
17286
31341567
UD
17287 * conform/run-conformtest.sh: New file.
17288 * conform/Makefile: Run run-conformtest for tests.
17289 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
17290 support.
17291
17292 * conform/data/uchar.h-data: New file.
17293 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
17294 * conform/data/arpa/inet.h-data: Likewise.
17295 * conform/data/assert.h-data: Likewise.
17296 * conform/data/complex.h-data: Likewise.
17297 * conform/data/cpio.h-data: Likewise.
17298 * conform/data/ctype.h-data: Likewise.
17299 * conform/data/dirent.h-data: Likewise.
17300 * conform/data/dlfcn.h-data: Likewise.
17301 * conform/data/errno.h-data: Likewise.
17302 * conform/data/fcntl.h-data: Likewise.
17303 * conform/data/float.h-data: Likewise.
17304 * conform/data/fmtmsg.h-data: Likewise.
17305 * conform/data/fnmatch.h-data: Likewise.
17306 * conform/data/ftw.h-data: Likewise.
17307 * conform/data/glob.h-data: Likewise.
17308 * conform/data/grp.h-data: Likewise.
17309 * conform/data/iconv.h-data: Likewise.
17310 * conform/data/inttypes.h-data: Likewise.
17311 * conform/data/langinfo.h-data: Likewise.
17312 * conform/data/libgen.h-data: Likewise.
17313 * conform/data/limits.h-data: Likewise.
17314 * conform/data/locale.h-data: Likewise.
17315 * conform/data/math.h-data: Likewise.
17316 * conform/data/monetary.h-data: Likewise.
17317 * conform/data/mqueue.h-data: Likewise.
17318 * conform/data/ndbm.h-data: Likewise.
17319 * conform/data/net/if.h-data: Likewise.
17320 * conform/data/netdb.h-data: Likewise.
17321 * conform/data/netinet/in.h-data: Likewise.
17322 * conform/data/nl_types.h-data: Likewise.
17323 * conform/data/poll.h-data: Likewise.
17324 * conform/data/pthread.h-data: Likewise.
17325 * conform/data/pwd.h-data: Likewise.
17326 * conform/data/regex.h-data: Likewise.
17327 * conform/data/sched.h-data: Likewise.
17328 * conform/data/search.h-data: Likewise.
17329 * conform/data/semaphore.h-data: Likewise.
17330 * conform/data/setjmp.h-data: Likewise.
17331 * conform/data/signal.h-data: Likewise.
17332 * conform/data/spawn.h-data: Likewise.
17333 * conform/data/stdarg.h-data: Likewise.
17334 * conform/data/stdio.h-data: Likewise.
17335 * conform/data/stdlib.h-data: Likewise.
17336 * conform/data/string.h-data: Likewise.
17337 * conform/data/strings.h-data: Likewise.
17338 * conform/data/stropts.h-data: Likewise.
17339 * conform/data/sys/ipc.h-data: Likewise.
17340 * conform/data/sys/mman.h-data: Likewise.
17341 * conform/data/sys/msg.h-data: Likewise.
17342 * conform/data/sys/resource.h-data: Likewise.
17343 * conform/data/sys/select.h-data: Likewise.
17344 * conform/data/sys/sem.h-data: Likewise.
17345 * conform/data/sys/shm.h-data: Likewise.
17346 * conform/data/sys/socket.h-data: Likewise.
17347 * conform/data/sys/stat.h-data: Likewise.
17348 * conform/data/sys/statvfs.h-data: Likewise.
17349 * conform/data/sys/time.h-data: Likewise.
17350 * conform/data/sys/timeb.h-data: Likewise.
17351 * conform/data/sys/times.h-data: Likewise.
17352 * conform/data/sys/types.h-data: Likewise.
17353 * conform/data/sys/uio.h-data: Likewise.
17354 * conform/data/sys/un.h-data: Likewise.
17355 * conform/data/sys/utsname.h-data: Likewise.
17356 * conform/data/sys/wait.h-data: Likewise.
17357 * conform/data/syslog.h-data: Likewise.
17358 * conform/data/tar.h-data: Likewise.
17359 * conform/data/termios.h-data: Likewise.
17360 * conform/data/utime.h-data: Likewise.
17361 * conform/data/utmpx.h-data: Likewise.
17362 * conform/data/varargs.h-data: Likewise.
17363 * conform/data/wchar.h-data: Likewise.
17364 * conform/data/wctype.h-data: Likewise.
17365 * conform/data/wordexp.h-data: Likewise.
17366
17367 * include/stropts.h: New file.
17368 * include/uchar.h: New file.
17369 * include/aio.h: Changes to allow conformtest.pl to use the headers.
17370 * include/assert.h: Likewise.
17371 * include/ctype.h: Likewise.
17372 * include/dirent.h: Likewise.
17373 * include/dlfcn.h: Likewise.
17374 * include/fcntl.h: Likewise.
17375 * include/fnmatch.h: Likewise.
17376 * include/glob.h: Likewise.
17377 * include/grp.h: Likewise.
17378 * include/libio.h: Likewise.
17379 * include/locale.h: Likewise.
17380 * include/math.h: Likewise.
17381 * include/net/if.h: Likewise.
17382 * include/netdb.h: Likewise.
17383 * include/netinet/in.h: Likewise.
17384 * include/pthread.h: Likewise.
17385 * include/pwd.h: Likewise.
17386 * include/regex.h: Likewise.
17387 * include/sched.h: Likewise.
17388 * include/search.h: Likewise.
17389 * include/setjmp.h: Likewise.
17390 * include/signal.h: Likewise.
17391 * include/stdio.h: Likewise.
17392 * include/stdlib.h: Likewise.
17393 * include/string.h: Likewise.
17394 * include/sys/cdefs.h: Likewise.
17395 * include/sys/mman.h: Likewise.
17396 * include/sys/msg.h: Likewise.
17397 * include/sys/resource.h: Likewise.
17398 * include/sys/select.h: Likewise.
17399 * include/sys/socket.h: Likewise.
17400 * include/sys/stat.h: Likewise.
17401 * include/sys/statvfs.h: Likewise.
17402 * include/sys/time.h: Likewise.
17403 * include/sys/times.h: Likewise.
17404 * include/sys/uio.h: Likewise.
17405 * include/sys/utsname.h: Likewise.
17406 * include/sys/wait.h: Likewise.
17407 * include/termios.h: Likewise.
17408 * include/time.h: Likewise.
17409 * include/ulimit.h: Likewise.
17410 * include/unistd.h: Likewise.
17411 * include/utime.h: Likewise.
17412 * include/wchar.h: Likewise.
17413 * include/wctype.h: Likewise.
17414 * include/wordexp.h: Likewise.
17415
17416 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
17417
7a270350
UD
17418 * time/time.h: TIME_UTC must be a macro.
17419 Make timespec_get available for ISO C11 only as well.
17420
7724defc
UD
174212012-02-24 Ulrich Drepper <drepper@gmail.com>
17422
17423 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
17424 Reported by Peng Haitao <penght@cn.fujitsu.com>.
17425
6b1d1d46
JM
174262012-02-24 Joseph Myers <joseph@codesourcery.com>
17427
17428 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 17429
0f8bbd69
JM
174302012-02-24 Joseph Myers <joseph@codesourcery.com>
17431
17432 * manual/texinfo.tex: Update to version 2012-01-19.16.
17433
66ab80bc
JM
174342012-02-24 Joseph Myers <joseph@codesourcery.com>
17435
17436 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
17437
74981cc5
RM
174382012-02-24 Roland McGrath <roland@hack.frob.com>
17439
ee968201
RM
17440 [BZ #13738]
17441 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
17442 * manual/fdl-1.3.texi: New file.
17443 * manual/fdl-1.1.texi: File removed.
17444
74981cc5
RM
17445 [BZ #13738]
17446 * manual/libc.texinfo (FDL_VERSION): New @set.
17447 Use it for mention of FDL in cover text.
17448 (Documentation License): Use it in @include file name.
17449
7bb764bc
JM
174502012-02-22 Joseph Myers <joseph@codesourcery.com>
17451 Roland McGrath <roland@hack.frob.com>
17452
17453 [BZ #5461]
17454 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
17455 not LONG_LONG_MAX and LONG_LONG_MIN.
17456 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
17457 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
17458 name.
17459 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
17460
6cbeae47
JM
174612012-02-22 Joseph Myers <joseph@codesourcery.com>
17462
17463 [BZ #2547]
17464 [BZ #11365]
17465 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
17466 manipulate bits before adding and subtracting TWO23[sx].
17467 * math/libm-test.inc (nearbyint_test): Add more tests.
17468
fe45ce09
JM
174692012-02-22 Joseph Myers <joseph@codesourcery.com>
17470
17471 [BZ #2548]
17472 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
17473 bits before adding and subtracting TWO23[sx].
17474 * math/libm-test.inc (rint_test): Add more tests.
17475 (rint_test_tonearest): Likewise.
17476 (rint_test_towardzero): Likewise.
17477 (rint_test_downward): Likewise.
17478 (rint_test_upward: Likewise.
17479
ff3b3d82
JM
174802012-02-22 Joseph Myers <joseph@codesourcery.com>
17481
17482 [BZ #10110]
17483 * include/stdc-predef.h: New file. Extracted from features.h.
17484 * include/features.h: Include stdc-predef.h.
17485 * Makefile (headers): Add stdc-predef.h.
17486 * CONFORMANCE (Compiler limitations): Update.
17487
ef0aab35
JM
174882012-02-22 Joseph Myers <joseph@codesourcery.com>
17489
17490 * manual/libc.texinfo (VERSION, UPDATED): Revert.
17491
58639409
DM
174922012-02-21 David S. Miller <davem@davemloft.net>
17493
17494 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
17495 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17496
c0e70b25
DM
174972012-02-20 David S. Miller <davem@davemloft.net>
17498
17499 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
17500 using a normal save/restore sequence, rather than allocating a
17501 dummy stack frame just to store a frame pointer and restore.
17502 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17503
fb06851d
JM
175042012-02-21 Joseph Myers <joseph@codesourcery.com>
17505
17506 * manual/install.texi: Fix stray word in line-wrapped comment.
17507
7a8b71c3
DM
175082012-02-20 David S. Miller <davem@davemloft.net>
17509
d510c123
DM
17510 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
17511 both binutils and gcc support GOTDATA.
17512
0722d7c2
DM
17513 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
17514 "rd %pc" in the PIC register setup sequences.
17515
3d2b3019
DM
17516 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
17517 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17518 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17519 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17520 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17521 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17522 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17523 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17524 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
17525 (SYSCALL_ERROR_HANDLER): Likewise.
17526 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17527 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17528 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
17529 (SYSCALL_ERROR_HANDLER): Likewise.
17530
c80098a9
DM
17531 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
17532 (HAVE_GCC_GOTDATA): New.
17533 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
17534 relocation support in both binutils and gcc.
17535 * sysdeps/sparc/elf/configure: Regenerate.
17536
3a2545a0
DM
17537 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
17538 * sysdeps/sparc/sparc32/elf/configure: Delete.
17539 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
17540 * sysdeps/sparc/sparc64/elf/configure: Delete.
17541 * sysdeps/sparc/elf/configure.in: New file.
17542 * sysdeps/sparc/elf/configure: Generate.
17543
7a8b71c3
DM
17544 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
17545 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
17546 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17547 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
17548 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
17549
f1e86fca
JM
175502012-02-21 Joseph Myers <joseph@codesourcery.com>
17551
17552 * manual/install.texi: Do not mention specific glibc version
17553 numbers.
17554 * manual/libc.texinfo (VERSION, UPDATED): Update.
17555 (@copying): Use @copyright{} and range of years.
17556
0e7dfaef
JM
175572012-02-21 Joseph Myers <joseph@codesourcery.com>
17558
17559 [BZ #13695]
17560 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
17561 [crti.S not in sysdirs] (generated): Do not append.
17562 [crti.S not in sysdirs] (omit-deps): Likewise.
17563 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
17564 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
17565 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
17566 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
17567 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
17568 Likewise.
17569 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
17570 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
17571 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
17572 * csu/defs.awk: Remove file.
17573 * sysdeps/generic/initfini.c: Likewise.
17574 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
17575 variable.
17576 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
17577 Likewise.
17578
599af3ca
JM
175792012-02-20 Joseph Myers <joseph@codesourcery.com>
17580
17581 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
17582 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
17583 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
17584 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
17585 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17586 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
17587 <bits/epoll.h>.
17588 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
17589 (__EPOLL_PACKED): Define to empty if not defined by
17590 <bits/epoll.h>.
17591 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
17592 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17593 bits/epoll.h.
17594
0e499750
JM
175952012-02-20 Joseph Myers <joseph@codesourcery.com>
17596
17597 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
17598 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
17599 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
17600 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
17601 <bits/timerfd.h>.
17602 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
17603 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17604 bits/timerfd.h.
17605
5ad91f6e
JM
176062012-02-20 Joseph Myers <joseph@codesourcery.com>
17607
17608 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
17609 in C locale.
17610 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17611 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17612 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
17613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17614
06b99b02
AJ
176152012-02-20 Aurelien Jarno <aurelien@aurel32.net>
17616
17617 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17618 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17619
7638c0fd
AS
176202012-02-19 Andreas Schwab <schwab@linux-m68k.org>
17621
17622 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
17623 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
17624 defined.
17625 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
17626 Likewise.
17627 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
17628 entry for 2.16.
17629
92221550
AJ
176302012-02-19 Aurelien Jarno <aurelien@aurel32.net>
17631
17632 * math/w_acos.c: Use non-signaling floating-point comparisons.
17633 * math/w_acosf.c: Likewise.
17634 * math/w_acosh.c: Likewise.
17635 * math/w_acoshf.c: Likewise.
17636 * math/w_acoshl.c: Likewise.
17637 * math/w_acosl.c: Likewise.
17638 * math/w_asin.c: Likewise.
17639 * math/w_asinf.c: Likewise.
17640 * math/w_asinl.c: Likewise.
17641 * math/w_atanh.c: Likewise.
17642 * math/w_atanhf.c: Likewise.
17643 * math/w_atanhl.c: Likewise.
17644 * math/w_exp2.c: Likewise.
17645 * math/w_exp2f.c: Likewise.
17646 * math/w_exp2l.c: Likewise.
17647 * math/w_j0.c: Likewise.
17648 * math/w_j0f.c: Likewise.
17649 * math/w_j0l.c: Likewise.
17650 * math/w_j1.c: Likewise.
17651 * math/w_j1f.c: Likewise.
17652 * math/w_j1l.c: Likewise.
17653 * math/w_jn.c: Likewise.
17654 * math/w_jnf.c: Likewise.
17655 * math/w_log.c: Likewise.
17656 * math/w_log10.c: Likewise.
17657 * math/w_log10f.c: Likewise.
17658 * math/w_log10l.c: Likewise.
17659 * math/w_log2.c: Likewise.
17660 * math/w_log2f.c: Likewise.
17661 * math/w_log2l.c: Likewise.
17662 * math/w_logf.c: Likewise.
17663 * math/w_logl.c: Likewise.
17664 * math/w_sqrt.c: Likewise.
17665 * math/w_sqrtf.c: Likewise.
17666 * math/w_sqrtl.c: Likewise.
17667 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17668 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
17669 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17670 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17671 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17672
ebaf36eb
JM
176732012-02-19 Joseph Myers <joseph@codesourcery.com>
17674
17675 [BZ #9739]
17676 * manual/string.texi (strnlen): Use correct parameter name in
17677 equivalent expression.
17678
71c254a6
JM
176792012-02-19 Joseph Myers <joseph@codesourcery.com>
17680
17681 [BZ #11174]
17682 * manual/users.texi (seteuid): Consistently use neweuid for
17683 argument name.
17684
16d2c631
JM
176852012-02-19 Joseph Myers <joseph@codesourcery.com>
17686
17687 [BZ #13704]
17688 * manual/nss.texi (Services in the NSS configuration): Correct
17689 list of services in example configuration file.
17690
cd837b09
NB
176912012-02-19 Nick Bowler <nbowler@draconx.ca>
17692
17693 [BZ #11322]
17694 * manual/arith.texi: Remove statements about negative zero
17695 behaving identically to zero.
17696
02c4bbad
JM
176972012-02-18 Joseph Myers <joseph@codesourcery.com>
17698
17699 [BZ #5993]
17700 * manual/install.texi: Do not document upgrading from libc5.
17701
366842e7
JM
177022012-02-18 Joseph Myers <joseph@codesourcery.com>
17703
17704 [BZ #4596]
17705 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
17706
dd54084d
DM
177072012-02-18 David S. Miller <davem@davemloft.net>
17708
17709 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
17710 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
17711 %o7 across the call.
17712 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
17713 instead.
17714 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
17715 SETUP_PIC_REG_LEAF.
17716 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17717 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
17718 * sysdeps/sparc/crtn.S: Likewise.
17719
2bcc53a3
UD
177202012-02-17 Ulrich Drepper <drepper@gmail.com>
17721
17722 * aout/Makefile: Remove.
17723
09c093b5
RK
177242012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
17725
17726 [BZ #13058]
17727 * manual/examples/argp-ex1.c (main): Format definition in GNU
17728 style.
17729 * manual/examples/argp-ex2.c (main): Likewise.
17730 * manual/examples/argp-ex3.c (main): Likewise.
17731 * manual/examples/argp-ex4.c (main): Likewise.
17732 * manual/examples/longopt.c (main): Use new-style prototype
17733 definition.
17734 * manual/examples/strncat.c (main): Specify return type and use
17735 (void) for arguments.
17736 * manual/examples/subopt.c (main): Use char **argv argument.
17737
2ee633a2
JM
177382012-02-17 Joseph Myers <joseph@codesourcery.com>
17739
17740 [BZ #5077]
17741 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
17742 rounding modes.
17743
0520adde
FB
177442012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
17745
17746 [BZ #6907]
17747 * manual/string.texi (strchr): Change when strchrnul is
17748 recommended.
17749
3f4081cd
DGM
177502012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
17751
17752 [BZ #174]
17753 * manual/locale.texi (setlocale): Document LOCPATH.
17754
d1b10e78
JM
177552012-02-17 Joseph Myers <joseph@codesourcery.com>
17756
17757 [BZ #10210]
17758 * manual/process.texi (execle): Move @dots{} before last argument.
17759
79c6869c
PB
177602012-02-17 Paul Bolle <pebolle@tiscali.nl>
17761
17762 [BZ #12047]
17763 * manual/charset.texi (Generic Charset Conversion): Fix typo
17764 (LC_TYPE -> LC_CTYPE).
17765
cc6e48bc
NB
177662012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
17767
17768 [BZ #5805]
17769 * manual/arith.texi (scalbn): Use @var{} on parameter names.
17770 (scalbnf): Likewise.
17771 (scalbnl): Likewise.
17772 (scalbln): Likewise.
17773 (scalblnf): Likewise.
17774 (scalblnl): Likewise.
17775 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
17776 (vwarnx): Likewise.
17777 (verr): Likewise.
17778 (verrx): Likewise.
17779 * manual/filesys.texi (telldir): Use braces around return type.
17780 * manual/llio.texi (mmap): Add space after comma.
17781 (mmap64): Likewise.
17782 * manual/math.texi (jn): Use @var{} on parameter names.
17783 (jnf): Likewise.
17784 (jnl): Likewise.
17785 (yn): Likewise.
17786 (ynf): Likewise.
17787 (ynl): Likewise.
17788 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
17789 line.
17790 * manual/resource.texi (ulimit): Use @dots{} instead of literal
17791 "...".
17792 (sched_get_priority_min): Remove semicolon on @deftypefun line.
17793 (sched_get_priority_max): Likewise.
17794 * manual/signal.texi (sigvec): Add space after comma.
17795 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
17796 names.
17797 (if_indextoname): Likewise.
17798 (if_freenameindex): Likewise.
17799 (sendto): Use ',' instead of '.' in prototype.
17800 * manual/startup.texi (syscall): Use @dots{} instead of literal
17801 "...".
17802 * manual/stdio.texi (__fpending): Separate initial words of
17803 paragraph from @deftypefun line.
17804 * manual/syslog.texi (syslog): Use @dots{} instead of literal
17805 "...".
17806 (vsyslog): Use @var{} on parameter names.
17807 * manual/terminal.texi (stty): Use @var{} on parameter names.
17808 * manual/users.texi (getutmp): Use @var{} on parameter names.
17809 (getutmpx): Likewise.
17810
5b23062f
JM
178112012-02-17 Joseph Myers <joseph@codesourcery.com>
17812
17813 [BZ #6884]
17814 * manual/stdio.texi (fopen): Fix typos in description of
17815 ",ccs=STRING".
17816
8dee4833
AJ
178172012-02-17 Aurelien Jarno <aurelien@aurel32.net>
17818
17819 [BZ #4026]
17820 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
17821 get clock_id definition.
17822
9078ce93
TS
178232012-02-17 Thomas Schwinge <thomas@schwinge.name>
17824
17825 [BZ #4822]
17826 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
17827 (madvise): Cast every argument to void on its own.
17828
3835c55f
JM
178292012-02-17 Joseph Myers <joseph@codesourcery.com>
17830
17831 [BZ #9902]
17832 * manual/startup.texi (Exit Status): Fix typo.
17833
35c47e37
JM
178342012-02-17 Joseph Myers <joseph@codesourcery.com>
17835
17836 [BZ #10140]
17837 * manual/examples/argp-ex1.c: Include <stdlib.h>.
17838 * manual/examples/argp-ex2.c: Likewise.
17839 * manual/examples/argp-ex3.c: Likewise.
17840
e3b69ca7
RH
178412012-02-16 Richard Henderson <rth@redhat.com>
17842
17843 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
17844 * sysdeps/s390/s390-32/initfini.c: Remove.
17845 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
17846 * sysdeps/s390/s390-64/initfini.c: Remove.
17847
df83af67
KK
178482012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17849
17850 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
17851 compiler output for sysdeps/generic/initfini.c.
17852 * sysdeps/sh/elf/initfini.c: Remove file.
17853
f63f3380
DM
178542012-02-16 David S. Miller <davem@davemloft.net>
17855
fb59b3a4
DM
17856 [BZ #11494]
17857 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
17858
f63f3380
DM
17859 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
17860 * sysdeps/sparc/crti.S: New file.
17861 * sysdeps/sparc/crtn.S: New file.
17862 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
17863 * sysdeps/sparc/sparc64/Makefile: Likewise.
17864
df6a4a4a
MF
178652012-02-15 Mike Frysinger <vapier@gentoo.org>
17866
6dd8f3dc 17867 [BZ #3335]
df6a4a4a
MF
17868 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
17869
1cac7236
RM
178702012-02-15 Roland McGrath <roland@hack.frob.com>
17871
d2c736f8
RM
17872 [BZ #4822]
17873 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
17874
1cac7236
RM
17875 * mach/devstream.c (cookie_io_functions_t): Macro removed.
17876 (write, read, close): Likewise.
17877 Patch by Aurelien Jarno <aurelien@aurel32.net>.
17878
8e475601
JM
178792012-02-15 Joseph Myers <joseph@codesourcery.com>
17880
17881 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
17882 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
17883 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
17884 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
17885 <bits/signalfd.h>.
17886 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
17887 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17888 bits/signalfd.h.
17889
ed656b40
MP
178902012-02-14 Marek Polacek <polacek@redhat.com>
17891
17892 * sysdeps/x86_64/crti.S: New file.
17893 * sysdeps/x86_64/crtn.S: New file.
17894 * sysdeps/x86_64/elf/initfini.c: Remove file.
17895
2a979d3a
JM
178962012-02-13 Joseph Myers <joseph@codesourcery.com>
17897
17898 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
17899 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
17900 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
17901 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
17902 <bits/inotify.h>.
17903 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
17904 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17905 bits/inotify.h.
17906
2a418ac3
JM
179072012-02-13 Joseph Myers <joseph@codesourcery.com>
17908
17909 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
17910 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
17911 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
17912 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
17913 <bits/eventfd.h>.
17914 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
17915 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17916 bits/eventfd.h.
17917
fb779be7
TS
179182012-02-10 Thomas Schwinge <thomas@codesourcery.com>
17919
e19e83c5
RM
17920 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
17921 __feraiseexcept instead of feraiseexcept.
7c35ffed 17922
fb779be7
TS
17923 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
17924 nanosleep invocations.
17925 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
17926 strings, and add error checking for a nanosleep invocations.
17927
59ba27a6
PE
179282012-02-09 Paul Eggert <eggert@cs.ucla.edu>
17929
17930 Replace FSF snail mail address with URLs, as per GNU coding standards.
17931 Most of the snail mail addresses were wrong anyway, and omitting
17932 them makes the source code easier to maintain. Almost all of the
17933 changes are to license notices and to locale LC_IDENTIFICATION
17934 addresses, except for this one:
17935 * manual/libc.texinfo: In "Published by", give the FSF's URL,
17936 not its snail mail address.
17937
57b957eb
RH
179382012-02-09 Richard Henderson <rth@twiddle.net>
17939
af850b1c
RH
17940 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
17941 of kernel-features.h.
17942
57b957eb
RH
17943 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
17944
6b73181a
MP
179452012-02-08 Marek Polacek <polacek@redhat.com>
17946
17947 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
17948 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
17949 * sysdeps/gnu/_G_config.h: Likewise.
17950 * sysdeps/generic/_G_config.h: Likewise.
17951
26ecc33a
AS
179522012-02-08 Andreas Schwab <schwab@linux-m68k.org>
17953
6c6dbc63
AS
17954 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
17955 tests.
17956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17957
e216c012
AS
17958 * sysdeps/powerpc/powerpc32/crti.S: New file.
17959 * sysdeps/powerpc/powerpc32/crtn.S: New file.
17960 * sysdeps/powerpc/powerpc64/crti.S: New file.
17961 * sysdeps/powerpc/powerpc64/crtn.S: New file.
17962
26ecc33a
AS
17963 * Makeconfig (have-initfini): Don't set.
17964 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
17965 * configure.in (nopic_initfini): Don't substitute.
17966 * config.h.in (HAVE_INITFINI): Don't #undef.
17967 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
17968 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
17969
3add8e13
JM
179702012-02-08 Joseph Myers <joseph@codesourcery.com>
17971
17972 Support crti.S and crtn.S provided directly by architectures.
17973 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
17974 [crti.S in sysdirs] (omit-deps): Likewise.
17975 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
17976 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
17977 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
17978 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
17979 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
17980 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
17981 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
17982 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
17983 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
17984 compiler output for sysdeps/generic/initfini.c.
17985 * sysdeps/i386/elf/Makefile: Remove file.
17986 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
17987
a22f12b4
MP
179882012-02-07 Marek Polacek <polacek@redhat.com>
17989
17990 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
17991 * sysdeps/gnu/_G_config.h: Likewise.
17992 * sysdeps/mach/hurd/_G_config.h: Likewise.
17993
148cf100
MP
179942012-02-07 Marek Polacek <polacek@redhat.com>
17995
17996 * math/Makefile (tests): Add tst-CMPLX2.
17997 * math/tst-CMPLX2.c: New file.
17998
cfdc0dd7
AS
179992012-02-07 Andreas Schwab <schwab@linux-m68k.org>
18000
84ba42c4
AS
18001 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18002
cfdc0dd7
AS
18003 * math/libm-test.inc (jn_test): Add missing L suffix.
18004
622c86f4
MP
180052012-02-06 Marek Polacek <polacek@redhat.com>
18006
18007 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
18008 * sysdeps/i386/fpu/e_powf.S: Likewise.
18009 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18010 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18011 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18012 * sysdeps/i386/fpu/e_pow.S: Likewise.
18013 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18014 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18015 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18016 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18017 * sysdeps/i386/fpu/e_log2.S: Likewise.
18018 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18019 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18020 * sysdeps/i386/fpu/e_powl.S: Likewise.
18021 * sysdeps/i386/fpu/s_log1p.S: Likewise.
18022 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18023 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18024 * sysdeps/i386/fpu/e_logl.S: Likewise.
18025 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18026 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
18027 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18028 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18029 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18030 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18031 * sysdeps/i386/fpu/e_log.S: Likewise.
18032 * sysdeps/i386/fpu/s_cexp.S: Likewise.
18033 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18034 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
18035 * sysdeps/i386/fpu/e_logf.S: Likewise.
18036 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18037 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18038 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
18039 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18040 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18041 * sysdeps/i386/fpu/e_log10.S: Likewise.
18042 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18043 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18044 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18045 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18046 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18047 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18048 * sysdeps/i386/asm-syntax.h: Likewise.
18049 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18050 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18051 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18052 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
18053 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
18054 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18055 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18056 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18057 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18058 * sysdeps/powerpc/sysdep.h: Likewise.
18059 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18060 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18061
d4a54ac6
JM
180622012-02-06 Joseph Myers <joseph@codesourcery.com>
18063
18064 [BZ #411]
18065 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
18066
314054ea
JM
180672012-02-06 Joseph Myers <joseph@codesourcery.com>
18068
18069 * sysdeps/i386/sysdep.h: Include <features.h>.
18070 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
18071 version.
18072
d8e0ca50
JM
180732012-02-05 Joseph Myers <joseph@codesourcery.com>
18074
18075 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
18076 Define.
18077 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
18078 LOAD_PIC_REG_STR.
18079
b1da7dd9
JM
180802012-02-03 Joseph Myers <joseph@codesourcery.com>
18081
18082 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
18083 (SETUP_PIC_REG): Use GET_PC_THUNK.
18084 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
18085 macro.
18086
9a1d9254
JM
180872012-02-03 Joseph Myers <joseph@codesourcery.com>
18088
18089 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
18090 for non-PIC compilation.
18091 (SETUP_PIC_REG): Add .p2align directive.
18092 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
18093 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18094 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18095 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18096 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18097 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18098 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18099 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18100 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18101 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18102 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18103 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18104 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18105 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18106 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18107 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18108 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18109 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18110 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18111 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18112 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18113 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18114 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18115 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18116 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18117 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18118 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18119 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18120 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18121 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18122 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18123 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18124 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18125 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18126 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18127 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18128 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18129 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18130 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18131 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18132 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18133
65dc3b75
JM
181342012-02-03 Joseph Myers <joseph@codesourcery.com>
18135
18136 * math/tst-CMPLX.c: Include <stdio.h>.
18137
d55bf177
JM
181382012-01-31 Joseph Myers <joseph@codesourcery.com>
18139
18140 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
18141 float.
18142 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18143 * sysdeps/sparc/bits/mathdef.h: Likewise.
18144
69db4f8f
MP
181452012-01-31 Marek Polacek <polacek@redhat.com>
18146
18147 * libio/libio.h: Don't define _PARAMS.
18148 * locale/programs/config.h: Don't define PARAMS.
18149 * stdlib/strtol_l.c: Likewise.
18150 (__strtol_l): Remove PARAMS from the prototype.
18151
41b81892
UD
181522012-01-31 Ulrich Drepper <drepper@gmail.com>
18153
3b49edc0
UD
18154 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
18155 names. Just use the correct names. Remove unnecessary wrapper
18156 functions.
18157 * malloc/arena.c: Likewise.
18158 * malloc/hooks.c: Likewise.
18159
41b81892
UD
18160 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
18161 ARENA_TEST says not to. Simplify test for creation of a new arena.
18162 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
18163
27a25b6e
UD
181642012-01-30 Ulrich Drepper <drepper@gmail.com>
18165
18166 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
18167 into tail calls.
18168 (update_get_addr): New function.
18169 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
18170 GET_ADDR_MODULE parameter.
18171
c8a89e7d
JM
181722012-01-30 Joseph Myers <joseph@codesourcery.com>
18173
18174 * crypt/cert.c: Remove __STDC__ conditionals.
18175 * crypt/crypt-entry.c: Likewise.
18176 * crypt/crypt_util.c: Likewise.
18177 * libio/filedoalloc.c: Likewise.
18178 * libio/fileops.c: Likewise.
18179 * libio/genops.c: Likewise.
18180 * libio/iofclose.c: Likewise.
18181 * libio/iofdopen.c: Likewise.
18182 * libio/iofopen.c: Likewise.
18183 * libio/iofopen64.c: Likewise.
18184 * libio/iogetdelim.c: Likewise.
18185 * libio/iopopen.c: Likewise.
18186 * libio/obprintf.c: Likewise.
18187 * libio/oldfileops.c: Likewise.
18188 * libio/oldiofclose.c: Likewise.
18189 * libio/oldiofdopen.c: Likewise.
18190 * libio/oldiofopen.c: Likewise.
18191 * libio/oldiopopen.c: Likewise.
18192 * libio/wfiledoalloc.c: Likewise.
18193 * libio/wgenops.c: Likewise.
18194 * locale/programs/xmalloc.c: Likewise.
18195 * misc/syslog.c: Likewise.
18196 * stdio-common/xbug.c: Likewise.
18197 * string/memchr.c: Likewise.
18198 * string/memcmp.c: Likewise.
18199 * string/memrchr.c: Likewise.
18200 * string/rawmemchr.c: Likewise.
18201 * sysdeps/posix/getcwd.c: Likewise.
18202 * time/strftime_l.c: Likewise.
18203
3b100462
JM
182042012-01-30 Joseph Myers <joseph@codesourcery.com>
18205
18206 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
18207 * config.make.in (config-cflags-sse2avx): Define.
18208 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
18209 Fix typo.
18210
607998af
CM
182112012-01-29 Chris Metcalf <cmetcalf@tilera.com>
18212
18213 * scripts/config.guess: Update from upstream config git repository.
18214 * scripts/config.sub: Likewise.
18215
3601428f
CM
182162012-01-28 Chris Metcalf <cmetcalf@tilera.com>
18217
3ac8b282
CM
18218 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
18219 (EM_NUM): Update.
18220 (R_TILEPRO_*, R_TILEGX_*): New macros.
18221
e034841e
CM
18222 * scripts/firstversions.awk: Fix bug in version range handling.
18223
540d7568
CM
18224 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
18225
3601428f
CM
18226 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
18227
463de862
CM
18228 * include/sys/epoll.h: New file.
18229 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
18230 libc_hidden_def.
18231
73139a76
UD
182322012-01-28 Ulrich Drepper <drepper@gmail.com>
18233
96bc5b45
UD
18234 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
18235 Avoid unnecessary __WORDSIZE == 64 test.
18236 (fmaxf): Use VEX format if possible.
18237 (fmax): Likewise.
18238 (fminf): Likewise.
18239 (fmin): Likewise.
18240
56f6f6a2
UD
18241 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
18242 * math/math_private.h: Remove libc_fegetround* and
18243 libc_fesetround*.
18244 * sysdeps/i386/configure.in: Check for -msse2avx.
18245 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
18246 also if SSE2AVX is defined.
18247 Remove libc_fegetround* and libc_fesetround*.
18248 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
18249 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
18250 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
18251 of HAS_YMM_USABLE.
18252 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18253 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18254 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18255 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18256 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18257
73139a76
UD
18258 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
18259
d73f93a4
AZ
182602012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18261
18262 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
18263 size is not set.
18264 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18265
6ee65ed6
UD
182662012-01-27 Ulrich Drepper <drepper@gmail.com>
18267
18268 [BZ #13618]
18269 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
18270 relocation.
18271 * Makeconfig (libm): Define.
18272 * elf/Makefile: Add rules to build and run tst-relsort1.
18273 * elf/tst-relsort1.c: New file.
18274 * elf/tst-relsort1mod1.c: New file.
18275 * elf/tst-relsort1mod2.c: New file.
18276
8db21882
JM
182772012-01-27 Joseph Myers <joseph@codesourcery.com>
18278
18279 * math/s_ldexp.c: Remove __STDC__ conditionals.
18280 * math/s_ldexpf.c: Likewise.
18281 * math/s_ldexpl.c: Likewise.
18282 * math/s_nextafter.c: Likewise.
18283 * math/s_nexttowardf.c: Likewise.
18284 * math/s_significand.c: Likewise.
18285 * math/s_significandf.c: Likewise.
18286 * math/s_significandl.c: Likewise.
18287 * math/w_jnl.c: Likewise.
18288 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18289 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18290 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18291 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18292 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18293 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18294 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
18295 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18296 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18297 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18298 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18299 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18300 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18301 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18302 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18303 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18304 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18305 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18306 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18307 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18308 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18309 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18310 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18311 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18312 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18313 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18314 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18315 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18316 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18317 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18318 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18319 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18320 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18321 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18322 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18323 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18324 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18325 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18326 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18327 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18328 * sysdeps/ieee754/k_standard.c: Likewise.
18329 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18330 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18331 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18332 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18333 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18334 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18335 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18336 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18337 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18338 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18339 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18340 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18341 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18342 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18343 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18344 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18345 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18346 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18347 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18348 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18349 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18350 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18351 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18352 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18353 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18354 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18355 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18356 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18357 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18358 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18359 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18360 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
18361 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18362 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18363 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18364 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18365 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
18366 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18367 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18368 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
18369 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
18370 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18371 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18372 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
18373 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18374 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18375 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18376 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18377 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18378 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18379 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
18380 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18381 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18382 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18383 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18384 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18385 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
18386 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18387 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18388 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18389 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18390 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18391 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18392 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18393 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18394 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18395 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18396 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18397 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18398 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18399 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18400 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18401 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18402 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18403 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18404 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18405 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18406 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18407 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18408 * sysdeps/ieee754/s_matherr.c: Likewise.
18409 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18410 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18411 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18412 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18413
965a54a4
JM
184142012-01-26 Joseph Myers <joseph@codesourcery.com>
18415
18416 * crypt/md5.h: Remove __STDC__ conditionals.
18417 * libio/libioP.h: Likewise.
18418 * locale/programs/config.h: Likewise.
18419 * sysdeps/generic/sysdep.h: Likewise.
18420 * sysdeps/i386/asm-syntax.h: Likewise.
18421 * sysdeps/s390/asm-syntax.h: Likewise.
18422 * sysdeps/unix/sysdep.h: Likewise.
18423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18425
7071ad79
JM
184262012-01-26 Joseph Myers <joseph@codesourcery.com>
18427
18428 * libio/libio.h: Remove __STDC__ conditionals.
18429 * malloc/obstack.h: Likewise.
18430 * math/complex.h: Likewise.
18431 * math/math.h: Likewise.
18432 * sysdeps/generic/_G_config.h: Likewise.
18433 * sysdeps/gnu/_G_config.h: Likewise.
18434 * sysdeps/mach/hurd/_G_config.h: Likewise.
18435 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18436 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18437 * sysdeps/sparc/bits/mathdef.h: Likewise.
18438
afc5ed09
UD
184392012-01-26 Ulrich Drepper <drepper@gmail.com>
18440
18441 [BZ #13583]
18442 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 18443 Clean up HAS_* macros.
afc5ed09 18444 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
18445 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
18446 possible.
18447 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
18448 HAS_AVX.
18449 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18450 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18451 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18452 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18453 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 18454
bdb6de1d
JM
184552012-01-25 Joseph Myers <joseph@codesourcery.com>
18456
18457 * elf/tst-unique3.cc (gets): Remove declaration.
18458 * elf/tst-unique3lib.cc (gets): Likewise.
18459 * elf/tst-unique3lib2.cc (gets): Likewise.
18460 * elf/tst-unique4.cc (gets): Likewise.
18461
b15549e6
UD
184622012-01-24 Ulrich Drepper <drepper@gmail.com>
18463
18464 * include/stdio.h: Add C++ protection. Add gets declarations and
18465 definitions.
18466 * debug/tst-chk1.c: Don't declare gets here.
18467 * stdio-common/tst-gets.c: Likewise.
18468
a037381f
JM
184692012-01-24 Joseph Myers <joseph@codesourcery.com>
18470
18471 * posix/glob: Remove directory.
18472
f1d4aa75
JM
184732012-01-24 Joseph Myers <joseph@codesourcery.com>
18474
18475 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
18476
81c0c964
PT
184772012-01-22 Pino Toscano <toscano.pino@tiscali.it>
18478
18479 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
18480 of the non-standard EPFNOSUPPORT.
18481
0ea698ae
ST
184822011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
18483
18484 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
18485 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
18486 ANYWHERE set to 1 only on KERN_NO_SPACE error.
18487
d220b117
UD
184882012-01-21 Ulrich Drepper <drepper@gmail.com>
18489
18490 * wcsmbs/uchar.h: Test __STDC_VERSION__.
18491
3e1aa84e
UD
184922012-01-20 Ulrich Drepper <drepper@gmail.com>
18493
18494 * nscd/aicache.c (addhstaiX): Do not cache negative results of
18495 transient errors.
18496 * nscd/grpcache.c (cache_addgr): Likewise.
18497 * nscd/hstcache.c (cache_addhst): Likewise.
18498 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18499 * nscd/pwdcache.c (cache_addpw): Likewise.
18500 * nscd/servicescache.c (cache_addserv): Likewise.
18501
400aa020
UD
185022012-01-16 Ulrich Drepper <drepper@gmail.com>
18503
d77e7869
UD
18504 * malloc/malloc.c: Various cleanups.
18505 * malloc/hooks.c: Likewise.
18506
400aa020
UD
18507 * stdlib/Makefile (tests): Add bug-fmtmsg1.
18508 * stdlib/bug-fmtmsg1.c: New file.
18509
18510 * stdlib/fmtmsg.c (init): Add missing unlock.
18511 Patch by Peng Haitao <penght@cn.fujitsu.com>.
18512
e0a309cf
MP
185132012-01-12 Marek Polacek <polacek@redhat.com>
18514
18515 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
18516 and _GNU_SOURCE.
18517
929d11c7
WS
185182012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18519
18520 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
18521 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
18522 macro to ensure uniqueness of label name.
18523 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18524 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18525
41d0e869
UD
185262012-01-11 Ulrich Drepper <drepper@gmail.com>
18527
0cc5ed3b
UD
18528 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
18529
41d0e869
UD
18530 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
18531 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18532 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18533 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
18534
a47a831a
UD
185352012-01-10 Ulrich Drepper <drepper@gmail.com>
18536
daa891c0
UD
18537 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
18538
18539 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
18540 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18541 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18542
e58ef0f2
UD
18543 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
18544
a47a831a 18545 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
18546 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18547 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 18548 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
18549
18550 * math/bits/math-finite.h: Add ldexp support.
18551
a0bfc9c7
MP
185522012-01-10 Marek Polacek <polacek@redhat.com>
18553
18554 * locale/programs/localedef.h (show_archive_content): Add noreturn
18555 attribute.
18556
d6e97a1d
UD
185572012-01-09 Ulrich Drepper <drepper@gmail.com>
18558
18559 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
18560
d5835c26
UD
185612012-01-08 Ulrich Drepper <drepper@gmail.com>
18562
e5f484c6
UD
18563 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
18564
d5835c26
UD
18565 * io/Makefile (headers): Add bits/poll2.h.
18566
d1f741e9
WS
185672011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
18568
18569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
18570 typo #include statement.
18571
ec09c1c4
UD
185722012-01-08 Ulrich Drepper <drepper@gmail.com>
18573
18574 * include/sys/cdefs.h: Define __attribute_alloc_size.
18575 * catgets/gencat.c: Add alloc_size attribute and apply consistently
18576 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
18577 * elf/pldd.c: Likewise.
18578 * iconv/iconv_charmap.c: Likewise.
18579 * iconv/iconvconfig.c: Likewise.
18580 * iconv/strtab.c: Likewise.
18581 * locale/programs/locale.c: Likewise.
18582 * locale/programs/localedef.h: Likewise.
18583 * locale/programs/simple-hash.c: Likewise.
18584 * nscd/nscd.h: Likewise.
18585 * nss/makedb.c: Likewise.
18586 * sysdeps/generic/ldconfig.h: Likewise.
18587 * locale/programs/localedef.c: Remove xmalloc prototype.
18588 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
18589
20b38e03
PP
185902012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18591
18592 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
18593 appropriate.
18594
a0da5fe1
UD
185952012-01-08 Ulrich Drepper <drepper@gmail.com>
18596
1d5a644a 18597 * math/Makefile (tests): Add tst-CMPLX.
669704fd 18598 * math/tst-CMPLX.c: New file.
1d5a644a 18599
8784a6db
UD
18600 * math/complex.h (CMPLXL): Fix typo.
18601
d9a216c0
UD
18602 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
18603 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
18604 GLIBC_2.16.
18605 * debug/tst-chk1.c: Add poll and ppoll tests.
18606 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
18607 * include/sys/poll.h: Add hidden proto for ppoll.
18608 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
18609 * sysdeps/mach/hurd/ppoll.c: Likewise.
18610 * io/ppoll.c: Likewise.
18611 * debug/poll_chk.c: New file.
18612 * debug/ppoll_chk.c: New file.
18613 * include/bits/poll2.h: New file.
18614 * io/bits/poll2.h: New file.
18615
ac097f5c
UD
18616 [BZ #1350]
18617 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
18618
2119dcfa
UD
18619 * configure.in: static is always set to yes. Remove.
18620 * config.make.in: Don't set build-static.
18621 * Makeconfig: Remove use of build-static.
18622 * dlfcn/Makefile: Likewise.
18623 * elf/Makefile: Likewise.
18624 * math/Makefile: Likewise.
18625 * misc/Makefile: Likewise.
18626 * nptl/Makefile: Likewise.
18627 * sysdeps/mach/hurd/Makefile: Likewise.
18628
121766a9
UD
18629 * configure.in: PWD_P is not used anymore.
18630 * config.make.in: Remove PWD_P entry.
18631
51a1d39c 18632 * configure.in: Remove last remnants of RANLIB.
8720d066 18633 No need to check for signed size_t anymore.
215f4bdc
UD
18634 Don't set libc_commonpagesize and libc_relro_required here for Alpha
18635 and IA-64.
3857022a 18636 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
18637 * aclocal.m4: Likewise.
18638
d3ed7225
UD
18639 * wcsmbs/mbrtoc16.c: Implement using towc function.
18640 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
18641 * wcsmbs/wcsmbsload.c: Likewise.
18642 * iconv/gconv_simple.c: Likewise.
18643 * iconv/gconv_int.h: Likewise.
18644 * iconv/gconv_builtin.h: Likewise.
18645 * iconv/iconv_prog.c: Remove CHAR16 handling.
18646
18647 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
18648
18649 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
18650
a0da5fe1
UD
18651 * configure.in: Remove --with-elf and --enable-bounded options.
18652 Dont set base_machine for ia64. More non-ELF conditions removed.
18653 Remove testing and setting of leading underscore information.
18654 * config.make.in (build-bounded): Set to no.
18655 * config.h.in: Remove NO_UNDERSCORES entry.
18656 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
18657 them.
18658 * csu/start.c: Remove !NO_UNDERSCORE code.
18659 * locale/localeinfo.h: Likewise.
18660 * sysdeps/generic/machine-gmon.h: Likewise.
18661 * sysdeps/generic/sysdep.h: Likewise.
18662 * sysdeps/i386/sysdep.h: Likewise.
18663 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18664 * sysdeps/mach/sysdep.h: Likewise.
18665 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18666 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18667 * sysdeps/sh/sysdep.h: Likewise.
18668 * sysdeps/sparc/sparc32/alloca.S: Likewise.
18669 * sysdeps/unix/i386/sysdep.S: Likewise.
18670 * sysdeps/unix/sparc/start.c: Likewise.
18671 * sysdeps/unix/sparc/sysdep.S: Likewise.
18672 * sysdeps/unix/sparc/sysdep.h: Likewise.
18673 * sysdeps/unix/start.c: Likewise.
18674 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18675 * sysdeps/x86_64/sysdep.h: Likewise.
18676
df78418a
UD
186772012-01-07 Ulrich Drepper <drepper@gmail.com>
18678
a784e502
UD
18679 [BZ #13553]
18680 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
18681 for non-gcc.
18682 * argp/argp-fmtstream.h: Use const instead __const.
18683 * argp/argp.h: Likewise.
18684 * assert/assert.h: Likewise.
18685 * bits/fenv.h: Likewise.
18686 * bits/sched.h: Likewise.
18687 * bits/sigset.h: Likewise.
18688 * bits/sigthread.h: Likewise.
18689 * catgets/nl_types.h: Likewise.
18690 * conform/data/pthread.h-data: Likewise.
18691 * crypt/crypt-private.h: Likewise.
18692 * crypt/crypt.h: Likewise.
18693 * crypt/crypt_util.c: Likewise.
18694 * ctype/ctype.h: Likewise.
18695 * debug/execinfo.h: Likewise.
18696 * debug/mbsnrtowcs_chk.c: Likewise.
18697 * debug/mbsrtowcs_chk.c: Likewise.
18698 * debug/wcsnrtombs_chk.c: Likewise.
18699 * debug/wcsrtombs_chk.c: Likewise.
18700 * debug/wcstombs_chk.c: Likewise.
18701 * dirent/dirent.h: Likewise.
18702 * dlfcn/dlfcn.h: Likewise.
18703 * elf/neededtest4.c: Likewise.
18704 * grp/grp.h: Likewise.
18705 * gshadow/gshadow.h: Likewise.
18706 * iconv/gconv.h: Likewise.
18707 * iconv/gconv_int.h: Likewise.
18708 * iconv/gconv_simple.c: Likewise.
18709 * iconv/iconv.h: Likewise.
18710 * iconv/loop.c: Likewise.
18711 * iconv/skeleton.c: Likewise.
18712 * include/aio.h: Likewise.
18713 * include/aliases.h: Likewise.
18714 * include/argz.h: Likewise.
18715 * include/arpa/inet.h: Likewise.
18716 * include/assert.h: Likewise.
18717 * include/dirent.h: Likewise.
18718 * include/dlfcn.h: Likewise.
18719 * include/execinfo.h: Likewise.
18720 * include/fcntl.h: Likewise.
18721 * include/fenv.h: Likewise.
18722 * include/glob.h: Likewise.
18723 * include/grp.h: Likewise.
18724 * include/libintl.h: Likewise.
18725 * include/mntent.h: Likewise.
18726 * include/netdb.h: Likewise.
18727 * include/pwd.h: Likewise.
18728 * include/rpc/netdb.h: Likewise.
18729 * include/sched.h: Likewise.
18730 * include/search.h: Likewise.
18731 * include/shadow.h: Likewise.
18732 * include/signal.h: Likewise.
18733 * include/stdio.h: Likewise.
18734 * include/stdlib.h: Likewise.
18735 * include/string.h: Likewise.
18736 * include/sys/socket.h: Likewise.
18737 * include/sys/stat.h: Likewise.
18738 * include/sys/statfs.h: Likewise.
18739 * include/sys/statvfs.h: Likewise.
18740 * include/sys/syslog.h: Likewise.
18741 * include/sys/time.h: Likewise.
18742 * include/sys/uio.h: Likewise.
18743 * include/time.h: Likewise.
18744 * include/unistd.h: Likewise.
18745 * include/utmp.h: Likewise.
18746 * include/wchar.h: Likewise.
18747 * include/wctype.h: Likewise.
18748 * inet/aliases.h: Likewise.
18749 * inet/arpa/inet.h: Likewise.
18750 * inet/netinet/ether.h: Likewise.
18751 * inet/netinet/in.h: Likewise.
18752 * intl/libintl.h: Likewise.
18753 * io/bits/fcntl2.h: Likewise.
18754 * io/fcntl.h: Likewise.
18755 * io/ftw.h: Likewise.
18756 * io/sys/poll.h: Likewise.
18757 * io/sys/stat.h: Likewise.
18758 * io/sys/statfs.h: Likewise.
18759 * io/sys/statvfs.h: Likewise.
18760 * io/utime.h: Likewise.
18761 * libio/bits/stdio.h: Likewise.
18762 * libio/bits/stdio2.h: Likewise.
18763 * libio/libio.h: Likewise.
18764 * libio/libioP.h: Likewise.
18765 * libio/stdio.h: Likewise.
18766 * locale/lc-ctype.c: Likewise.
18767 * locale/locale.h: Likewise.
18768 * login/utmp.h: Likewise.
18769 * malloc/arena.c: Likewise.
18770 * malloc/malloc.c: Likewise.
18771 * malloc/malloc.h: Likewise.
18772 * malloc/mcheck.c: Likewise.
18773 * malloc/mtrace.c: Likewise.
18774 * math/bits/mathcalls.h: Likewise.
18775 * math/fenv.h: Likewise.
18776 * math/math_private.h: Likewise.
18777 * misc/bits/error.h: Likewise.
18778 * misc/bits/syslog.h: Likewise.
18779 * misc/err.h: Likewise.
18780 * misc/error.h: Likewise.
18781 * misc/fstab.h: Likewise.
18782 * misc/mntent.h: Likewise.
18783 * misc/regexp.h: Likewise.
18784 * misc/search.h: Likewise.
18785 * misc/sgtty.h: Likewise.
18786 * misc/sys/mman.h: Likewise.
18787 * misc/sys/syslog.h: Likewise.
18788 * misc/sys/uio.h: Likewise.
18789 * misc/sys/xattr.h: Likewise.
18790 * misc/ttyent.h: Likewise.
18791 * nis/rpcsvc/ypclnt.h: Likewise.
18792 * nss/nss.h: Likewise.
18793 * posix/bits/unistd.h: Likewise.
18794 * posix/fnmatch.h: Likewise.
18795 * posix/glob.h: Likewise.
18796 * posix/sched.h: Likewise.
18797 * posix/spawn.h: Likewise.
18798 * posix/sys/wait.h: Likewise.
18799 * posix/unistd.h: Likewise.
18800 * posix/wordexp.h: Likewise.
18801 * pwd/pwd.h: Likewise.
18802 * resolv/netdb.h: Likewise.
18803 * resource/sys/resource.h: Likewise.
18804 * rt/aio.h: Likewise.
18805 * rt/bits/mqueue2.h: Likewise.
18806 * rt/mqueue.h: Likewise.
18807 * shadow/shadow.h: Likewise.
18808 * signal/signal.h: Likewise.
18809 * socket/send.c: Likewise.
18810 * socket/sendto.c: Likewise.
18811 * socket/sys/socket.h: Likewise.
18812 * stdio-common/printf.h: Likewise.
18813 * stdlib/bits/stdlib.h: Likewise.
18814 * stdlib/fmtmsg.h: Likewise.
18815 * stdlib/monetary.h: Likewise.
18816 * stdlib/stdlib.h: Likewise.
18817 * stdlib/ucontext.h: Likewise.
18818 * streams/stropts.h: Likewise.
18819 * string/argz.h: Likewise.
18820 * string/bits/string2.h: Likewise.
18821 * string/string.h: Likewise.
18822 * string/strings.h: Likewise.
18823 * sunrpc/rpc/auth.h: Likewise.
18824 * sunrpc/rpc/auth_des.h: Likewise.
18825 * sunrpc/rpc/clnt.h: Likewise.
18826 * sunrpc/rpc/netdb.h: Likewise.
18827 * sunrpc/rpc/pmap_clnt.h: Likewise.
18828 * sunrpc/rpc/xdr.h: Likewise.
18829 * sysdeps/generic/inttypes.h: Likewise.
18830 * sysdeps/generic/net/if.h: Likewise.
18831 * sysdeps/generic/sys/swap.h: Likewise.
18832 * sysdeps/gnu/net/if.h: Likewise.
18833 * sysdeps/gnu/utmpx.h: Likewise.
18834 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
18835 * sysdeps/i386/i486/bits/string.h: Likewise.
18836 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
18837 * sysdeps/s390/bits/string.h: Likewise.
18838 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
18839 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
18840 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
18841 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
18842 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18843 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
18844 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
18845 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
18846 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
18847 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
18848 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
18849 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18850 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
18851 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18852 * sysdeps/unix/sysv/linux/readv.c: Likewise.
18853 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
18854 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18855 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18856 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18857 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18858 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18859 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
18860 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
18861 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
18862 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
18863 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
18864 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
18865 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18866 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
18867 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
18868 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
18869 * sysvipc/sys/ipc.h: Likewise.
18870 * sysvipc/sys/msg.h: Likewise.
18871 * sysvipc/sys/sem.h: Likewise.
18872 * sysvipc/sys/shm.h: Likewise.
18873 * termios/termios.h: Likewise.
18874 * time/sys/time.h: Likewise.
18875 * time/time.h: Likewise.
18876 * wcsmbs/bits/wchar2.h: Likewise.
18877 * wcsmbs/uchar.h: Likewise.
18878 * wcsmbs/wchar.h: Likewise.
18879 * wctype/wctype.h: Likewise.
18880
0269750c
UD
18881 [BZ #13551]
18882 * Makeconfig: Remove all but ELF support including AIX support.
18883 * Makerules: Likewise.
18884 * config.h.in: Likewise.
18885 * config.make.in: Likewise.
18886 * configure: Likewise.
18887 * configure.in: Likewise.
18888 * csu/Makefile: Likewise.
18889 * csu/version.c: Likewise.
18890 * debug/Makefile: Likewise.
18891 * dlfcn/Makefile: Likewise.
18892 * elf/Makefile: Likewise.
18893 * extra-lib.mk: Likewise.
18894 * iconv/Makefile: Likewise.
18895 * include/libc-symbols.h: Likewise.
18896 * include/shlib-compat.h: Likewise.
18897 * resolv/Makefile: Likewise.
18898 * resolv/res_libc.c: Likewise.
18899 * rt/Makefile: Likewise.
18900 * sysdeps/i386/asm-syntax.h: Likewise.
18901 * sysdeps/i386/sysdep.h: Likewise.
18902 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18903 * sysdeps/mach/sysdep.h: Likewise.
18904 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
18905 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
18906 * sysdeps/s390/asm-syntax.h: Likewise.
18907 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18908 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18909 * sysdeps/sh/sysdep.h: Likewise.
18910 * sysdeps/unix/sparc/sysdep.h: Likewise.
18911 * sysdeps/wordsize-32/divdi3.c: Likewise.
18912 * sysdeps/x86_64/sysdep.h: Likewise.
18913
00bbd29b
UD
18914 * argp/Versions: Remove _argp_unlock_xxx.
18915
18916 [BZ #13559]
18917 * abilist/ld.abilist: Update. Adjust for removal of tls option.
18918 * abilist/libBrokenLocale.abilist: Likewise.
18919 * abilist/libanl.abilist: Likewise.
18920 * abilist/libc.abilist: Likewise.
18921 * abilist/libcrypt.abilist: Likewise.
18922 * abilist/libdl.abilist: Likewise.
18923 * abilist/libm.abilist: Likewise.
18924 * abilist/libnsl.abilist: Likewise.
18925 * abilist/libpthread.abilist: Likewise.
18926 * abilist/libresolv.abilist: Likewise.
18927 * abilist/librt.abilist: Likewise.
18928 * abilist/libthread_db.abilist: Likewise.
18929 * abilist/libutil.abilist: Likewise.
18930 * abilist/libnss_db.abilist: New file.
18931
18932 * scripts/abilist.awk: Add support for indirect functions.
18933
a2693a0e
UD
18934 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
18935
3f05895f
UD
18936 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
18937
ecb6fb48
UD
18938 * shlib-versions: Remove entries for ports architectures.
18939
664f8cb9
UD
18940 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
18941 files in ports.
18942 * elf/stackguard-macros.h: Remove support for IA-64.
18943 * elf/tst-auditmod1.c: Likewise.
18944 * sysdeps/generic/ldsodefs.h: Likewise.
18945
7ae81d88
UD
18946 * sysdeps/unix/sysv/linux/configure.in: Ports should define
18947 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
18948 configure files.
18949
bdeba135
UD
18950 [BZ #13552]
18951 * configure.in: Remove --enable-omitfp support.
18952 * FAQ.in: Adjust.
18953 * config.make.in: Likewise.
18954 * Makeconfig: Likewise.
18955 * manual/install.texi: Likewise.
18956
d75a0a62
UD
18957 In case anyone cares, the IA-64 architecture could move to ports.
18958 * sysdeps/ia64/*: Removed.
18959 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 18960 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 18961
dcc9756b
UD
18962 [BZ #13555]
18963 * configure.in: Remove entries for unsupported architectures.
18964
d3761ebc 18965 [BZ #13533]
9954432e
UD
18966 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
18967 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
18968 routines.
18969 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
18970 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
18971 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
18972 fall back to using wcrtomb.
18973 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
18974 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
18975 renaming.
18976 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
18977 * wcsmbs/tst-c16c32-1.c: New file.
18978
18979 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
18980 local variable.
18981
c3a87236
UD
18982 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
18983
28926a1b
UD
18984 * elf/tst-unique3.cc: Add explicit declaration of gets.
18985 * elf/tst-unique3lib.cc: Likewise.
18986 * elf/tst-unique3lib2.cc: Likewise.
18987 * elf/tst-unique4.cc: Likewise.
18988
df78418a
UD
18989 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
18990
8ecd6b2a
JM
189912012-01-06 Joseph Myers <joseph@codesourcery.com>
18992
18993 [BZ #13566]
18994 * assert/assert.h (static_assert): Don't define for C++.
18995 * libio/stdio.h (gets): Do declare for C++ <= C++11.
18996 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
18997
9f115170
UD
189982012-01-03 Ulrich Drepper <drepper@gmail.com>
18999
5e0d0300
UD
19000 * iconv/loop.c (single loop): Fix assertion in storing of
19001 remaining bytes.
19002
9f115170
UD
19003 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
19004
81fb02b0
UD
190052012-01-01 Ulrich Drepper <drepper@gmail.com>
19006
19007 * posix/getconf.c: Update copyright year.
19008 * nss/getent.c: Likewise.
a316c1f6 19009 * nss/makedb.c: Likewise.
81fb02b0
UD
19010 * iconv/iconvconfig.c: Likewise.
19011 * iconv/iconv_prog.c: Likewise.
19012 * elf/ldconfig.c: Likewise.
a316c1f6
UD
19013 * elf/pldd.c: Likewise.
19014 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
19015 * catgets/gencat.c: Likewise.
19016 * csu/version.c: Likewise.
19017 * elf/ldd.bash.in: Likewise.
19018 * elf/sprof.c (print_version): Likewise.
19019 * locale/programs/locale.c: Likewise.
19020 * locale/programs/localedef.c: Likewise.
a316c1f6 19021 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
19022 * nscd/nscd.c (print_version): Likewise.
19023 * debug/xtrace.sh: Likewise.
19024 * malloc/memusage.sh: Likewise.
19025 * malloc/mtrace.pl: Likewise.
19026 * debug/catchsegv.sh: Likewise.
19027
2ba92745
JJ
190282011-12-30 Jakub Jelinek <jakub@redhat.com>
19029
19030 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
19031 pure attribute.
19032
dadebdae
UD
190332011-12-24 Ulrich Drepper <drepper@gmail.com>
19034
d3761ebc 19035 [BZ #13533]
db6af3eb
UD
19036 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
19037 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
19038 transformations.
19039 * iconv/gconv_int.h: Likewise.
19040 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
19041 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
19042 from libc for GLIBC_2.16.
19043 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
19044 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
19045 * wcsmbs/uchar.h: Really define mbstate_t.
19046 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
19047 * wcsmbs/c16rtomb.c: New file.
19048 * wcsmbs/mbrtoc16.c: New file.
19049 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
19050 for C/POSIX locale.
19051 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
19052 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
19053
dadebdae
UD
19054 * wcsmbs/wchar.h: Add missing __restrict.
19055
67371b56
UD
190562011-12-23 Ulrich Drepper <drepper@gmail.com>
19057
74033a25
UD
19058 [BZ #13532]
19059 * time/Makefile (routines): Add timespec_get.
19060 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
19061 * time/time.h: Define TIME_UTC and declare timespec_get. Define
19062 timespec for ISO C11.
19063 * time/timespec_get.c: New file.
19064 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
19065 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
19066
380d7e87
UD
19067 [BZ #13531]
19068 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
19069 * stdlib/stdlib.h: Declare aligned_alloc.
19070 * Versions.def: Add GLIBC_2.16 for libc.
19071 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
19072
4e9e7a35
UD
19073 [BZ 13527]
19074 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
19075 ISO C11.
19076
380d7e87 19077 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
19078 code.
19079
03a71829
UD
19080 [BZ #13528]
19081 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
19082
839e283e
UD
19083 [BZ #13529]
19084 * assert/assert.h (static_assert): Define.
19085
ce5294e2 19086 * version.h: Update for 2.16 development version.
90fa7312 19087
8d44e150 19088 [BZ #13526]
d7809905
UD
19089 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
19090 _ISOC11_SOURCE.
19091
c0da14cd
UD
19092 * version.h (RELEASE): Bump for 2.15 release.
19093 * include/features.h (__GLIBC_MINOR__): Bump to 15.
19094
530a3249
MP
19095 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
19096 Patch by Marek Polacek <mpolacek@redhat.com>.
19097
67371b56
UD
19098 * bits/byteswap.h: Protect long long constants with __extension__.
19099 * sysdeps/i386/bits/byteswap.h: Likewise.
19100 * sysdeps/ia64/bits/byteswap.h: Likewise.
19101 * sysdeps/s390/bits/byteswap.h: Likewise.
19102 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19103
15db4de1
LD
191042011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19105
19106 [BZ #13540]
bbe315ea
LD
19107 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
19108 destination buffer.
15db4de1
LD
19109 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19110
2b2596b1
MP
191112011-12-23 Marek Polacek <polacek@redhat.com>
19112
19113 * elf/dl-addr.c (determine_info): Add inline keyword.
19114 * elf/tst-auditmod4b.c (check_avx): Likewise.
19115 * elf/tst-auditmod6b.c (check_avx): Likewise.
19116 * elf/tst-auditmod6c.c (check_avx): Likewise.
19117 * elf/tst-auditmod7b.c (check_avx): Likewise.
19118
70c6c246
UD
191192011-12-23 Ulrich Drepper <drepper@gmail.com>
19120
19121 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
19122 !__SSE_MATH__.
19123
c044cf14
LD
191242011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19125
15db4de1 19126 [BZ #13540]
c044cf14
LD
19127 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
19128 processing for last bytes.
19129
6b13d9d9
BH
191302011-08-06 Bruno Haible <bruno@clisp.org>
19131
d455f537
BH
19132 [BZ #13061]
19133 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
19134 U+0385, not to U+1FEE.
19135
6b13d9d9
BH
19136 [BZ #13062]
19137 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
19138 entry for U+00A5 U+0301.
19139
db910efd
UD
191402011-12-22 Ulrich Drepper <drepper@gmail.com>
19141
27deeafc
UD
19142 [BZ #13166]
19143 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
19144 buffer for the output is too small.
19145
aed9d171
UD
19146 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
19147 optimization.
19148
db910efd
UD
19149 [BZ #13185]
19150 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
19151 SSE flags if possible.
19152
2bd779ae
LD
191532011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19154
e7f9dac3 19155 [BZ #13540]
2bd779ae
LD
19156 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
19157 processing for last bytes.
19158
154bfc16
JM
191592011-12-22 Joseph Myers <joseph@codesourcery.com>
19160
19161 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
19162 (syscall-list-default-options, syscall-list-default-condition)
19163 (syscall-list-includes): Define.
19164 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
19165 list of ABIs and options and #if conditions for each ABI. Do not
19166 handle common syscalls between ABIs specially.
19167 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
19168 Remove.
19169 (syscall-list-variants, syscall-list-32bit-options)
19170 (syscall-list-32bit-condition, syscall-list-64bit-options)
19171 (syscall-list-64bit-condition): Define.
19172 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
19173 (syscall-list-variants, syscall-list-32bit-options)
19174 (syscall-list-32bit-condition, syscall-list-64bit-options)
19175 (syscall-list-64bit-condition): Define.
19176 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
19177 Remove.
19178 (syscall-list-variants, syscall-list-32bit-options)
19179 (syscall-list-32bit-condition, syscall-list-64bit-options)
19180 (syscall-list-64bit-condition): Define.
19181 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
19182 Remove.
19183 (syscall-list-variants, syscall-list-32bit-options)
19184 (syscall-list-32bit-condition, syscall-list-64bit-options)
19185 (syscall-list-64bit-condition): Define.
19186
21eaf3a5
UD
191872011-12-22 Ulrich Drepper <drepper@gmail.com>
19188
16c6f992
UD
19189 * locale/iso-639.def: Add brx entry.
19190
41043168
UD
19191 [BZ #13328]
19192 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
19193 Proposed by Mariusz_Cukr <marcukr@op.pl>.
19194
21eaf3a5
UD
19195 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
19196 __feraiseexcept_renamed.
19197
e3a851a2
UD
191982011-12-21 Ulrich Drepper <drepper@gmail.com>
19199
4920765e
UD
19200 [BZ #13538]
19201 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
19202 EPOLLET with unsigned values.
19203 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19204 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19205
e3a851a2
UD
19206 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
19207 to large cancellation.
19208 * math/s_cacoshf.c: Likewise.
19209 * math/s_cacoshl.c: Likewise.
19210
b27e24b8
RK
192112011-11-18 Richard B. Kreckel <kreckel@ginac.de>
19212
19213 [BZ #13305]
aebefeee 19214 [BZ #12786]
b27e24b8
RK
19215 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
19216 * math/s_cacoshf.c: Likewise.
19217 * math/s_cacoshl.c: Likewise.
19218
ee190f67
UD
192192011-12-21 Ulrich Drepper <drepper@gmail.com>
19220
19221 [BZ #13439]
19222 * iconv/gconv.h: Define __GCONV_SWAP.
19223 * iconvdata/unicode.c: The swap bit must be stored in __flags.
19224 * iconvdata/utf-16.c: Likewise.
19225 * iconvdata/utf-32.c: Likewise.
19226
707f25df
AS
192272011-12-21 Andreas Schwab <schwab@linux-m68k.org>
19228
19229 [BZ #13524]
19230 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
19231 numerator after shifting it by one limb.
19232
d2daaa1e
RÁE
192332011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
19234
19235 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
19236 under [__USE_EXTERN_INLINES].
19237
a4647e72
UD
192382011-12-17 Ulrich Drepper <drepper@gmail.com>
19239
19240 [BZ #13446]
19241 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
19242
f0b264f1
AZ
192432011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19244
19245 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
19246 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
19247 optimized code.
19248 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
19249 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
19250 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
19251 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
19252 for strncasecmp/strncasecmp_l compilation.
19253 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
19254 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
19255
8ef4f244
MP
192562011-12-08 Marek Polacek <mpolacek@redhat.com>
19257
19258 [BZ #13484]
19259 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
19260 of __asm__.
19261
97ac2654
UD
192622011-12-17 Ulrich Drepper <drepper@gmail.com>
19263
19264 [BZ #13506]
19265 * time/tzfile.c (__tzfile_read): Check values from file header.
19266
91d2a845
WS
192672011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19268
19269 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
19270 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
19271 * powerpc/powerpc32/dl-start.S: Likewise.
19272 * powerpc/powerpc32/elf/start.S: Likewise.
19273 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19274 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
19275 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
19276 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
19277 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19278 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
19279 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
19280 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19281 * powerpc/powerpc32/fpu/s_round.S: Likewise.
19282 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19283 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19284 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19285 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19286 * powerpc/powerpc32/memset.S: Likewise.
19287 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19288 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19289 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19290 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19291 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19292 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19293 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19294 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19295 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
19296 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
19297 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
19298 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19299 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19300
a1267ba1
AZ
193012011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19302
19303 * math/libm-test.inc: Added more nearbyint tests.
19304 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
19305 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
19306 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
19307 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
19308
ad8ac1bd
RL
193092011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
19310
19311 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
19312 FD_CLOEXEC.
19313
1d3e4b61
UD
193142011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19315
19316 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
19317 Add wcscpy-ssse3 wcscpy-c.
19318 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
19319 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
19320 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
19321 * sysdeps/x86_64/wcschr.S: New file.
19322 * sysdeps/x86_64/wcsrchr.S: New file.
19323 * string/test-strcmp.c: Remove checking of wcscmp function for
19324 wrong alignments.
19325 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
19326 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
19327 wcsrchr-sse2 wcsrchr-c.
19328 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
19329 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
19330 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
19331 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
19332 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
19333 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
19334 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
19335 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
19336 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
19337 * wcsmbc/wcschr.c (WCSCHR): New macro.
19338
5b330a2d
UD
193392011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19340
19341 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
19342 * wcsmbs/test-wcsrchr.c: New file.
19343 * string/test-strrchr.c: Add wcsrchr support.
19344 (WIDE): New macro.
19345 * wcsmbs/test-wcscpy.c: New file.
19346 * string/test-strcpy.c: Add wcscpy support.
19347 (WIDE): New macro.
26428b7c 19348
f039c043
UD
193492011-12-10 Ulrich Drepper <drepper@gmail.com>
19350
19351 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
19352 the inner loop.
19353
850fb039
AS
193542011-12-06 Andreas Schwab <schwab@linux-m68k.org>
19355
19356 [BZ #13472]
19357 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
19358
4efbd5cb
UD
193592011-12-04 Ulrich Drepper <drepper@gmail.com>
19360
52ff5dd0 19361 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 19362 Minor optimizations.
52ff5dd0 19363
4efbd5cb
UD
19364 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
19365 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
19366 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19367
8a426e12
UD
193682011-12-03 Ulrich Drepper <drepper@gmail.com>
19369
aff2453d
UD
19370 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
19371 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
19372 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
19373 for gcc to avoid warnings.
19374 * inet/Makefile (tests): Add tst-checks.
19375 * inet/tst-checks.c: New file.
19376
19377 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
19378 warning.
19379
19380 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
19381 __wmemcmp_sse2.
19382
19383 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
19384 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
19385
8a426e12
UD
19386 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
19387
9bea3473
UD
193882011-12-02 Ulrich Drepper <drepper@gmail.com>
19389
3a965496
UD
19390 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
19391 problem.
19392
9bea3473
UD
19393 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
19394
f101631b
UD
193952011-11-29 Joseph Myers <joseph@codesourcery.com>
19396
19397 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
19398 conditional on GCC version.
19399 (__arch_compare_and_exchange_val_8_acq)
19400 (__arch_compare_and_exchange_val_16_acq)
19401 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
19402 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
19403 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
19404
a98275aa
UD
194052011-12-02 Joseph Myers <joseph@codesourcery.com>
19406
19407 * sysdeps/sh/backtrace.c: New file.
19408
d4cc29a2
AS
194092011-12-02 Andreas Schwab <schwab@redhat.com>
19410
19411 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
19412 parenthesis.
19413
6257af2d
AS
194142011-12-01 Andreas Schwab <schwab@redhat.com>
19415
19416 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
19417 falling back to utime.
19418
b5f44c1a
AS
194192011-11-30 Andreas Schwab <schwab@redhat.com>
19420
19421 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
19422 expectations for float.
19423
f3a6cc0a
AS
194242011-11-29 Andreas Schwab <schwab@redhat.com>
19425
19426 * locale/weight.h (findidx): Add parameter len.
19427 * locale/weightwc.h (findidx): Likewise.
19428 * posix/fnmatch_loop.c (FCT): Adjust caller.
19429 * posix/regcomp.c (build_equiv_class): Likewise.
19430 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
19431 * posix/regexec.c (check_node_accept_bytes): Likewise.
19432 * string/strcoll_l.c (STRCOLL): Likewise.
19433 * string/strxfrm_l.c (STRXFRM): Likewise.
19434
9d65ea3a
UD
194352011-11-17 Ulrich Drepper <drepper@gmail.com>
19436
19437 * Makefile.in: Remove CVSOPT handling.
19438 * configure.in: Remove use of AC_REVISION.
19439 * iconvdata/Makefile (distribute): No need to filter out CVS.
19440 * scripts/list-sources.sh: Remove CVS, subversion and monotone
19441 handling.
19442
5583a086
AS
194432011-11-16 Andreas Schwab <schwab@redhat.com>
19444
19445 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
19446 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
19447 [USE_AS_STRNCASECMP_L]: Likewise.
19448 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
19449 NO_TLS_DIRECT_SEG_REFS.
19450 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
19451 Fix argument offsets for non-PIC.
19452 [USE_AS_STRNCASECMP_L]: Likewise.
19453 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
19454 NO_TLS_DIRECT_SEG_REFS.
19455
d62a8200
UD
194562011-11-15 Ulrich Drepper <drepper@gmail.com>
19457
9d65ea3a 19458 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
19459 O_CLOEXEC.
19460 * locale/loadlocale.c (_nl_load_locale): Likewise.
19461
09f93bd3
AS
194622011-11-15 Andreas Schwab <schwab@redhat.com>
19463
446514f9
AS
19464 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
19465 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
19466 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
19467 (SYSCALL_GETTIME): Set errno on error.
19468
09f93bd3
AS
19469 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
19470 count references to noai6ai_cached.
19471
312be3f9
UD
194722011-11-15 Ulrich Drepper <drepper@gmail.com>
19473
19474 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
19475
19476 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
19477 FD_CLOEXEC for /proc/self/maps.
19478
19479 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
19480 FD_CLOEXEC for /proc/meminfo.
19481
19482 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
19483 gai.conf.
19484
19485 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
19486 FD_CLOEXEC for given file.
19487
19488 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
19489
19490 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
19491 FD_CLOEXEC for /etc/hosts.
19492 (_gethtent): Likewise.
19493
19494 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
19495
19496 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
19497 cancellation and set FD_CLOEXEC for /etc/netgroup.
19498
19499 * nss/nss_files/files-key.c (search): Don't allow cancellation when
19500 reading /etc/publickey.
19501
19502 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
19503 allow cancellation when reading /etc/group.
19504
19505 * nss/nss_files/files-alias.c (internal_setent): Don't allow
19506 cancellation.
19507 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
19508
19509 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
19510 when using data file.
19511
19512 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
19513
19514 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
19515 (write_nis_obj): Use "c" and "e" in fopen.
19516
19517 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
19518
19519 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
19520
19521 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
19522
19523 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
19524
19525 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
19526 locale.alias.
19527
19528 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
19529
19530 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
19531
19532 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
19533
19534 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
19535 file parsing and set FD_CLOEXEC.
19536
82af0fa8
UD
195372011-11-14 Ulrich Drepper <drepper@gmail.com>
19538
19539 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
19540
a5fb313c
AS
195412011-11-14 Andreas Schwab <schwab@redhat.com>
19542
19543 * malloc/arena.c (arena_get2): Don't call reused_arena when
19544 _int_new_arena failed.
19545
6abf3465
UD
195462011-11-14 Ulrich Drepper <drepper@gmail.com>
19547
19548 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
19549 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
19550 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
19551 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19552 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19553 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
19554 to compile strcasecmp and strncasecmp.
19555 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
19556 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
19557
19558 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
19559
76e3966e
UD
195602011-11-13 Ulrich Drepper <drepper@gmail.com>
19561
19562 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
19563 locale-defines.sym to gen-as-const-headers.
19564 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
19565 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
19566 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
19567 to compile strcasecmp and strncasecmp.
19568 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
19569 strcasecmp_l and strncasecmp_l.
19570 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
19571 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
19572 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
19573 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
19574 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
19575 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
19576 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
19577 * sysdeps/i386/i686/multiarch/strncase.S: New file.
19578 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
19579 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
19580 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
19581
ab26144e
UD
195822011-11-12 Ulrich Drepper <drepper@gmail.com>
19583
7edb22ef
UD
19584 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
19585 result of SYSDEP_GETTIME_CPU to retval.
19586 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
19587 parameter list to macro. Remove trailing semicolon. Adjust users.
19588
9694fc44
UD
19589 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
19590 variable.
19591
8ad89ef8
UD
19592 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
19593 mantissa words.
19594 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19595
0c822ef9
UD
19596 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
19597 from unused variable.
19598
874e0564
UD
19599 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
19600 DWARF definitions.
19601 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
19602 for assembling.
19603
3a2edc79
UD
19604 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
19605 over namespaces.
19606
f3c2577f
UD
19607 * sunrpc/rpc_prot.c (rejected): Fix case value.
19608
294ce126
UD
19609 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
19610 unsigned long long int to avoid warnings in shift.
19611
5e2b63c6
UD
19612 * posix/regex_internal.c (re_string_reconstruct): Actually use result
19613 of use of trans.
19614 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
19615 variable tmp.
19616
e7f4b08e
UD
19617 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
19618 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
19619 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
19620
ab26144e
UD
19621 * nis/nis_table.c (nis_list): Use variable of correct type for
19622 result of __follow_path call.
19623
8a6d5255
AZ
196242011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19625
19626 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
19627 of math functions ceil, trunc, floor, round, and sqrt, when
19628 avaliable on the platform.
19629 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
19630 name clash.
19631 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19632 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19633 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19634
aaddc98c
MP
196352011-10-30 Marek Polacek <mpolacek@redhat.com>
19636
19637 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
19638 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19639
95b7042b
RM
196402011-11-11 Roland McGrath <roland@hack.frob.com>
19641
19642 * include/unistd.h: Fix __readlink return type.
19643 Reported by Chris Metcalf <cmetcalf@tilera.com>.
19644
57769839
UD
196452011-11-11 Ulrich Drepper <drepper@gmail.com>
19646
19647 * stdlib/ucontext.h: Undo last change for makecontext.
19648
edc5984d
AS
196492011-11-11 Andreas Schwab <schwab@redhat.com>
19650
98591e58
AS
19651 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
19652
edc5984d
AS
19653 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
19654 * setjmp/setjmp.h: Mark functions as non-leaf.
19655 * setjmp/bits/setjmp2.h: Likewise.
19656 * stdlib/ucontext.h: Likewise.
19657
77cdc054
AS
196582011-11-10 Andreas Schwab <schwab@redhat.com>
19659
19660 * malloc/arena.c (_int_new_arena): Don't increment narenas.
19661 (reused_arena): Don't check arena limit.
19662 (arena_get2): Atomically check arena limit.
19663
fe72eebd
UD
196642011-11-08 Ulrich Drepper <drepper@gmail.com>
19665
5f078c32
UD
19666 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
19667 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
19668
fe72eebd
UD
19669 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
19670 instructions.
19671
ae1bc2fa
AS
196722011-11-07 Andreas Schwab <schwab@redhat.com>
19673
7583a88d
AS
19674 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
19675 handler when locking.
19676
ae1bc2fa
AS
19677 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19678 Fix size of allocated buffer.
19679
10fb0bfa
AS
196802011-11-04 Andreas Schwab <schwab@redhat.com>
19681
998832a4
AS
19682 [BZ #10103]
19683 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
19684 declarations for long double functions.
19685 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
19686
10fb0bfa
AS
19687 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
19688
3d7ba52b
AS
196892011-11-03 Andreas Schwab <schwab@redhat.com>
19690
a9ae54a1
AS
19691 * nscd/nscd.c (main): Don't start AVC thread until credentials are
19692 installed.
19693
3d7ba52b
AS
19694 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
19695 is disabled.
19696
bc8db248
ST
196972011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19698
19699 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
19700
45b96dd6
AS
197012011-11-01 Andreas Schwab <schwab@linux-m68k.org>
19702
647776f6
AS
19703 * include/alloca.h (stackinfo_alloca_round): Define.
19704 (extend_alloca): Use it.
19705 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
19706 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
19707 here.
19708
d91a8b93
AS
19709 * scripts/check-local-headers.sh: Ignore libaudit.h.
19710
45b96dd6
AS
19711 * nscd/Makefile (extra-objs): Make recursively expanded.
19712
432d41ce
UD
197132011-11-01 Ulrich Drepper <drepper@gmail.com>
19714
34372fc6
UD
19715 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
19716 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19717
fadb59f8
UD
19718 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
19719 * posix/tst-rfc3484-2.c: Likewise.
19720 * posix/tst-rfc3484-3.c: Likewise.
19721
78239589
UD
19722 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19723 process_vm_writev.
19724 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
19725 process_vm_writev.
19726 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
19727 process_vm_writev from libc using GLIBC_2.15 version.
19728
432d41ce
UD
19729 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
19730
02f9c6cf
PP
197312011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
19732
19733 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
19734 stack usage.
19735
3a2c0242
UD
197362011-10-31 Ulrich Drepper <drepper@gmail.com>
19737
f4ec4833
UD
19738 [BZ #13367]
19739 * nss/getent.c (initgroups_keys): Show error message in case no group
19740 names are given.
19741
3a2c0242
UD
19742 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
19743 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
19744 __bump_nl_timestamp.
19745 * nscd/connections (nscd_init): When host database is served open
19746 netlink socket and request notification about configuration changes.
19747 (main_loop_poll): Track netlink file descriptor and bump timestamp
19748 in case data becomes available.
19749 (main_loop_epoll): Likewise.
19750 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
19751 (database_pers_head): Add extra_data fileds.
19752 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
19753 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
19754 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
19755 Adjust caller.
19756 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
19757 in6ai data, call __free_in6ai.
19758 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
19759 Add -DHAVE_NETLINK.
19760 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
19761 interface information. Reuse previous data if netlink timestamp
19762 is not changed.
19763 (__bump_nl_timestamp): New function.
19764 (__free_in6ai): New function.
19765
636064eb
UD
197662011-10-30 Ulrich Drepper <drepper@gmail.com>
19767
19768 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
19769 close_not_cancel_no_status here.
19770 (__check_pf): Reorganize code a bit to not call close twice if OOM.
19771
9beb2334
UD
197722011-10-29 Ulrich Drepper <drepper@gmail.com>
19773
6ef76f3b
UD
19774 [BZ #13276]
19775 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
19776 return value.
19777
0ffc4f3e 19778 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
19779 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
19780 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
19781
cb95113e
UD
197822011-07-03 Andreas Jaeger <aj@suse.de>
19783
19784 [BZ #10709]
19785 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
19786 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
19787 * math/libm-test.inc (sin_test): Add test case.
19788
a1b560ff
UD
197892011-10-29 Ulrich Drepper <drepper@gmail.com>
19790
c9aaface
UD
19791 [BZ #13337]
19792 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
19793 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19794
d272e7f1
UD
19795 * elf/chroot_canon.c (chroot_canon): Cleanups.
19796
1bc33071
UD
19797 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
19798
1760874d
TJ
19799 [BZ #13335]
19800 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
19801 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19802
51d91b18
UD
19803 * string/test-strchr.c: Make usable for strchrnul testing.
19804 * string/test-strchrnul.c: New file.
19805 * string/Makefile (strop-tests): Add strchrnul.
19806
a1b560ff 19807 * po/it.po: Update from translation team.
b611fb81 19808 * po/es.po: Likewise.
a1b560ff 19809
a5b81e1f
UD
198102011-10-28 Ulrich Drepper <drepper@gmail.com>
19811
fd52bc6d
UD
19812 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
19813 the three constants needed as parameters. Drop the others.
19814 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
19815 __m128i_strloadu_tolower.
52e4b9eb
UD
19816 Create and initialize variable zero and use it in all the places
19817 where _mm_setzero_si128 was used.
fd52bc6d 19818
a5b81e1f
UD
19819 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
19820 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
19821 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
19822 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
19823 anymore.
19824 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
19825 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
19826 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
19827 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
19828 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
19829 __mpranred, __mptan.
19830 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
19831 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
19832 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
19833 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
19834 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
19835 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
19836 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
19837 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
19838 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
19839
b4343346
AS
198402011-10-28 Andreas Schwab <schwab@redhat.com>
19841
0c92d8a8
AS
19842 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
19843 redefine if SHARED.
19844 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
19845
b4343346
AS
19846 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
19847 wide char related routines to wcsmbs subdir.
19848
3871f58f
AS
198492011-10-27 Andreas Schwab <schwab@redhat.com>
19850
19851 [BZ #13344]
19852 * misc/sys/cdefs.h (__THROWNL): Define.
19853 * posix/unistd.h: Use __THREADNL instead of __THREAD
19854 for memory synchronization functions.
19855
94d44d9f
RM
198562011-10-26 Roland McGrath <roland@hack.frob.com>
19857
21b64b15 19858 [BZ #13349]
94d44d9f
RM
19859 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
19860 doesn't exist.
19861 * manual/stdio.texi (Obstack Streams): Node removed.
19862
f6ce9294
AS
198632011-10-26 Andreas Schwab <schwab@redhat.com>
19864
80479147
AS
19865 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
19866 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19867 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19868
f6ce9294
AS
19869 * math/math_private.h (math_force_eval): Allow non-addressable
19870 arguments.
19871 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
19872
618280a1
UD
198732011-10-25 Ulrich Drepper <drepper@gmail.com>
19874
e0016b11
UD
19875 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
19876 file is not needed.
19877
19878 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
19879 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19880 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19881 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19882 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19883 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19884 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19885 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
19886 Add AVX variants.
19887 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
19888 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
19889 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
19890 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
19891 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
19892 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
19893 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
19894 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
19895 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
19896 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
19897 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
19898 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
19899 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
19900 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
19901 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
19902 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
19903 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
19904 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
19905 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
19906
19907 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
19908 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
19909
618280a1
UD
19910 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
19911 place. Use VEX encoding when compiling for AVX.
19912
37822576
AS
199132011-10-25 Andreas Schwab <schwab@redhat.com>
19914
1f1e1947
AS
19915 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
19916 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19917
37822576
AS
19918 * string/test-strchr.c (do_test): Don't generate NUL bytes.
19919
31ea014d
UD
199202011-10-25 Ulrich Drepper <drepper@gmail.com>
19921
d7826aa1 19922 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 19923 useless if() expression.
d7826aa1
UD
19924 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19925 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19926 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19927 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19928 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19929 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19930 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19931 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19932 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19933 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19934 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19935 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19936 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19937 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19938 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19939 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19940 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19941 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19942 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19943
31ea014d
UD
19944 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
19945
16437fec
AS
199462011-10-25 Andreas Schwab <schwab@redhat.com>
19947
19948 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
19949 condition.
19950 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19951
31d3cc00
UD
199522011-10-25 Ulrich Drepper <drepper@gmail.com>
19953
19954 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
19955 .text section. Avoid duplicate constants.
19956 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19957 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19958 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19959 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19960 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19961 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19962 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19963 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19964 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19965 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
19966 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19967 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19968 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19969 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19970 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19971 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19972 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19973 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19974 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19975 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19976 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19977 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19978 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19979 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
19980 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
19981 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
19982 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
19983 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
19984 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
19985 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19986 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
19987 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19988 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19989 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
19990 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
19991 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19992 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19993 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
19994 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
19995 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
19996 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
19997 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
19998 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
19999 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20000 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20001
58985aa9
UD
200022011-10-24 Ulrich Drepper <drepper@gmail.com>
20003
202c9deb
UD
20004 * sysdeps/x86_64/dla.h: Move to ...
20005 * sysdeps/x86_64/fpu/dla.h: ...here.
20006 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
20007 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 20008
af968f62
UD
20009 * config.make.in: Add have-mfma4 entry.
20010 * configure.in: Substitute libc_cv_cc_fma4.
20011 * math/Makefile (dbl-only-routines): Add sincostab.
20012 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
20013 Use __sincostab not sincos.
20014 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
20015 name is a macro.
20016 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20017 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20018 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20019 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
20020 using __copysign.
20021 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
20022 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
20023 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
20024 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
20025 and __inv.
20026 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
20027 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
20028 __copysign.
20029 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
20030 define aliases when function name is a macro.
20031 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
20032 sysdeps/ieee754/dbl-64/sincos.tbl.
20033 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
20034 fma4-enabled routines.
20035 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
20036 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
20037 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
20038 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
20039 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
20040 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
20041 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
20042 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
20043 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
20044 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
20045 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
20046 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
20047 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
20048 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
20049 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
20050 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
20051 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
20052 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
20053 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
20054 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
20055 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
20056 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
20057 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
20058 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
20059 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
20060 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
20061 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
20062 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
20063 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
20064 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
20065
58985aa9
UD
20066 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
20067 rename.
20068 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20069 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20070 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20071 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20072 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20073 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20074 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20075 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20076
a201fbcf
AS
200772011-10-24 Andreas Schwab <schwab@redhat.com>
20078
20079 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
20080
fc2ee42a
LD
200812011-10-23 Ulrich Drepper <drepper@gmail.com>
20082
bb3129bd
UD
20083 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
20084
0275fff8
UD
20085 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
20086 prediction.
20087 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
20088
2fa2ae85
UD
20089 * string/strnlen.c: Don't define STRNLEN, reverse logic.
20090 Remove unused variable magic_bits.
20091 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
20092
fc2ee42a
LD
20093 * string/strnlen.c: Define and use STRNLEN macro.
20094 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
20095 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
20096 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
20097 * wcsmbs/wcslen.c: Define and use WCSLEN.
20098 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
20099 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
20100 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
20101 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
20102 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
20103 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
20104 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20105
ce7dd29f
LD
201062011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20107
20108 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20109 strnlen-sse2-no-bsf.
20110 Rename strlen-no-bsf to strlen-sse2-no-bsf.
20111 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
20112 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
20113 Add strnlen support.
20114 (USE_AS_STRNLEN): New macro.
20115 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
20116 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
20117 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
20118 * sysdeps/x86_64/wcslen.S: New file.
20119
979c70a3
MZ
201202011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
20121
20122 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20123 XMM-moves are used for copying on small sizes.
20124
2d09f82f
LD
201252011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20126
20127 * wcsmbs/Makefile (strop-tests): Add wcschr.
20128 * wcsmbs/test-wcschr.c: New file.
20129 * string/test-strchr.c: Update.
20130 Add wcschr support.
20131 (WIDE): New macro.
20132
619fccca
LD
201332011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20134
2d09f82f 20135 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
20136 * wcsmbs/test-wcslen.c: New file.
20137 * string/test-strlen.c: Update.
20138 Add wcslen support.
20139 (WIDE): New macro.
20140
09f699ea
UD
201412011-10-23 Ulrich Drepper <drepper@gmail.com>
20142
20143 * po/it.po: Update from translation team.
20144
95584d3b
LD
201452011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20146
20147 * sysdeps/x86_64/wcscmp.S: Update.
20148 Fix wrong comparison semantics.
20149 wcscmp shall use signed comparison not unsigned.
20150 Don't use substraction to avoid overflow bug.
20151 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20152 * wcsmbc/wcscmp.c: Likewise.
20153 * string/test-strcmp.c: Likewise.
20154 Add new tests to check cases with negative values.
20155
c8b3296b
UD
201562011-10-23 Ulrich Drepper <drepper@gmail.com>
20157
20158 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
20159 * sysdeps/x86_64/dla.h: ...here. New file.
20160 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
20161 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20162 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20163 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20164 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20165 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20166 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20167 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20168 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20169
246ad57a
AS
201702011-10-23 Andreas Schwab <schwab@linux-m68k.org>
20171
20172 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
20173 __ynl_finite aliases.
20174
a1a87169
UD
201752011-10-22 Ulrich Drepper <drepper@gmail.com>
20176
0d355eb7
UD
20177 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20178
a1a87169
UD
20179 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
20180 define DLA_FMA.
20181 [DLA_FMA] (EMULV): Use DLA_FMA.
20182 [DLA_FMA] (MUL12): Use EMULV.
20183 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
20184 that are not needed.
20185 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20186 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20187 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20188 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20189 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20190 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20191 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20192
ee2aafe0
AS
201932011-10-22 Andreas Schwab <schwab@linux-m68k.org>
20194
20195 * math/s_nan.c: Undef __nan.
20196 * math/s_nanf.c: Undef __nanf.
20197 * math/s_nanl.c: Undef __nanl.
20198 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
20199 "math_private.h".
20200
bc62c2fb
UD
202012011-10-22 Ulrich Drepper <drepper@gmail.com>
20202
77425c63
UD
20203 * math/s_catan.c: Add branch predictions.
20204 * math/s_catanf.c: Likewise.
20205 * math/s_catanh.c: Likewise.
20206 * math/s_catanhf.c: Likewise.
20207 * math/s_catanhl.c: Likewise.
20208 * math/s_catanl.c: Likewise.
20209 * math/s_cexp.c: Likewise.
20210 * math/s_cexpf.c: Likewise.
20211 * math/s_cexpl.c: Likewise.
20212 * math/s_clog.c: Likewise.
20213 * math/s_clog10.c: Likewise.
20214 * math/s_clog10f.c: Likewise.
20215 * math/s_clog10l.c: Likewise.
20216 * math/s_clogf.c: Likewise.
20217 * math/s_clogl.c: Likewise.
20218 * math/s_csqrt.c: Likewise.
20219 * math/s_csqrtf.c: Likewise.
20220 * math/s_csqrtl.c: Likewise.
20221 * math/s_ctanf.c: Likewise.
20222 * math/s_ctanh.c: Likewise.
20223 * math/s_ctanhf.c: Likewise.
20224 * math/s_ctanhl.c: Likewise.
20225 * math/s_ctanl.c: Likewise.
20226
bc62c2fb
UD
20227 * math/math_private.h: Define __nan, __nanf, __nanl.
20228 * math/s_cacosh.c: Include <math_private.h>.
20229 * math/s_cacoshl.c: Likewise.
20230 * math/s_casinh.c: Likewise.
20231 * math/s_casinhf.c: Likewise.
20232 * math/s_casinhl.c: Likewise.
20233 * math/s_ccos.c: Rely entire on ccosh.
20234 * math/s_ccosf.c: Rely entire on ccoshf.
20235 * math/s_ccosl.c: Rely entirely on ccoshl.
20236 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
20237 Remove tests for FE_INVALID.
20238 * math/s_ccoshf.c: Likewise.
20239 * math/s_ccoshl.c: Likewise.
20240 * math/s_csin.c: Likewise.
20241 * math/s_csinf.c: Likewise.
20242 * math/s_csinh.c Likewise.
20243 * math/s_csinhf.c: Likewise.
20244 * math/s_csinhl.c: Likewise.
20245 * math/s_csinl.c: Likewise.
20246 * math/s_ctan.c: Likewise.
20247 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
20248 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
20249 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
20250
8ec250a4
UD
202512011-10-21 Ulrich Drepper <drepper@gmail.com>
20252
c196fed8
UD
20253 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
20254 compilation problems.
20255
8ec250a4
UD
20256 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
20257 __builtin_expect.
20258
8d4f46c6
UD
202592011-10-20 Ulrich Drepper <drepper@gmail.com>
20260
ed72b654
UD
20261 * sysdeps/i386/configure.in: Test for -mfma4 option.
20262 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
20263 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
20264 COMMON_CPUID_INDEX_80000001.
20265 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
20266 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
20267 use it if FMA3 is not supported.
20268 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20269
8d4f46c6
UD
20270 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
20271 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20272
d45c60c2
AS
202732011-10-20 Andreas Schwab <schwab@redhat.com>
20274
20275 [BZ #12892]
20276 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
20277 it would create a cycle with a link time dependency.
20278
d9a4d2ab
UD
202792011-10-19 Ulrich Drepper <drepper@gmail.com>
20280
855d1560
UD
20281 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
20282 instruction.
20283 * string/Makefile (strop-tests): Add rawmemchr.
20284 * string/test-rawmemchr.c: New file.
20285
d9a4d2ab
UD
20286 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
20287 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
20288 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
20289 when compiling str{,n}casecmp and when AVX is available. Hook up
20290 new optimized code in initializers.
20291
8f3b1ffe
AS
202922011-10-19 Andreas Schwab <schwab@redhat.com>
20293
20294 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
20295 __feraiseexcept instead of feraiseexcept.
20296
d38f1dba
UD
202972011-10-18 Ulrich Drepper <drepper@gmail.com>
20298
d9a8d0ab
UD
20299 * math/math_private.h: Define defaults for libc_fetestexcept and
20300 libc_feupdateenv.
20301 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
20302 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
20303 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20304 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20305 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20306 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20307 libc_fetestexcept and libc_feupdateenv.
20308
4855e3dd
UD
20309 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
20310 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
20311 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
20312 * sysdeps/x86_64/fpu/math_private.h: Define special version of
20313 libc_feholdexcept_setround.
20314
581d30e3
UD
20315 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
20316 Add s_nearbyint-c and s_nearbyintf-c.
20317 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
20318 nearbyintf inlines.
20319 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
20320 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
20321 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
20322 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
20323
d38f1dba
UD
20324 * math/math_private.h: Define defaults for libc_fegetround,
20325 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
20326 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
20327 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
20328 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
20329 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
20330 standard functions.
20331 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20332 Remove comments and hacks for old compiler versions.
20333 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20334 libc_fegetround, libc_fesetround, libc_feholdexcept, and
20335 libc_feholdexceptl.
20336
caa6c9d8
AS
203372011-10-18 Andreas Schwab <schwab@redhat.com>
20338
20339 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
20340 (__feraiseexcept_renamed): Add __NTH.
20341 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
20342 namespace violations.
20343
97c066e6
UD
203442011-10-17 Ulrich Drepper <drepper@gmail.com>
20345
99ce7b04
UD
20346 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
20347
1004d182
UD
20348 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
20349
228a984d
UD
20350 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
20351 recently added interfaces.
20352 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
20353
c8553a6a
UD
20354 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
20355 about macro parameter expansion.
20356
ed22dcf6
UD
20357 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
20358 __NO_MATH_INLINES is defined. Cleanups.
20359
20360 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
20361 and __floorf is target has SSE4.1.
20362 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
20363 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
20364 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
20365 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
20366
b171c137
UD
20367 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
20368 name.
20369 (floorf): Likewise.
20370
97c066e6
UD
20371 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
20372
629f62ef
AS
203732011-10-17 Andreas Schwab <schwab@redhat.com>
20374
49a43d80
AS
20375 * misc/sys/cdefs.h: Fix last change.
20376
629f62ef
AS
20377 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
20378 database lookup.
20379
e453f6cd
UD
203802011-10-16 Ulrich Drepper <drepper@gmail.com>
20381
aa78043a
UD
20382 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
20383
ad0f5cad
UD
20384 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
20385 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20386 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20387 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20388 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20389 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20390 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20391 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20392 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20393 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
20394 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
20395 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
20396 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
20397 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
20398 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
20399 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
20400 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
20401 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
20402 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
20403 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
20404 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
20405 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
20406
20407 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
20408 ceil, ceilf, floor, floorf.
20409
20410 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
20411 Perform IRELATIVE relocations last.
20412
e453f6cd
UD
20413 * elf/do-rel.h: Add another parameter nrelative, replacing the
20414 local variable with the same name. Change name of the function
20415 to end in Rel or Rela (uppercase).
20416 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
20417 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
20418 elf_dynamic_do_##reloc function.
20419
fd5bdc09
UD
204202011-10-15 Ulrich Drepper <drepper@gmail.com>
20421
79b195b5
UD
20422 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
20423 is sufficient, at least on modern CPUs.
20424
d4a28569
UD
20425 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
20426
b61099b5
UD
20427 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
20428 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
20429
bcf01e6d
UD
20430 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
20431 __expl_finite.
20432 * math/bits/math-finite.h: Add entries for exp.
20433 * math/e_expl.c: Add __*_finite alias.
20434 * sysdeps/i386/fpu/e_exp.S: Likewise.
20435 * sysdeps/i386/fpu/e_expf.S: Likewise.
20436 * sysdeps/i386/fpu/e_expl.c: Likewise.
20437 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20438 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20439 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20440 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20441 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
20442 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20443 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20444
ba1a0d59
UD
20445 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
20446 is sufficient, at least on modern CPUs.
20447
fd5bdc09
UD
20448 * ctype/ctype-info.c (__ctype_init): Define.
20449 * include/ctype.h (__ctype_init): Declare.
20450 (__ctype_b_loc): The variable is always initialized.
20451 (__ctype_toupper_loc): Likewise.
20452 (__ctype_tolower_loc): Likewise.
20453 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
20454 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
20455
7872cfb0
AS
204562011-10-15 Andreas Schwab <schwab@linux-m68k.org>
20457
b468825a
AS
20458 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
20459
7872cfb0
AS
20460 * configure.in: Also look in $cxxmachine/include for C++ system
20461 headers.
20462
be13f7bf
LD
204632011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20464
20465 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
20466 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
20467 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
20468 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
20469 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
20470 (USE_AS_WMEMCMP): New macro.
20471 Fixing indents.
20472 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
20473 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
20474 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
20475 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
20476 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20477 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
20478 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
20479 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
20480 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
20481 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
20482 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
20483 (USE_AS_WMEMCMP): New macro.
20484 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
20485 * sysdeps/string/test-memcmp.c: Update.
20486 Fix simple_wmemcmp.
20487 Add new tests.
20488 * wcsmbs/wmemcmp.c: Update.
20489 (WMEMCMP): New macro.
20490 Fix overflow bug.
20491
556a2007
AJ
204922011-10-12 Andreas Jaeger <aj@suse.de>
20493
20494 [BZ #13268]
20495 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
20496
538faaa7
UD
204972011-10-15 Ulrich Drepper <drepper@gmail.com>
20498
ab6737ff
UD
20499 * libio/iofwide.c (do_length): Avoid warning.
20500
538faaa7
UD
20501 * ctype/ctype.h (__isctype_f): Add missing __THROW.
20502
396a21b1
UD
205032011-10-14 Ulrich Drepper <drepper@gmail.com>
20504
cdf2901f
UD
20505 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
20506
38ad40ce
UD
20507 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
20508 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
20509 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
20510 * sysdeps/i386/i686/fpu/e_log.S: New file.
20511 * sysdeps/i386/i686/fpu/e_logf.S: New file.
20512 * sysdeps/i386/i686/fpu/e_logl.S: New file.
20513
396a21b1
UD
20514 * ctype/ctype.h: Add support for inlined isXXX functions when
20515 compiling C++ code.
20516
6b1f68c9
AS
205172011-10-14 Andreas Schwab <schwab@redhat.com>
20518
349290c0
AS
20519 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20520
6b1f68c9
AS
20521 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
20522
f2282d42
RM
205232011-10-13 Roland McGrath <roland@hack.frob.com>
20524
20525 [BZ #13291]
20526 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
20527
5298ffa8
AS
205282011-10-13 Andreas Schwab <schwab@redhat.com>
20529
714fad23
AS
20530 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
20531 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
20532 feraiseexcept.
20533
81dcc7fb
AS
20534 * sysdeps/x86_64/memrchr.S: Check for zero size.
20535
5298ffa8
AS
20536 * string/stratcliff.c: Add memrchr tests.
20537
951fbcec
LD
205382011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20539
20540 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20541 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
20542 rawmemchr-sse2 rawmemchr-sse2-bsf.
20543 * sysdeps/i386/i686/multiarch/memchr.S: New file.
20544 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
20545 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
20546 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
20547 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
20548 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
20549 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
20550 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
20551 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
20552 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
20553 * string/memrchr.c (MEMRCHR): New macro.
20554
0ac5ae23
UD
205552011-10-12 Ulrich Drepper <drepper@gmail.com>
20556
20557 Add integration with gcc's -ffinite-math-only and optimize wrapper
20558 functions in libm.
20559 * Versions.def: Define GLIBC_2.15 version for libm.
20560 * math/Makefile (headers): Add bits/math-finite.h.
20561 * math/bits/math-finite.h: New file.
20562 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
20563 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
20564 * math/e_acoshl.c: Add __*_finite alias.
20565 * math/e_acosl.c: Likewise.
20566 * math/e_asinl.c: Likewise.
20567 * math/e_atan2l.c: Likewise.
20568 * math/e_atanhl.c: Likewise.
20569 * math/e_coshl.c: Likewise.
20570 * math/e_exp10.c: Likewise.
20571 * math/e_exp10f.c: Likewise.
20572 * math/e_exp10l.c: Likewise.
20573 * math/e_exp2l.c: Likewise.
20574 * math/e_fmodl.c: Likewise.
20575 * math/e_gammal_r.c: Likewise.
20576 * math/e_hypotl.c: Likewise.
20577 * math/e_j0l.c: Likewise.
20578 * math/e_j1l.c: Likewise.
20579 * math/e_jnl.c: Likewise.
20580 * math/e_lgammal_r.c: Likewise.
20581 * math/e_log10l.c: Likewise.
20582 * math/e_log2l.c: Likewise.
20583 * math/e_logl.c: Likewise.
20584 * math/e_powl.c: Likewise.
20585 * math/e_sinhl.c: Likewise.
20586 * math/e_sqrtl.c: Likewise.
20587 * math/e_scalb.c: Completely rewritten and optimized.
20588 * math/e_scalbf.c: Likewise.
20589 * math/e_scalbl.c: Likewise.
20590 * math/w_acos.c: Likewise.
20591 * math/w_acosf.c: Likewise.
20592 * math/w_acosl.c: Likewise.
20593 * math/w_acosh.c: Likewise.
20594 * math/w_acoshf.c: Likewise.
20595 * math/w_acoshl.c: Likewise.
20596 * math/w_asin.c: Likewise.
20597 * math/w_asinf.c: Likewise.
20598 * math/w_asinl.c: Likewise.
20599 * math/w_atan2.c: Likewise.
20600 * math/w_atan2f.c: Likewise.
20601 * math/w_atan2l.c: Likewise.
20602 * math/w_atanh.c: Likewise.
20603 * math/w_atanhf.c: Likewise.
20604 * math/w_atanhl.c: Likewise.
20605 * math/w_exp10.c: Likewise.
20606 * math/w_exp10f.c: Likewise.
20607 * math/w_exp10l.c: Likewise.
20608 * math/w_fmod.c: Likewise.
20609 * math/w_fmodf.c: Likewise.
20610 * math/w_fmodl.c: Likewise.
20611 * math/w_j0.c: Likewise.
20612 * math/w_j0f.c: Likewise.
20613 * math/w_j0l.c: Likewise.
20614 * math/w_j1.c: Likewise.
20615 * math/w_j1f.c: Likewise.
20616 * math/w_j1l.c: Likewise.
20617 * math/w_jn.c: Likewise.
20618 * math/w_jnf.c: Likewise.
20619 * math/w_log.c: Likewise.
20620 * math/w_logf.c: Likewise.
20621 * math/w_logl.c: Likewise.
20622 * math/w_log10.c: Likewise.
20623 * math/w_log10f.c: Likewise.
20624 * math/w_log10l.c: Likewise.
20625 * math/w_log2.c: Likewise.
20626 * math/w_log2f.c: Likewise.
20627 * math/w_log2l.c: Likewise.
20628 * math/w_pow.c: Likewise.
20629 * math/w_powf.c: Likewise.
20630 * math/w_powl.c: Likewise.
20631 * math/w_remainder.c: Likewise.
20632 * math/w_remainderf.c: Likewise.
20633 * math/w_remainderl.c: Likewise.
20634 * math/w_scalb.c: Likewise.
20635 * math/w_scalbf.c: Likewise.
20636 * math/w_scalbl.c: Likewise.
20637 * math/w_sqrt.c: Likewise.
20638 * math/w_sqrtf.c: Likewise.
20639 * math/w_sqrtl.c: Likewise.
20640 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
20641 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
20642 used.
20643 * math/math_private.h: Declare __kernel_standard_f.
20644 * math/w_cosh.c: Remove cruft and optimize a bit.
20645 * math/w_coshf.c: Likewise.
20646 * math/w_coshl.c: Likewise.
20647 * math/w_exp2.c: Likewise.
20648 * math/w_exp2f.c: Likewise.
20649 * math/w_exp2l.c: Likewise.
20650 * math/w_hypot.c: Likewise.
20651 * math/w_hypotf.c: Likewise.
20652 * math/w_hypotl.c: Likewise.
20653 * math/w_lgamma.c: Likewise.
20654 * math/w_lgamma_r.c: Likewise.
20655 * math/w_lgammaf.c: Likewise.
20656 * math/w_lgammaf_r.c: Likewise.
20657 * math/w_lgammal.c: Likewise.
20658 * math/w_lgammal_r.c: Likewise.
20659 * math/w_sinh.c: Likewise.
20660 * math/w_sinhf.c: Likewise.
20661 * math/w_sinhl.c: Likewise.
20662 * math/w_tgamma.c: Likewise.
20663 * math/w_tgammaf.c: Likewise.
20664 * math/w_tgammal.c: Likewise.
20665 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20666 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20667 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
20668 Minor optimizations. Pretty printing. Remove cruft.
20669 * sysdeps/i386/fpu/e_acosf.S: Likewise.
20670 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20671 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20672 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20673 * sysdeps/i386/fpu/e_acosl.c: Likewise.
20674 * sysdeps/i386/fpu/e_asin.S: Likewise.
20675 * sysdeps/i386/fpu/e_asinf.S: Likewise.
20676 * sysdeps/i386/fpu/e_atan2.S: Likewise.
20677 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
20678 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
20679 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20680 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20681 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20682 * sysdeps/i386/fpu/e_exp10.S: Likewise.
20683 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
20684 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
20685 * sysdeps/i386/fpu/e_exp2.S: Likewise.
20686 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
20687 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
20688 * sysdeps/i386/fpu/e_fmod.S: Likewise.
20689 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
20690 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
20691 * sysdeps/i386/fpu/e_hypot.S: Likewise.
20692 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
20693 * sysdeps/i386/fpu/e_log.S: Likewise.
20694 * sysdeps/i386/fpu/e_log10.S: Likewise.
20695 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20696 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20697 * sysdeps/i386/fpu/e_log2.S: Likewise.
20698 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20699 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20700 * sysdeps/i386/fpu/e_logf.S: Likewise.
20701 * sysdeps/i386/fpu/e_logl.S: Likewise.
20702 * sysdeps/i386/fpu/e_pow.S: Likewise.
20703 * sysdeps/i386/fpu/e_powf.S: Likewise.
20704 * sysdeps/i386/fpu/e_powl.S: Likewise.
20705 * sysdeps/i386/fpu/e_remainder.S: Likewise.
20706 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
20707 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
20708 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20709 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20710 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20711 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
20712 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
20713 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
20714 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20715 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20716 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20717 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20718 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20719 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20720 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20721 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20722 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20723 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20724 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20725 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20726 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20727 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20728 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20729 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20730 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20731 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20732 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20733 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20734 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20735 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20736 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20737 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20738 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20739 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20740 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20741 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20742 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
20743 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20744 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20745 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20746 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20747 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20748 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20749 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20750 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20751 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20752 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20753 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20754 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20755 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20756 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20757 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20758 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20759 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20760 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20761 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20762 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20763 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
20764 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20765 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20766 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20767 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20768 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20769 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20770 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20771 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20772 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20773 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20774 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20775 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20776 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20777 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20778 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20779 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20780 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20781 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20782 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
20783 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
20784 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
20785 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
20786 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
20787 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
20788 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
20789 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20790 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20791 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
20792 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20793 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
20794 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20795 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
20796 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
20797 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20798 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20799 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20800 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20801 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
20802 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20803 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
20804 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20805 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20806 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20807 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20808 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20809 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20810 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20811 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
20812 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
20813 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
20814 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
20815 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
20816 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
20817 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
20818 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20819 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20820 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20821 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20822 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
20823 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20824 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
20825 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
20826 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
20827 (__isnanf): Likewise.
20828 (__isinf_ns): Likewise.
20829 (__isinf_nsf): Likewise.
20830 (__finite): Likewise.
20831 (__finitef): Likewise.
20832 (__ieee754_sqrt): Define as macro.
20833 (__ieee754_sqrtf): Define as macro.
20834 (__ieee754_sqrtl): Define as macro.
20835 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
20836 inlined copy.
20837 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
20838 __FINITE_MATH_ONLY__ consistent.
20839 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
20840
12cc2fcd
AS
208412011-10-10 Andreas Schwab <schwab@linux-m68k.org>
20842
a843a204
AS
20843 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
20844 of rawmemchr.
20845
12cc2fcd
AS
20846 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
20847
c853acd5
UD
208482011-10-09 Ulrich Drepper <drepper@gmail.com>
20849
20850 * po/ja.po: Update from translation team.
20851
c658d255
RM
208522011-10-08 Roland McGrath <roland@hack.frob.com>
20853
110946e4
RM
20854 * locale/programs/locarchive.c (prepare_address_space): New function.
20855 (create_archive, enlarge_archive, open_archive): Use it.
20856
50604220
RM
20857 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
20858 inside [SHARED], where it is used.
20859
c658d255
RM
20860 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
20861
20862 * nss/getent.c (netgroup_keys): Remove unused variable.
20863 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20864
6a621eb7
UD
208652011-10-08 Ulrich Drepper <drepper@gmail.com>
20866
7edb55ce
UD
20867 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
20868 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
20869 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
20870 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
20871 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
20872 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
20873 * math/Makefile (libm-calls): Add s_isinf_ns.
20874 * math/divtc3.c: Use __isinf_nsl instead of isinf.
20875 * math/multc3.c: Likewise.
20876 * math/s_casin.c: Likewise.
20877 * math/s_casinf.c: Likewise.
20878 * math/s_casinl.c: Likewise.
20879 * math/s_ccos.c: Likewise.
20880 * math/s_ccosf.c: Likewise.
20881 * math/s_ccosl.c: Likewise.
20882 * math/s_ctan.c: Likewise.
20883 * math/s_ctanf.c: Likewise.
20884 * math/s_ctanh.c: Likewise.
20885 * math/s_ctanhf.c: Likewise.
20886 * math/s_ctanhl.c: Likewise.
20887 * math/s_ctanl.c: Likewise.
20888 * math/w_fmod.c: Likewise.
20889 * math/w_fmodf.c: Likewise.
20890 * math/w_fmodl.c: Likewise.
20891 * math/w_remainder.c: Likewise.
20892 * math/w_remainderf.c: Likewise.
20893 * math/w_remainderl.c: Likewise.
20894 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
20895 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
20896 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
20897 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
20898 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
20899 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
20900 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
20901 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
20902
187da0ae
UD
20903 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
20904 of the number.
20905 * stdio-common/printf_fphex.c: Likewise.
20906 * stdio-common/printf_size.c: Likewise.
20907
9277c064
UD
20908 * math/e_exp10.c: Include math_private.h using <...> not "...".
20909 * math/e_exp10f.c: Likewise.
20910 * math/e_exp10l.c: Likewise.
20911 * math/e_exp2l.c: Likewise.
20912 * math/e_j0l.c: Likewise.
20913 * math/e_j1l.c: Likewise.
20914 * math/e_jnl.c: Likewise.
20915 * math/e_lgammal_r.c: Likewise.
20916 * math/e_rem_pio2l.c: Likewise.
20917 * math/e_scalb.c: Likewise.
20918 * math/e_scalbf.c: Likewise.
20919 * math/e_scalbl.c: Likewise.
20920 * math/k_cosl.c: Likewise.
20921 * math/k_sinl.c: Likewise.
20922 * math/k_tanl.c: Likewise.
20923 * math/s_cacoshf.c: Likewise.
20924 * math/s_catan.c: Likewise.
20925 * math/s_catanf.c: Likewise.
20926 * math/s_catanh.c: Likewise.
20927 * math/s_catanhf.c: Likewise.
20928 * math/s_catanhl.c: Likewise.
20929 * math/s_catanl.c: Likewise.
20930 * math/s_ccosh.c: Likewise.
20931 * math/s_ccoshf.c: Likewise.
20932 * math/s_ccoshl.c: Likewise.
20933 * math/s_cexp.c: Likewise.
20934 * math/s_cexpf.c: Likewise.
20935 * math/s_cexpl.c: Likewise.
20936 * math/s_clog.c: Likewise.
20937 * math/s_clog10.c: Likewise.
20938 * math/s_clog10f.c: Likewise.
20939 * math/s_clog10l.c: Likewise.
20940 * math/s_clogf.c: Likewise.
20941 * math/s_clogl.c: Likewise.
20942 * math/s_csin.c: Likewise.
20943 * math/s_csinf.c: Likewise.
20944 * math/s_csinh.c: Likewise.
20945 * math/s_csinhf.c: Likewise.
20946 * math/s_csinhl.c: Likewise.
20947 * math/s_csinl.c: Likewise.
20948 * math/s_csqrt.c: Likewise.
20949 * math/s_csqrtf.c: Likewise.
20950 * math/s_csqrtl.c: Likewise.
20951 * math/s_ctan.c: Likewise.
20952 * math/s_ctanf.c: Likewise.
20953 * math/s_ctanh.c: Likewise.
20954 * math/s_ctanhf.c: Likewise.
20955 * math/s_ctanhl.c: Likewise.
20956 * math/s_ctanl.c: Likewise.
20957 * math/s_ldexp.c: Likewise.
20958 * math/s_ldexpf.c: Likewise.
20959 * math/s_ldexpl.c: Likewise.
20960 * math/s_significand.c: Likewise.
20961 * math/s_significandf.c: Likewise.
20962 * math/s_significandl.c: Likewise.
20963 * math/w_acos.c: Likewise.
20964 * math/w_acosf.c: Likewise.
20965 * math/w_acosh.c: Likewise.
20966 * math/w_acoshf.c: Likewise.
20967 * math/w_acoshl.c: Likewise.
20968 * math/w_acosl.c: Likewise.
20969 * math/w_asin.c: Likewise.
20970 * math/w_asinf.c: Likewise.
20971 * math/w_asinl.c: Likewise.
20972 * math/w_atan2.c: Likewise.
20973 * math/w_atan2f.c: Likewise.
20974 * math/w_atan2l.c: Likewise.
20975 * math/w_atanh.c: Likewise.
20976 * math/w_atanhf.c: Likewise.
20977 * math/w_atanhl.c: Likewise.
20978 * math/w_cosh.c: Likewise.
20979 * math/w_coshf.c: Likewise.
20980 * math/w_coshl.c: Likewise.
20981 * math/w_dremf.c: Likewise.
20982 * math/w_exp10.c: Likewise.
20983 * math/w_exp10f.c: Likewise.
20984 * math/w_exp10l.c: Likewise.
20985 * math/w_exp2.c: Likewise.
20986 * math/w_exp2f.c: Likewise.
20987 * math/w_fmod.c: Likewise.
20988 * math/w_fmodf.c: Likewise.
20989 * math/w_fmodl.c: Likewise.
20990 * math/w_hypot.c: Likewise.
20991 * math/w_hypotf.c: Likewise.
20992 * math/w_hypotl.c: Likewise.
20993 * math/w_j0.c: Likewise.
20994 * math/w_j0f.c: Likewise.
20995 * math/w_j0l.c: Likewise.
20996 * math/w_j1.c: Likewise.
20997 * math/w_j1f.c: Likewise.
20998 * math/w_j1l.c: Likewise.
20999 * math/w_jn.c: Likewise.
21000 * math/w_jnf.c: Likewise.
21001 * math/w_jnl.c: Likewise.
21002 * math/w_lgamma.c: Likewise.
21003 * math/w_lgamma_r.c: Likewise.
21004 * math/w_lgammaf.c: Likewise.
21005 * math/w_lgammaf_r.c: Likewise.
21006 * math/w_lgammal.c: Likewise.
21007 * math/w_lgammal_r.c: Likewise.
21008 * math/w_log.c: Likewise.
21009 * math/w_log10.c: Likewise.
21010 * math/w_log10f.c: Likewise.
21011 * math/w_log10l.c: Likewise.
21012 * math/w_log2.c: Likewise.
21013 * math/w_log2f.c: Likewise.
21014 * math/w_log2l.c: Likewise.
21015 * math/w_logf.c: Likewise.
21016 * math/w_logl.c: Likewise.
21017 * math/w_pow.c: Likewise.
21018 * math/w_powf.c: Likewise.
21019 * math/w_powl.c: Likewise.
21020 * math/w_remainder.c: Likewise.
21021 * math/w_remainderf.c: Likewise.
21022 * math/w_remainderl.c: Likewise.
21023 * math/w_scalb.c: Likewise.
21024 * math/w_scalbf.c: Likewise.
21025 * math/w_scalbl.c: Likewise.
21026 * math/w_sinh.c: Likewise.
21027 * math/w_sinhf.c: Likewise.
21028 * math/w_sinhl.c: Likewise.
21029 * math/w_sqrt.c: Likewise.
21030 * math/w_sqrtf.c: Likewise.
21031 * math/w_sqrtl.c: Likewise.
21032 * math/w_tgamma.c: Likewise.
21033 * math/w_tgammaf.c: Likewise.
21034 * math/w_tgammal.c: Likewise.
21035
6a621eb7
UD
21036 * po/ja.po: Update from translation team.
21037
bf582445
AJ
210382011-09-29 Andreas Jaeger <aj@suse.de>
21039
f9efbf3a
AJ
21040 [BZ #13179]
21041 * sunrpc/netname.c (netname2host): Fix logic.
21042
bf582445
AJ
21043 [BZ #6779]
21044 [BZ #6783]
21045 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
21046 correctly.
21047 * math/w_remainder.c (__remainder): Likewise.
21048 * math/w_remainderf.c (__remainderf): Likewise.
21049 * math/libm-test.inc (remainder_test): Add test cases.
21050
48693bea
AK
210512011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21052
21053 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
21054 sdiv_qrnnd.
21055
42622229
LD
210562011-10-07 Ulrich Drepper <drepper@gmail.com>
21057
21058 * string/test-memcmp.c: Avoid unncessary #defines.
21059 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21060
093ecf92
LD
210612011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21062
21063 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
21064 Use new sse2 version for core i3 - i7 as it's faster
21065 than sse42 version.
21066 (bit_Prefer_PMINUB_for_stringop): New.
21067 * sysdeps/x86_64/rawmemchr.S: Update.
21068 Replace with faster SSE2 version.
21069 * sysdeps/x86_64/memrchr.S: New file.
21070 * sysdeps/x86_64/memchr.S: Update.
21071 Replace with faster SSE2 version.
21072
fde56e5c
MP
210732011-09-12 Marek Polacek <mpolacek@redhat.com>
21074
21075 * elf/dl-load.c (lose): Add cast to avoid warning.
21076
21fd49a9
UD
210772011-10-07 Ulrich Drepper <drepper@gmail.com>
21078
5a06e643
UD
21079 * po/ca.po: Update from translation team.
21080
684ae515
UD
21081 * inet/getnetgrent_r.c: Hook up nscd.
21082 * nscd/Makefile (routines): Add nscd_netgroup.
21083 (nscd-modules): Add netgroupcache.
21084 (CFLAGS-netgroupcache.c): Define.
21085 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
21086 (cache_search): Add const to second parameter.
21087 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
21088 INNETGR.
21089 (dbs): Add netgrdb entry.
21090 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
21091 (verify_persistent_db): Handle netgrdb.
21092 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
21093 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
21094 GETFDNETGR.
21095 (netgroup_response_header): Define.
21096 (innetgroup_response_header): Define.
21097 (datahead): Add netgroup_response_header and innetgroup_response_header
21098 elements.
21099 * nscd/nscd.conf: Add entries for netgroup cache.
21100 * nscd/nscd.h (dbtype): Add netgrdb.
21101 (_PATH_NSCD_NETGROUP_DB): Define.
21102 (netgroup_iov_disabled): Declare.
21103 (xmalloc, xcalloc, xrealloc): Move declarations here.
21104 (cache_search): Adjust prototype.
21105 Add netgroup-related prototypes.
21106 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
21107 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
21108 (__nscd_innetgr): Declare.
21109 * nscd/selinux.c (perms): Use access_vector_t as element type and
21110 add netgroup-related initializers.
21111 * nscd/netgroupcache.c: New file.
21112 * nscd/nscd_netgroup.c: New file.
21113 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
21114 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
21115 For four parameters use innetgr.
21116 * nss/nss_files/files-init.c: Add definition and callback for netgr.
21117 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
21118 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
21119 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
21120
21fd49a9
UD
21121 * nscd/connections.c (register_traced_file): Don't register file
21122 for disabled databases.
21123
054c0457
UD
211242011-10-06 Ulrich Drepper <drepper@gmail.com>
21125
32b63198
UD
21126 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
21127
054c0457
UD
21128 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
21129 from tree and freeing node.
21130
64031225
JO
211312011-09-25 Jiri Olsa <jolsa@redhat.com>
21132
21133 * nss/nsswitch.c (__nss_database_lookup): Handle
21134 nss_parse_service_list out of memory case.
21135
0490345c
JO
211362011-09-15 Jiri Olsa <jolsa@redhat.com>
21137
21138 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
21139 out of memory case.
21140
3a62d00d
AS
211412011-10-04 Andreas Schwab <schwab@redhat.com>
21142
21143 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
21144 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
21145 pass it down.
21146 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
21147 elf_machine_rela, elf_machine_lazy_rel.
21148 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
21149 (ELF_DYNAMIC_DO_REL): Likewise.
21150 (ELF_DYNAMIC_DO_RELA): Likewise.
21151 (ELF_DYNAMIC_RELOCATE): Likewise.
21152 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
21153 to ELF_DYNAMIC_DO_REL.
21154 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
21155 (dl_main): In trace mode always set __RTLD_NOIFUNC.
21156 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
21157 elf_machine_rela.
21158 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
21159 skip_ifunc, don't call ifunc function if non-zero.
21160 (elf_machine_rela): Likewise.
21161 (elf_machine_lazy_rel): Likewise.
21162 (elf_machine_lazy_rela): Likewise.
21163 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
21164 (elf_machine_lazy_rel): Likewise.
21165 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
21166 Likewise.
21167 (elf_machine_lazy_rel): Likewise.
21168 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21169 Likewise.
21170 (elf_machine_lazy_rel): Likewise.
21171 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
21172 (elf_machine_lazy_rel): Likewise.
21173 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
21174 (elf_machine_lazy_rel): Likewise.
21175 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21176 (elf_machine_lazy_rel): Likewise.
21177 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
21178 (elf_machine_lazy_rel): Likewise.
21179 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
21180 (elf_machine_lazy_rel): Likewise.
21181 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21182 (elf_machine_lazy_rel): Likewise.
21183
68577918
UD
211842011-09-28 Ulrich Drepper <drepper@gmail.com>
21185
21186 * nss/nss_files/files-init.c (_nss_files_init): Use static
21187 initialization for all the *_traced_file variables.
21188
68822d74
AS
211892011-09-28 Andreas Schwab <schwab@redhat.com>
21190
21191 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21192
2056100b
RM
211932011-09-27 Roland McGrath <roland@hack.frob.com>
21194
21195 [BZ #13226]
21196 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
21197
32c76b63
AS
211982011-09-27 Andreas Schwab <schwab@redhat.com>
21199
21200 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21201 Reread the line before reparsing it.
21202
bf972c9d
AS
212032011-09-26 Andreas Schwab <schwab@redhat.com>
21204
21205 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
21206
e057a1b5
JM
212072011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
21208 Maxim Kuvyrkov <maxim@codesourcery.com>
21209 Joseph Myers <joseph@codesourcery.com>
21210
21211 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
21212 if needed for __stack_chk_guard.
21213
bc7e1c36
RM
212142011-09-19 Roland McGrath <roland@hack.frob.com>
21215
ecb1482f
RM
21216 * sysdeps/posix/spawni.c (script_execute): Always define it.
21217 It will be optimized away if unused.
21218 (maybe_script_execute): New function.
21219 (__spawni): Call it.
21220
bc7e1c36
RM
21221 * Makerules: Don't include tls.make.
21222 (config-tls): Always set to thread.
21223 * tls.make.c: File removed.
21224
1c3b002b
MF
212252011-09-19 Mike Frysinger <vapier@gentoo.org>
21226
21227 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
21228 * config.make.in (CPPFLAGS-config): New substituted variable.
21229
2840865d
UD
212302011-09-15 Ulrich Drepper <drepper@gmail.com>
21231
88738eb6
UD
21232 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
21233
cbf645a6 21234 [BZ #13192]
2840865d
UD
21235 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
21236 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
21237
b402e91a
RM
212382011-09-15 Roland McGrath <roland@hack.frob.com>
21239
21240 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
21241 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
21242 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21243 (CALL_FAIL): Likewise.
21244 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
21245 (CALL_FAIL): Macro removed.
21246 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
21247
4c1a1f71
UD
212482011-09-15 Ulrich Drepper <drepper@gmail.com>
21249
21250 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
21251 for __FINITE_MATH_ONLY__ == 1.
21252
edc121be
AS
212532011-09-15 Andreas Schwab <schwab@redhat.com>
21254
21255 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
21256 __ieee754_sqrt instead of sqrt.
21257 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
21258 __ieee754_sqrtf instead of sqrtf.
21259 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
21260 __floorf instead of floorf.
21261 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
21262 __floorf, __truncf instead of floorf, truncf.
21263
cd205654
UD
212642011-09-14 Ulrich Drepper <drepper@gmail.com>
21265
ee4d0315
UD
21266 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
21267
cd205654
UD
21268 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
21269 __extern_always_inline.
21270 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
21271 32-bit.
21272
48b67d71
AS
212732011-09-14 Andreas Schwab <schwab@redhat.com>
21274
21275 * elf/rtld.c (dl_main): Also relocate in dependency order when
21276 doing symbol dependency testing.
21277
1ae12c75
AS
212782011-09-13 Andreas Schwab <schwab@linux-m68k.org>
21279
21280 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21281 Always define `refsym'.
21282
995a80df
AS
212832011-09-13 Andreas Schwab <schwab@redhat.com>
21284
e529793b
AS
21285 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
21286 (__FD_ELT): Renamed from __FDELT.
21287 * misc/bits/select2.h (__FD_ELT): Likewise.
21288 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
21289 __FD_MASK instead of __FDELT, __FDMASK.
21290 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21291 Likewise.
21292 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21293 Likewise.
21294
52d4fef8
AS
21295 * elf/Makefile (gen-ldd): Fix pattern.
21296
995a80df
AS
21297 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
21298 (init_tls): Likewise.
21299
8682f8b0
UD
213002011-09-12 Ulrich Drepper <drepper@gmail.com>
21301
21302 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
21303
de82006d
AS
213042011-09-12 Andreas Schwab <schwab@redhat.com>
21305
a7c8e6a1
AS
21306 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
21307 `struct cmsghdr *' instead of `void *'.
21308 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
21309 Likewise.
21310
0f31fe77
AS
213112011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21312
21313 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
21314 if non-absolute.
21315 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
21316 ldd_rewrite_script.
0f31fe77 21317
32b4c839
UD
213182011-09-11 Ulrich Drepper <drepper@gmail.com>
21319
83cd1420
UD
21320 * configure.in: Remove --with-tls option.
21321 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
21322 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
21323 out in case it is missing.
21324 * sysdeps/ia64/elf/configure.in: Likewise.
21325 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
21326 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
21327 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
21328 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
21329 * sysdeps/sh/elf/configure.in: Likewise.
21330 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
21331 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21332 * sysdeps/x86_64/elf/configure.in: Likewise.
21333 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
21334 * sysdeps/mach/hurd/tls.h: Likewise.
21335
633f745d
UD
21336 [BZ #13067]
21337 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
21338
f318beb8
UD
21339 [BZ #13090]
21340 * configure.in: Fix use of AC_INIT.
21341
32b4c839
UD
21342 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
21343
3ce1f295
UD
213442011-09-10 Ulrich Drepper <drepper@gmail.com>
21345
bb016596
UD
21346 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
21347 __set_errno.
8e58439c
UD
21348 * malloc/hooks.c: Likewise.
21349
aebae053 21350 [BZ #11929]
02d46fc4
UD
21351 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
21352 variables statically.
21353 (narenas): Initialize.
21354 (list_lock): Initialize.
bb016596
UD
21355 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
21356 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
21357 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
21358 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
21359 Add initializers to main_arena and mp_.
21360 (malloc_state): Remove pagesize member. Change all users to use
21361 GLRO(dl_pagesize).
21362
21363 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
21364 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
21365 is always initialized.
21366
22a89187
UD
21367 * malloc/malloc.c: Removed unused configurations and dead code.
21368 * malloc/arena.c: Likewise.
21369 * malloc/hooks.c: Likewise.
02d46fc4 21370 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 21371
d063d164
UD
21372 * include/tls.h: Removed. USE___THREAD must always be defined.
21373 * bits/libc-tsd.h: Don't handle !USE___THREAD.
21374 * elf/dl-libc.c: Likewise.
21375 * elf/dl-tsd.c: Likewise.
21376 * include/errno.h: Likewise.
21377 * include/netdb.h: Likewise.
21378 * include/resolv.h: Likewise.
21379 * inet/herrno-loc.c: Likewise.
21380 * inet/herrno.c: Likewise.
21381 * malloc/arena.c: Likewise.
21382 * malloc/hooks.c: Likewise.
21383 * malloc/malloc.c: Likewise.
21384 * resolv/res-state.c: Likewise.
21385 * resolv/res_libc.c: Likewise.
21386 * sysdeps/i386/dl-machine.h: Likewise.
21387 * sysdeps/ia64/dl-machine.h: Likewise.
21388 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21389 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21390 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21391 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21392 * sysdeps/sh/dl-machine.h: Likewise.
21393 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21394 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21395 * sysdeps/unix/i386/sysdep.S: Likewise.
21396 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21397 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21398 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21399 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21400 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21401 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21402 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21403 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21404 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21405 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21406 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21407 * sysdeps/x86_64/dl-machine.h: Likewise.
21408 * tls.make.c: Likewise.
21409
3ce1f295
UD
21410 * configure.in: Remove --with-__thread option. Make tests for
21411 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
21412 tls_model attribute fail if no support is available. Remove
21413 USE_IN_LIBIO.
21414 * Makeconfig: Adjust for dropped configure option. All features are
21415 now mandatory.
21416 * Makerules: Likewise.
21417 * Versions.def: Likewise.
21418 * argp/argp-fmtstream.c: Likewise.
21419 * argp/argp-fmtstream.h: Likewise.
21420 * argp/argp-help.c: Likewise.
21421 * assert/assert.c: Likewise.
21422 * config.h.in: Likewise.
21423 * config.make.in: Likewise.
21424 * configure: Likewise.
21425 * configure.in: Likewise.
21426 * csu/Versions: Likewise.
21427 * csu/init.c: Likewise.
21428 * elf/tst-audit2.c: Likewise.
21429 * elf/tst-tls10.c: Likewise.
21430 * elf/tst-tls10.h: Likewise.
21431 * elf/tst-tls11.c: Likewise.
21432 * elf/tst-tls12.c: Likewise.
21433 * elf/tst-tls14.c: Likewise.
21434 * elf/tst-tlsmod11.c: Likewise.
21435 * elf/tst-tlsmod12.c: Likewise.
21436 * elf/tst-tlsmod13.c: Likewise.
21437 * elf/tst-tlsmod13a.c: Likewise.
21438 * elf/tst-tlsmod14a.c: Likewise.
21439 * elf/tst-tlsmod15b.c: Likewise.
21440 * elf/tst-tlsmod16a.c: Likewise.
21441 * elf/tst-tlsmod16b.c: Likewise.
21442 * elf/tst-tlsmod7.c: Likewise.
21443 * elf/tst-tlsmod8.c: Likewise.
21444 * elf/tst-tlsmod9.c: Likewise.
21445 * gmon/gmon.c: Likewise.
21446 * grp/fgetgrent_r.c: Likewise.
21447 * grp/putgrent.c: Likewise.
21448 * hurd/fopenport.c: Likewise.
21449 * include/libc-symbols.h: Likewise.
21450 * include/tls.h: Likewise.
21451 * intl/gettextP.h: Likewise.
21452 * intl/loadinfo.h: Likewise.
21453 * locale/global-locale.c: Likewise.
21454 * locale/localeinfo.h: Likewise.
21455 * mach/devstream.c: Likewise.
21456 * malloc/arena.c: Likewise.
21457 * malloc/set-freeres.c: Likewise.
21458 * misc/err.c: Likewise.
21459 * misc/getttyent.c: Likewise.
21460 * misc/mntent_r.c: Likewise.
21461 * posix/getopt.c: Likewise.
21462 * posix/wordexp.c: Likewise.
21463 * pwd/fgetpwent_r.c: Likewise.
21464 * resolv/Versions: Likewise.
21465 * resolv/res_hconf.c: Likewise.
21466 * shadow/fgetspent_r.c: Likewise.
21467 * shadow/putspent.c: Likewise.
21468 * stdio-common/printf_fphex.c: Likewise.
21469 * stdio-common/tmpfile.c: Likewise.
21470 * stdlib/abort.c: Likewise.
21471 * stdlib/fmtmsg.c: Likewise.
21472 * sunrpc/auth_unix.c: Likewise.
21473 * sunrpc/clnt_perr.c: Likewise.
21474 * sunrpc/clnt_tcp.c: Likewise.
21475 * sunrpc/clnt_udp.c: Likewise.
21476 * sunrpc/clnt_unix.c: Likewise.
21477 * sunrpc/openchild.c: Likewise.
21478 * sunrpc/svc_simple.c: Likewise.
21479 * sunrpc/svc_tcp.c: Likewise.
21480 * sunrpc/svc_udp.c: Likewise.
21481 * sunrpc/svc_unix.c: Likewise.
21482 * sunrpc/xdr.c: Likewise.
21483 * sunrpc/xdr_array.c: Likewise.
21484 * sunrpc/xdr_rec.c: Likewise.
21485 * sunrpc/xdr_ref.c: Likewise.
21486 * sunrpc/xdr_stdio.c: Likewise.
21487
1248c1c4
PB
214882011-09-09 Ulrich Drepper <drepper@gmail.com>
21489
21490 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21491
214922011-07-03 Andreas Jaeger <aj@suse.de>
21493
21494 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
21495 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
21496 regenerate with gen-libm-tests.pl.
21497
214982010-05-12 Petr Baudis <pasky@suse.cz>
21499
21500 [BZ #11589]
21501 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
21502 around j0() zero points by switching to j1().
21503 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21504 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21505 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21506 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21507
f22e1074
UD
215082011-09-09 Ulrich Drepper <drepper@gmail.com>
21509
f19009c1
UD
21510 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
21511 instead of 0.
21512 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 21513 instead of 0.
f19009c1
UD
21514 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21515 Patch in part by Pavel Roskin <proski@gnu.org>.
21516
3f8cc204
UD
21517 [BZ #13138]
21518 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
21519 realloc.
21520 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
21521 Free memory block if necessary.
21522
f22e1074
UD
21523 [BZ #12847]
21524 * libio/genops.c (INTDEF): For string streams the _lock pointer can
21525 be NULL. Don't lock in this case.
21526
0a2349f9
RM
215272011-09-09 Roland McGrath <roland@hack.frob.com>
21528
21529 * elf/elf.h (ELFOSABI_GNU): New macro.
21530 (ELFOSABI_LINUX): Define to that.
21531
f3cdd467
DZ
215322011-07-29 Denis Zaitceff <zaitceff@gmail.com>
21533
21534 * string/strncat.c (strncat): Undef the symbol in case it has been
21535 defined in bits/string.h.
21536
74718d13
UD
215372011-09-09 Ulrich Drepper <drepper@gmail.com>
21538
633e9e0f
UD
21539 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
21540
0a2349f9 21541 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
21542 link map.
21543
f9924780
AJ
215442011-08-17 Andreas Jaeger <aj@suse.de>
21545
21546 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
21547
7f5517aa
PP
215482011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21549 Ian Lance Taylor <iant@google.com>
21550
21551 * math/libm-test.inc (lround_test): New testcase.
21552 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
21553
762011fe
UD
215542011-09-08 Ulrich Drepper <drepper@gmail.com>
21555
92963737
UD
21556 * Makefile: Remove support for automatic cvs check-ins.
21557 * Makerules: Likewise.
21558 * config.make.in: Likewise.
21559 * configure.in: Likewise.
21560 * intl/Makefile: Likewise.
21561 * locale/Makefile: Likewise.
21562 * po/Makefile: Likewise.
21563 * posix/Makefile: Likewise.
21564 * sysdeps/gnu/Makefile: Likewise.
21565 * sysdeps/mach/hurd/Makefile: Likewise.
21566 * sysdeps/sparc/sparc32/Makefile: Likewise.
21567
b0727fd8
JS
21568 [BZ #13118]
21569 * posix/Makefile (bug-regex32-ENV): Define.
21570 Patch by John Stanley <jpsinthemix@verizon.net>.
21571
a0f33f99
UD
21572 * misc/Makefile (headers): Add bits/select2.h.
21573 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
21574 * misc/bits/select2.h: New file.
21575 * include/bits/select2.h: New file.
21576 * debug/Makefile (routines): Add fdelt_chk.
21577 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
21578 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
21579 FD_ISSET.
21580 * debug/fdelt_chk.c: New file.
21581
762011fe
UD
21582 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
21583 * wcsmbs/test-wmemcmp.c: Likewise.
21584 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 21585 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
21586
215872011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21588
21589 * string/Makefile (strop-tests): Add memcmp.
21590 * string/test-wmemcmp.c: New file.
21591 * string/test-memcmp.c: Add wmemcmp support.
21592
7f513ec8
RM
215932011-09-08 Roland McGrath <roland@hack.frob.com>
21594
0442afb4
RM
21595 [BZ #13153]
21596 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
21597 2011-07-19 change.
21598
7f513ec8
RM
21599 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
21600 garbage value in a __mach_port_mod_refs call in the cases of the
21601 task-self and thread-self ports.
21602
a12b2239
ST
216032011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21604
21605 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
21606
610f9ab4
AS
216072011-09-08 Andreas Schwab <schwab@redhat.com>
21608
7f513ec8 21609 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 21610
48882a1a
LD
216112011-09-07 Ulrich Drepper <drepper@gmail.com>
21612
b49865be
UD
21613 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
21614
fdc86bc9
UD
21615 * elf/dl-libc.c (dlerror_run): Pass back error code from
21616 dl_catch_error.
21617
c966526a
UD
21618 [BZ #13123]
21619 * elf/dl-load.c (lose): Free l_origin if it is valid.
21620
48882a1a
LD
21621 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
21622 names.
21623 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
21624 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21625 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21626 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21627 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
21628 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
21629
77a2a8b4
AZ
216302011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21631
21632 * sysdeps/powerpc/fpu/e_hypot.c: New file.
21633 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
21634 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
21635 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
21636 * sysdeps/powerpc/fpu/k_cosf.c: New file.
21637 * sysdeps/powerpc/fpu/k_sinf.c: New file.
21638 * sysdeps/powerpc/fpu/s_cosf.c: New file.
21639 * sysdeps/powerpc/fpu/s_sinf.c: New file.
21640 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
21641 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
21642
24f579d8
AM
216432011-08-15 Alan Modra <amodra@gmail.com>
21644
21645 [BZ #13092]
21646 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
21647 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
21648 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
21649 ppc_mcount to static-only-routines.
21650 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
21651 __mcount_internal.
21652 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
21653 __mcount_internal with usual JUMPTARGET. Remove useless nop.
21654
3d4837df
UD
216552011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
21656
21657 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
21658 for finite and infinity parameters.
21659
22700377
WS
216602011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21661
21662 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
21663 and add nop instructions for throughput optimization.
21664 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21665
5025581e
WS
216662011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
21667
21668 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
21669 aligned copy for power7 with vector-scalar instructions.
21670 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21671
08a300c9
L
216722011-07-24 H.J. Lu <hongjiu.lu@intel.com>
21673
21674 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
21675 AVX check.
21676
59178ef9
AS
216772011-09-07 Andreas Schwab <schwab@redhat.com>
21678
21679 [BZ #13144]
21680 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
21681 last change.
21682
e38ba7ab
UD
216832011-09-07 Ulrich Drepper <drepper@gmail.com>
21684
21685 * sysdeps/unix/sysv/linux/x86_64/init-first.c
21686 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
21687 syscall wrapper around clock_gettime in __vdso_clock_gettime.
21688 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
21689 clock_gettime.
21690
d53a73ac
UD
216912011-09-06 Ulrich Drepper <drepper@gmail.com>
21692
fc8bffcc
UD
21693 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
21694 Forgot to demangle the pointer.
21695
ceaa0c5d
UD
21696 * sysdeps/i386/sysdep.h: Define atom_text_section.
21697 * sysdeps/x86_64/sysdep.h: Likewise.
21698 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
21699 section with atom_text_section.
21700 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21701 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21702 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
21703 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21704 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
21705
a77d3c17
UD
21706 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
21707 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
21708 already be defined. Change to take two parameters and don't assign
21709 result to variable. Adjust all users.
21710 Define INTERNAL_GETTIME if not already defined.
21711 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
21712 call.
21713 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
21714 HAVE_CLOCK_GETTIME_VSYSCALL.
21715 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
21716
d53a73ac
UD
21717 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
21718 gettimeofday vsyscall, just use time.
21719
a8f84144
AS
217202011-09-06 Andreas Schwab <schwab@redhat.com>
21721
21722 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
21723 <errno.h>.
21724
ef606249
UD
217252011-09-06 Ulrich Drepper <drepper@gmail.com>
21726
21727 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
21728 syscall on x86-64.
21729 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
21730 syscall.
21731 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
21732 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
21733 syscall if possible.
21734
6585cb60
UD
217352011-09-05 Ulrich Drepper <drepper@gmail.com>
21736
21737 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
21738 e_ident. Don't pass to find_mapsXX.
21739 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
21740
a5f524e4
LD
217412011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21742
21743 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21744 strchr-sse2-no-bsf strrchr-sse2-no-bsf
21745 * sysdeps/x86_64/multiarch/strchr.S: Update.
21746 Check bit_slow_BSF bit.
21747 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21748 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
21749 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
21750
554881ef
UD
217512011-09-05 Ulrich Drepper <drepper@gmail.com>
21752
d96de963
UD
21753 [BZ #13134]
21754 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
21755 before glibc 2.15.
21756 (tryshell): Define.
21757 (__spawni): Change last parameter to be flag. Test
21758 SPAWN_XFLAGS_USE_PATH flag to use path or not.
21759 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
21760 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
21761 * posix/spawni.c: Likewise.
21762 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
21763 * posix/spawnp.c: Likewise. Change normal version to use
21764 SPAWN_XFLAGS_USE_PATH.
21765 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
21766 SPAWN_XFLAGS_TRY_SHELL.
21767
d48e5868
UD
21768 [BZ #13150]
21769 * posix/glob.h: Remove gcc 1.x support.
21770
554881ef
UD
21771 [BZ #13068]
21772 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
21773
693fb948
LD
217742011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21775
21776 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21777 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
21778 strrchr-sse2-bsf
21779 * sysdeps/i386/i686/multiarch/strchr.S: New file.
21780 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
21781 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
21782 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
21783 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
21784 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
21785
1b48c537
UD
217862011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21787
49d42c37
UD
21788 * sysdeps/x86_64/wcscmp.S: New file.
21789
1b48c537
UD
21790 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
21791 wcscmp-c wcscmp-sse2
21792 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
21793 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
21794 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
21795 * wcsmbs/wcscmp.c: Allow renaming.
21796
15c95c5d
DM
217972011-09-05 David S. Miller <davem@davemloft.net>
21798
21799 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
21800 stack slot, rather than the struct return pointer slot.
21801 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
21802 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
21803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
21804 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
21805
2f0ad8f3
UD
218062011-09-05 Ulrich Drepper <drepper@gmail.com>
21807
d88ae418
UD
21808 * po/ja.po: Update from translation team.
21809
2f0ad8f3
UD
21810 [BZ #13144]
21811 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
21812 kernel in 64-bit binaries.
21813
5f4318d1
DM
218142011-09-01 David S. Miller <davem@davemloft.net>
21815
21816 * elf/elf.h (HWCAP_SPARC_*): Move to..
21817 * sysdeps/sparc/sysdep.h: this new file and add new values.
21818 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
21819 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
21820 _DL_HWCAP_COUNT to 24.
21821 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21822 entries.
21823 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
21824 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
21825 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
21826 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
21827 instead of magic constants.
21828 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21829
3ba57516
DM
218302011-08-31 David S. Miller <davem@davemloft.net>
21831
21832 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
21833 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
21834 Reimplement to do errno handling inline.
21835 (SYSCALL_ERROR_HANDLER): New macro.
21836 (__SYSCALL_STRING): Do not do errno handling in asm.
21837 (__CLONE_SYSCALL_STRING): Delete.
21838 (__INTERNAL_SYSCALL_STRING): Delete.
21839 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
21840 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
21841 (PSEUDO): Reimplement to do errno handling inline.
21842 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
21843 (SYSCALL_ERROR_HANDLER): New macro.
21844 (__SYSCALL_STRING): Do not do errno handling in asm.
21845 (__CLONE_SYSCALL_STRING): Delete.
21846 (__INTERNAL_SYSCALL_STRING): Delete.
21847 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
21848 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
21849 i386.
21850 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
21851 (inline_syscall*): Add 'err' argument.
21852 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
21853 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
21854 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
21855 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
21856
21857 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
21858 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21859
2bc17433
AS
218602011-08-30 Andreas Schwab <schwab@redhat.com>
21861
21862 * elf/rtld.c (dl_main): Relocate objects in dependency order.
21863
fbeb5f4d
JO
218642011-08-29 Jiri Olsa <jolsa@redhat.com>
21865
21866 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
21867 directive.
21868
ad69cc26
DM
218692011-08-24 David S. Miller <davem@davemloft.net>
21870
21871 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
21872
39dd69df
AS
218732011-08-24 Andreas Schwab <schwab@redhat.com>
21874
21875 * elf/Makefile: Add rules to build and run unload8 test.
21876 * elf/unload8.c: New file.
21877 * elf/unload8mod1.c: New file.
21878 * elf/unload8mod1x.c: New file.
21879 * elf/unload8mod2.c: New file.
21880 * elf/unload8mod3.c: New file.
21881
21882 * elf/dl-close.c (_dl_close_worker): Reset private search list if
21883 it wasn't used.
21884
2c0b250a
DM
218852011-08-23 David S. Miller <davem@davemloft.net>
21886
21887 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
21888 subtract stack bias.
21889 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
21890 %sp not %fp in calculations.
21891 (_JMPBUF_UNWINDS_ADJ): Likewise.
21892
22044b48
DM
21893 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
21894 (aio_suspend): Call it to force an exception region around the
21895 AIO_MISC_WAIT() invocation.
21896
2cae4995
AS
218972011-08-23 Andreas Schwab <schwab@redhat.com>
21898
21899 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
21900 backslash.
21901
873a772e
AJ
219022011-07-04 Aurelien Jarno <aurelien@aurel32.net>
21903
21904 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
21905 protection macro.
21906 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
21907 and <dl-machine.h>.
21908 (Elf64_FuncDesc): Remove.
21909
25ad0df1
DM
219102011-08-22 David S. Miller <davem@davemloft.net>
21911
21912 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
21913 sigaltstack check, add missing cfi directives.
21914 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
21915 missing cfi directives, and sigaltstack handling.
21916
e888bcbe
AS
219172011-08-16 Andreas Schwab <schwab@redhat.com>
21918
21919 [BZ #11724]
21920 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
21921 object is seen twice.
21922 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21923
21924 * elf/Makefile (distribute): Add tst-initorder2.c.
21925 (tests): Add tst-initorder2.
21926 (modules-names): Add tst-initorder2a tst-initorder2b
21927 tst-initorder2c tst-initorder2d. Add rules to build them.
21928 ($(objpfx)tst-initorder2.out): New rule.
21929 * elf/tst-initorder2.c: New file.
21930 * elf/tst-initorder2.exp: New file.
21931
87162f46
AS
219322011-08-22 Andreas Schwab <schwab@redhat.com>
21933
70538b7f
AS
21934 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
21935
f55ffe58
AS
21936 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
21937 dependencies back to end of function.
21938
87162f46
AS
21939 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21940 $(elfobjdir)/ld.so.
21941
91b392a4
UD
219422011-08-21 Ulrich Drepper <drepper@gmail.com>
21943
21944 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
21945 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
21946 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
21947 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
21948 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
21949 of __vdso_gettimeofday.
21950 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
21951 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
21952 attribute_hidden.
21953 (_libc_vdso_platform_setup): Remove initialization of
21954 __vdso_gettimeofday and __vdso_time.
21955
5c43483f
UD
219562011-08-20 Ulrich Drepper <drepper@gmail.com>
21957
775a77e7
UD
21958 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
21959 and fgetc_unlocked.
21960 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
21961 getc_unlocked.
89f447ed 21962
49c74ba9
UD
21963 * elf/dl-open.c (add_to_global): Report additions to the global scope
21964 for LD_DEBUG=scopes.
21965 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 21966 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 21967
5c43483f
UD
21968 [BZ #13114]
21969 * stdio-common/Makefile (tests): Add bug24.
21970 * stdio-common/bug24.c: New file.
21971
a101b025
AJ
219722011-08-19 Andreas Jaeger <aj@suse.de>
21973
21974 [BZ #13114]
21975 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
21976 non-existant file when using close-on-exec mode.
21977
c88f1766
UD
219782011-08-20 Ulrich Drepper <drepper@gmail.com>
21979
0276a718
UD
21980 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
21981 the very first instruction.
21982
c88f1766
UD
21983 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
21984 the CFI state in the end.
21985 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
21986 inclusion of dl-trampoline.h.
21987 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
21988
51ccffa0
AS
219892011-08-19 Andreas Schwab <schwab@redhat.com>
21990
94d7165f
AS
21991 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
21992 expectations for long double.
21993
51ccffa0
AS
21994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
21995 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
21996
fd708658 219972011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
21998
21999 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
22000 artificual limit depends upon the system page size.
22001
44f0a71e
UD
220022011-08-17 Ulrich Drepper <drepper@gmail.com>
22003
22004 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
22005 * resolv/Makefile: Define CFLAGS-libresolv.
22006
8de79a24
AS
220072011-08-17 Andreas Schwab <schwab@redhat.com>
22008
22009 * nss/makedb.c (compute_tables): Make variables used in nested
22010 function static.
22011
27724598
UD
220122011-08-17 Ulrich Drepper <drepper@gmail.com>
22013
c5305d88
UD
22014 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
22015 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
22016 if buffer was too small.
22017
27724598
UD
22018 * elf/pldd.c (main): Attach to all threads in the process.
22019 Rewrite /proc handling to use *at functions.
22020
076fe015
UD
220212011-08-16 Ulrich Drepper <drepper@gmail.com>
22022
174baab3
UD
22023 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
22024 specifies first scope to show.
22025 (dl_open_worker): Update callers. Move printing scope of new
22026 object to before the relocation.
44f0a71e 22027 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
22028 * sysdeps/generic/ldsodefs.h: Update declaration.
22029
076fe015
UD
22030 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
22031 string for the scope number.
22032
a60df2c3
UD
220332011-08-14 Ulrich Drepper <drepper@gmail.com>
22034
22035 * nscd/servicescache.c (cache_addserv): Make sure written is always
22036 initialized.
22037
5e4287d1
RM
220382011-08-14 Roland McGrath <roland@hack.frob.com>
22039
85ae0589
RM
22040 * sysdeps/i386/i486/bits/atomic.h
22041 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
22042 statement expression, so as to suppress "set but not used" warning.
22043 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
22044
69f63097
RM
22045 * string/strncat.c (STRNCAT): Use prototype definition.
22046
675456ef
RM
22047 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
22048 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
22049 -Iprograms here.
22050 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
22051 (localedef-modules): Add localedef.
22052 (locale-modules): Add locale.
22053
5e4287d1
RM
22054 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
22055 * elf/rtld.c (dl_main): Invert order of assignment in last change,
22056 to avoid a warning.
22057
9c96ff23
DM
220582011-08-14 David S. Miller <davem@davemloft.net>
22059
22060 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
22061 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
22062
f9ddf089
UD
220632011-08-13 Ulrich Drepper <drepper@gmail.com>
22064
44f0a71e 22065 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
22066 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
22067 * elf/rtld.c (dl_main): Set l_name of vDSO.
22068 Call _dl_show_scope when DL_DEBUG_SCOPES.
22069 (process_dl_debug): Recognize scopes flag and also set it for all.
22070 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
22071 Declare _dl_show_scope.
22072
1dc27704
UD
22073 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
22074 (do_dlopen): Pass caller_dlopen to dl_open.
22075 (__libc_dlopen_mode): Initialize caller_dlopen.
22076
f9ddf089
UD
22077 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
22078 of libc. Make tolower call locale-independent. Optimize a bit by
22079 using isdigit instead of isalnum.
22080 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
22081
9ac533d3
UD
220822011-08-12 Ulrich Drepper <drepper@gmail.com>
22083
22084 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
22085 was a dependency or dynamically loaded.
22086
89edf2e9
UD
220872011-08-11 Ulrich Drepper <drepper@gmail.com>
22088
8e999d29
UD
22089 * intl/l10nflist.c: Allow architecture-specific pop function.
22090 * sysdeps/x86_64/l10nflist.c: New file.
22091
89edf2e9
UD
22092 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
22093 classification.
22094
14d96785
AS
220952011-08-10 Andreas Schwab <schwab@redhat.com>
22096
22097 * include/dirent.h: Add libc_hidden_proto for scandirat and
22098 scandirat64. Don't declare __scandirat64.
22099 * dirent/scandirat.c: Add libc_hidden_def.
22100 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
22101 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
22102
6761ac04
DM
221032011-08-10 David S. Miller <davem@davemloft.net>
22104
22105 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
22106 enum.
22107 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22108 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22109 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22110
c55fbd1e
UD
221112011-08-09 Ulrich Drepper <drepper@gmail.com>
22112
22113 * Versions.def [libc]: Add GLIBC_2.15.
22114 * dirent/Makefile (routines): Add scandirat and scandirat64.
22115 * dirent/Versions [libc]: Export scandirat and scandirat64 for
22116 GLIBC_2.15.
22117 * dirent/dirent.h: Declare scandirat and scandirat64.
22118 * dirent/scandirat.c: New file.
22119 * dirent/scandirat64.c: New file.
22120 * sysdeps/wordsize-64/scandirat.c: New file.
22121 * sysdeps/wordsize-64/scandirat64.c: New file.
22122 * dirent/opendir.c: Define opendirat.
22123 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
22124 using scandirat.
22125 * dirent/scandir64.c: Adjust for scandir.c change.
22126 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
22127 __scandirat64, and __scandir_cancel_handler.
22128 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
22129 additional parameter and use openat instead of open (outside of ld.so).
22130 Add new __opendir as wrapper around __opendirat.
22131 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
22132 here without requiring old scandirat implementation.
22133
879165f2
UD
221342011-08-08 Ulrich Drepper <drepper@gmail.com>
22135
22136 * dirent/scandir.c (cancel_handler): Renamed to
22137 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
22138 defined. Adjust users.
22139 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
22140 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
22141
cb7e923b
UD
221422011-08-04 Ulrich Drepper <drepper@gmail.com>
22143
16292edd
UD
22144 * string/test-string.h (IMPL): Use __STRING to expand name and then
22145 stringify it.
22146
cb7e923b
UD
22147 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
22148 of cleanups.
22149
cff82933
LD
221502011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22151
22152 * string/Makefile: Update.
22153 (strop-tests): Append strncat.
22154 * string/test-wcscmp.c: New file.
22155 New comprehensive test for wcscmp.
22156 * string/test-strcmp.c: Update.
22157 (WIDE): New define.
22158
9be9bfcc
AS
221592011-07-22 Andreas Schwab <schwab@redhat.com>
22160
22161 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
22162 line.
22163
2e96f1c7
AS
221642011-07-26 Andreas Schwab <schwab@redhat.com>
22165
22166 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22167 encoding to ACE if AI_IDN.
22168
85188888
JJ
221692011-08-01 Jakub Jelinek <jakub@redhat.com>
22170
22171 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
22172 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
22173
5fa16e9b
LD
221742011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22175
22176 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
22177 Fix overflow bug in strncat.
22178 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22179
22180 * string/test-strncat.c: Update.
22181 Add new tests for checking overflow bugs.
22182
221832011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22184
22185 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22186 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
22187 * sysdeps/i386/i686/multiarch/strcat.S: New file.
22188 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
22189 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
22190 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
22191 * sysdeps/i386/i686/multiarch/strncat.S: New file.
22192 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
22193 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
22194
22195 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
22196 (USE_AS_STRCAT): Define.
22197 Add strcat and strncat support.
22198 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22199
8c1a459f
AS
222002011-07-25 Andreas Schwab <schwab@redhat.com>
22201
22202 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
22203 __n bigger than INT_MAX+1.
22204 (__strncmp_g): Likewise.
22205
bba33c28
UD
222062011-07-23 Ulrich Drepper <drepper@gmail.com>
22207
798be72d
UD
22208 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
22209 * libio/stido.h: Likewise.
22210
8accd4dc
UD
22211 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
22212 (AF_NFC): Define.
22213 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
22214 (AF_NFC): Define.
22215
cbff0d96
UD
22216 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
22217 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22218 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22219 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22220 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22221
9191c04a
UD
22222 [BZ #13021]
22223 * scripts/test-installation.pl: Don't expect libnss_test1 to be
22224 installed.
22225
bba33c28
UD
22226 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
22227 typo.
22228 (_dl_x86_64_save_sse): Likewise.
22229
90f139dd
UD
222302011-07-22 Ulrich Drepper <drepper@gmail.com>
22231
1aae088a
UD
22232 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
22233 OSXSAVE.
22234 (_dl_x86_64_save_sse): Likewise.
22235
8e2045f5
UD
22236 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
22237
90f139dd
UD
22238 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
22239
1d002f25
AS
222402011-07-21 Andreas Schwab <schwab@redhat.com>
22241
22242 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
22243 change.
22244 (_dl_x86_64_save_sse): Use correct AVX check.
22245
21137f89
UD
222462011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22247
22248 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
22249 bug in strncpy/strncat.
22250 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22251
a65c0b7a
UD
222522011-07-21 Ulrich Drepper <drepper@gmail.com>
22253
22254 * string/tester.c (test_strcat): Add tests for different alignments
22255 of source and destination.
22256 (test_strncat): Likewise.
22257
6986b98a
UD
222582011-07-20 Ulrich Drepper <drepper@gmail.com>
22259
90bb2039
UD
22260 [BZ #12852]
22261 * posix/glob.c (glob): Check passed in values before using them in
22262 expressions to avoid some overflows.
22263 (glob_in_dir): Likewise.
22264
5644ef54
UD
22265 [BZ #13007]
22266 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
22267 check for AVX enablement so that we don't crash with old kernels and
22268 new hardware.
22269 * elf/tst-audit4.c: Add same checks here.
22270 * elf/tst-audit6.c: Likewise.
22271
22272 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 22273
bfc9dc9b
AS
222742011-07-09 Andreas Schwab <schwab@linux-m68k.org>
22275
22276 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
22277
702e64bb
UD
222782011-07-20 Ulrich Drepper <drepper@gmail.com>
22279
22280 * po/cs.po: Update from translation team.
22281 * po/bg.po: Likewise.
22282
295e904f
MP
222832011-07-12 Marek Polacek <mpolacek@redhat.com>
22284
22285 * misc/sys/cdefs.h: Add support for const attribute.
22286 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
22287 to gnu_dev_{major,minor,makedev} functions.
22288
3ff94596
MP
222892011-07-20 Marek Polacek <mpolacek@redhat.com>
22290
22291 * intl/dcigettext.c (get_output_charset): Add missing bracket.
22292
28b59fca
AS
222932011-07-20 Andreas Schwab <schwab@redhat.com>
22294
22295 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
22296 strlen results.
22297
19df733e
AK
222982011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22299
22300 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22301 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
22302 register in order to avoid conflicts with the soft frame pointer
22303 being held in r11 when necessary.
22304 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22305 (INTERNAL_VSYSCALL_NCS): Likewise.
22306
c8835729
MP
223072011-07-14 Marek Polacek <mpolacek@redhat.com>
22308
22309 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
22310 * elf/dl-fini.c (_dl_fini): Adjust caller.
22311 * elf/dl-close.c (_dl_close_worker): Likewise.
22312 * sysdeps/generic/ldsodefs.h: Adjust declaration.
22313
b902330c
MP
223142011-07-15 Marek Polacek <mpolacek@redhat.com>
22315
8991e135
MP
22316 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
22317 "aux_cache->nlibs < 0".
22318
b902330c
MP
22319 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
22320 in the reload-count case.
22321
99710781
LD
223222011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22323
22324 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22325 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
22326 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
22327 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
22328 * sysdeps/x86_64/multiarch/strcat.S: New file.
22329 * sysdeps/x86_64/multiarch/strncat.S: New file.
22330 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
22331 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
22332 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
22333 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
22334 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
22335 (USE_AS_STRCAT): Define.
22336 Add strcat and strncat support.
22337 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22338 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22339 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
22340 * string/strncat.c: Update.
22341 (USE_AS_STRNCAT): Define.
22342 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22343 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
22344 and i7.
22345 * sysdeps/x86_64/multiarch/init-arch.h
22346 (bit_Prefer_PMINUB_for_stringop): New.
22347 (index_Prefer_PMINUB_for_stringop): Likewise.
22348 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
22349 bit_Prefer_PMINUB_for_stringop.
22350
7dc6bd90
UD
223512011-07-19 Ulrich Drepper <drepper@gmail.com>
22352
22353 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
22354 buffer64.
22355 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
22356 of casting of buffer.
22357 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
22358 buffer32 and buffer64.
22359 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
22360 writes instead of casting of buffer.
22361 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
22362 buffer32.
22363 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
22364 casting of buffer.
22365
e0e72284
AS
223662011-07-19 Andreas Schwab <schwab@redhat.com>
22367
22368 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
22369
feb1eb0b
UD
223702011-07-19 Ulrich Drepper <drepper@gmail.com>
22371
22372 * nscd/nscd.c (termination_handler): Don't do anything for a database
22373 if it has not yet been initialized.
22374
298711ff
UD
223752011-07-18 Ulrich Drepper <drepper@gmail.com>
22376
22377 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22378
223792011-07-15 Marek Polacek <mpolacek@redhat.com>
22380
22381 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22382
f9d68389
UD
223832011-07-18 Ulrich Drepper <drepper@gmail.com>
22384
22385 * po/nl.po: Update from translation team.
22386 * po/sv.po: Likewise.
22387
db290cf5
RM
223882011-07-16 Roland McGrath <roland@hack.frob.com>
22389
22390 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
22391 now disallowed by GCC.
5c550700 22392
fd5e21c7
RM
22393 * configure.in (use-default-link): Default to yes if a test -shared
22394 link meets our qualifications.
22395 * configure: Regenerated.
22396
5c550700
RM
22397 * config.make.in (output-format): New variable.
22398 * configure.in: Check for ld --print-output-format support.
22399 * configure: Regenerated.
22400 * Makerules ($(common-objpfx)format.lds)
22401 [$(output-format) != unknown]: Just use $(output-format),
22402 instead of the linker-script munging.
22403
9fa2c032
RM
224042011-07-14 Roland McGrath <roland@hack.frob.com>
22405
a6928d51
RM
22406 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
22407 of $(common-objpfx)shlib.lds.
22408 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
22409
661607b3
RM
22410 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
22411 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
22412
9fa2c032
RM
22413 * configure.in (-z relro check): Adjust test code to add a large
22414 writable data section after it.
22415 * configure: Regenerated.
22416
defe9061
RM
224172011-07-11 Roland McGrath <roland@hack.frob.com>
22418
22419 * configure.in (-z relro check): Fix test code to make the variable
22420 truly const.
22421 * configure: Regenerated.
22422
319b9ad4
UD
224232011-07-11 Ulrich Drepper <drepper@gmail.com>
22424
22425 * nscd/nscd.h (struct traced_file): Define.
22426 (struct database_dyn): Remove inotify_descr, reset_res, and filename
22427 elements. Add traced_files.
22428 (inotify_fd): Declare.
22429 (register_traced_file): Declare.
22430 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
22431 (inotify_fd): Export.
22432 (resolv_conf_descr): Remove.
22433 (nscd_init): Move inotify descriptor creation to main.
22434 Don't register files for notification here.
22435 (register_traced_file): New function.
22436 (invalidate_cache): Don't use reset_res to determine whether to call
22437 res_init, go through the list of registered files.
22438 (main_loop_poll): The inotify descriptors are now stored in the
22439 structures for the traced files.
22440 (main_loop_epoll): Likewise
22441 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
22442 to __nss_disable_nscd.
22443 * nscd/cache.c (prune_cache): There is no single inotify descriptor
22444 for a database anymore. Check the records for all the registered
22445 files instead.
22446 * nss/Makefile (libnss_files-routines): Add files-init.
22447 (libnss_db-routines): Add db-init.
22448 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
22449 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
22450 * nss/nss_db/db-init.c: New file.
22451 * nss/nss_files/files-init.c: New file.
22452 * nss/nsswitch.c (nss_load_library): New function. Broken out of
22453 __nss_lookup_function.
22454 (__nss_lookup_function): Call nss_load_library.
22455 (nss_load_all_libraries): New function.
22456 (__nss_disable_nscd): Take parameter with callback function for files
22457 to register. Set is_nscd. Load all the DSOs for the NSS modules
22458 used for the cached services.
22459 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
22460 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
22461 options for features to all the files in nscd.
22462
22463 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
22464
23bee3e8
RM
224652011-07-10 Roland McGrath <roland@hack.frob.com>
22466
22467 * csu/elf-init.c (__libc_csu_init): Comment typo.
22468
46a5b7f0
UD
224692011-07-09 Ulrich Drepper <drepper@gmail.com>
22470
22471 * po/pl.po: Update from translation team.
22472 * po/ja.po: Likewise.
22473 * po/ru.po: Likewise.
22474 * po/ko.po: Likewise.
22475 * po/fr.po: Likewise.
22476
d30cf5bb
RM
224772011-07-09 Roland McGrath <roland@hack.frob.com>
22478
113ddea4
RM
22479 * configure.in (.ctors/.dtors header and trailer check):
22480 Use an empirical test on a built program.
22481 * configure: Regenerated.
22482
574920b4
RM
22483 * configure.in (-z relro check): Use an empirical test on a built DSO.
22484 Detect, but do not require, on ia64.
22485 * configure: Regenerated.
22486
d30cf5bb
RM
22487 * configure.in (READELF): Find it with AC_CHECK_TOOL.
22488 Update tests that use readelf to use $READELF instead.
22489 * configure: Regenerated.
22490
8538fdb3
UD
224912011-07-08 Ulrich Drepper <drepper@gmail.com>
22492
22493 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
22494 if the result is not used.
22495
04d08991
AJ
224962011-07-05 Andreas Jaeger <aj@suse.de>
22497
22498 [BZ#9696]
22499 * stdlib/tst-strtod.c: Add testcase.
22500
de283087
AD
225012011-07-07 Ulrich Drepper <drepper@gmail.com>
22502
4e5f31c8 22503 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 22504 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
22505 The latter has a higher limit. Take additional parameter to pass to
22506 the new function.
22507 (__pathconf): Pass file to __statfs_link_max.
22508 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
22509 __statfs_link_max.
22510 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
22511 __statfs_link_max.
22512
de283087
AD
22513 [BZ #12868]
22514 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
22515 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22516 Handle Lustre.
22517 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
22518 (__statfs_filesize_max): Likewise.
22519 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
22520
c75fa153
AJ
225212011-07-05 Andreas Jaeger <aj@suse.de>
22522
22523 * resolv/res_comp.c (dn_skipname): Remove unused variable.
22524
1a544854
UD
225252011-07-06 Marek Polacek <mpolacek@redhat.com>
22526
22527 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
22528 `status' variable.
22529 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
22530 Likewise.
22531
6f0eec67
UD
225322011-07-04 H.J. Lu <hongjiu.lu@intel.com>
22533
22534 * Makefile (strop-tests): Add strncat.
22535 * string/test-strncat.c: New file.
22536
aae30307
UD
225372011-06-30 Marek Polacek <mpolacek@redhat.com>
22538
22539 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
22540
c0cfb5eb
UD
225412011-06-21 Andreas Jaeger <aj@suse.de>
22542
22543 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
22544 Copy rule from iconvdata/Makefile.
22545
01636b21
UD
225462011-07-06 Ulrich Drepper <drepper@gmail.com>
22547
22548 [BZ #12922]
22549 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
22550 but no long options are defined, just return 'W'.
22551
9895c8bc
UD
225522011-06-22 Marek Polacek <mpolacek@redhat.com>
22553
22554 [BZ #9696]
22555 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
22556
5d4cf042
UD
225572011-07-06 Ulrich Drepper <drepper@gmail.com>
22558
22559 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
22560 netgroups to read.
960e5535 22561 (innetgr): Likewise.
5d4cf042 22562
751eb97e
RM
225632011-07-05 Roland McGrath <roland@hack.frob.com>
22564
22565 * config.make.in (install_root): Default to $(DESTDIR).
22566
f15f1e45
UD
225672011-07-05 Ulrich Drepper <drepper@gmail.com>
22568
22569 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
22570
4e34ac6a
RM
225712011-07-02 Roland McGrath <roland@hack.frob.com>
22572
5e9b6af4
RM
22573 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
22574
84f9ea0f
RM
22575 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
22576 containing directory rather than embedding absolute directory names.
22577
ea5ee9f7
RM
22578 * scripts/check-local-headers.sh: Rewritten using awk.
22579 Match by word, not by line. Print error messages for matches.
22580 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
22581
1b74661a
RM
22582 * Makerules [shlib-lds-flags empty]:
22583 ($(common-objpfx)libc_pic.opts): New target.
22584 ($(common-objpfx)libc_pic.os.clean): New target.
22585 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
22586
22587 * config.make.in (OBJCOPY): New variable.
22588 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
22589 * configure: Regenerated.
22590
f781ef40
RM
22591 * config.make.in (use-default-link): New variable.
22592 * configure.in (use_default_link): Grok --with-default-link to set it.
22593 * configure: Regenerated.
22594 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
22595 (shlib-lds, shlib-lds-flags): Define to empty.
22596
2d4fa81e
RM
22597 * Makerules (shlib-lds): New variable.
22598 (shlib-lds-flags): New variable.
22599 (build-shlib, build-moduile, build-module-asneeded): Use it.
22600 ($(common-objpfx)libc.so): Use $(shlib-lds).
22601 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
22602 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
22603
31fffa6b
RM
22604 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
22605 DT_FLAGS/DT_FLAGS_1 with zero flags.
22606
4e34ac6a
RM
22607 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
22608 linker script munging.
22609
fcfc776b
UD
226102011-07-02 Ulrich Drepper <drepper@gmail.com>
22611
22612 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
22613 as 128-bit value.
22614 * crypt/sha512.c (sha512_process_block): Perform total addition using
22615 128-bit if possible.
22616 (__sha512_finish_ctx): Likewise.
22617 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
22618 as 64-bit value.
22619 * crypt/sha256.c (SWAP64): Define.
22620 (sha256_process_block): Perform total addition using 64-bit if
22621 possible.
22622 (__sha256_finish_ctx): Likewise.
22623
99231d9a
UD
226242011-07-01 Ulrich Drepper <drepper@gmail.com>
22625
22626 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
22627 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22628 * nscd/hstcache.c (cache_addhst): Likewise.
22629 * nscd/grpcache.c (cache_addgr): Likewise.
22630 * nscd/aicache.c (addhstaiX): Likewise
22631 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
22632
445b4a53
TK
226332011-07-01 Thorsten Kukuk <kukuk@suse.de>
22634
22635 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
22636 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22637 * nscd/hstcache.c (cache_addhst): Likewise.
22638 * nscd/grpcache.c (cache_addgr): Likewise.
22639 * nscd/aicache.c (addhstaiX): Likewise
22640
6d4d8e8e
AS
226412011-07-01 Andreas Schwab <schwab@redhat.com>
22642
22643 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
22644 domain only when needed.
22645
89f654c5
AS
226462011-06-30 Andreas Schwab <schwab@redhat.com>
22647
22648 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
22649 is always restored.
22650
cf3b23ff
UD
226512011-06-29 Ulrich Drepper <drepper@gmail.com>
22652
22653 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
22654 are re-adding the entry.
22655 * nscd/servicescache.c (cache_addserv): Likewise.
22656
751626f9
AJ
226572011-06-30 Aurelien Jarno <aurelien@aurel32.net>
22658
22659 * sysdeps/generic/dl-irel.h: fix protection against multiple
22660 inclusions.
22661 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
22662
9113ea1f
UD
226632011-06-28 Ulrich Drepper <drepper@gmail.com>
22664
5c0b8d90
UD
22665 [BZ #12935]
22666 * malloc/memusage.sh: Fix quoting in message.
22667 * debug/xtrace.sh: Likewise.
22668
9113ea1f
UD
22669 * configure.in: Remove support for --experimental-malloc option, make
22670 it the default.
22671 * config.make.in: Likewise.
22672 * malloc/Makefile: Likewise.
22673
a4172181
AS
226742011-06-27 Andreas Schwab <schwab@redhat.com>
22675
22676 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
22677 two-byte characters.
22678
78a7eee7
RM
226792011-06-27 Roland McGrath <roland@hack.frob.com>
22680
62bede13
RM
22681 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
22682 AC_CACHE_CHECK invocation.
22683 * configure: Regenerated.
22684
78a7eee7
RM
22685 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
22686
5ce33a62
UD
226872011-06-27 Ulrich Drepper <drepper@gmail.com>
22688
034807a9
UD
22689 [BZ #12350]
22690 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
22691 bit from old_res_options.
22692
4902da17
UD
22693 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
22694
5ce33a62
UD
22695 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
22696 value type for setfct.
22697
c2344f56
L
226982011-06-23 H.J. Lu <hongjiu.lu@intel.com>
22699
22700 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22701 __gettimeofday instead of gettimeofday.
22702
68468076
UD
227032011-06-26 Ulrich Drepper <drepper@gmail.com>
22704
22705 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
22706
acb0d739
L
227072011-06-24 H.J. Lu <hongjiu.lu@intel.com>
22708
22709 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
22710
22711 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
22712 info.
22713
8912479f
L
227142011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22715
22716 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22717 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22718 strcpy-sse2-unaligned strncpy-sse2-unaligned
22719 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
22720 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
22721 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
22722 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
22723 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
22724 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
22725 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
22726 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
22727 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
22728 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
22729 (STRCPY): Support SSE2 and SSSE3 versions.
22730
d5495a11
UD
227312011-06-24 Ulrich Drepper <drepper@gmail.com>
22732
22733 [BZ #12874]
22734 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
22735 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
22736 kernels which artificially limit size of requests.
22737
0b1cbaae
L
227382011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22739
22740 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22741 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22742 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
22743 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
22744 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
22745 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
22746 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
22747 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
22748 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
22749 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
22750 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
22751 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
22752 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
22753 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
22754 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
22755 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22756 Enable unaligned load optimization for Intel Core i3, i5 and i7
22757 processors.
22758 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
22759 Define.
22760 (index_Fast_Unaligned_Load): Define.
22761 (HAS_FAST_UNALIGNED_LOAD): Define.
22762
07f494a0
MP
227632011-06-23 Marek Polacek <mpolacek@redhat.com>
22764
22765 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
22766
fa3fc0fe
UD
227672011-06-22 Ulrich Drepper <drepper@gmail.com>
22768
22769 [BZ #12907]
22770 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
22771 until it is clear that the information is realy needed.
22772 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
22773
e12df166
AS
227742011-06-22 Andreas Schwab <schwab@redhat.com>
22775
22776 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
22777
852eb34d
UD
227782011-06-22 Ulrich Drepper <drepper@gmail.com>
22779
84e2a551
UD
22780 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22781 /sys/devices/system/cpu/online if it is usable.
22782
852eb34d
UD
22783 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
22784 reading the information from the /proc filesystem to once a second.
22785
6e502e19
UD
227862011-06-21 Andreas Jaeger <aj@suse.de>
22787
22788 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
22789 NULL after inclusion of kernel headers.
22790
75d39ff2
UD
227912011-06-21 Ulrich Drepper <drepper@gmail.com>
22792
51f9aa6a
UD
22793 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
22794 calls to internal_setent.
22795
c0244a9d
UD
22796 [BZ #12885]
22797 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
22798 addresses using gethostbyname4_r ignore IPv4 addresses.
22799
c5e3c2ae
UD
22800 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
22801 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
22802
75d39ff2
UD
22803 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
22804
42675c6f
DM
228052011-06-20 David S. Miller <davem@davemloft.net>
22806
22807 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
22808 inclusions.
22809 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
22810
22811 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
22812 (elf_irel): Use it.
22813 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
22814 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
22815 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
22816 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
22817 * sysdeps/x86_64/dl-irel.h: Likewise.
22818
22819 * elf/dl-runtime.c: Use elf_ifunc_invoke.
22820 * elf/dl-sym.c: Likewise.
22821
57912a71
UD
228222011-06-15 Ulrich Drepper <drepper@gmail.com>
22823
22824 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
22825 need to dereference resplen2.
22826
ee22793d
AS
228272011-06-14 Andreas Schwab <schwab@redhat.com>
22828
22829 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
22830
a9e836b0
UD
228312011-06-15 Ulrich Drepper <drepper@gmail.com>
22832
77fb9117
UD
22833 * Makeconfig: Define vardbdir and inst_vardbdir.
22834 * nss/Makefile: Add rules to install db-Makefile.
22835
40c1b22c
UD
22836 * nss/nss_db/db-XXX.c: Cleanup.
22837
9f2da732
UD
22838 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
22839 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
22840 GLIBC_PRIVATE.
22841 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
22842 * nss/makedb.c: Implement -g option to specify that value strings
22843 are generated and should not be added to table iterated over for
22844 get*ent calls.
22845 * nss/nss_db/db-initgroups.c: New file.
22846
82e9a1f7
UD
22847 * nss/getent.c: Add support for initgroups lookups through getgrouplist
22848 interface.
22849
c41af17e
UD
22850 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
22851 (internal_getgrouplist): Adjust to name change.
22852 Update use_initgroups_entry if this is not the first call.
22853 * nss/databases.def: Add initgroups entry.
22854
a9e836b0
UD
22855 * nss/makedb.c (compute_tables): Check result of multiple hash table
22856 sizes to minimize maximum chain length.
22857
2666d441
UD
228582011-06-14 Ulrich Drepper <drepper@gmail.com>
22859
22860 * Versions.def: Add entry for libnss_db.
22861 * shlib-versions: Likewise.
22862 * nss/Makefile: Add rules to build libnss_db.
22863 * nss/Versions: Add libnss_db information. Organize libnss_files
22864 entries better.
22865 * nss/db-Makefile: Add gshadow support. Change rules for the new
22866 makedb progra. Some minor improvements to generate smaller files.
22867 * nss/nss_db/nss_db.h: Move NSS database header data structures to
22868 here from...
22869 * nss/makedb.c: ...here.
22870 Improve database format to be smaller and require less memory at
22871 runtime.
22872 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
22873 db anymore.
22874 * nss/nss_db/db-netgrp.c: Likewise.
22875 * nss/nss_db/db-open.c: Likewise.
22876 * nss/nss_files/flies-XXX.x: Adjust comments.
22877 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
22878 * nss/nss_files/files-grp.c: Likewise.
22879 * nss/nss_files/files-hosts.c: Likewise.
22880 * nss/nss_files/files-network.c: Likewise.
22881 * nss/nss_files/files-proto.c: Likewise.
22882 * nss/nss_files/files-pwd.c: Likewise.
22883 * nss/nss_files/files-rpc.c: Likewise.
22884 * nss/nss_files/files-service.c: Likewise.
22885 * nss/nss_files/files-sgrp.c: Likewise.
22886 * nss/nss_files/files-spwd.c: Likewise.
22887 * nss/nss_db/db-alias.c: Removed.
22888 * nss/nss_db/dummy-db.h: Removed.
22889
9ee76b5a
UD
228902011-06-02 Ulrich Drepper <drepper@gmail.com>
22891
22892 * nss/makedb.c: Rewritten to not use database library.
22893 * nss/Makefile: Update to build new makedb program.
22894
c71ca1f8
AJ
228952011-06-14 Andreas Jaeger <aj@suse.de>
22896
22897 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
22898 memset declaration.
22899
3154bfb8
UD
229002011-06-10 Andreas Schwab <schwab@redhat.com>
22901
22902 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
22903 tmpbuf.
22904
b350afab
RM
229052011-06-10 Roland McGrath <roland@hack.frob.com>
22906
decd4e50
RM
22907 * Makerules (shlib.lds): Fail if the linker script comes out empty.
22908 * elf/Makefile ($(objpfx)ld.so): Likewise.
22909
5615eaf2
RM
22910 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
22911 Don't list ld.so twice in dependencies.
22912
22913 * posix/bug-regex31.c: Include <stdlib.h>.
22914
22915 * nscd/hstcache.c (cache_addhst): Remove unused variable.
22916
22917 * nis/nss_compat/compat-spwd.c
22918 (getspent_next_nss_netgr): Remove unused variable.
22919 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
22920
22921 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
22922 nonmembers" output to use the right array.
22923
22924 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
22925
22926 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
22927
22928 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
22929 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
22930 * catgets/gencat.c (read_input_file): Likewise.
22931 * locale/programs/locarchive.c (enlarge_archive): Likewise.
22932
22933 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
22934 variable definition inside #if's controlling its use.
22935
22936 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
22937
22938 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
22939
22940 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
22941
22942 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
22943 unreachable code.
22944
22945 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
22946
b68e08db
RM
22947 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
22948 * configure: Regenerated.
22949
b350afab
RM
22950 * Makerules: Revert last change.
22951 * elf/Makefile: Likewise.
22952
28368601
RM
229532011-06-09 Roland McGrath <roland@hack.frob.com>
22954
22955 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
22956 * elf/Makefile ($(objpfx)librtld.os): Likewise.
22957 (reloc-link): Likewise.
22958
11988f8f
UD
229592011-06-09 Ulrich Drepper <drepper@gmail.com>
22960
22961 * elf/Makefile: Add rules to build pldd.
22962 * elf/pldd.c: New file.
22963 * elf/pldd-xx.c: New file.
22964
e80fab37
UD
229652011-06-07 Ulrich Drepper <drepper@gmail.com>
22966
22967 * version.h: Update for 2.15 development version.
22968
9b849836
DM
229692011-06-07 David S. Miller <davem@davemloft.net>
22970
22971 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
22972 ifuncs.
22973 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
22974 elf_machine_lazy_rel): Likewise.
22975 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22976 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
22977 elf_machine_lazy_rel): Likewise.
22978 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
22979 dl_hwcap via passed in argument.
22980 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
22981 Likewise.
22982
5a31b283
AK
229832011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22984
22985 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
22986
069e52f8
RM
229872011-06-06 Roland McGrath <roland@hack.frob.com>
22988
22989 [BZ #12849]
22990 * manual/fdl-1.1.texi: New file, verbatim from:
22991 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
22992 * manual/lgpl-2.1.texi: New file, verbatim from:
22993 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
22994 * manual/Makefile (licenses): New variable, list those new file names.
22995 (texis): Use it.
22996 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
22997
22998 * manual/fdl.texi: File removed.
22999 * manual/lesser.texi: File removed.
23000 * manual/libc.texinfo (Copying, Documentation License):
23001 Use new @include file names, put @appendix directive before @include.
23002
f16846a5
JJ
230032011-06-04 Jakub Jelinek <jakub@redhat.com>
23004
23005 [BZ #12841]
23006 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
23007 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
23008 (mq_open): Add __NTH.
23009
3d29045b
L
230102011-06-02 H.J. Lu <hongjiu.lu@intel.com>
23011
23012 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23013 Assume Intel Core i3/i5/i7 processor if AVX is available.
23014
8c297311
UD
230152011-05-31 Ulrich Drepper <drepper@gmail.com>
23016
23017 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23018 typo.
23019
c8fc0c91
UD
230202011-05-31 Andreas Schwab <schwab@redhat.com>
23021
23022 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
23023 memory. Use alloca_account. Fix memory leak when retrying.
23024
5b27a807
UD
230252011-05-31 Ulrich Drepper <drepper@gmail.com>
23026
356f8bc6
UD
23027 * version.h (RELEASE): Bump for 2.14 release.
23028 * include/features.h (__GLIBC_MINOR__): Bump to 14.
23029
5b27a807
UD
23030 * config.make.in (RANLIB): Remove entry.
23031
01f16ab0
UD
230322011-05-30 Ulrich Drepper <drepper@gmail.com>
23033
41fce8bd
UD
23034 * po/Makefile (po-sed-cmd): Add ksh to extensions.
23035 (libc.pot): Work around missing support for .ksh extension in xgettext.
23036
4769ae77
UD
23037 [BZ #12684]
23038 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
23039 if both request failed.
23040 (send_dg): In case of server errors clear resplen or *resplen2.
23041
6b1e7d19
UD
23042 [BZ #12454]
23043 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
23044 when there are multiple maps.
23045 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
23046 (_dl_fini): Remove test here.
23047
01f16ab0
UD
23048 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
23049
b1ebd700
UD
230502011-05-29 Ulrich Drepper <drepper@gmail.com>
23051
7ae22829
UD
23052 [BZ #12350]
23053 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
23054 bit from old_res_options.
23055 (gaih_inet): Likewise.
23056
553149f6 23057 [BZ #11099]
18a84741 23058 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
23059 as signed.
23060
652ffab1
UD
23061 * resolv/res_init.c (res_setoptions): Make the code more compact.
23062
16985fd0
UD
23063 [BZ #11558]
23064 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
23065 set RES_USEVC.
23066
0464f746
UD
23067 [BZ #11634]
23068 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
23069
7d17596c
UD
23070 * malloc/malloc.h: Mark malloc hook variables as deprecated.
23071
cf6bbbd7
UD
23072 [BZ #11781]
23073 * malloc/malloc.h: Declare malloc hook variables as volatile.
23074
13f1ab36
UD
23075 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
23076 in last patch.
23077
b1ebd700
UD
23078 [BZ #11799]
23079 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 23080 raise in the comment.
80e2212d
UD
23081 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23082 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23083 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 23084
ce67228d
UD
230852011-05-28 Ulrich Drepper <drepper@gmail.com>
23086
8887a920
UD
23087 [BZ #12811]
23088 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
23089 grow the buffers more if it already has to be sufficient.
23090 (build_wcs_upper_buffer): Likewise.
23091 * posix/regexec.c (check_matching): Likewise.
23092 (clean_state_log_if_needed): Likewise.
23093 (extend_buffers): Don't enlarge buffers beyond size of the input
23094 buffer.
23095 Patches mostly by Emil Wojak <emil@wojak.eu>.
23096 * posix/bug-regex32.c: New file.
23097 * posix/Makefile (tests): Add bug-regex32.
23098
4f031072
UD
23099 * locale/findlocale.c (_nl_find_locale): Return right away if
23100 _nl_explode_name failed.
23101 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23102
d0478f0c
UD
23103 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
23104
de81b246
UD
23105 * debug/xtrace.sh: Unify messages.
23106 * malloc/memusage.sh: Likewise.
23107
c738465a
UD
23108 [BZ #12813]
23109 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
23110 time symbol from vDSO. Substitute with vsyscall if not available.
23111 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
23112 __vdso_time.
23113
f1f929d7
UD
23114 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
23115 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
23116 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
23117 Add sendmmsg and internal_sendmmsg.
23118 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
23119 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
23120 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
23121
ce67228d
UD
23122 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
23123 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
23124 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
23125
e57420c6
UD
231262011-05-27 Ulrich Drepper <drepper@gmail.com>
23127
a8509ca5
UD
23128 [BZ #12813]
23129 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
23130 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
23131 available.
23132 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
23133 __vdso_getcpu.
23134
e57420c6
UD
23135 [BZ #12814]
23136 * iconvdata/Makefile (tests): Add bug-iconv9.
23137 * iconvdata/bug-iconv9.c: New file.
23138
4d07db15
AS
231392011-05-27 Andreas Schwab <schwab@redhat.com>
23140
23141 [BZ #12814]
23142 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
23143
ea486f69
JJ
231442011-05-25 Jakub Jelinek <jakub@redhat.com>
23145
23146 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23147 (struct user_regs_struct): Change intcs field back to cs.
23148
6f038433
UD
231492011-05-25 Ulrich Drepper <drepper@gmail.com>
23150
23151 * po/ja.po: Update from translation team.
23152
67f86a25
UD
231532011-05-23 Ulrich Drepper <drepper@gmail.com>
23154
23155 [BZ #12795]
23156 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
23157 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
23158
def7fbd6
AS
231592011-05-20 Andreas Schwab <schwab@redhat.com>
23160
23161 * stdlib/longlong.h: Update from GCC.
23162
f50ef8f1
AS
231632011-05-23 Andreas Schwab <schwab@redhat.com>
23164
23165 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
23166 parameter name.
23167 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
23168 Add parameter name.
23169 (__sysconf): Pass it down.
23170
de7ce8f1
UD
231712011-05-22 Ulrich Drepper <drepper@gmail.com>
23172
f2962a71
UD
23173 [BZ #12671]
23174 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
23175 some situations.
23176 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23177 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
23178 add in in __libc_use_alloca calls. Adjust callers.
23179 (glob): Use malloc in some situations.
23180
de7ce8f1
UD
23181 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
23182 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
23183 pltexit.
23184
aec84f53
UD
231852011-05-21 Ulrich Drepper <drepper@gmail.com>
23186
05bb4a68
UD
23187 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
23188 and CLOCK_BOOTTIME_ALARM.
23189
7ea72f99
UD
23190 [BZ #12782]
23191 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
23192 is returned.
23193
7e4afad5
UD
23194 * string/_strerror.c (__strerror_r): Print negative errors as signed
23195 numbers.
23196
8e211fec
UD
23197 [BZ #12777]
23198 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
23199 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
23200 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
23201
f7d82dc9
UD
23202 * configure.in: Fix typo in redirection and correct removal of test
23203 files in two cases.
23204
cc9e536d
UD
23205 [BZ #12788]
23206 * locale/setlocale.c (new_composite_name): Fix test to check for
23207 identical name of all categories.
23208
aec84f53
UD
23209 [BZ #12792]
23210 * libio/filedoalloc.c (local_isatty): New function.
23211 (_IO_file_doallocate): Use local_isatty.
23212 * stdio-common/perror.c (perror): In case a new stream is used
23213 forward the stream error.
23214 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
23215 error flag.
23216
78e64fdc
RT
232172011-05-20 Ulrich Drepper <drepper@gmail.com>
23218
34a9094f
UD
23219 [BZ #11869]
23220 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
23221 alloca.
23222 * include/alloca.h (extend_alloca_account): Define.
23223
78e64fdc
RT
23224 [BZ #11857]
23225 * posix/regex.h: Fix comments with documentation of user-accessible
23226 fields after compilation and describe correct free'ing of pattern
23227 after re_compile_pattern.
23228 Patch by Reuben Thomas <rrt@sc3d.org>.
23229
457bddfc
RA
232302011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
23231
23232 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
23233 and -mno-altivec to prevent the compiler from using Altivec and/or
23234 VSX instructions when the corresponding registers are not available.
23235
a4527b51
AS
232362011-05-19 Andreas Schwab <schwab@redhat.com>
23237
23238 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
23239
ed690b2f
UD
232402011-05-19 Ulrich Drepper <drepper@gmail.com>
23241
23242 * libio/freopen.c (freopen): Use __dup2, not dup2.
23243 * libio/freopen64.c (freopen64): Likewise.
23244
8db73634
L
232452011-05-17 H.J. Lu <hongjiu.lu@intel.com>
23246
23247 [BZ #12775]
23248 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
23249 * math/Makefile (tests): Add test-powl.
23250 (CFLAGS-test-powl.c): Define.
23251 * math/test-powl.c: New file.
23252
0a197a9d
L
232532011-05-16 H.J. Lu <hongjiu.lu@intel.com>
23254
23255 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
23256
ee30c380
UD
232572011-05-17 Ulrich Drepper <drepper@gmail.com>
23258
23259 [BZ #11837]
23260 * iconvdata/gb18030.c: Update to GB18020-2005.
23261
6ce75379
UD
232622011-05-16 Ulrich Drepper <drepper@gmail.com>
23263
a4b89fd8
AR
23264 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
23265 RE_SYNTAX_POSIX_AWK): Update to match recent development.
23266 Patch by Aharon Robbins <arnold@skeeve.com>.
23267
ea389b12
UD
23268 [BZ #11892]
23269 * stdlib/putenv.c (putenv): Don't always create copy of the variable
23270 on the stack.
23271
68a3f91f
UD
23272 [BZ #11895]
23273 * misc/pselect.c (__pselect): Handle timeout value errors hidden
23274 through underflows.
23275
15cc7dd1
UD
23276 [BZ #12766]
23277 * misc/error.c (error_at_line): Ensure file_name and old_file_name
23278 point to strings before performing equality test for error_one_per_line
23279 mode.
23280
f3799213
UD
23281 [BZ #11697]
23282 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
23283
d79a9c94
UD
23284 [BZ #11820]
23285 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23286 (struct user_fpregs_struct): Avoid __uint*_t types.
23287
56e5eb46
UD
23288 [BZ #6420]
23289 * malloc/mtrace.c (tr_where): Add additional parameter to point to
23290 symbol info. Use it instead of calling _dl_addr locally.
23291 (lock_and_info): New function.
23292 (tr_freehook): Call lock_and_info and pass symbol info as additional
23293 parameter to tr_where.
23294 (tr_mallochook): Likewise.
23295 (tr_reallochook): Likewise.
23296 (tr_memalignhook): Likewise.
23297
6ce75379
UD
23298 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
23299 used and couldn't be at all thread-safe.
23300
f8a3b5bf
UD
233012011-05-15 Ulrich Drepper <drepper@gmail.com>
23302
94b7cc37
UD
23303 * libio/freopen.c (freopen): Don't close old file descriptor
23304 before the new one is opened. Instead dup the new file descriptor
23305 to the old one after the new stream is created.
23306 * libio/freopen64.c (freopen64): Likewise.
23307 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
23308 * libio/fileops.c (_IO_new_file_close_it): Handle new
23309 _IO_FLAGS2_NOCLOSE flag.
23310 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
23311 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
23312 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
23313 _IO_FLAGS2_NOCLOSE flag.
23314 * include/unistd.h: Add hidden_proto for dup3.
23315 Define __have_dup3.
23316 * io/dup3.c: Define hidden symbol.
23317 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
23318
bd25564e
UD
23319 [BZ #7101]
23320 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
23321 when an incomplete long option is used.
23322 * posix/tst-getopt_long1.c: New file.
23323 * posix/Makefile (tests): Add tst-getopt_long1.
23324
c84cfef4
UD
23325 [BZ #10138]
23326 * scripts/config.guess: Update from autoconf-2.68.
23327 * scripts/config.sub: Likewise.
23328
3b85df27
UD
23329 [BZ #10157]
23330 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
23331 tests into ...
23332 (has_cpuclock): ...this. New function.
23333 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
23334 macro here based on has_cpuclock code.
23335
15a856b1
UD
23336 [BZ #10149]
23337 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23338 First byte (not low byte) is now always NUL.
23339 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
23340
05f399e6
UD
23341 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23342 Use non-cancelable interfaces.
23343
10a52685 23344 [BZ #9809]
94ecc67d
UD
23345 * locale/iso-639.def: Add entry for Sorani.
23346
f8a3b5bf
UD
23347 [BZ #11901]
23348 * include/stdlib.h: Move include protection to the right place.
23349 Define abort_msg_s. Declare __abort_msg with it.
23350 * stdlib/abort.c (__abort_msg): Adjust type.
23351 * assert/assert.c (__assert_fail_base): New function. Majority
23352 of code from __assert_fail. Allocate memory for __abort_msg with
23353 mmap.
23354 (__assert_fail): Now call __assert_fail_base.
23355 * assert/assert-perr.c: Remove bulk of implementation. Use
23356 __assert_fail_base.
23357 * include/assert.hL Declare __assert_fail_base.
23358 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
23359 mmap.
23360 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
23361
1af4e298
UD
233622011-05-14 Ulrich Drepper <drepper@gmail.com>
23363
f8a3b5bf 23364 [BZ #11952]
d26dfc60
MG
23365 [BZ #12453]
23366 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
23367 until all modules are registered in the DTV.
23368 * elf/Makefile: Add rules to build and run tst-tls19.
23369 * elf/tst-tls19.c: New file.
23370 * elf/tst-tls19mod1.c: New file.
23371 * elf/tst-tls19mod2.c: New file.
23372 * elf/tst-tls19mod3.c: New file.
23373 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
23374
2fc54d6f
UD
23375 [BZ #12083]
23376 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
23377 correctly.
23378
98d76b46
UD
23379 [BZ #12601]
23380 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
23381 two-byte sequence errors.
23382 * iconvdata/Makefile (tests): Add bug-iconv8.
23383 * iconvdata/bug-iconv8.c: New file.
23384
da3c19ef
UD
23385 [BZ #12626]
23386 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
23387 buf2 definition.
23388
ca408c15
UD
23389 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
23390
d6f67f7d
UD
23391 [BZ #12432]
23392 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
23393 (dummy_getcfa): New function.
23394 (init): Get _Unwind_GetCFA address, use dummy if not found.
23395 (backtrace_helper): In recursion check, also check whether CFA changes.
23396 (__backtrace): Completely initialize arg.
23397
1af4e298 23398 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
23399 storing incomplete byte sequence in state object. Avoid testing for
23400 guaranteed too small input if we know there is enough data available.
1af4e298 23401
da62f81b
AS
234022011-05-11 Andreas Schwab <schwab@redhat.com>
23403
23404 * Makeconfig (+link-pie): Indent.
23405 * Rules (binaries-pie): Define if $(have-fpie) and
23406 $(build-shared).
23407 (binaries-shared): Also filter out $(binaries-pie).
23408 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
23409 * nscd/Makefile (others-pie): Add nscd.
23410 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
23411 ($(objpfx)nscd): Remove command override.
23412 * login/Makefile (others-pie): Add pt_chown.
23413 ($(objpfx)pt_chown): Remove command override.
23414 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
23415 remove command overrides.
23416
fcabc0f8
UD
234172011-05-13 Ulrich Drepper <drepper@gmail.com>
23418
20030ae6
UD
23419 * libio/tst_putwc.c: Fix error messages.
23420
fcabc0f8
UD
23421 [BZ #12724]
23422 * libio/fileops.c (_IO_new_file_close_it): Always flush when
23423 currently writing and seek to current position when not.
23424 * libio/Makefile (tests): Add bug-fclose1.
23425 * libio/bug-fclose1.c: New file.
23426
320a5dc0
PB
234272011-05-12 Ulrich Drepper <drepper@gmail.com>
23428
23429 [BZ #12511]
23430 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
23431 don't set DF_1_NODELETE here.
23432 (do_lookup_x): When entering new entry test for copy relocation
23433 and if necessary set DF_1_NODELETE flag.
23434 * elf/tst-unique4.cc: New file.
23435 * elf/tst-unique4.h: New file.
23436 * elf/tst-unique4lib.cc: New file.
23437 * elf/Makefile: Add rules to build and run tst-unique4.
23438 Patch by Piotr Bury <pbury@goahead.com>.
23439
22836f52
UD
234402011-05-11 Ulrich Drepper <drepper@gmail.com>
23441
f574184a
UD
23442 [BZ #12052]
23443 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
23444
e1fb097f
UD
23445 [BZ #12625]
23446 * misc/mntent_r.c (addmntent): Flush the stream after the output
23447
22836f52
UD
23448 [BZ #12393]
23449 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
23450 (is_trusted_path_normalize): Skip initial colon. Append slash
23451 to empty buffer. Duplicate is_trusted_path code but allow
23452 constructed patch to be prefix.
23453 (is_dst): Allow $ORIGIN followed by /.
23454 (_dl_dst_substitute): Correct clearing of check_for_trusted.
23455 Correct testing of result of is_trusted_path_normalize
23456 (decompose_rpath): Fix warning.
23457
7b3b0b2a
UD
234582011-05-10 Ulrich Drepper <drepper@gmail.com>
23459
23460 [BZ #11257]
23461 * grp/initgroups.c (internal_getgrouplist): When we found the service
23462 list through the initgroups entry in nsswitch.conf do not always
23463 continue on a successful lookup. Don't always use the
eac80ce2 23464 __nss_group_database value if it is set.
7b3b0b2a
UD
23465 * nss/nsswitch.conf (initgroups): Change action for successful db
23466 lookup to continue for compatibility.
23467
2a81eaa5
UD
234682011-05-09 Ulrich Drepper <drepper@gmail.com>
23469
be97a69e
UD
23470 [BZ #11532]
23471 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
23472 and CP774 modules.
23473 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
23474 and CP774 modules.
23475 * iconvdata/tst-tables.sh: Likewise.
23476 * iconvdata/cp770.c: New file.
23477 * iconvdata/cp771.c: New file.
23478 * iconvdata/cp772.c: New file.
23479 * iconvdata/cp773.c: New file.
23480 * iconvdata/cp774.c: New file.
23481 * iconvdata/testdata/CP770: New file.
23482 * iconvdata/testdata/CP770..UTF8: New file.
23483 * iconvdata/testdata/CP771: New file.
23484 * iconvdata/testdata/CP771..UTF8: New file.
23485 * iconvdata/testdata/CP772: New file.
23486 * iconvdata/testdata/CP772..UTF8: New file.
23487 * iconvdata/testdata/CP773: New file.
23488 * iconvdata/testdata/CP773..UTF8: New file.
23489 * iconvdata/testdata/CP774: New file.
23490 * iconvdata/testdata/CP774..UTF8: New file.
23491
23492 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
23493 END CHARMAP line.
23494 * iconvdata/gen-8bit-gap.sh: Likewise.
23495 * iconvdata/gen-8bit.sh: Likewise.
23496
c1e9e399
UD
23497 * locale/iso-639.def: Add ary entry.
23498
24c55fb3 23499 [BZ #11258]
96b4b1b0
UD
23500 * locale/C-translit.h.in: Add U20A1 transliteration.
23501
bdc2f971
KB
23502 [BZ #12178]
23503 * locale/iso-639.def: Add wae entry.
23504 Patch by Kevin Bortis <bortis@translate-wae.ch>.
23505
2952b117
UD
23506 [BZ #12545]
23507 * locale/programs/localedef.c (construct_output_path): Use ssize_t
23508 for n.
23509
2a81eaa5
UD
23510 [BZ #12711]
23511 * locale/C-translit.h.in: Add entry for U20B9.
23512 Patch by pravin.d.s@gmail.com.
23513
28377d1b
UD
235142011-05-08 Ulrich Drepper <drepper@gmail.com>
23515
7fb90fb8
UD
23516 [BZ #12713]
23517 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
23518 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
23519 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
23520 in rtld. Use *stat64.
7fb90fb8 23521 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 23522 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 23523 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
23524 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
23525 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
23526 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
23527 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
23528 __fstatat64 macros.
7fb90fb8
UD
23529 * include/dirent.h: Add libc_hidden_proto for rewinddir.
23530 * dirent/rewinddir.c: Add libc_hidden_def.
23531 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 23532 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 23533
28377d1b
UD
23534 * include/dirent.h (__alloc_dir): Add flags parameter.
23535 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
23536 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
23537 __alloc_dir.
23538 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
23539 from fdopendir if O_CLOEXEC is already set.
23540
66bdbaa4
AM
235412011-03-15 Alan Modra <amodra@gmail.com>
23542
23543 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
23544 l_tls_firstbyte_offset non-zero. Save padding offset in
23545 l_tls_firstbyte_offset for later use.
23546 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
23547 freeing static tls block.
23548
95721191
JN
235492011-03-05 Jonathan Nieder <jrnieder@gmail.com>
23550
23551 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
23552 where #ifdef was intended. The intent is to prevent ARG_MAX from
23553 being defined by the kernel headers.
23554
f87dfb1f
UD
235552011-05-07 Ulrich Drepper <drepper@gmail.com>
23556
23557 [BZ #12734]
23558 * resolv/resolv.h: Define RES_NOTLDQUERY.
23559 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
23560 no-tld-query and set RES_NOTLDQUERY.
23561 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
23562 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
23563 modern BIND to search name as TLD unless forbidden.
23564
47c3cd7a
UD
235652011-05-07 Petr Baudis <pasky@suse.cz>
23566 Ulrich Drepper <drepper@gmail.com>
23567
23568 [BZ #12393]
23569 * elf/dl-load.c (fillin_rpath): Move trusted path check...
23570 (is_trusted_path): ...to here.
c1e9ea35 23571 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 23572 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 23573 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 23574
8a35c912
PP
235752011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23576
23577 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
23578 __BEGIN/__END_DECLS.
23579
acd41f47
UD
235802011-05-06 Ulrich Drepper <drepper@gmail.com>
23581
23582 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
23583 NSS_STATUS_NOTFOUND if no record was found.
23584
597df647
AS
235852011-05-05 Andreas Schwab <schwab@redhat.com>
23586
23587 * sunrpc/Makefile (headers): Add rpc/netdb.h.
23588 (headers-not-in-tirpc): Remove rpc/netdb.h
23589 * resolv/netdb.h: Revert last change.
23590
b9af1301
PP
235912011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23592
23593 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
23594 circular dependency between libgcc.a and libc.a.
23595
4e34d5f5
AS
235962011-05-05 Andreas Schwab <schwab@redhat.com>
23597
23598 * resolv/netdb.h: Don't include <rpc/netdb.h>.
23599 * nis/Makefile: Don't install rpcsvc/*.
23600 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
23601 instead of <rpc/types.h>.
23602 (MAXHOSTNAMELEN): Define.
23603
00ee369c
AS
236042011-05-03 Andreas Schwab <schwab@redhat.com>
23605
23606 * elf/ldconfig.c (add_dir): Don't crash on empty path.
23607
0b592a30
MB
236082011-04-28 Maciej Babinski <mbabinski@google.com>
23609
23610 [BZ #12714]
23611 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
23612 gethostbyname4_r when IPv6 results are possible.
23613
6e04cbbe
UD
236142011-05-02 Ulrich Drepper <drepper@gmail.com>
23615
23616 [BZ #12723]
23617 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
23618 _PC_PIPE_BUF handling.
23619
e4ecafe0
BH
236202011-04-30 Bruno Haible <bruno@clisp.org>
23621
23622 [BZ #12717]
23623 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
23624 * resolv/netdb.h (getnameinfo): Change type of flags parameter
23625 to 'int'.
23626 * inet/getnameinfo.c (getnameinfo): Likewise.
23627
125ee683
UD
236282011-04-29 Ulrich Drepper <drepper@gmail.com>
23629
23630 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
23631 to groups setting in database lookup.
23632 * nss/nsswitch.conf: Add initgroups entry.
23633
b722481a
EB
236342011-04-22 Ulrich Drepper <drepper@gmail.com>
23635
23636 [BZ #12685]
23637 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
23638 mode string.
23639 Patch by Eric Blake <eblake@redhat.com>.
23640
4df46dbd
L
236412011-04-20 H.J. Lu <hongjiu.lu@intel.com>
23642
23643 * sunrpc/Makefile (need-export-routines): Add svc_run.
23644 (routines): Remove svc_run.
23645 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
23646 * sunrpc/clnt_perr.c (clnt_perrno): Export.
23647 * sunrpc/svc_run.c (svc_run): Likewise.
23648 * sunrpc/svc_udp.c (svcudp_create): Likewise.
23649
e84142d2
UD
236502011-04-21 Ulrich Drepper <drepper@gmail.com>
23651
23652 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
23653 problem in reallocation in last patch.
23654
877175d8
UD
236552011-04-20 Ulrich Drepper <drepper@gmail.com>
23656
23657 * sunrpc/Makefile: Move inclusion of Rules.
23658
ab8eed78
UD
236592011-04-19 Ulrich Drepper <drepper@gmail.com>
23660
23661 * nss/nss_files/files-initgroups.c: New file.
23662 * nss/Makefile (libnss_files-routines): Add files-initgroups.
23663 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
23664 _nss_files_initgroups_dyn.
23665
e3d8f584
RS
236662011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
23667
23668 * elf/elf.h (R_ARM_IRELATIVE): Define.
23669
af190f45
UD
236702011-04-19 Ulrich Drepper <drepper@gmail.com>
23671
23672 * po/ru.po: Update from translation team.
23673
53cf59ef
UD
236742011-04-17 Ulrich Drepper <drepper@gmail.com>
23675
23676 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
23677 dependencies.
23678
4c559bcd
MF
236792011-02-06 Mike Frysinger <vapier@gentoo.org>
23680
23681 [BZ #12653]
23682 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
23683 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
23684 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23685 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23686 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23687
4420675c
AS
236882011-03-28 Andreas Schwab <schwab@linux-m68k.org>
23689
23690 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
23691 differing bytes.
23692 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23693 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23694 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23695
75ea32ab
UD
236962011-04-17 Ulrich Drepper <drepper@gmail.com>
23697
23698 [BZ #12420]
23699 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
23700 storing it.
23701 * stdlib/bug-getcontext.c: New file.
23702 * stdlib/Makefile: Add rules to build and run bug-getcontext.
23703
27390476
AK
237042011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23705
23706 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
23707 instructions into .machine "z9-109".
23708 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
23709 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
23710
10442705
AK
237112011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23712
23713 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
23714 between environment variables and auxiliary vector.
23715
7b57bfe5
UD
237162011-04-16 Ulrich Drepper <drepper@gmail.com>
23717
23718 * Makefile: Add rules to build linkobj/libc.so.
23719 * include/libc-symbols.h: Define libc_hidden_nolink.
23720 * include/rpc/auth.h: Mark functions which are to be hidden.
23721 * include/rpc/auth_des.h: Likewise.
23722 * include/rpc/auth_unix.h: Likewise.
23723 * include/rpc/clnt.h: Likewise.
23724 * include/rpc/des_crypt.h: Likewise.
23725 * include/rpc/key_prot.h: Likewise.
23726 * include/rpc/pmap_clnt.h: Likewise.
23727 * include/rpc/pmap_prot.h: Likewise.
23728 * include/rpc/pmap_rmt.h: Likewise.
23729 * include/rpc/rpc_msg.h: Likewise.
23730 * include/rpc/svc.h: Likewise.
23731 * include/rpc/svc_auth.h: Likewise.
23732 * include/rpc/xdr.h: Likewise.
23733 * nis/Makefile: Link all DSOs against linkobj/libc.so.
23734 * nss/Makefile: Likewise.
23735 * sunrpc/Makefile: Don't install headers. Build library with normal
23736 entry points. Don't build rpcinfo. Link RPC tests appropriately.
23737 * sunrpc/auth_des.c: Hide exported symbols by default, export some
23738 for the compat linking library. Remove use of INTDEF/INTUSE.
23739 * sunrpc/auth_none.c: Likewise.
23740 * sunrpc/auth_unix.c: Likewise.
23741 * sunrpc/authdes_prot.c: Likewise.
23742 * sunrpc/authuxprot.c: Likewise.
23743 * sunrpc/clnt_gen.c: Likewise.
23744 * sunrpc/clnt_perr.c: Likewise.
23745 * sunrpc/clnt_raw.c: Likewise.
23746 * sunrpc/clnt_simp.c: Likewise.
23747 * sunrpc/clnt_tcp.c: Likewise.
23748 * sunrpc/clnt_udp.c: Likewise.
23749 * sunrpc/clnt_unix.c: Likewise.
23750 * sunrpc/des_crypt.c: Likewise.
23751 * sunrpc/des_soft.c: Likewise.
23752 * sunrpc/get_myaddr.c: Likewise.
23753 * sunrpc/key_call.c: Likewise.
23754 * sunrpc/key_prot.c: Likewise.
23755 * sunrpc/netname.c: Likewise.
23756 * sunrpc/pm_getmaps.c: Likewise.
23757 * sunrpc/pm_getport.c: Likewise.
23758 * sunrpc/pmap_clnt.c: Likewise.
23759 * sunrpc/pmap_prot.c: Likewise.
23760 * sunrpc/pmap_prot2.c: Likewise.
23761 * sunrpc/pmap_rmt.c: Likewise.
23762 * sunrpc/publickey.c: Likewise.
23763 * sunrpc/rpc_cmsg.c: Likewise.
23764 * sunrpc/rpc_common.c: Likewise.
23765 * sunrpc/rpc_dtable.c: Likewise.
23766 * sunrpc/rpc_prot.c: Likewise.
23767 * sunrpc/rpc_thread.c: Likewise.
23768 * sunrpc/rtime.c: Likewise.
23769 * sunrpc/svc.c: Likewise.
23770 * sunrpc/svc_auth.c: Likewise.
23771 * sunrpc/svc_authux.c: Likewise.
23772 * sunrpc/svc_raw.c: Likewise.
23773 * sunrpc/svc_run.c: Likewise.
23774 * sunrpc/svc_simple.c: Likewise.
23775 * sunrpc/svc_tcp.c: Likewise.
23776 * sunrpc/svc_udp.c: Likewise.
23777 * sunrpc/svc_unix.c: Likewise.
23778 * sunrpc/svcauth_des.c: Likewise.
23779 * sunrpc/xcrypt.c: Likewise.
23780 * sunrpc/xdr.c: Likewise.
23781 * sunrpc/xdr_array.c: Likewise.
23782 * sunrpc/xdr_float.c: Likewise.
23783 * sunrpc/xdr_intXX_t.c: Likewise.
23784 * sunrpc/xdr_mem.c: Likewise.
23785 * sunrpc/xdr_rec.c: Likewise.
23786 * sunrpc/xdr_ref.c: Likewise.
23787 * sunrpc/xdr_sizeof.c: Likewise.
23788 * sunrpc/xdr_stdio.c: Likewise.
23789
e6c61494
UD
237902011-04-10 Ulrich Drepper <drepper@gmail.com>
23791
23792 [BZ #12650]
23793 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
23794 * sysdeps/ia64/dl-tls.h: Likewise.
23795 * sysdeps/powerpc/dl-tls.h: Likewise.
23796 * sysdeps/s390/dl-tls.h: Likewise.
23797 * sysdeps/sh/dl-tls.h: Likewise.
23798 * sysdeps/sparc/dl-tls.h: Likewise.
23799 * sysdeps/x86_64/dl-tls.h: Likewise.
23800 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
23801
34fe483e
AS
238022011-03-14 Andreas Schwab <schwab@redhat.com>
23803
23804 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
23805 rpath element also skip the following colon.
23806 (expand_dynamic_string_token): Add is_path parameter and pass
23807 down to DL_DST_REQUIRED and _dl_dst_substitute.
23808 (decompose_rpath): Call expand_dynamic_string_token with
23809 non-zero is_path. Ignore empty rpaths.
23810 (_dl_map_object_from_fd): Call expand_dynamic_string_token
23811 with zero is_path.
23812
f12a32e6
AS
238132011-04-08 Andreas Schwab <schwab@linux-m68k.org>
23814
23815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23816 Make cancelable.
23817
38a7d692
UD
238182011-04-09 Ulrich Drepper <drepper@gmail.com>
23819
23820 [BZ #12655]
23821 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
23822 Patch by Filipe David Manana <fdmanana@apache.org>.
23823
e451d22b
AS
238242011-04-07 Andreas Schwab <schwab@redhat.com>
23825
23826 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
23827 Maintain aligned stack.
23828 (CHECK_RSP): Remove unused macro.
23829
dedc7c7b
UD
238302011-04-03 Ulrich Drepper <drepper@gmail.com>
23831
23832 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
23833 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
23834
94521213
UD
238352011-04-02 Ulrich Drepper <drepper@gmail.com>
23836
23837 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
23838
8cb700c0 23839 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 23840
0354e355
L
238412011-03-26 H.J. Lu <hongjiu.lu@intel.com>
23842
23843 [BZ #12518]
23844 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
23845 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
23846 * sysdeps/x86_64/memmove.c: New file.
23847 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
23848 (memcpy): Renamed to ...
23849 (__new_memcpy): This.
23850 (memcpy): Provide GLIBC_2_14 memcpy.
23851 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
23852 (memcpy): Provide GLIBC_2_2_5 memcpy.
23853
8593482f
UD
238542011-04-01 Ulrich Drepper <drepper@gmail.com>
23855
23856 [BZ #12631]
23857 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
23858
81a5726b
AS
238592011-03-30 Andreas Schwab <schwab@redhat.com>
23860
23861 * misc/syncfs.c: New file.
23862 * misc/Makefile (routines): Add syncfs.
23863 * posix/unistd.h: Declare syncfs.
23864 * sysdeps/unix/syscalls.list: Add syncfs.
23865
00e5419f
AS
238662011-04-01 Andreas Schwab <schwab@redhat.com>
23867
23868 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
23869 open_by_handle_at.
23870 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23871 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23872 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23873 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23874 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23875 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
23876 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23877
748876bf
UD
238782011-04-01 Ulrich Drepper <drepper@gmail.com>
23879
658e451d
UD
23880 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
23881 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23882 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
23883 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23884 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23885 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23886 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23887
748876bf
UD
23888 * io/Makefile: Compile fallocate.c, fallocate64.c, and
23889 sync_file_range.c with -fexceptions.
23890 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
23891 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
23892 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
23893 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
23894 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
23895 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23896 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
23897 sync_file_range as cancellation point
23898 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
23899 now a wrapper around __call_sync_file_range with cancellation handling.
23900 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
23901 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
23902 function name to __call_sync_file_range.
23903 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
23904 Add call_sync_file_range.
748876bf 23905
6e63d5e1
AS
239062011-04-01 Andreas Schwab <schwab@redhat.com>
23907
23908 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 23909 bits/timex.h.
6e63d5e1 23910
46998f74
UD
239112011-04-01 Ulrich Drepper <drepper@gmail.com>
23912
4c1423ed
UD
23913 * iconv/iconv.h: Fix typo in comment.
23914 * io/fcntl.h: Likewise.
23915 * libio/stdio.h: Likewise.
23916 * posix/spawn.h: Likewise.
23917 * posix/unistd.h: Likewise.
23918 * stdlib/stdlib.h: Likewise.
23919 * time/time.h: Likewise.
23920 * wcsmbs/wchar.h: Likewise.
23921
158648c0
UD
23922 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
23923 open_by_handle): Add.
23924 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
23925 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
23926 Augment a few comments.
23927 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23928 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23929 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23930 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23931 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23932 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
23933 open_by_handle.
23934
46998f74
UD
23935 * io/fcntl.h (AT_EMPTY_PATH): Define.
23936
83fe108b
UD
239372011-03-30 Ulrich Drepper <drepper@gmail.com>
23938
23939 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
23940 * sysdeps/unix/sysv/linux/bits/time.h: New file.
23941 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
23942 to...
23943 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
23944 * Versions.def: Add GLIBC_2.14.
23945 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
23946 Export.
83fe108b 23947
bb242059
UD
239482011-03-22 Ulrich Drepper <drepper@gmail.com>
23949
23950 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
23951 round counter.
23952 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23953
c97a1282
L
239542011-03-20 H.J. Lu <hongjiu.lu@intel.com>
23955
23956 [BZ #12597]
23957 * string/test-strncmp.c (do_page_test): New function.
23958 (check2): Likewise.
23959 (test_main): Call check2.
23960 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
23961
2a115601
UD
239622011-03-20 Ulrich Drepper <drepper@gmail.com>
23963
23964 [BZ #12587]
23965 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
23966 Handle cache information in CPU leaf 4.
23967 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23968
8126d904
UD
239692011-03-18 Ulrich Drepper <drepper@gmail.com>
23970
042c49c6 23971 [BZ #12583]
8126d904
UD
23972 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
23973 character representation.
23974 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
23975
ccfe366e
RA
239762011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
23977
23978 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
23979 END(__isnan) to END(__isnanf) to match function entry point/label
23980 EALIGN(__isnanf,...).
23981
c6e13027
JJ
239822011-03-10 Jakub Jelinek <jakub@redhat.com>
23983
23984 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
23985
33f85a3f
UD
239862011-03-10 Ulrich Drepper <drepper@gmail.com>
23987
028478fa
UD
23988 [BZ #12510]
23989 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
23990 copy from the symbol referenced in the relocation to initialize the
23991 used variable.
23992 Patch by Piotr Bury <pbury@goahead.com>.
23993 * elf/Makefile: Add rules to build and tst-unique3.
23994 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
23995 * elf/tst-unique3.cc: New file.
23996 * elf/tst-unique3.h: New file.
23997 * elf/tst-unique3lib.cc: New file.
23998 * elf/tst-unique3lib2.cc: New file.
23999
33f85a3f
UD
24000 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
24001
03592fc7
MF
240022011-03-10 Mike Frysinger <vapier@gentoo.org>
24003
24004 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
24005 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
24006 to _start.
03592fc7 24007
6a5ee102
UD
240082011-03-06 Ulrich Drepper <drepper@gmail.com>
24009
24010 * elf/dl-load.c (_dl_map_object): If we are looking for the first
24011 to-be-loaded object along a path to loader is ld.so.
24012
7e4ba49c
HJ
240132011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24014 Ulrich Drepper <drepper@gmail.com>
24015
24016 * sysdeps/x86_64/memset.S: After aligning destination, code
24017 branches to different locations depending on the value of
24018 misalignment, when multiarch is enabled. Fix this.
24019
240202011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24021
24022 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
24023 Set _x86_64_preferred_memory_instruction for AMD processsors.
24024 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24025 Set bit_Prefer_SSE_for_memop for AMD processors.
24026
13a804de
UD
240272011-03-04 Ulrich Drepper <drepper@gmail.com>
24028
24029 * libio/fmemopen.c (fmemopen): Optimize a bit.
24030
9d25c392
AS
240312011-03-03 Andreas Schwab <schwab@redhat.com>
24032
24033 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
24034
a5543c6a
RM
240352011-03-03 Roland McGrath <roland@redhat.com>
24036
24037 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
24038
012d35f7
DM
240392011-02-28 Aurelien Jarno <aurelien@aurel32.net>
24040
7e4ba49c 24041 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
24042 __bzero_ultra1 instead of __memset_ultra1.
24043
4bff6e01
AS
240442011-02-23 Andreas Schwab <schwab@redhat.com>
24045 Ulrich Drepper <drepper@gmail.com>
24046
24047 [BZ #12509]
24048 * include/link.h (struct link_map): Add l_orig_initfini.
24049 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
24050 returning unsuccessfully.
24051 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
24052 close of a file loaded at startup, restore the original l_initfini
24053 list.
24054 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
24055 list, store the pointer.
24056 * elf/Makefile ($(objpfx)noload-mem): New rule.
24057 (noload-ENV): Define.
24058 (tests): Add $(objpfx)noload-mem.
24059 * elf/noload.c: Include <memcheck.h>.
24060 (main): Call mtrace. Close all opened handles.
24061
f2092faf
AS
240622011-02-17 Andreas Schwab <schwab@redhat.com>
24063
24064 [BZ #12454]
24065 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
24066 dependencies are missing.
24067
6c8a2e88
ST
240682011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
24069
f2092faf 24070 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
24071 Hurd needs munmap.
24072 * sysdeps/mach/hurd/ifreq.h: New file.
24073
84a42118
PB
240742011-01-27 Petr Baudis <pasky@suse.cz>
24075 Ulrich Drepper <drepper@gmail.com>
24076
071f805e 24077 [BZ 12445]#
84a42118
PB
24078 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
24079 to extend_alloca().
24080 * stdio-common/bug23.c: New file.
24081 * stdio-common/Makefile (tests): Add bug23.
24082
e23fe25b
AS
240832010-09-28 Andreas Schwab <schwab@redhat.com>
24084 Ulrich Drepper <drepper@gmail.com>
24085
24086 [BZ #12489]
24087 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
24088 before performing relro protection. At old place add assertion
24089 to make sure nothing changed.
24090
d3f02e10
NS
240912011-02-17 Nathan Sidwell <nathan@codesourcery.com>
24092 Glauber de Oliveira Costa <glommer@gmail.com>
24093
24094 * elf/elf.h: Add new ARM TLS relocs.
24095
d55fd7a5
RA
240962011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
24097
24098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24099 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
24100 cast from r3.
24101 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
24102 'tests' variable.
24103 * sysdeps/wordsize-64/tst-writev.c: New file.
24104
2206397e
RA
241052011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
24106
24107 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
24108 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
24109 insns in _dl_start to prevent a TOC reference before relocs are
24110 resolved.
24111
e9433893
UD
241122011-02-15 Ulrich Drepper <drepper@gmail.com>
24113
24114 [BZ #12469]
24115 * Makeconfig: Remove RANLIB definition.
24116 * Makerules: Don't use RANLIB.
24117 * aclocal.m4: Remove ranlib test.
24118 * configure.in: No need to check for ranlib.
24119 * elf/rtld-Rules: Don't use RANLIB.
24120
f75286c6
ST
241212011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
24122
8e31c82d
ST
24123 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
24124 protection macro.
24125 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
24126 inclusion protection macro.
24127
f75286c6
ST
24128 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
24129 SIGRTMIN and SIGRTMAX and print information in that case only when
24130 SIGRTMIN is defined.
24131
c1d0e639
JJ
241322011-02-11 Jakub Jelinek <jakub@redhat.com>
24133
24134 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
24135 arginfo fn returning -1.
24136
24137 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
24138 and thousands string is zero terminated.
24139
edf9294e
AS
241402011-02-03 Andreas Schwab <schwab@redhat.com>
24141
24142 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
24143 sysdeps/unix/sysv/linux/bits/socket.h.
24144
2b7e92df
ST
241452011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
24146
edf9294e
AS
24147 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
24148 (__CPU_COUNT): Remove old macros.
24149 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
24150 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
24151 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
24152 (__sched_cpualloc, __sched_cpufree): Add declarations.
24153
a4c7ea7b
UD
241542011-02-05 Ulrich Drepper <drepper@gmail.com>
24155
24156 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
24157 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
24158 * nscd/aicache.c (addhstaiX): Return timeout of added value.
24159 (readdhstai): Return value of addhstaiX call.
24160 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
24161 (addgrbyX): Return value returned by cache_addgr.
24162 (readdgrbyname): Return value returned by addgrbyX.
24163 (readdgrbygid): Likewise.
24164 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
24165 (addpwbyX): Return value returned by cache_addpw.
24166 (readdpwbyname): Return value returned by addhstbyX.
24167 (readdpwbyuid): Likewise.
24168 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
24169 (addservbyX): Return value returned by cache_addserv.
24170 (readdservbyname): Return value returned by addservbyX:
24171 (readdservbyport): Likewise.
24172 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
24173 (addhstbyX): Return value returned by cache_addhst.
24174 (readdhstbyname): Return value returned by addhstbyX.
24175 (readdhstbyaddr): Likewise.
24176 (readdhstbynamev6): Likewise.
24177 (readdhstbyaddrv6): Likewise.
24178 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
24179 (readdinitgroups): Return value returned by addinitgroupsX.
24180 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
24181 (prune_cache): Keep track of timeout value of re-added entries.
24182 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
24183 * nscd/nscd.h: Adjust prototypes of readd* functions.
24184
a0bf67cc
RM
241852011-02-04 Roland McGrath <roland@redhat.com>
24186
24187 * nis/nis_server.c (nis_servstate): Use the right name for 0.
24188 (nis_stats): Likewise.
24189 * nis/nis_modify.c (nis_modify): Likewise.
24190 * nis/nis_remove.c (nis_remove): Likewise.
24191 * nis/nis_add.c (nis_add): Likewise.
24192
24193 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
24194
24195 * posix/fnmatch_loop.c: Add some consts.
24196
24197 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
24198
435b95eb
L
241992011-02-02 H.J. Lu <hongjiu.lu@intel.com>
24200
24201 [BZ #12460]
24202 * config.make.in (config-cflags-novzeroupper): Define.
24203 * configure.in: Substitute libc_cv_cc_novzeroupper.
24204 * elf/Makefile (AVX-CFLAGS): Define.
24205 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
24206 (CFLAGS-tst-auditmod4a.c): Likewise.
24207 (CFLAGS-tst-auditmod4b.c): Likewise.
24208 (CFLAGS-tst-auditmod6b.c): Likewise.
24209 (CFLAGS-tst-auditmod6c.c): Likewise.
24210 (CFLAGS-tst-auditmod7b.c): Likewise.
24211 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
24212
8517b15e
UD
242132011-02-02 Ulrich Drepper <drepper@gmail.com>
24214
24215 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
24216 function to the callback.
24217 Patch partly by Jiri Olsa <jolsa@redhat.com>.
24218
10a656fe
AS
242192011-02-02 Andreas Schwab <schwab@redhat.com>
24220
24221 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
24222 of errno.
24223
968dad0a
UD
242242011-01-19 Ulrich Drepper <drepper@gmail.com>
24225
9f94d2ea 24226 [BZ #11724]
968dad0a
UD
24227 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
24228 of constructors.
24229 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
24230 of destructors.
24231 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
24232
24233 [BZ #11724]
24234 * elf/Makefile: Add rules to build and run new test.
24235 * elf/tst-initorder.c: New file.
24236 * elf/tst-initorder.exp: New file.
24237 * elf/tst-initordera1.c: New file.
24238 * elf/tst-initordera2.c: New file.
24239 * elf/tst-initordera3.c: New file.
24240 * elf/tst-initordera4.c: New file.
24241 * elf/tst-initorderb1.c: New file.
24242 * elf/tst-initorderb2.c: New file.
24243 * elf/tst-order-a1.c: New file.
24244 * elf/tst-order-a2.c: New file.
24245 * elf/tst-order-a3.c: New file.
24246 * elf/tst-order-a4.c: New file.
24247 * elf/tst-order-b1.c: New file.
24248 * elf/tst-order-b2.c: New file.
24249 * elf/tst-order-main.c: New file.
24250 New test case by George Gensure <werkt0@gmail.com>.
24251
86e92359
UD
242522010-10-01 Andreas Schwab <schwab@redhat.com>
24253
24254 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24255 decoding ACE if AI_CANONIDN.
24256
5d5732b0
UD
242572011-01-18 Ulrich Drepper <drepper@gmail.com>
24258
24259 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
24260
a77e8cbc
UD
242612011-01-17 Ulrich Drepper <drepper@gmail.com>
24262
6392473f
UD
24263 * version.h (RELEASE): Bump for 2.13 release.
24264 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
24265
620a0529
UD
24266 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
24267
18ba70a5
UD
24268 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
24269 MADV_NOHUGEPAGE.
32465c3e
UD
24270 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
24271 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24272 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24273 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24274 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24275 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24276
c0dafcf1
UD
24277 * posix/getconf.c: Update copyright year.
24278 * catgets/gencat.c: Likewise.
24279 * csu/version.c: Likewise.
24280 * debug/catchsegv.sh: Likewise.
24281 * debug/xtrace.sh: Likewise.
24282 * elf/ldconfig.c: Likewise.
24283 * elf/ldd.bash.in: Likewise.
24284 * elf/sprof.c (print_version): Likewise.
24285 * iconv/iconv_prog.c: Likewise.
24286 * iconv/iconvconfig.c: Likewise.
24287 * locale/programs/locale.c: Likewise.
24288 * locale/programs/localedef.c: Likewise.
24289 * malloc/memusage.sh: Likewise.
24290 * malloc/mtrace.pl: Likewise.
24291 * nscd/nscd.c (print_version): Likewise.
24292 * nss/getent.c: Likewise.
24293
a77e8cbc
UD
24294 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
24295 PF_CAIF, and PF_ALG.
24296 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24297
77e8bddf
AS
242982011-01-16 Andreas Schwab <schwab@linux-m68k.org>
24299
1f20b93a
AS
24300 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
24301 (modules-names): Use them.
24302 (ifunc-test-modules, ifunc-pie-tests): Define.
24303 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
24304 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
24305 (test-extras): Likewise.
24306 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
24307 $(compile-command.c).
24308 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
24309 (all-built-dso): Define.
24310 (check-textrel.out, check-execstack.out): Depend on it.
24311
77e8bddf
AS
24312 * configure.in: Don't override --enable-multi-arch.
24313
bc425b33
UD
243142011-01-15 Ulrich Drepper <drepper@gmail.com>
24315
24316 [BZ #6812]
24317 * nscd/hstcache.c (tryagain): Define.
24318 (cache_addhst): Return tryagain not notfound for temporary errors.
24319 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
24320 failed.
24321
794c3ad3
UD
243222011-01-14 Ulrich Drepper <drepper@gmail.com>
24323
70181fdd
UD
24324 [BZ #10563]
24325 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
24326 to make the syscall.
24327 * sysdeps/unix/sysv/linux/setgroups.c: New file.
24328
794c3ad3
UD
24329 [BZ #12378]
24330 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
24331 and fall back to matching as normal character if the string ends before
24332 the matching ']' is found. This is what POSIX requires.
24333 * posix/testfnm.c: Adjust test result.
24334 * posix/globtest.sh: Adjust test result. Add new test.
24335 * posix/tst-fnmatch.input: Likewise.
24336 * posix/tst-fnmatch2.c: Add new test.
24337
68dc9497
AS
243382010-12-28 Andreas Schwab <schwab@linux-m68k.org>
24339
24340 * elf/Makefile (check-execstack): Revert last change. Depend on
24341 check-execstack.h.
24342 (check-execstack.h): New target.
24343 (generated): Add check-execstack.h.
24344 * elf/check-execstack.c: Include "check-execstack.h".
24345 (main): Revert last change.
24346 (handle_file): Return zero if GNU_STACK is absent and
24347 DEFAULT_STACK_PERMS doesn't include PF_X.
24348
451f001b
UD
243492011-01-13 Ulrich Drepper <drepper@gmail.com>
24350
cfa28e56
UD
24351 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
24352 in child fails because the descriptor is already closed.
8cf8ce17
UD
24353 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
24354 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
24355 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 24356
1086d70d
UD
24357 [BZ #12397]
24358 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
24359 syscall.
24360
451f001b
UD
24361 [BZ #10484]
24362 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
24363 temporary buffer used to handle multi lookups locally.
a85b5cb4 24364 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 24365
08769175
UD
243662011-01-12 Ulrich Drepper <drepper@gmail.com>
24367
24368 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
24369 loader is ld.so.
24370
5e49c52e
UD
243712011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
24372
24373 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
24374 alignment for SSE2.
24375
60522a5f
UD
243762011-01-12 Ulrich Drepper <drepper@gmail.com>
24377
24378 [BZ #12394]
24379 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
24380 characters. When rounding increased number of integer digits recompute
24381 number of groups.
24382 * stdio-common/tst-grouping.c: New file.
24383 * stdio-common/Makefile: Add rules to build and run tst-grouping.
24384
f257bbd7
UD
243852011-01-09 Ulrich Drepper <drepper@gmail.com>
24386
24387 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
24388 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
24389
24390 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
24391 void.
24392 * bits/select.h: Likewise.
24393
fa9c15cb
UD
243942011-01-08 Ulrich Drepper <drepper@gmail.com>
24395
24396 * po/ja.po: Update from translation team.
24397
16c2895f
DM
243982011-01-04 David S. Miller <davem@sunset.davemloft.net>
24399
24400 [BZ #11155]
24401 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
24402 implementation just like for lxstat, fxstatat, et al.
24403
2543fef2
JM
244042010-12-27 Jim Meyering <meyering@redhat.com>
24405
24406 [BZ #12348]
24407 * posix/regexec.c (build_trtable): Return failure indication upon
24408 calloc failure. Otherwise, re_search_internal could infloop on OOM.
24409
98727dbe
UD
244102010-12-25 Ulrich Drepper <drepper@gmail.com>
24411
5bd6dc5c
UD
24412 [BZ #12201]
24413 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
24414 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
24415 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
24416 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
24417
97983464
UD
24418 [BZ #12207]
24419 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
24420
98727dbe
UD
24421 [BZ #12204]
24422 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
24423 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
24424
4a531bb0
L
244252010-12-15 H.J. Lu <hongjiu.lu@intel.com>
24426
24427 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
24428 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
24429 script has SORT_BY_INIT_PRIORITY.
24430 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
24431 NO_CTORS_DTORS_SECTIONS is defined.
24432 * elf/soinit.c: Likewise.
24433 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
24434 NO_CTORS_DTORS_SECTIONS is defined.
24435 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
24436 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
24437 * sysdeps/sh/init-first.c: Likewise.
24438 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
24439
07eb4b71
UD
244402010-12-24 Ulrich Drepper <drepper@gmail.com>
24441
24442 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
24443 always use the slow path.
24444
30950a5f
RA
244452010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
24446
24447 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
24448 similar rule which adds the sysdep directories to the header search in
24449 order to pick up the correct platform stackinfo.h.
24450 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
24451 perform test if it is, otherwise return successfully without testing.
24452 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
24453 DEFAULT_STACK_PERMS define in stackinfo.h.
24454 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
24455 defined in stackinfo.h.
24456 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
24457 DEFAULT_STACK_PERMS defined in stackinfo.h.
24458 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
24459 * sysdeps/ia64/stackinfo.h: Likewise.
24460 * sysdeps/s390/stackinfo.h: Likewise.
24461 * sysdeps/sh/stackinfo.h: Likewise.
24462 * sysdeps/sparc/stackinfo.h: Likewise.
24463 * sysdeps/x86_64/stackinfo.h: Likewise.
24464 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
24465 PF_X for powerpc64. Retain PF_X for powerpc32.
24466
db753e2c
UD
244672010-12-19 Ulrich Drepper <drepper@gmail.com>
24468
14b697f7
UD
24469 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
24470 accurately.
db753e2c
UD
24471 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
24472 GETDENTS_64BIT_ALIGNED.
24473
28300719
UD
244742010-12-14 Ulrich Drepper <dreper@gmail.com>
24475
14b697f7 24476 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 24477
4f197237
AS
244782010-12-10 Andreas Schwab <schwab@redhat.com>
24479
dbb0472f
AS
24480 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
24481 _GNU_SOURCE.
24482
4f197237
AS
24483 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
24484 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
24485 Remove __restrict.
24486 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
24487 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
24488
fb88ac72
UD
244892010-12-09 Ulrich Drepper <drepper@gmail.com>
24490
24491 [BZ #11655]
24492 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
24493 are initialized.
24494
42acbb92
JJ
244952010-12-09 Jakub Jelinek <jakub@redhat.com>
24496
24497 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
24498
c038d98d
UD
244992010-12-03 Ulrich Drepper <drepper@gmail.com>
24500
24501 * po/it.po: Update from translation team.
24502
3a4a2499
L
245032010-12-01 H.J. Lu <hongjiu.lu@intel.com>
24504
24505 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
24506 unused codes.
24507
1e24cf6e
UD
245082010-11-30 Ulrich Drepper <drepper@gmail.com>
24509
24510 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
24511
a7690819
AS
245122010-11-24 Andreas Schwab <schwab@redhat.com>
24513
24514 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
24515 specially.
24516 (gaih_getanswer_slice): Likewise.
24517
3bf8d1b1
JJ
245182010-10-20 Jakub Jelinek <jakub@redhat.com>
24519
24520 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
24521
6db52fbb
PB
245222010-05-31 Petr Baudis <pasky@suse.cz>
24523
24524 [BZ #11149]
24525 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
24526 silently even in the chroot mode.
24527
eaca7569
UD
245282010-11-22 Ulrich Drepper <drepper@gmail.com>
24529
24530 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
24531 last patch a bit. Pretty printing
24532
3056dcdb
UD
245332010-05-31 Petr Baudis <pasky@suse.cz>
24534
24535 [BZ #10085]
24536 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
24537 initialization of skip_initgroups_dyn.
24538
cf7c9078
UD
245392010-11-19 Ulrich Drepper <drepper@gmail.com>
24540
24541 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
24542 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24543
a1fb5e3e
UD
245442010-11-16 Ulrich Drepper <drepper@gmail.com>
24545
24546 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
24547
3540d66b
AS
245482010-11-11 Andreas Schwab <schwab@redhat.com>
24549
24550 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
24551 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
24552 (tst-fnmatch-ENV): Set MALLOC_TRACE.
24553 ($(objpfx)tst-fnmatch-mem): New rule.
24554 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
24555 * posix/tst-fnmatch.c (main): Call mtrace.
24556
13b69574
L
245572010-11-11 H.J. Lu <hongjiu.lu@intel.com>
24558
24559 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24560 Support Intel processor model 6 and model 0x2c.
24561
da93d214
LM
245622010-11-10 Luis Machado <luisgpm@br.ibm.com>
24563
24564 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
24565 signed comparison.
24566
8ca52c6e
L
245672010-11-09 H.J. Lu <hongjiu.lu@intel.com>
24568
24569 [BZ #12205]
24570 * string/test-strncasecmp.c (check_result): New function.
24571 (do_one_test): Use it.
24572 (check1): New function.
24573 (test_main): Use it.
24574 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
24575 Support strcasecmp and strncasecmp.
24576
69da074d
UD
245772010-11-08 Ulrich Drepper <drepper@gmail.com>
24578
24579 [BZ #12194]
24580 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
24581 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24582
ff02d528
L
245832010-11-07 H.J. Lu <hongjiu.lu@intel.com>
24584
24585 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
24586 IFUNC support.
24587 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24588 memset-x86-64.
24589 * sysdeps/x86_64/multiarch/bzero.S: New file.
24590 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
24591 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
24592 * sysdeps/x86_64/multiarch/memset.S: New file.
24593 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
24594 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24595 Set bit_Prefer_SSE_for_memop for Intel processors.
24596 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
24597 Define.
24598 (index_Prefer_SSE_for_memop): Define.
24599 (HAS_PREFER_SSE_FOR_MEMOP): Define.
24600
344d0b54
LM
246012010-11-04 Luis Machado <luisgpm@br.ibm.com>
24602
24603 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
24604 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
24605
c0dde15b
UD
246062010-11-03 H.J. Lu <hongjiu.lu@intel.com>
24607
24608 [BZ #12191]
24609 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24610 (__x86_64_raw_data_cache_size_half): Likewise.
24611 (__x86_64_raw_shared_cache_size): Likewise.
24612 (__x86_64_raw_shared_cache_size_half): Likewise.
24613
24614 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24615 (__x86_64_raw_data_cache_size_half): Likewise.
24616 (__x86_64_raw_shared_cache_size): Likewise.
24617 (__x86_64_raw_shared_cache_size_half): Likewise.
24618 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
24619 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
24620 and __x86_64_raw_shared_cache_size_half. Round
24621 __x86_64_data_cache_size_half, __x86_64_data_cache_size
24622 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
24623 to multiple of 256 bytes.
24624
0e516e0e
MS
246252010-11-03 Ulrich Drepper <drepper@gmail.com>
24626
24627 [BZ #12167]
24628 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
24629 of inacessible symlinks. Verify result of symlink before returning it.
24630 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24631 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
24632
0e012e87
ER
246332010-10-28 Erich Ritz <erichritz@gmail.com>
24634
24635 * math/math.h (isinf): Fix typo in comment.
24636
de0ff7bc
UD
246372010-11-01 Ulrich Drepper <drepper@gmail.com>
24638
24639 * po/da.po: Update from translation team.
24640
fa41c84d
UD
246412010-10-26 Ulrich Drepper <drepper@gmail.com>
24642
24643 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
24644 is added to the list.
24645
f0967738
AK
246462010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24647 Ulrich Drepper <drepper@gmail.com>
24648
24649 * elf/dl-object.c (_dl_new_object): Don't append the new object to
24650 the global list here. Move code to...
24651 (_dl_add_to_namespace_list): ...here. New function.
24652 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
24653 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
24654 * elf/dl-load.c (lose): Don't remove the element from the list.
24655 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
24656 (_dl_map_object): Likewise.
24657
246582010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
24659
24660 [BZ #12159]
24661 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
24662 into all bytes of SSE register.
24663 Patch by Richard Li <richardpku@gmail.com>.
24664
f0967738 246652010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
24666
24667 [BZ #12140]
24668 * malloc/malloc.c (_int_free): Fill correct number of bytes when
24669 perturbing.
24670
d0b9e94f
MB
246712010-10-20 Michael B. Brutman <brutman@us.ibm.com>
24672
24673 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
24674 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
24675 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
24676 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
24678 submachine.
24679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
24680
8e9f92e9
AS
246812010-10-22 Andreas Schwab <schwab@redhat.com>
24682
24683 * include/dlfcn.h (__RTLD_SECURE): Define.
24684 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
24685 mode & __RTLD_SECURE instead.
24686 (open_path): Rename preloaded parameter to secure.
24687 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
24688 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
24689 * elf/dl-deps.c (openaux): Likewise.
24690 * elf/rtld.c (struct map_args): Remove is_preloaded.
24691 (map_doit): Don't use it.
24692 (dl_main): Likewise.
24693 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
24694 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
24695
bc96fbda
AS
246962010-09-09 Andreas Schwab <schwab@redhat.com>
24697
24698 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
24699 (sysd-rules-targets): Remove duplicates.
24700 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
24701 rtld-%.$o dependency.
24702
22cd1c9b
AS
247032010-10-18 Andreas Schwab <schwab@redhat.com>
24704
24705 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
24706 _dl_map_object do it.
24707
18edac48
UD
247082010-10-19 Ulrich Drepper <drepper@gmail.com>
24709
24710 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
24711 fast fma builtins, define the macros in the C99 standard.
24712 (FP_FAST_FMAF): Likewise.
24713 (FP_FAST_FMAL): Likewise.
24714 * sysdeps/x86_64/bits/mathdef.h: Likewise.
24715
24716 * bits/mathdef.h: Update copyright year.
24717 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24718
d2050124
MM
247192010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
24720
24721 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
24722 builtins, define the macros in the C99 standard.
24723 (FP_FAST_FMAF): Likewise.
24724 (FP_FAST_FMAL): Likewise.
24725 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
24726 multiply/add.
24727 (FP_FAST_FMAF): Likewise.
24728
475facd1
JJ
247292010-10-15 Jakub Jelinek <jakub@redhat.com>
24730
24731 [BZ #3268]
24732 * math/libm-test.inc (fma_test): Some new testcases.
24733 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
24734 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
24735 y and infinite z. Do multiplication by C already in long double.
24736 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
24737 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
24738 y and infinite z. Do bitwise or of inexact bit into u.d.
24739 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
24740 * sysdeps/i386/fpu/s_fmaf.S: Removed.
24741 * sysdeps/i386/fpu/s_fma.S: Removed.
24742 * sysdeps/i386/fpu/s_fmal.S: Removed.
24743
7c08a05c
JJ
247442010-10-16 Jakub Jelinek <jakub@redhat.com>
24745
24746 [BZ #3268]
24747 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
24748 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
24749 computation is not scheduled after fetestexcept. Fix value
24750 of minimum denormal long double.
24751
f3f7372d
JJ
247522010-10-14 Jakub Jelinek <jakub@redhat.com>
24753
24754 [BZ #3268]
24755 * math/libm-test.inc (fma_test): Add some more tests.
24756 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
24757 correctly.
24758
14d43591
AS
247592010-10-15 Andreas Schwab <schwab@redhat.com>
24760
24761 * scripts/data/localplt-s390-linux-gnu.data: New file.
24762 * scripts/data/localplt-s390x-linux-gnu.data: New file.
24763
5e908464
JJ
247642010-10-13 Jakub Jelinek <jakub@redhat.com>
24765
24766 [BZ #3268]
24767 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
24768 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
24769 instead of dbl-64.
24770 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
24771 inlines.
24772 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
24773 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
24774 if one of x and y is very large and the other is subnormal.
24775 * sysdeps/s390/fpu/s_fmaf.c: New file.
24776 * sysdeps/s390/fpu/s_fma.c: New file.
24777 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
24778 * sysdeps/powerpc/fpu/s_fma.S: New file.
24779 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
24780 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
24781 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
24782
247832010-10-12 Jakub Jelinek <jakub@redhat.com>
24784
24785 [BZ #3268]
24786 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
24787 fma tests.
24788 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
24789 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
24790 * sysdeps/i386/i686/multiarch/s_fma.c: Include
24791 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
24792 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
24793 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
24794 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
24795
b833d51f
UD
247962010-10-12 Ulrich Drepper <drepper@redhat.com>
24797
24798 [BZ #12078]
24799 * posix/regcomp.c (parse_branch): One more memory leak plugged.
24800 * posix/bug-regex31.input: Add test case.
24801
1751705d
UD
248022010-10-11 Ulrich Drepper <drepper@gmail.com>
24803
e9b9cbf5
UD
24804 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
24805 * posix/bug-regex31.input: New file.
24806
24807 [BZ #12078]
24808 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
24809 (parse_sub_exp): Fix last change, use postorder.
24810
ef06edbe
UD
24811 * posix/bug-regex31.c: New file.
24812 * posix/Makefile: Add rules to build and run bug-regex31.
24813
a129c80d
UD
24814 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
24815
24816 [BZ #12078]
24817 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
24818
b76b818e
UD
24819 [BZ #12108]
24820 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
24821 to have entries in sys_siglist.
24822
1751705d
UD
24823 [BZ #12093]
24824 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
24825 be NULL.
24826
9ff8d36f
JJ
248272010-10-07 Jakub Jelinek <jakub@redhat.com>
24828
24829 [BZ #3268]
24830 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
24831 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
24832 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24833 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
24834 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24835 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
24836 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
24837 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
24838 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
24839 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
24840 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
24841 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
24842 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24843 * math/ftestexcept.c (fetestexcept): Likewise.
24844 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
24845 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
24846 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
24847 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
24848 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
24849 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
24850 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24851
af325969
UD
248522010-10-11 Ulrich Drepper <drepper@gmail.com>
24853
c579b202 24854 [BZ #12107]
af325969
UD
24855 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
24856 newline.
24857
67a67b95
UD
248582010-10-06 Ulrich Drepper <drepper@gmail.com>
24859
24860 * string/bug-strstr1.c: New file.
24861 * string/Makefile: Add rules to build and run bug-strstr1.
24862
5fb308bc
EB
248632010-10-05 Eric Blake <eblake@redhat.com>
24864
24865 [BZ #12092]
24866 * string/str-two-way.h (two_way_long_needle): Always clear memory
24867 when skipping input due to the shift table.
24868
45db99c7
UD
248692010-10-03 Ulrich Drepper <drepper@gmail.com>
24870
3b111893
UD
24871 [BZ #12005]
24872 * malloc/mcheck.c: Handle large requests.
24873
45db99c7
UD
24874 [BZ #12077]
24875 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
24876 for strncmp and strncasecmp.
24877 * string/stratcliff.c: Add tests for strcmp and strncmp.
24878 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
24879
cf7a1eb8
NI
248802010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24881
24882 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
24883 __set_fpscr.
24884
6484ba5e
AJ
248852010-09-30 Andreas Jaeger <aj@suse.de>
24886
24887 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
24888 (CGROUP_SUPER_MAGIC): Define.
24889 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24890 Handle btrfs and cgroup file systems.
24891 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24892 Likewise.
24893
91c42559
LM
248942010-09-27 Luis Machado <luisgpm@br.ibm.com>
24895
24896 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
24897 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
24898
87a97932
AK
248992010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24900
24901 [BZ #12067]
24902 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
24903 trying to locate the ELF header.
24904
c21cc9bc
AS
249052010-09-27 Andreas Schwab <schwab@redhat.com>
24906
24907 [BZ #11611]
24908 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
24909 Mask out sign-bit copies when constructing f_fsid.
24910
315970f6
PB
249112010-09-24 Petr Baudis <pasky@suse.cz>
24912
24913 * debug/stack_chk_fail_local.c: Add missing licence exception.
24914 * debug/warning-nop.c: Likewise.
24915
1ac7a2c7
JM
249162010-09-15 Joseph Myers <joseph@codesourcery.com>
24917
24918 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
24919 implementing getdents64 using getdents syscall, set d_type if
24920 __ASSUME_GETDENTS32_D_TYPE.
24921
56801c50
AS
249222010-09-16 Andreas Schwab <schwab@redhat.com>
24923
24924 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
24925 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
24926
dda51327
UD
249272010-09-21 Ulrich Drepper <drepper@redhat.com>
24928
24929 [BZ #12037]
24930 * posix/unistd.h: Undo change of feature selection for ftruncate from
24931 2010-01-11.
24932
8ffcee4a
UD
249332010-09-20 Ulrich Drepper <drepper@redhat.com>
24934
a545ecd9 24935 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
24936 detection.
24937
e24f0a8b
AS
249382010-09-20 Andreas Schwab <schwab@redhat.com>
24939
24940 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
24941 fanotify_mark.
24942 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24943
7291c56f
AS
249442010-09-14 Andreas Schwab <schwab@redhat.com>
24945
24946 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
24947 variables after CHECK_SP call.
24948 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
24949
bc5fb037
AS
249502010-09-13 Andreas Schwab <schwab@redhat.com>
24951 Ulrich Drepper <drepper@redhat.com>
24952
24953 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
24954 re-relocationg ld.so.
24955 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
24956 _dl_init_paths call.
24957 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
24958 here anymore.
24959
e66e7419
UD
249602010-09-14 Ulrich Drepper <drepper@redhat.com>
24961
24962 * resolv/res_init.c (__res_vinit): Count the default server we added.
24963
c044aa75
CLT
249642010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
24965 Ulrich Drepper <drepper@redhat.com>
24966
24967 [BZ #11968]
24968 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24969 (____longjmp_chk): Use %ebx for saving value across system call.
24970 Add unwind info.
24971
32cf4069
AS
249722010-09-06 Andreas Schwab <schwab@redhat.com>
24973
24974 * manual/Makefile: Don't mix pattern rules with normal rules.
24975
817328ee
AS
249762010-09-05 Andreas Schwab <schwab@linux-m68k.org>
24977
24978 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
24979 operation.
24980 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24981 * libio/iofopncook.c (_IO_cookie_init): Likewise.
24982 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24983 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24984 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24985 Likewise.
24986
29fddf61
UD
249872010-09-04 Ulrich Drepper <drepper@redhat.com>
24988
24989 [BZ #11979]
24990 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
24991 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
24992
0959ffc9
UD
249932010-09-02 Ulrich Drepper <drepper@redhat.com>
24994
24995 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
24996 * sysdeps/x86_64/addmul_1.S: Likewise.
24997 * sysdeps/x86_64/lshift.S: Likewise.
24998 * sysdeps/x86_64/mul_1.S: Likewise.
24999 * sysdeps/x86_64/rshift.S: Likewise.
25000 * sysdeps/x86_64/sub_n.S: Likewise.
25001 * sysdeps/x86_64/submul_1.S: Likewise.
25002
ece29840
ST
250032010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
25004
0959ffc9
UD
25005 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
25006 Define __sched_param instead of SCHED_* and sched_param when
ece29840 25007 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 25008 * bits/sched.h [__need_schedparam]
ece29840 25009 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
25010 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
25011 (__defined_schedparam): Define to 1.
ece29840
ST
25012 (__sched_param): New structure, identical to sched_param.
25013 (__need_schedparam): Undefine.
25014
e53a31fe
MF
250152010-08-31 Mike Frysinger <vapier@gentoo.org>
25016
fdc0c10d
MF
25017 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
25018 (epoll_create1): Declare.
25019
e53a31fe
MF
25020 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
25021
a726d796
AS
250222010-08-31 Andreas Schwab <schwab@redhat.com>
25023
25024 [BZ #7066]
25025 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
25026 shifting retval into place.
25027
2f3e3dc7
UD
250282010-09-01 Ulrich Drepper <drepper@redhat.com>
25029
f2933da9
UD
25030 * nis/rpcsvc/nis.h: Update copyright notice.
25031 * nis/rpcsvc/nis.x: Likewise.
25032 * nis/rpcsvc/nis_callback.h: Likewise.
25033 * nis/rpcsvc/nis_callback.x: Likewise.
25034 * nis/rpcsvc/nis_object.x: Likewise.
25035 * nis/rpcsvc/nis_tags.h: Likewise.
25036 * nis/rpcsvc/yp.h: Likewise.
25037 * nis/rpcsvc/yp.x: Likewise.
25038 * nis/rpcsvc/ypupd.h: Likewise.
25039 * nis/yp_xdr.c: Likewise.
25040 * nis/ypupdate_xdr.c: Likewise.
25041
2f3e3dc7
UD
25042 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
25043 mainly the body of pmap_getport. Add parameters to specify timeouts.
25044 (pmap_getport): Use __libc_rpc_getport.
25045 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
25046 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
25047 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
25048
f3dcc2f9
AS
250492010-08-31 Andreas Schwab <schwab@linux-m68k.org>
25050
25051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
25052 fanotify_mark.
25053
6d34eb5b
RM
250542010-08-27 Roland McGrath <roland@redhat.com>
25055
25056 * sysdeps/i386/i686/multiarch/Makefile
25057 (CFLAGS-varshift.c): New variable.
25058
9ea3de11
UD
250592010-08-27 Ulrich Drepper <drepper@redhat.com>
25060
c96d23fc
UD
25061 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
25062 * sysdeps/i386/i686/multiarch/varshift.c: New file.
25063
9ea3de11
UD
25064 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
25065
25066 * sysdeps/x86_64/strlen.S: Minimal code improvement.
25067
623aac7f
L
250682010-08-26 H.J. Lu <hongjiu.lu@intel.com>
25069
25070 * sysdeps/x86_64/strlen.S: Unroll the loop.
25071 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25072 strlen-sse2 strlen-sse2-bsf.
25073 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
25074 __strlen_no_bsf if bit_Slow_BSF is set.
25075 (__strlen_sse42): Removed.
25076 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
25077 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
25078
8b2b7715
RM
250792010-08-25 Roland McGrath <roland@redhat.com>
25080
25081 * sysdeps/x86_64/multiarch/varshift.S: File removed.
25082 * sysdeps/x86_64/multiarch/varshift.c: New file.
25083 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
25084 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
25085 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
25086 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25087
e73015f2
L
250882010-08-25 H.J. Lu <hongjiu.lu@intel.com>
25089
25090 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25091 strlen-sse2 strlen-sse2-bsf.
25092 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
25093 __strlen_sse2_bsf if bit_Slow_BSF is unset.
25094 (__strlen_sse2): Removed.
25095 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
25096 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
25097 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25098 bit_Slow_BSF for Atom.
25099 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
25100 (index_Slow_BSF): Define.
25101 (HAS_SLOW_BSF): Define.
25102
df24a73e
UD
251032010-08-25 Ulrich Drepper <drepper@redhat.com>
25104
25105 [BZ #10851]
25106 * resolv/res_init.c (__res_vinit): When no server address at all
25107 is given default to loopback.
25108
f2ac4868
RM
251092010-08-24 Roland McGrath <roland@redhat.com>
25110
09055553
RM
25111 * configure.in: Remove config-name.h generation.
25112 * configure: Regenerated.
25113 * config-name.in: File removed.
25114 * scripts/config-uname.sh: New file.
25115 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
25116 ($(objdir)config-name.h): New target.
25117
f2ac4868
RM
25118 * sunrpc/rpc_parse.h: Avoid nested comment.
25119
73f27d5e
RH
251202010-08-24 Richard Henderson <rth@redhat.com>
25121 Ulrich Drepper <drepper@redhat.com>
25122 H.J. Lu <hongjiu.lu@intel.com>
25123
25124 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
25125 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
25126 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
25127 Replace _mm_srli_si128 with __m128i_shift_right. Replace
25128 _mm_alignr_epi8 with _mm_loadu_si128.
25129 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
25130 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
25131 (__m128i_shift_right): Removed.
25132 * sysdeps/i386/i686/multiarch/varshift.h: New file.
25133 * sysdeps/i386/i686/multiarch/varshift.S: New file.
25134 * sysdeps/x86_64/multiarch/varshift.h: New file.
25135 * sysdeps/x86_64/multiarch/varshift.S: New file.
25136
84b9230c
MF
251372010-08-21 Mike Frysinger <vapier@gentoo.org>
25138
25139 * configure.in: Move assembler checks to before sysdep dir checking.
25140
9bbd0ddc
PB
251412010-08-20 Petr Baudis <pasky@suse.cz>
25142
25143 * LICENSES: Sync the sunrpc license.
25144
9da4bb31
UD
251452010-08-19 Ulrich Drepper <drepper@redhat.com>
25146
a7ab6ec8
UD
25147 * sunrpc/auth_des.c: Update copyright notice once again.
25148 * sunrpc/auth_none.c: Likewise.
25149 * sunrpc/auth_unix.c: Likewise.
25150 * sunrpc/authdes_prot.c: Likewise.
25151 * sunrpc/authuxprot.c: Likewise.
25152 * sunrpc/bindrsvprt.c: Likewise.
25153 * sunrpc/clnt_gen.c: Likewise.
25154 * sunrpc/clnt_perr.c: Likewise.
25155 * sunrpc/clnt_raw.c: Likewise.
25156 * sunrpc/clnt_simp.c: Likewise.
25157 * sunrpc/clnt_tcp.c: Likewise.
25158 * sunrpc/clnt_udp.c: Likewise.
25159 * sunrpc/clnt_unix.c: Likewise.
25160 * sunrpc/des_crypt.c: Likewise.
25161 * sunrpc/des_soft.c: Likewise.
25162 * sunrpc/get_myaddr.c: Likewise.
25163 * sunrpc/getrpcport.c: Likewise.
25164 * sunrpc/key_call.c: Likewise.
25165 * sunrpc/key_prot.c: Likewise.
25166 * sunrpc/openchild.c: Likewise.
25167 * sunrpc/pm_getmaps.c: Likewise.
25168 * sunrpc/pm_getport.c: Likewise.
25169 * sunrpc/pmap_clnt.c: Likewise.
25170 * sunrpc/pmap_prot.c: Likewise.
25171 * sunrpc/pmap_prot2.c: Likewise.
25172 * sunrpc/pmap_rmt.c: Likewise.
25173 * sunrpc/rpc/auth.h: Likewise.
25174 * sunrpc/rpc/auth_unix.h: Likewise.
25175 * sunrpc/rpc/clnt.h: Likewise.
25176 * sunrpc/rpc/des_crypt.h: Likewise.
25177 * sunrpc/rpc/key_prot.h: Likewise.
25178 * sunrpc/rpc/netdb.h: Likewise.
25179 * sunrpc/rpc/pmap_clnt.h: Likewise.
25180 * sunrpc/rpc/pmap_prot.h: Likewise.
25181 * sunrpc/rpc/pmap_rmt.h: Likewise.
25182 * sunrpc/rpc/rpc.h: Likewise.
25183 * sunrpc/rpc/rpc_des.h: Likewise.
25184 * sunrpc/rpc/rpc_msg.h: Likewise.
25185 * sunrpc/rpc/svc.h: Likewise.
25186 * sunrpc/rpc/svc_auth.h: Likewise.
25187 * sunrpc/rpc/types.h: Likewise.
25188 * sunrpc/rpc/xdr.h: Likewise.
25189 * sunrpc/rpc_clntout.c: Likewise.
25190 * sunrpc/rpc_cmsg.c: Likewise.
25191 * sunrpc/rpc_common.c: Likewise.
25192 * sunrpc/rpc_cout.c: Likewise.
25193 * sunrpc/rpc_dtable.c: Likewise.
25194 * sunrpc/rpc_hout.c: Likewise.
25195 * sunrpc/rpc_main.c: Likewise.
25196 * sunrpc/rpc_parse.c: Likewise.
25197 * sunrpc/rpc_parse.h: Likewise.
25198 * sunrpc/rpc_prot.c: Likewise.
25199 * sunrpc/rpc_sample.c: Likewise.
25200 * sunrpc/rpc_scan.c: Likewise.
25201 * sunrpc/rpc_scan.h: Likewise.
25202 * sunrpc/rpc_svcout.c: Likewise.
25203 * sunrpc/rpc_tblout.c: Likewise.
25204 * sunrpc/rpc_util.c: Likewise.
25205 * sunrpc/rpc_util.h: Likewise.
25206 * sunrpc/rpcinfo.c: Likewise.
25207 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
25208 * sunrpc/rpcsvc/key_prot.x: Likewise.
25209 * sunrpc/rpcsvc/klm_prot.x: Likewise.
25210 * sunrpc/rpcsvc/mount.x: Likewise.
25211 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
25212 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
25213 * sunrpc/rpcsvc/rex.x: Likewise.
25214 * sunrpc/rpcsvc/rstat.x: Likewise.
25215 * sunrpc/rpcsvc/rusers.x: Likewise.
25216 * sunrpc/rpcsvc/sm_inter.x: Likewise.
25217 * sunrpc/rpcsvc/spray.x: Likewise.
25218 * sunrpc/rpcsvc/yppasswd.x: Likewise.
25219 * sunrpc/rtime.c: Likewise.
25220 * sunrpc/svc.c: Likewise.
25221 * sunrpc/svc_auth.c: Likewise.
25222 * sunrpc/svc_authux.c: Likewise.
25223 * sunrpc/svc_raw.c: Likewise.
25224 * sunrpc/svc_run.c: Likewise.
25225 * sunrpc/svc_simple.c: Likewise.
25226 * sunrpc/svc_tcp.c: Likewise.
25227 * sunrpc/svc_udp.c: Likewise.
25228 * sunrpc/svc_unix.c: Likewise.
25229 * sunrpc/svcauth_des.c: Likewise.
25230 * sunrpc/xcrypt.c: Likewise.
25231 * sunrpc/xdr.c: Likewise.
25232 * sunrpc/xdr_array.c: Likewise.
25233 * sunrpc/xdr_float.c: Likewise.
25234 * sunrpc/xdr_mem.c: Likewise.
25235 * sunrpc/xdr_rec.c: Likewise.
25236 * sunrpc/xdr_ref.c: Likewise.
25237 * sunrpc/xdr_sizeof.c: Likewise.
25238 * sunrpc/xdr_stdio.c: Likewise.
25239
9da4bb31
UD
25240 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
25241 handling.
25242
bdaa77bc
AS
252432010-08-19 Andreas Schwab <schwab@redhat.com>
25244
25245 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
25246
fe2f79db
LM
252472010-08-19 Luis Machado <luisgpm@br.ibm.com>
25248
25249 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
25250 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
25251 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
25252 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
25253 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
25254 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
25255 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
25256 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
25257 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
25258 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
25259 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
25260 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
25261 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
25262 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
25263
b9b42ee0
AB
252642010-07-26 Anton Blanchard <anton@samba.org>
25265
25266 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
25267 * malloc/arena.c (heap_trim): Likewise.
25268
1c06ba31
UD
252692010-08-16 Ulrich Drepper <drepper@redhat.com>
25270
25271 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
25272 here. Not...
25273 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
25274 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
25275
f8392f40
L
252762010-08-12 H.J. Lu <hongjiu.lu@intel.com>
25277
25278 * sysdeps/i386/elf/Makefile: New file.
25279
3162f12e
AS
252802010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25281
25282 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
25283 from fanotify_init.
25284 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
25285 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25286
28c90b2c
UD
252872010-08-15 Ulrich Drepper <drepper@redhat.com>
25288
25289 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
25290 of strncasecmp_l.
1feccb6c 25291 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 25292
ca6bb004
UD
252932010-08-14 Ulrich Drepper <drepper@redhat.com>
25294
e9f82e0d
UD
25295 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25296 strncase_l-nonascii.
25297 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25298 Add strncase_l-ssse3.
25299 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
25300 * sysdeps/x86_64/strcmp.S: Likewise.
25301 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
25302 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
25303 * sysdeps/x86_64/strncase.S: New file.
25304 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
25305 * sysdeps/x86_64/strncase_l.S: New file.
25306 * string/Makefile (strop-tests): Add strncasecmp.
25307 * string/test-strncasecmp.c: New file.
25308
25309 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
25310 warning.
25311
ca6bb004
UD
25312 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
25313 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
25314
052fa7b3
AS
253152010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25316
25317 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
25318
962dba78
UD
253192010-08-12 Ulrich Drepper <drepper@redhat.com>
25320
25321 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
25322 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
25323 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
25324
bebff237
AM
253252010-05-01 Alan Modra <amodra@gmail.com>
25326
25327 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
25328 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
25329 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
25330 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
25331 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
25332 tidying. Don't tail-call __sigjmp_save for static lib.
25333 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
25334 save location.
25335 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
25336 (CALL_MCOUNT): Add eh info, and nop after bl.
25337 (TAIL_CALL_SYSCALL_ERROR): New macro.
25338 (PSEUDO_RET): Use it.
25339 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25340 Correct save location of integer regs and cr.
25341 (_dl_profile_resolve): Correct cr save location. Delete nops
25342 after bl when SHARED. Reduce cfi size a little by better
25343 placement of cfi directives.
25344 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
25345 make a stack frame. Instead use parm save area as a temp.
25346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
25347 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
25348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25349 Don't make a stack frame for parent, use parm save area.
25350 Increase child stack frame to 112 bytes. Don't save unused reg,
25351 and adjust reg usage. Set up cfi on error recovery and
25352 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
25353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25354 (__makecontext): Add dummy nop after jump to exit.
25355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
25356 Use correct parm save area and cr save, reduce stack frame.
25357 Correct cfi for possible PSEUDO_RET frame setup.
25358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
25359 Branch to local label emitted by PSEUDO_RET rather than
25360 __syscall_error.
25361
02637374
AS
253622010-08-12 Andreas Schwab <schwab@redhat.com>
25363
25364 [BZ #11904]
25365 * locale/programs/locale.c (print_assignment): New function.
25366 (show_locale_vars): Use it.
25367
c3e2f19b
UD
253682010-08-11 Ulrich Drepper <drepper@redhat.com>
25369
3cdaa6ad
UD
25370 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
25371 field.
25372 (struct statfs64): Likewise.
25373 (_STATFS_F_FLAGS): Define.
25374 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
25375 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25376 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
25377 (ST_VALID): Define locally.
25378 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
25379 __statvfs_getflags, use the provided value.
25380 * sysdeps/unix/sysv/linux/kernel-features.h: Define
25381 __ASSUME_STATFS_F_FLAGS.
25382
754f7da3
UD
25383 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
25384
10b3bedc
UD
25385 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
25386 Add sys/fanotify.h.
25387 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
25388 fanotify_mask for GLIBC_2.13.
25389 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
25390 fanotify_init and fanotify_mark.
25391 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25392 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
25393
c08fb0d7
UD
25394 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
25395 Add prlimit.
25396 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
25397 prlimit64 for GLIBC_2.13.
25398 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
25399 prlimit64.
25400 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
25401 syscall.
25402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
25403 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25404 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
25405 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
25406 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
25407 add prlimit alias.
25408 * sysdeps/unix/sysv/linux/prlimit.c: New file.
25409
15bac72b
UD
25410 [BZ #11903]
25411 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
25412 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
25413
c3e2f19b
UD
25414 * nss/Makefile: Add rules to build and run tst-nss-test1.
25415 * shlib-versions: Add entry for libnss_test1.
25416 * nss/nss_test1.c: New file.
25417 * nss/tst-nss-test1.c: New file.
25418
25419 * nss/nsswitch.c (__nss_database_custom): Define new variable.
25420 (__nss_configure_lookup): Set appropriate entry in
25421 __nss_configure_lookup to true.
25422 * nss/nsswitch.h: Define enum with indeces of databases in
25423 databases and __nss_database_custom arrays. Declare
25424 __nss_database_custom.
25425 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
25426 to avoid using nscd when custom rules are installed.
25427 * nss/getXXbyYY_r.c: Likewise.
25428 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25429
25430 * nss/nss_files/files-parse.c: Whitespace fixes.
25431
f15ce4d8
UD
254322010-08-09 Ulrich Drepper <drepper@redhat.com>
25433
25434 [BZ #11883]
25435 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
25436 * posix/fnmatch_loop.c: Likewise.
25437
d22e4cc9
AK
254382010-07-17 Andi Kleen <ak@linux.intel.com>
25439
25440 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
25441 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
25442 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
25443 * Versions.def [GLIBC_2.13]: Add.
25444
805bc17d
UD
254452010-08-06 Ulrich Drepper <drepper@redhat.com>
25446
25447 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25448 Also fail if tpwd after pwuid call is NULL.
25449
5a42321d
ST
254502010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
25451
25452 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
25453 when converting to ms.
25454
fd3ebeda
ST
254552010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25456
25457 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
25458 EOPNOTSUPP errors with ENOTTY.
25459 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
25460 EOPNOTSUPP errors with ENOTTY.
25461
73507d3a
UD
254622010-07-31 Ulrich Drepper <drepper@redhat.com>
25463
25464 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25465 Add strcasecmp_l-ssse3.
25466 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
25467 strcasecmp.
25468 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
25469 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
25470 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
25471
fe36dd02
UD
254722010-07-30 Ulrich Drepper <drepper@redhat.com>
25473
66f6765a
UD
25474 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
25475
42e08a54
UD
25476 * string/Makefile (strop-tests): Add strcasecmp.
25477 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25478 strcasecmp_l-nonascii.
25479 (gen-as-const-headers): Add locale-defines.sym.
25480 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
25481 * sysdeps/x86_64/strcasecmp.S: New file.
25482 * sysdeps/x86_64/strcasecmp_l.S: New file.
25483 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
25484 * sysdeps/x86_64/locale-defines.sym: New file.
25485 * string/test-strcasecmp.c: New file.
25486
fe36dd02
UD
25487 * string/test-strcasestr.c: Test both ends of the range of characters.
25488 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
25489
48cbc0d6
RM
254902010-07-29 Roland McGrath <roland@redhat.com>
25491
76e6d6bc 25492 [BZ #11856]
48cbc0d6
RM
25493 * manual/locale.texi (Yes-or-No Questions): Fix example code.
25494
880113d9
UD
254952010-07-27 Ulrich Drepper <drepper@redhat.com>
25496
25497 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
25498 for ld.so.
25499
deb9cabb
AS
255002010-07-27 Andreas Schwab <schwab@redhat.com>
25501
25502 * manual/memory.texi (Malloc Tunable Parameters): Document
25503 M_PERTURB.
25504
1c7570ff
RM
255052010-07-26 Roland McGrath <roland@redhat.com>
25506
25507 [BZ #11840]
25508 * configure.in (-fgnu89-inline check): Set and substitute
25509 gnu89_inline, not libc_cv_gnu89_inline.
25510 * configure: Regenerated.
25511 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
25512
24fb0f88
UD
255132010-07-26 Ulrich Drepper <drepper@redhat.com>
25514
25515 * string/test-strnlen.c: New file.
25516 * string/Makefile (strop-tests): Add strnlen.
25517 * string/tester.c (test_strnlen): Add a few more test cases.
25518 * string/tst-strlen.c: Better error reporting.
25519
25520 * sysdeps/x86_64/strnlen.S: New file.
25521
8e96b93a
UD
255222010-07-24 Ulrich Drepper <drepper@redhat.com>
25523
25524 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
25525 lower-latency instructions.
25526
dbc676d4
UD
255272010-07-23 Ulrich Drepper <drepper@redhat.com>
25528
25529 * string/test-strcasestr.c: New file.
25530 * string/test-strstr.c: New file.
25531 * string/Makefile (strop-tests): Add strstr and strcasestr.
25532 * string/str-two-way.h: Don't undefine MAX.
25533 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
25534
f6a31e0e
AS
255352010-07-21 Andreas Schwab <schwab@redhat.com>
25536
25537 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25538 strcasestr-nonascii.
25539 (CFLAGS-strcasestr-nonascii.c): Define.
25540 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
25541 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
25542 Remove unused attribute.
25543
5dbc3b6c
RM
255442010-07-20 Roland McGrath <roland@redhat.com>
25545
25546 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
25547 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
25548 ld.so.cache was broken. With it, there is no way to disable dsocaps
25549 like LD_HWCAP_MASK can disable hwcaps.
25550
23d101d8
EPM
255512010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25552
25553 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
25554
cc9f2e47
UD
255552010-07-16 Ulrich Drepper <drepper@redhat.com>
25556
25557 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
25558 call in strcasestr.
25559 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
25560 __strcasestr_sse42_nonascii.
25561 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
25562 strcasestr-nonascii.c.
25563 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
25564
77c1b069
LM
255652010-06-15 Luis Machado <luisgpm@br.ibm.com>
25566
25567 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
25568 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
25569 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
25570 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
25571
440566c3
UD
255722010-07-09 Ulrich Drepper <drepper@redhat.com>
25573
25574 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
25575 fcntl.
25576
5be9d05d
AS
255772010-07-06 Andreas Schwab <schwab@redhat.com>
25578
c30b7ee2 25579 [BZ #11577]
5be9d05d
AS
25580 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
25581 dl_signal_cerror.
25582
8a492a67
UD
255832010-07-06 Ulrich Drepper <drepper@redhat.com>
25584
25585 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
25586 _PC_PIPE_BUF using F_GETPIPE_SZ.
25587
713df3d5
RM
255882010-07-05 Roland McGrath <roland@redhat.com>
25589
25590 * manual/arith.texi (Rounding Functions): Fix rint description
25591 implicit in round description.
25592
702e8f14
UD
255932010-07-02 Ulrich Drepper <drepper@redhat.com>
25594
25595 * elf/Makefile: Fix linking for a few tests to make recent linker
25596 happy.
25597
52ed8be9
AS
255982010-06-30 Andreas Schwab <schwab@redhat.com>
25599
25600 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25601 $(common-objpfx)libc_nonshared.a.
25602
f47c9a11
LM
256032010-06-21 Luis Machado <luisgpm@br.ibm.com>
25604
25605 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
25606 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
25607 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25608 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25609 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
25610 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
25611 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25612 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
25614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
25615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
25616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
25618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
25620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
25621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
25622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
25623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
25625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
25627 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
25628 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
25629 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
25630 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
25631 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
25632 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
25633 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
25634 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
25635 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
25636 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
25637 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
25638 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
25639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
25640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
25641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
25642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
25643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
25644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
25645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
25646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
25647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
25648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
25649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
25650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
25651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
25652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
25653
6fb8cbcb
L
256542010-06-25 H.J. Lu <hongjiu.lu@intel.com>
25655
25656 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
25657 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
25658 * string/memmove.c (memmove): Renamed to ...
25659 (MEMMOVE): ...this. Default to memmove.
25660 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
25661 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
25662 (END_CHK): Define.
25663 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25664 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
25665 mempcpy-ssse3-back memmove-ssse3-back.
25666 * sysdeps/x86_64/multiarch/bcopy.S: New file .
25667 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
25668 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
25669 * sysdeps/x86_64/multiarch/memcpy.S: New file.
25670 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
25671 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
25672 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
25673 * sysdeps/x86_64/multiarch/memmove.c: New file.
25674 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
25675 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
25676 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
25677 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
25678 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
25679 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
25680 Define.
25681 (index_Fast_Copy_Backward): Define.
25682 (HAS_ARCH_FEATURE): Define.
25683 (HAS_FAST_REP_STRING): Define.
25684 (HAS_FAST_COPY_BACKWARD): Define.
25685
4e733bac 256862010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
25687
25688 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25689 Restore proper fallback handling.
25690
63c4ed22
UD
256912010-06-19 Ulrich Drepper <drepper@redhat.com>
25692
ac2b484c
UD
25693 [BZ #11701]
25694 * posix/group_member.c (__group_member): Correct checking loop.
25695
63c4ed22
UD
25696 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
25697 OOM in getpwuid_r correctly. Return error number when the caller
25698 should return, otherwise -1.
25699 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
25700 call returning > 0 value.
25701 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
25702
765ade4b
AS
257032010-06-07 Andreas Schwab <schwab@redhat.com>
25704
25705 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
25706 libc_nonshared.a from targets in modules-names.
25707
80da2e09
KS
257082010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
25709
25710 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
25711 requires it.
25712
158db122
LM
257132010-06-10 Luis Machado <luisgpm@br.ibm.com>
25714
25715 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
25716 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
25717 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
25718 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
25719
caa78cf8
AS
257202010-06-02 Andreas Schwab <schwab@redhat.com>
25721
25722 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
25723
b2ef2c01
UD
257242010-06-14 Ulrich Drepper <drepper@redhat.com>
25725
25726 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
25727 and F_GETPIPE_SZ.
25728 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25729 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25730 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25731 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25732 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25733 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
25734
fbd643b6
RM
257352010-06-14 Roland McGrath <roland@redhat.com>
25736
25737 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
25738
f32f2869
JJ
257392010-06-07 Jakub Jelinek <jakub@redhat.com>
25740
25741 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
25742 __REDIRECT followed by __THROW.
25743 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
25744 * posix/getopt.h (getopt): Likewise.
25745
2a50c078
EPM
257462010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25747
25748 * hurd/lookup-at.c (__file_name_lookup_at): Accept
25749 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
25750 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
25751 in AT_FLAGS.
25752 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
25753 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
25754
eb5ad2eb
LM
257552010-05-28 Luis Machado <luisgpm@br.ibm.com>
25756
25757 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
25758
3c88fe1e
L
257592010-05-26 H.J. Lu <hongjiu.lu@intel.com>
25760
25761 [BZ #11640]
25762 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25763 Properly check family and model.
25764
d2f73151
TY
257652010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
25766
25767 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
25768
ebd2e13d
LM
257692010-05-24 Luis Machado <luisgpm@br.ibm.com>
25770
25771 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
25772
b32b8b45
UD
257732010-05-21 Ulrich Drepper <drepper@redhat.com>
25774
25775 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
25776 symbol reference.
25777
9acbe24d
AS
257782010-05-19 Andreas Schwab <schwab@redhat.com>
25779
25780 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
25781 symbol reference.
25782
f0ccf6ea
AS
257832010-05-21 Andreas Schwab <schwab@redhat.com>
25784
3d04ff3a
AS
25785 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
25786 and internal_recvmmsg.
25787 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
25788 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
25789 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
25790 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
25791
f0ccf6ea
AS
25792 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
25793 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25794 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25795
5b08ac57
AS
257962010-05-20 Andreas Schwab <schwab@redhat.com>
25797
25798 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
25799
4828935d
LM
258002010-05-17 Luis Machado <luisgpm@br.ibm.com>
25801
25802 POWER7 optimizations.
25803 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
25804 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
25805
373d545e
UD
258062010-05-19 Ulrich Drepper <drepper@redhat.com>
25807
25808 * version.h: Update for 2.13 development version.
25809
21a2b1ae
AS
258102010-05-12 Andrew Stubbs <ams@codesourcery.com>
25811
25812 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
25813 exceptions. Return 0.
25814
3f7dcb2b
RM
258152010-05-07 Roland McGrath <roland@redhat.com>
25816
25817 * elf/ldconfig.c (main): Add a const.
25818
5f24d53a 258192010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 25820
a160f8d8
UD
25821 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
25822 (args_options): Add no-idn option.
25823 (ahosts_keys_int): Add idn_flags to ai_flags.
25824 (parse_option): Handle 'i' option to clear idn_flags.
25825
5f24d53a
UD
25826 * malloc/malloc.c (_int_free): Possible race in the most recently
25827 added check. Only act on the data if no current modification
25828 happened.
265bb1ce
UD
25829
25830See ChangeLog.17 for earlier changes.
This page took 3.377271 seconds and 5 git commands to generate.